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()
274 attr.license = ptr_to_u64(license); in bpf_prog_load()
279 attr.insns = ptr_to_u64(insns); in bpf_prog_load()
304 attr.func_info = ptr_to_u64(func_info); in bpf_prog_load()
310 attr.line_info = ptr_to_u64(line_info); in bpf_prog_load()
313 attr.fd_array = ptr_to_u64(OPTS_GET(opts, fd_array, NULL)); in bpf_prog_load()
317 attr.log_buf = ptr_to_u64(log_buf); in bpf_prog_load()
344 attr.func_info = ptr_to_u64(finfo); in bpf_prog_load()
357 attr.line_info = ptr_to_u64(linfo); in bpf_prog_load()
374 attr.log_buf = ptr_to_u64(log_buf); in bpf_prog_load()
397 attr.key = ptr_to_u64(key); in bpf_map_update_elem()
398 attr.value = ptr_to_u64(value); in bpf_map_update_elem()
413 attr.key = ptr_to_u64(key); in bpf_map_lookup_elem()
414 attr.value = ptr_to_u64(value); in bpf_map_lookup_elem()
428 attr.key = ptr_to_u64(key); in bpf_map_lookup_elem_flags()
429 attr.value = ptr_to_u64(value); in bpf_map_lookup_elem_flags()
444 attr.key = ptr_to_u64(key); in bpf_map_lookup_and_delete_elem()
445 attr.value = ptr_to_u64(value); in bpf_map_lookup_and_delete_elem()
459 attr.key = ptr_to_u64(key); in bpf_map_lookup_and_delete_elem_flags()
460 attr.value = ptr_to_u64(value); in bpf_map_lookup_and_delete_elem_flags()
475 attr.key = ptr_to_u64(key); in bpf_map_delete_elem()
489 attr.key = ptr_to_u64(key); in bpf_map_delete_elem_flags()
504 attr.key = ptr_to_u64(key); in bpf_map_get_next_key()
505 attr.next_key = ptr_to_u64(next_key); in bpf_map_get_next_key()
538 attr.batch.in_batch = ptr_to_u64(in_batch); in bpf_map_batch_common()
539 attr.batch.out_batch = ptr_to_u64(out_batch); in bpf_map_batch_common()
540 attr.batch.keys = ptr_to_u64(keys); in bpf_map_batch_common()
541 attr.batch.values = ptr_to_u64(values); in bpf_map_batch_common()
594 attr.pathname = ptr_to_u64((void *)pathname); in bpf_obj_pin_opts()
623 attr.pathname = ptr_to_u64((void *)pathname); in bpf_obj_get_opts()
761 attr.link_create.iter_info = ptr_to_u64(OPTS_GET(opts, iter_info, (void *)0)); in bpf_link_create()
773 attr.link_create.kprobe_multi.syms = ptr_to_u64(OPTS_GET(opts, kprobe_multi.syms, 0)); in bpf_link_create()
774 attr.link_create.kprobe_multi.addrs = ptr_to_u64(OPTS_GET(opts, kprobe_multi.addrs, 0)); in bpf_link_create()
775 attr.link_create.kprobe_multi.cookies = ptr_to_u64(OPTS_GET(opts, kprobe_multi.cookies, 0)); in bpf_link_create()
783 attr.link_create.uprobe_multi.path = ptr_to_u64(OPTS_GET(opts, uprobe_multi.path, 0)); in bpf_link_create()
784 attr.link_create.uprobe_multi.offsets = ptr_to_u64(OPTS_GET(opts, uprobe_multi.offsets, 0)); in bpf_link_create()
785 …attr.link_create.uprobe_multi.ref_ctr_offsets = ptr_to_u64(OPTS_GET(opts, uprobe_multi.ref_ctr_off… in bpf_link_create()
786 attr.link_create.uprobe_multi.cookies = ptr_to_u64(OPTS_GET(opts, uprobe_multi.cookies, 0)); in bpf_link_create()
991 attr.query.prog_ids = ptr_to_u64(OPTS_GET(opts, prog_ids, NULL)); in bpf_prog_query_opts()
992 attr.query.link_ids = ptr_to_u64(OPTS_GET(opts, link_ids, NULL)); in bpf_prog_query_opts()
993 attr.query.prog_attach_flags = ptr_to_u64(OPTS_GET(opts, prog_attach_flags, NULL)); in bpf_prog_query_opts()
994 attr.query.link_attach_flags = ptr_to_u64(OPTS_GET(opts, link_attach_flags, NULL)); in bpf_prog_query_opts()
1044 attr.test.ctx_in = ptr_to_u64(OPTS_GET(opts, ctx_in, NULL)); in bpf_prog_test_run_opts()
1045 attr.test.ctx_out = ptr_to_u64(OPTS_GET(opts, ctx_out, NULL)); in bpf_prog_test_run_opts()
1046 attr.test.data_in = ptr_to_u64(OPTS_GET(opts, data_in, NULL)); in bpf_prog_test_run_opts()
1047 attr.test.data_out = ptr_to_u64(OPTS_GET(opts, data_out, NULL)); in bpf_prog_test_run_opts()
1197 attr.info.info = ptr_to_u64(info); in bpf_obj_get_info_by_fd()
1236 attr.raw_tracepoint.name = ptr_to_u64(OPTS_GET(opts, tp_name, NULL)); in bpf_raw_tracepoint_open_opts()
1275 attr.btf = ptr_to_u64(btf_data); in bpf_btf_load()
1287 attr.btf_log_buf = ptr_to_u64(log_buf); in bpf_btf_load()
1294 attr.btf_log_buf = ptr_to_u64(log_buf); in bpf_btf_load()
1316 attr.task_fd_query.buf = ptr_to_u64(buf); in bpf_task_fd_query()
1390 attr.prog_stream_read.stream_buf = ptr_to_u64(buf); in bpf_prog_stream_read()