Home
last modified time | relevance | path

Searched refs:ptr_to_u64 (Results 1 – 22 of 22) sorted by relevance

/linux/tools/lib/bpf/
A Dbpf.c443 attr.insns = ptr_to_u64(insns); 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()
508 attr.key = ptr_to_u64(key); in bpf_map_lookup_and_delete_elem()
522 attr.key = ptr_to_u64(key); 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()
[all …]
A Dbtf.c126 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
1294 btf_info.btf = ptr_to_u64(ptr); in btf_get_from_fd()
1311 btf_info.btf = ptr_to_u64(ptr); in btf_get_from_fd()
A Dlibbpf.c149 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
4591 info.name = ptr_to_u64(name); in probe_module_btf()
5186 info.name = ptr_to_u64(name); in load_module_btfs()
9596 attr.config1 = ptr_to_u64(name); /* kprobe_func or uprobe_path */ in perf_event_open_probe()
11082 ptr_to_u64(ptr)); in bpf_program__get_prog_info_linear()
11137 offs = addr - ptr_to_u64(info_linear->data); in bpf_program__bpil_addr_to_offs()
11157 addr = offs + ptr_to_u64(info_linear->data); in bpf_program__bpil_offs_to_addr()
/linux/tools/testing/selftests/pidfd/
A Dpidfd_wait.c22 #define ptr_to_u64(ptr) ((__u64)((uintptr_t)(ptr))) macro
45 .parent_tid = ptr_to_u64(&parent_tid), in TEST()
46 .pidfd = ptr_to_u64(&pidfd), in TEST()
94 .parent_tid = ptr_to_u64(&parent_tid), in TEST()
95 .pidfd = ptr_to_u64(&pidfd), in TEST()
147 .parent_tid = ptr_to_u64(&parent_tid), in TEST()
A Dpidfd_setns_test.c80 .pidfd = ptr_to_u64(pidfd), in create_child()
/linux/tools/testing/selftests/bpf/
A Dtest_verifier_log.c43 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
55 attr.insns = ptr_to_u64(code_sample); in load()
56 attr.license = ptr_to_u64("GPL"); in load()
57 attr.log_buf = ptr_to_u64(log); in load()
A Dtest_progs.h313 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
/linux/tools/testing/selftests/bpf/prog_tests/
A Dbpf_obj_id.c109 prog_infos[i].jited_prog_insns = ptr_to_u64(jited_insns); in serial_test_bpf_obj_id()
111 prog_infos[i].xlated_prog_insns = ptr_to_u64(xlated_insns); in serial_test_bpf_obj_id()
113 prog_infos[i].map_ids = ptr_to_u64(map_ids + i); in serial_test_bpf_obj_id()
162 link_infos[i].raw_tracepoint.tp_name = ptr_to_u64(&tp_name); in serial_test_bpf_obj_id()
169 link_infos[i].raw_tracepoint.tp_name != ptr_to_u64(&tp_name) || in serial_test_bpf_obj_id()
A Dobj_name.c35 attr.insns = ptr_to_u64(prog); in test_obj_name()
36 attr.license = ptr_to_u64(""); in test_obj_name()
A Dmetadata.c44 prog_info.map_ids = ptr_to_u64(map_ids); in prog_holds_map()
A Dbtf.c4236 info->btf = ptr_to_u64(user_btf); in test_big_btf_info()
4304 info[i].btf = ptr_to_u64(user_btf[i]); in test_btf_id()
4460 info.btf = ptr_to_u64(user_btf); in do_test_get_info()
4610 info.func_info = ptr_to_u64(func_info); in do_test_file()
6264 info.func_info = ptr_to_u64(func_info); in test_get_finfo()
6380 info.line_info = ptr_to_u64(linfo); in test_get_linfo()
6398 info.jited_ksyms = ptr_to_u64(jited_ksyms); in test_get_linfo()
6567 attr.insns = ptr_to_u64(test->insns); in do_test_info_raw()
6569 attr.license = ptr_to_u64("GPL"); in do_test_info_raw()
6574 attr.log_buf = ptr_to_u64(btf_log_buf); in do_test_info_raw()
[all …]
/linux/tools/perf/util/
A Dbpf-utils.c182 ptr_to_u64(ptr)); in get_bpf_prog_info_linear()
237 offs = addr - ptr_to_u64(info_linear->data); in bpil_addr_to_offs()
257 addr = offs + ptr_to_u64(info_linear->data); in bpil_offs_to_addr()
A Dbpf-utils.h6 #define ptr_to_u64(ptr) ((__u64)(unsigned long)(ptr)) macro
/linux/tools/testing/selftests/clone3/
A Dclone3_selftests.h16 #define ptr_to_u64(ptr) ((__u64)((uintptr_t)(ptr))) macro
A Dclone3_cap_checkpoint_restore.c49 .set_tid = ptr_to_u64(set_tid), in call_clone3_set_tid()
A Dclone3_set_tid.c52 .set_tid = ptr_to_u64(set_tid), in call_clone3_set_tid()
/linux/samples/bpf/
A Dtask_fd_query_user.c42 static __u64 ptr_to_u64(void *ptr) in ptr_to_u64() function
147 attr.config1 = ptr_to_u64((void *)name); in test_nondebug_fs_kuprobe_common()
/linux/tools/bpf/bpftool/
A Dmain.h24 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
A Dbtf.c861 info.name = ptr_to_u64(name); in show_btf()
A Dprog.c143 info.map_ids = ptr_to_u64(map_ids); in show_prog_maps()
192 prog_info.map_ids = ptr_to_u64(map_ids); in find_metadata()
/linux/drivers/gpu/drm/i915/
A Di915_utils.h241 static inline u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
/linux/drivers/media/platform/allegro-dvt/
A Dallegro-core.c415 static inline u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
1931 return ptr_to_u64(buffer); in allegro_put_buffer()
1943 if (handle == ptr_to_u64(&shadow->buf.vb)) { in allegro_get_buffer()

Completed in 70 milliseconds