Lines Matching refs:ptr_to_u64

67 static inline __u64 ptr_to_u64(const void *ptr)  in ptr_to_u64()  function
120 attr.insns = ptr_to_u64(insns); in probe_memcg_account()
122 attr.license = ptr_to_u64("GPL"); in probe_memcg_account()
267 attr.license = ptr_to_u64(license); in bpf_prog_load()
272 attr.insns = ptr_to_u64(insns); in bpf_prog_load()
301 attr.func_info = ptr_to_u64(func_info); in bpf_prog_load()
307 attr.line_info = ptr_to_u64(line_info); in bpf_prog_load()
310 attr.fd_array = ptr_to_u64(OPTS_GET(opts, fd_array, NULL)); in bpf_prog_load()
313 attr.log_buf = ptr_to_u64(log_buf); in bpf_prog_load()
339 attr.func_info = ptr_to_u64(finfo); in bpf_prog_load()
352 attr.line_info = ptr_to_u64(linfo); in bpf_prog_load()
368 attr.log_buf = ptr_to_u64(log_buf); in bpf_prog_load()
390 attr.key = ptr_to_u64(key); in bpf_map_update_elem()
391 attr.value = ptr_to_u64(value); in bpf_map_update_elem()
406 attr.key = ptr_to_u64(key); in bpf_map_lookup_elem()
407 attr.value = ptr_to_u64(value); in bpf_map_lookup_elem()
421 attr.key = ptr_to_u64(key); in bpf_map_lookup_elem_flags()
422 attr.value = ptr_to_u64(value); in bpf_map_lookup_elem_flags()
437 attr.key = ptr_to_u64(key); in bpf_map_lookup_and_delete_elem()
438 attr.value = ptr_to_u64(value); in bpf_map_lookup_and_delete_elem()
452 attr.key = ptr_to_u64(key); in bpf_map_lookup_and_delete_elem_flags()
453 attr.value = ptr_to_u64(value); in bpf_map_lookup_and_delete_elem_flags()
468 attr.key = ptr_to_u64(key); in bpf_map_delete_elem()
482 attr.key = ptr_to_u64(key); in bpf_map_delete_elem_flags()
497 attr.key = ptr_to_u64(key); in bpf_map_get_next_key()
498 attr.next_key = ptr_to_u64(next_key); in bpf_map_get_next_key()
531 attr.batch.in_batch = ptr_to_u64(in_batch); in bpf_map_batch_common()
532 attr.batch.out_batch = ptr_to_u64(out_batch); in bpf_map_batch_common()
533 attr.batch.keys = ptr_to_u64(keys); in bpf_map_batch_common()
534 attr.batch.values = ptr_to_u64(values); in bpf_map_batch_common()
583 attr.pathname = ptr_to_u64((void *)pathname); in bpf_obj_pin()
605 attr.pathname = ptr_to_u64((void *)pathname); in bpf_obj_get_opts()
709 attr.link_create.iter_info = ptr_to_u64(OPTS_GET(opts, iter_info, (void *)0)); in bpf_link_create()
720 attr.link_create.kprobe_multi.syms = ptr_to_u64(OPTS_GET(opts, kprobe_multi.syms, 0)); in bpf_link_create()
721 attr.link_create.kprobe_multi.addrs = ptr_to_u64(OPTS_GET(opts, kprobe_multi.addrs, 0)); in bpf_link_create()
722 attr.link_create.kprobe_multi.cookies = ptr_to_u64(OPTS_GET(opts, kprobe_multi.cookies, 0)); in bpf_link_create()
837 attr.query.prog_ids = ptr_to_u64(OPTS_GET(opts, prog_ids, NULL)); in bpf_prog_query_opts()
838 attr.query.prog_attach_flags = ptr_to_u64(OPTS_GET(opts, prog_attach_flags, NULL)); in bpf_prog_query_opts()
887 attr.test.ctx_in = ptr_to_u64(OPTS_GET(opts, ctx_in, NULL)); in bpf_prog_test_run_opts()
888 attr.test.ctx_out = ptr_to_u64(OPTS_GET(opts, ctx_out, NULL)); in bpf_prog_test_run_opts()
889 attr.test.data_in = ptr_to_u64(OPTS_GET(opts, data_in, NULL)); in bpf_prog_test_run_opts()
890 attr.test.data_out = ptr_to_u64(OPTS_GET(opts, data_out, NULL)); in bpf_prog_test_run_opts()
1039 attr.info.info = ptr_to_u64(info); in bpf_obj_get_info_by_fd()
1074 attr.raw_tracepoint.name = ptr_to_u64(name); in bpf_raw_tracepoint_open()
1106 attr.btf = ptr_to_u64(btf_data); in bpf_btf_load()
1114 attr.btf_log_buf = ptr_to_u64(log_buf); in bpf_btf_load()
1121 attr.btf_log_buf = ptr_to_u64(log_buf); in bpf_btf_load()
1141 attr.task_fd_query.buf = ptr_to_u64(buf); in bpf_task_fd_query()