Home
last modified time | relevance | path

Searched refs:obj_buf (Results 1 - 2 of 2) sorted by relevance

/third_party/libbpf/src/
H A Dlibbpf.c629 const void *obj_buf; member
1295 const void *obj_buf, in bpf_object__new()
1323 * obj_buf to user. If not, we should duplicate the buffer to in bpf_object__new()
1326 obj->efile.obj_buf = obj_buf; in bpf_object__new()
1362 obj->efile.obj_buf = NULL; in bpf_object__elf_finish()
1382 /* obj_buf should have been validated by bpf_object__open_mem(). */
1384 elf = elf_memory((char *)obj->efile.obj_buf, obj->efile.obj_buf_sz);
1390 write(fdm, (char *)obj->efile.obj_buf, obj->efile.obj_buf_sz);
1434 obj->efile.ehdr = ehdr = (Elf64_Ehdr*)obj->efile.obj_buf;
1294 bpf_object__new(const char *path, const void *obj_buf, size_t obj_buf_sz, const char *obj_name) bpf_object__new() argument
7819 bpf_object_open(const char *path, const void *obj_buf, size_t obj_buf_sz, const struct bpf_object_open_opts *opts) global() argument
7927 bpf_object__open_mem(const void *obj_buf, size_t obj_buf_sz, const struct bpf_object_open_opts *opts) global() argument
[all...]
H A Dlibbpf.h212 * @param obj_buf pointer to the buffer containing ELF file bytes
219 bpf_object__open_mem(const void *obj_buf, size_t obj_buf_sz,

Completed in 11 milliseconds