Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/tools/lib/bpf/
Dlibbpf.c633 struct elf_state efile; member
789 Elf_Data *symbols = obj->efile.symbols; in bpf_object__add_programs()
826 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs()
1167 if (obj->efile.st_ops_shndx == -1) in bpf_object__init_struct_ops_maps()
1207 map->sec_idx = obj->efile.st_ops_shndx; in bpf_object__init_struct_ops_maps()
1229 if (vsi->offset + type->size > obj->efile.st_ops_data->d_size) { in bpf_object__init_struct_ops_maps()
1236 obj->efile.st_ops_data->d_buf + vsi->offset, in bpf_object__init_struct_ops_maps()
1274 obj->efile.fd = -1; in bpf_object__new()
1281 obj->efile.obj_buf = obj_buf; in bpf_object__new()
1282 obj->efile.obj_buf_sz = obj_buf_sz; in bpf_object__new()
[all …]
/linux-6.1.9/mm/
Dmemcontrol.c4833 struct fd efile; in memcg_write_event_control() local
4865 efile = fdget(efd); in memcg_write_event_control()
4866 if (!efile.file) { in memcg_write_event_control()
4871 event->eventfd = eventfd_ctx_fileget(efile.file); in memcg_write_event_control()
4945 vfs_poll(efile.file, &event->pt); in memcg_write_event_control()
4952 fdput(efile); in memcg_write_event_control()
4963 fdput(efile); in memcg_write_event_control()