Home
last modified time | relevance | path

Searched refs:efile (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/tools/bpf/resolve_btfids/
Dmain.c119 } efile; member
343 obj->efile.fd = fd; in elf_collect()
344 obj->efile.elf = elf; in elf_collect()
387 obj->efile.symbols = data; in elf_collect()
388 obj->efile.symbols_shndx = idx; in elf_collect()
389 obj->efile.strtabidx = sh.sh_link; in elf_collect()
391 obj->efile.idlist = data; in elf_collect()
392 obj->efile.idlist_shndx = idx; in elf_collect()
393 obj->efile.idlist_addr = sh.sh_addr; in elf_collect()
410 scn = elf_getscn(obj->efile.elf, obj->efile.symbols_shndx); in symbols_collect()
[all …]
/Linux-v6.6/tools/lib/bpf/
Dlibbpf.c654 struct elf_state efile; member
810 Elf_Data *symbols = obj->efile.symbols; in bpf_object__add_programs()
846 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs()
1239 err = init_struct_ops_maps(obj, STRUCT_OPS_SEC, obj->efile.st_ops_shndx, in bpf_object_init_struct_ops()
1240 obj->efile.st_ops_data, 0); in bpf_object_init_struct_ops()
1242 obj->efile.st_ops_link_shndx, in bpf_object_init_struct_ops()
1243 obj->efile.st_ops_link_data, in bpf_object_init_struct_ops()
1273 obj->efile.fd = -1; in bpf_object__new()
1280 obj->efile.obj_buf = obj_buf; in bpf_object__new()
1281 obj->efile.obj_buf_sz = obj_buf_sz; in bpf_object__new()
[all …]
/Linux-v6.6/mm/
Dmemcontrol.c4864 struct fd efile; in memcg_write_event_control() local
4896 efile = fdget(efd); in memcg_write_event_control()
4897 if (!efile.file) { in memcg_write_event_control()
4902 event->eventfd = eventfd_ctx_fileget(efile.file); in memcg_write_event_control()
4976 vfs_poll(efile.file, &event->pt); in memcg_write_event_control()
4983 fdput(efile); in memcg_write_event_control()
4994 fdput(efile); in memcg_write_event_control()