Home
last modified time | relevance | path

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

/third_party/libbpf/src/
Dbpf.c67 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()
301 attr.func_info = ptr_to_u64(func_info); in bpf_prog_load()
307 attr.line_info = ptr_to_u64(line_info); in bpf_prog_load()
310 attr.fd_array = ptr_to_u64(OPTS_GET(opts, fd_array, NULL)); in bpf_prog_load()
313 attr.log_buf = ptr_to_u64(log_buf); in bpf_prog_load()
339 attr.func_info = ptr_to_u64(finfo); in bpf_prog_load()
[all …]
Dbtf.c141 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
1474 btf_info.btf = ptr_to_u64(ptr);
1491 btf_info.btf = ptr_to_u64(ptr);
Dlibbpf.c309 static inline __u64 ptr_to_u64(const void *ptr) in ptr_to_u64() function
4861 attr.license = ptr_to_u64("GPL");
4862 attr.insns = ptr_to_u64(insns);
5102 info.name = ptr_to_u64(name);
5815 info.name = ptr_to_u64(name);
10288 attr.config1 = ptr_to_u64(name); /* kprobe_func or uprobe_path */
/third_party/ltp/testcases/kernel/syscalls/bpf/
Dbpf_map01.c57 attr->key = ptr_to_u64(key); in run()
58 attr->value = ptr_to_u64(val_get); in run()
92 attr->key = ptr_to_u64(key); in run()
93 attr->value = ptr_to_u64(val_set); in run()
109 attr->key = ptr_to_u64(key); in run()
110 attr->value = ptr_to_u64(val_get); in run()
Dbpf_common.c69 .key = ptr_to_u64(array_indx), in bpf_map_array_get()
70 .value = ptr_to_u64(array_val), in bpf_map_array_get()
100 attr->insns = ptr_to_u64(buf); in bpf_init_prog_attr()
102 attr->license = ptr_to_u64("GPL"); in bpf_init_prog_attr()
103 attr->log_buf = ptr_to_u64(log_buf); in bpf_init_prog_attr()
Dbpf_prog03.c123 attr->key = ptr_to_u64(key); in run()
124 attr->value = ptr_to_u64(val); in run()
/third_party/ltp/include/lapi/
Dbpf.h583 static inline uint64_t ptr_to_u64(const void *ptr) in ptr_to_u64() function