Home
last modified time | relevance | path

Searched refs:obj_buf_sz (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c653 size_t obj_buf_sz; member
1461 size_t obj_buf_sz, in bpf_object__new() argument
1492 obj->efile.obj_buf_sz = obj_buf_sz; in bpf_object__new()
1516 obj->efile.obj_buf_sz = 0; in bpf_object__elf_finish()
1530 if (obj->efile.obj_buf_sz > 0) { in bpf_object__elf_init()
1532 elf = elf_memory((char *)obj->efile.obj_buf, obj->efile.obj_buf_sz); in bpf_object__elf_init()
7907 static struct bpf_object *bpf_object_open(const char *path, const void *obj_buf, size_t obj_buf_sz, in bpf_object_open() argument
7956 obj = bpf_object__new(path, obj_buf, obj_buf_sz, obj_name); in bpf_object_open()
8028 bpf_object__open_mem(const void *obj_buf, size_t obj_buf_sz, in bpf_object__open_mem() argument
8033 if (!obj_buf || obj_buf_sz == 0) in bpf_object__open_mem()
[all …]
Dlibbpf.h241 bpf_object__open_mem(const void *obj_buf, size_t obj_buf_sz,