Lines Matching refs:ptr_to_u64
57 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
282 attr.insns = ptr_to_u64(load_attr->insns); in libbpf__bpf_prog_load()
283 attr.license = ptr_to_u64(load_attr->license); in libbpf__bpf_prog_load()
287 attr.log_buf = ptr_to_u64(load_attr->log_buf); in libbpf__bpf_prog_load()
296 attr.func_info = ptr_to_u64(load_attr->func_info); in libbpf__bpf_prog_load()
300 attr.line_info = ptr_to_u64(load_attr->line_info); in libbpf__bpf_prog_load()
301 attr.fd_array = ptr_to_u64(load_attr->fd_array); in libbpf__bpf_prog_load()
328 attr.func_info = ptr_to_u64(finfo); in libbpf__bpf_prog_load()
342 attr.line_info = ptr_to_u64(linfo); in libbpf__bpf_prog_load()
357 attr.log_buf = ptr_to_u64(load_attr->log_buf); in libbpf__bpf_prog_load()
443 attr.insns = ptr_to_u64(insns); in bpf_verify_program()
444 attr.license = ptr_to_u64(license); in bpf_verify_program()
445 attr.log_buf = ptr_to_u64(log_buf); in bpf_verify_program()
464 attr.key = ptr_to_u64(key); in bpf_map_update_elem()
465 attr.value = ptr_to_u64(value); in bpf_map_update_elem()
479 attr.key = ptr_to_u64(key); in bpf_map_lookup_elem()
480 attr.value = ptr_to_u64(value); in bpf_map_lookup_elem()
493 attr.key = ptr_to_u64(key); in bpf_map_lookup_elem_flags()
494 attr.value = ptr_to_u64(value); in bpf_map_lookup_elem_flags()
508 attr.key = ptr_to_u64(key); in bpf_map_lookup_and_delete_elem()
509 attr.value = ptr_to_u64(value); in bpf_map_lookup_and_delete_elem()
522 attr.key = ptr_to_u64(key); in bpf_map_lookup_and_delete_elem_flags()
523 attr.value = ptr_to_u64(value); in bpf_map_lookup_and_delete_elem_flags()
537 attr.key = ptr_to_u64(key); in bpf_map_delete_elem()
550 attr.key = ptr_to_u64(key); in bpf_map_get_next_key()
551 attr.next_key = ptr_to_u64(next_key); in bpf_map_get_next_key()
582 attr.batch.in_batch = ptr_to_u64(in_batch); in bpf_map_batch_common()
583 attr.batch.out_batch = ptr_to_u64(out_batch); in bpf_map_batch_common()
584 attr.batch.keys = ptr_to_u64(keys); in bpf_map_batch_common()
585 attr.batch.values = ptr_to_u64(values); in bpf_map_batch_common()
633 attr.pathname = ptr_to_u64((void *)pathname); in bpf_obj_pin()
646 attr.pathname = ptr_to_u64((void *)pathname); in bpf_obj_get()
745 attr.link_create.iter_info = ptr_to_u64(OPTS_GET(opts, iter_info, (void *)0)); in bpf_link_create()
817 attr.query.prog_ids = ptr_to_u64(prog_ids); in bpf_prog_query()
837 attr.test.data_in = ptr_to_u64(data); in bpf_prog_test_run()
838 attr.test.data_out = ptr_to_u64(data_out); in bpf_prog_test_run()
864 attr.test.data_in = ptr_to_u64(test_attr->data_in); in bpf_prog_test_run_xattr()
865 attr.test.data_out = ptr_to_u64(test_attr->data_out); in bpf_prog_test_run_xattr()
868 attr.test.ctx_in = ptr_to_u64(test_attr->ctx_in); in bpf_prog_test_run_xattr()
869 attr.test.ctx_out = ptr_to_u64(test_attr->ctx_out); in bpf_prog_test_run_xattr()
902 attr.test.ctx_in = ptr_to_u64(OPTS_GET(opts, ctx_in, NULL)); in bpf_prog_test_run_opts()
903 attr.test.ctx_out = ptr_to_u64(OPTS_GET(opts, ctx_out, NULL)); in bpf_prog_test_run_opts()
904 attr.test.data_in = ptr_to_u64(OPTS_GET(opts, data_in, NULL)); in bpf_prog_test_run_opts()
905 attr.test.data_out = ptr_to_u64(OPTS_GET(opts, data_out, NULL)); in bpf_prog_test_run_opts()
1008 attr.info.info = ptr_to_u64(info); in bpf_obj_get_info_by_fd()
1024 attr.raw_tracepoint.name = ptr_to_u64(name); in bpf_raw_tracepoint_open()
1037 attr.btf = ptr_to_u64(btf); in bpf_load_btf()
1044 attr.btf_log_buf = ptr_to_u64(log_buf); in bpf_load_btf()
1067 attr.task_fd_query.buf = ptr_to_u64(buf); in bpf_task_fd_query()