Searched refs:libbpf_ptr (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/tools/lib/bpf/ |
D | btf.c | 846 return libbpf_ptr(btf_new_empty(NULL)); in btf__new_empty() 851 return libbpf_ptr(btf_new_empty(base_btf)); in btf__new_empty_split() 906 return libbpf_ptr(btf_new(data, size, NULL)); in btf__new() 1038 return libbpf_ptr(btf_parse_elf(path, NULL, btf_ext)); in btf__parse_elf() 1043 return libbpf_ptr(btf_parse_elf(path, base_btf, NULL)); in btf__parse_elf_split() 1111 return libbpf_ptr(btf_parse_raw(path, NULL)); in btf__parse_raw() 1116 return libbpf_ptr(btf_parse_raw(path, base_btf)); in btf__parse_raw_split() 1138 return libbpf_ptr(btf_parse(path, NULL, btf_ext)); in btf__parse() 1143 return libbpf_ptr(btf_parse(path, base_btf, NULL)); in btf__parse_split() 1396 return libbpf_ptr(btf); in btf__load_from_kernel_by_id_split()
|
D | libbpf_internal.h | 513 static inline void *libbpf_ptr(void *ret) in libbpf_ptr() function
|
D | libbpf.c | 7247 return libbpf_ptr(bpf_object_open(path, NULL, 0, opts)); in bpf_object__open_file() 7262 return libbpf_ptr(bpf_object_open(NULL, obj_buf, obj_buf_sz, opts)); in bpf_object__open_mem() 10935 return libbpf_ptr(obj->usdt_man); in bpf_program__attach_usdt() 10939 return libbpf_ptr(obj->usdt_man); in bpf_program__attach_usdt() 11656 return libbpf_ptr(__perf_buffer__new(map_fd, page_cnt, &p)); in perf_buffer__new() 11679 return libbpf_ptr(__perf_buffer__new(map_fd, page_cnt, &p)); in perf_buffer__new_raw()
|