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()
297 attr.func_info = ptr_to_u64(func_info); in bpf_prog_load()
303 attr.line_info = ptr_to_u64(line_info); in bpf_prog_load()
306 attr.fd_array = ptr_to_u64(OPTS_GET(opts, fd_array, NULL)); in bpf_prog_load()
309 attr.log_buf = ptr_to_u64(log_buf); in bpf_prog_load()
336 attr.func_info = ptr_to_u64(finfo); in bpf_prog_load()
349 attr.line_info = ptr_to_u64(linfo); in bpf_prog_load()
366 attr.log_buf = ptr_to_u64(log_buf); in bpf_prog_load()
389 attr.key = ptr_to_u64(key); in bpf_map_update_elem()
390 attr.value = ptr_to_u64(value); in bpf_map_update_elem()
405 attr.key = ptr_to_u64(key); in bpf_map_lookup_elem()
406 attr.value = ptr_to_u64(value); in bpf_map_lookup_elem()
420 attr.key = ptr_to_u64(key); in bpf_map_lookup_elem_flags()
421 attr.value = ptr_to_u64(value); in bpf_map_lookup_elem_flags()
436 attr.key = ptr_to_u64(key); in bpf_map_lookup_and_delete_elem()
437 attr.value = ptr_to_u64(value); in bpf_map_lookup_and_delete_elem()
451 attr.key = ptr_to_u64(key); in bpf_map_lookup_and_delete_elem_flags()
452 attr.value = ptr_to_u64(value); in bpf_map_lookup_and_delete_elem_flags()
467 attr.key = ptr_to_u64(key); in bpf_map_delete_elem()
481 attr.key = ptr_to_u64(key); in bpf_map_delete_elem_flags()
496 attr.key = ptr_to_u64(key); in bpf_map_get_next_key()
497 attr.next_key = ptr_to_u64(next_key); in bpf_map_get_next_key()
530 attr.batch.in_batch = ptr_to_u64(in_batch); in bpf_map_batch_common()
531 attr.batch.out_batch = ptr_to_u64(out_batch); in bpf_map_batch_common()
532 attr.batch.keys = ptr_to_u64(keys); in bpf_map_batch_common()
533 attr.batch.values = ptr_to_u64(values); in bpf_map_batch_common()
586 attr.pathname = ptr_to_u64((void *)pathname); in bpf_obj_pin_opts()
615 attr.pathname = ptr_to_u64((void *)pathname); in bpf_obj_get_opts()
753 attr.link_create.iter_info = ptr_to_u64(OPTS_GET(opts, iter_info, (void *)0)); in bpf_link_create()
764 attr.link_create.kprobe_multi.syms = ptr_to_u64(OPTS_GET(opts, kprobe_multi.syms, 0)); in bpf_link_create()
765 attr.link_create.kprobe_multi.addrs = ptr_to_u64(OPTS_GET(opts, kprobe_multi.addrs, 0)); in bpf_link_create()
766 attr.link_create.kprobe_multi.cookies = ptr_to_u64(OPTS_GET(opts, kprobe_multi.cookies, 0)); in bpf_link_create()
773 attr.link_create.uprobe_multi.path = ptr_to_u64(OPTS_GET(opts, uprobe_multi.path, 0)); in bpf_link_create()
774 attr.link_create.uprobe_multi.offsets = ptr_to_u64(OPTS_GET(opts, uprobe_multi.offsets, 0)); in bpf_link_create()
775 …attr.link_create.uprobe_multi.ref_ctr_offsets = ptr_to_u64(OPTS_GET(opts, uprobe_multi.ref_ctr_off… in bpf_link_create()
776 attr.link_create.uprobe_multi.cookies = ptr_to_u64(OPTS_GET(opts, uprobe_multi.cookies, 0)); in bpf_link_create()
920 attr.query.prog_ids = ptr_to_u64(OPTS_GET(opts, prog_ids, NULL)); in bpf_prog_query_opts()
921 attr.query.link_ids = ptr_to_u64(OPTS_GET(opts, link_ids, NULL)); in bpf_prog_query_opts()
922 attr.query.prog_attach_flags = ptr_to_u64(OPTS_GET(opts, prog_attach_flags, NULL)); in bpf_prog_query_opts()
923 attr.query.link_attach_flags = ptr_to_u64(OPTS_GET(opts, link_attach_flags, NULL)); in bpf_prog_query_opts()
973 attr.test.ctx_in = ptr_to_u64(OPTS_GET(opts, ctx_in, NULL)); in bpf_prog_test_run_opts()
974 attr.test.ctx_out = ptr_to_u64(OPTS_GET(opts, ctx_out, NULL)); in bpf_prog_test_run_opts()
975 attr.test.data_in = ptr_to_u64(OPTS_GET(opts, data_in, NULL)); in bpf_prog_test_run_opts()
976 attr.test.data_out = ptr_to_u64(OPTS_GET(opts, data_out, NULL)); in bpf_prog_test_run_opts()
1125 attr.info.info = ptr_to_u64(info); in bpf_obj_get_info_by_fd()
1160 attr.raw_tracepoint.name = ptr_to_u64(name); in bpf_raw_tracepoint_open()
1192 attr.btf = ptr_to_u64(btf_data); in bpf_btf_load()
1200 attr.btf_log_buf = ptr_to_u64(log_buf); in bpf_btf_load()
1207 attr.btf_log_buf = ptr_to_u64(log_buf); in bpf_btf_load()
1229 attr.task_fd_query.buf = ptr_to_u64(buf); in bpf_task_fd_query()