src_obj
struct drm_i915_gem_object *src_obj,
ret = i915_gem_object_prepare_read(src_obj, &src_needs_clflush);
src = i915_gem_object_pin_map(src_obj, I915_MAP_WC);
i915_gem_object_unpin_map(src_obj);
src = kmap_local_page(i915_gem_object_get_page(src_obj, n));
i915_gem_object_finish_access(src_obj);
static int linker_sanity_check_btf(struct src_obj *obj)
static int linker_sanity_check_btf_ext(struct src_obj *obj)
static int linker_append_sec_data(struct bpf_linker *linker, struct src_obj *obj)
static int linker_append_elf_syms(struct bpf_linker *linker, struct src_obj *obj)
struct src_obj *obj);
static int linker_sanity_check_elf(struct src_obj *obj);
static int linker_sanity_check_elf_symtab(struct src_obj *obj, struct src_sec *sec);
static int linker_sanity_check_elf_relos(struct src_obj *obj, struct src_sec *sec);
static int linker_sanity_check_btf(struct src_obj *obj);
struct src_obj *obj, Elf64_Sym *sym, int btf_id)
static int linker_sanity_check_btf_ext(struct src_obj *obj);
static int linker_fixup_btf(struct src_obj *obj);
static int linker_append_sec_data(struct bpf_linker *linker, struct src_obj *obj);
static int linker_append_elf_syms(struct bpf_linker *linker, struct src_obj *obj);
struct src_obj *obj, Elf64_Sym *sym, size_t sym_idx, int btf_id)
static int linker_append_elf_sym(struct bpf_linker *linker, struct src_obj *obj,
static int linker_append_elf_relos(struct bpf_linker *linker, struct src_obj *obj);
static int linker_append_btf(struct bpf_linker *linker, struct src_obj *obj);
static int find_glob_sym_btf(struct src_obj *obj, Elf64_Sym *sym, const char *sym_name,
static int linker_append_btf_ext(struct bpf_linker *linker, struct src_obj *obj);
static struct src_sec *find_src_sec_by_name(struct src_obj *obj, const char *sec_name)
static int linker_append_elf_sym(struct bpf_linker *linker, struct src_obj *obj,
static int linker_append_elf_relos(struct bpf_linker *linker, struct src_obj *obj)
static Elf64_Sym *find_sym_by_name(struct src_obj *obj, size_t sec_idx,
static int linker_fixup_btf(struct src_obj *obj)
static int linker_append_btf(struct bpf_linker *linker, struct src_obj *obj)
static int linker_append_btf_ext(struct bpf_linker *linker, struct src_obj *obj)
struct src_obj obj = {};
static struct src_sec *add_src_sec(struct src_obj *obj, const char *sec_name)
struct src_obj *obj)
static int linker_sanity_check_elf(struct src_obj *obj)
static int linker_sanity_check_elf_symtab(struct src_obj *obj, struct src_sec *sec)
static int linker_sanity_check_elf_relos(struct src_obj *obj, struct src_sec *sec)