/linux-6.1.9/tools/perf/tests/ |
D | llvm.c | 12 static int test__bpf_parsing(void *obj_buf, size_t obj_buf_sz) in test__bpf_parsing() argument 16 obj = bpf_object__open_mem(obj_buf, obj_buf_sz, NULL); in test__bpf_parsing() 130 void *obj_buf = NULL; in test__llvm() local 137 ret = test_llvm__fetch_bpf_obj(&obj_buf, &obj_buf_sz, in test__llvm() 141 ret = test__bpf_parsing(obj_buf, obj_buf_sz); in test__llvm() 147 free(obj_buf); in test__llvm()
|
D | bpf.c | 204 prepare_bpf(void *obj_buf, size_t obj_buf_sz, const char *name) in prepare_bpf() argument 208 obj = bpf__prepare_load_buffer(obj_buf, obj_buf_sz, name); in prepare_bpf() 219 void *obj_buf; in __test__bpf() local 223 ret = test_llvm__fetch_bpf_obj(&obj_buf, &obj_buf_sz, in __test__bpf() 226 if (ret != TEST_OK || !obj_buf || !obj_buf_sz) { in __test__bpf() 235 obj = prepare_bpf(obj_buf, obj_buf_sz, in __test__bpf() 277 free(obj_buf); in __test__bpf()
|
/linux-6.1.9/tools/perf/util/ |
D | llvm-utils.c | 415 void llvm__dump_obj(const char *path, void *obj_buf, size_t size) in llvm__dump_obj() argument 442 if (fwrite(obj_buf, size, 1, fp) != 1) in llvm__dump_obj() 453 void *obj_buf = NULL; in llvm__compile_bpf() local 544 err = read_from_pipe(template, &obj_buf, &obj_buf_sz); in llvm__compile_bpf() 562 free(obj_buf); in llvm__compile_bpf() 564 *p_obj_buf = obj_buf; in llvm__compile_bpf() 573 free(obj_buf); in llvm__compile_bpf()
|
D | bpf-loader.h | 59 struct bpf_object *bpf__prepare_load_buffer(void *obj_buf, size_t obj_buf_sz, 102 bpf__prepare_load_buffer(void *obj_buf __maybe_unused, in bpf__prepare_load_buffer()
|
D | llvm-utils.h | 68 void llvm__dump_obj(const char *path, void *obj_buf, size_t size);
|
D | bpf-loader.c | 203 bpf__prepare_load_buffer(void *obj_buf, size_t obj_buf_sz, const char *name) in bpf__prepare_load_buffer() argument 213 obj = bpf_object__open_mem(obj_buf, obj_buf_sz, &opts); in bpf__prepare_load_buffer() 245 void *obj_buf; in bpf__prepare_load() local 249 err = perf_clang__compile_bpf(filename, &obj_buf, &obj_buf_sz); in bpf__prepare_load() 253 err = llvm__compile_bpf(filename, &obj_buf, &obj_buf_sz); in bpf__prepare_load() 258 obj = bpf_object__open_mem(obj_buf, obj_buf_sz, &opts); in bpf__prepare_load() 261 llvm__dump_obj(filename, obj_buf, obj_buf_sz); in bpf__prepare_load() 263 free(obj_buf); in bpf__prepare_load()
|
/linux-6.1.9/drivers/crypto/qat/qat_common/ |
D | icp_qat_uclo.h | 234 void *obj_buf; member 563 char *obj_buf; member
|
D | qat_uclo.c | 1622 objhdl->obj_buf = kmemdup(addr_ptr, mem_size, GFP_KERNEL); in qat_uclo_map_uof_obj() 1623 if (!objhdl->obj_buf) in qat_uclo_map_uof_obj() 1625 filehdr = (struct icp_qat_uof_filehdr *)objhdl->obj_buf; in qat_uclo_map_uof_obj() 1628 objhdl->obj_hdr = qat_uclo_map_chunk((char *)objhdl->obj_buf, filehdr, in qat_uclo_map_uof_obj() 1643 kfree(objhdl->obj_buf); in qat_uclo_map_uof_obj() 1696 *obj_ptr = obj_hdr[i].obj_buf; in qat_uclo_seek_obj_inside_mof() 1722 mobj_hdr->obj_buf = obj; in qat_uclo_map_obj_from_mof() 1937 kfree(obj_handle->obj_buf); in qat_uclo_del_obj()
|
/linux-6.1.9/tools/lib/bpf/ |
D | libbpf.c | 591 const void *obj_buf; member 1250 const void *obj_buf, in bpf_object__new() argument 1281 obj->efile.obj_buf = obj_buf; in bpf_object__new() 1306 obj->efile.obj_buf = NULL; in bpf_object__elf_finish() 1323 elf = elf_memory((char *)obj->efile.obj_buf, obj->efile.obj_buf_sz); in bpf_object__elf_init() 7162 static struct bpf_object *bpf_object_open(const char *path, const void *obj_buf, size_t obj_buf_sz, in bpf_object_open() argument 7183 if (obj_buf) { in bpf_object_open() 7186 (unsigned long)obj_buf, in bpf_object_open() 7202 obj = bpf_object__new(path, obj_buf, obj_buf_sz, obj_name); in bpf_object_open() 7268 bpf_object__open_mem(const void *obj_buf, size_t obj_buf_sz, in bpf_object__open_mem() argument [all …]
|
D | libbpf.h | 203 bpf_object__open_mem(const void *obj_buf, size_t obj_buf_sz,
|
/linux-6.1.9/fs/ksmbd/ |
D | smb2pdu.c | 7636 struct file_object_buf_type1_ioctl_rsp *obj_buf; in smb2_ioctl() local 7639 obj_buf = (struct file_object_buf_type1_ioctl_rsp *) in smb2_ioctl() 7646 memset(obj_buf->ObjectId, 0x0, 16); in smb2_ioctl() 7647 memset(obj_buf->BirthVolumeId, 0x0, 16); in smb2_ioctl() 7648 memset(obj_buf->BirthObjectId, 0x0, 16); in smb2_ioctl() 7649 memset(obj_buf->DomainId, 0x0, 16); in smb2_ioctl()
|