Home
last modified time | relevance | path

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

/linux/tools/lib/bpf/
H A Dlibbpf.c654 size_t obj_buf_sz; member
1478 size_t obj_buf_sz, in bpf_object__new() argument
1509 obj->efile.obj_buf_sz = obj_buf_sz; in bpf_object__new()
1534 obj->efile.obj_buf_sz = 0; in bpf_object__elf_finish()
1548 if (obj->efile.obj_buf_sz > 0) { in bpf_object__elf_init()
1550 elf = elf_memory((char *)obj->efile.obj_buf, obj->efile.obj_buf_sz); in bpf_object__elf_init()
7953 static struct bpf_object *bpf_object_open(const char *path, const void *obj_buf, size_t obj_buf_sz, in bpf_object_open() argument
8002 obj = bpf_object__new(path, obj_buf, obj_buf_sz, obj_name); in bpf_object_open()
8073 bpf_object__open_mem(const void *obj_buf, size_t obj_buf_sz, in bpf_object__open_mem() argument
8078 if (!obj_buf || obj_buf_sz == 0) in bpf_object__open_mem()
[all …]
H A Dlibbpf.h241 bpf_object__open_mem(const void *obj_buf, size_t obj_buf_sz,