/linux/tools/lib/bpf/ |
A D | bpf.c | 443 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 D | btf.c | 126 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 D | libbpf.c | 149 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 D | pidfd_wait.c | 22 #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 D | pidfd_setns_test.c | 80 .pidfd = ptr_to_u64(pidfd), in create_child()
|
/linux/tools/testing/selftests/bpf/ |
A D | test_verifier_log.c | 43 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 D | test_progs.h | 313 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | bpf_obj_id.c | 109 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 D | obj_name.c | 35 attr.insns = ptr_to_u64(prog); in test_obj_name() 36 attr.license = ptr_to_u64(""); in test_obj_name()
|
A D | metadata.c | 44 prog_info.map_ids = ptr_to_u64(map_ids); in prog_holds_map()
|
A D | btf.c | 4236 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 D | bpf-utils.c | 182 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 D | bpf-utils.h | 6 #define ptr_to_u64(ptr) ((__u64)(unsigned long)(ptr)) macro
|
/linux/tools/testing/selftests/clone3/ |
A D | clone3_selftests.h | 16 #define ptr_to_u64(ptr) ((__u64)((uintptr_t)(ptr))) macro
|
A D | clone3_cap_checkpoint_restore.c | 49 .set_tid = ptr_to_u64(set_tid), in call_clone3_set_tid()
|
A D | clone3_set_tid.c | 52 .set_tid = ptr_to_u64(set_tid), in call_clone3_set_tid()
|
/linux/samples/bpf/ |
A D | task_fd_query_user.c | 42 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 D | main.h | 24 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
|
A D | btf.c | 861 info.name = ptr_to_u64(name); in show_btf()
|
A D | prog.c | 143 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 D | i915_utils.h | 241 static inline u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
|
/linux/drivers/media/platform/allegro-dvt/ |
A D | allegro-core.c | 415 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()
|