Home
last modified time | relevance | path

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

/external/bcc/src/cc/
Dlibbpf.c185 static uint64_t ptr_to_u64(void *ptr) in ptr_to_u64() function
230 attr.key = ptr_to_u64(key); in bpf_update_elem()
231 attr.value = ptr_to_u64(value); in bpf_update_elem()
242 attr.key = ptr_to_u64(key); in bpf_lookup_elem()
243 attr.value = ptr_to_u64(value); in bpf_lookup_elem()
253 attr.key = ptr_to_u64(key); in bpf_delete_elem()
266 attr.next_key = ptr_to_u64(key); in bpf_get_first_key()
274 attr.key = ptr_to_u64(key); in bpf_get_first_key()
301 attr.key = ptr_to_u64(key); in bpf_get_next_key()
302 attr.next_key = ptr_to_u64(next_key); in bpf_get_next_key()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
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()
Dtest_progs.c391 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
502 prog_infos[i].jited_prog_insns = ptr_to_u64(jited_insns); in test_bpf_obj_id()
504 prog_infos[i].xlated_prog_insns = ptr_to_u64(xlated_insns); in test_bpf_obj_id()
506 prog_infos[i].map_ids = ptr_to_u64(map_ids + i); in test_bpf_obj_id()
714 attr.insns = ptr_to_u64(prog); in test_obj_name()
715 attr.license = ptr_to_u64(""); in test_obj_name()
Dtest_btf.c1963 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
2014 info->btf = ptr_to_u64(user_btf); in test_big_btf_info()
2082 info[i].btf = ptr_to_u64(user_btf[i]); in test_btf_id()
2235 info.btf = ptr_to_u64(user_btf); in do_test_get_info()
/external/bcc/introspection/
Dbps.c75 static inline uint64_t ptr_to_u64(const void *ptr) in ptr_to_u64() function
202 prog_info.map_ids = ptr_to_u64(realloc(map_ids, in print_one_prog()