Lines Matching refs:obj_buf
592 const void *obj_buf; member
1215 const void *obj_buf, in bpf_object__new() argument
1246 obj->efile.obj_buf = obj_buf; in bpf_object__new()
1271 obj->efile.obj_buf = NULL; in bpf_object__elf_finish()
1288 elf = elf_memory((char *)obj->efile.obj_buf, obj->efile.obj_buf_sz); in bpf_object__elf_init()
7179 static struct bpf_object *bpf_object_open(const char *path, const void *obj_buf, size_t obj_buf_sz, in bpf_object_open() argument
7200 if (obj_buf) { in bpf_object_open()
7203 (unsigned long)obj_buf, in bpf_object_open()
7219 obj = bpf_object__new(path, obj_buf, obj_buf_sz, obj_name); in bpf_object_open()
7285 bpf_object__open_mem(const void *obj_buf, size_t obj_buf_sz, in bpf_object__open_mem() argument
7288 if (!obj_buf || obj_buf_sz == 0) in bpf_object__open_mem()
7291 return libbpf_ptr(bpf_object_open(NULL, obj_buf, obj_buf_sz, opts)); in bpf_object__open_mem()