Searched refs:libbpf_ptr (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/tools/lib/bpf/ |
D | btf.c | 1024 return libbpf_ptr(btf_new_empty(NULL)); in btf__new_empty() 1029 return libbpf_ptr(btf_new_empty(base_btf)); in btf__new_empty_split() 1085 return libbpf_ptr(btf_new(data, size, NULL)); in btf__new() 1090 return libbpf_ptr(btf_new(data, size, base_btf)); in btf__new_split() 1268 return libbpf_ptr(btf_parse_elf(path, NULL, btf_ext)); in btf__parse_elf() 1273 return libbpf_ptr(btf_parse_elf(path, base_btf, NULL)); in btf__parse_elf_split() 1341 return libbpf_ptr(btf_parse_raw(path, NULL)); in btf__parse_raw() 1346 return libbpf_ptr(btf_parse_raw(path, base_btf)); in btf__parse_raw_split() 1368 return libbpf_ptr(btf_parse(path, NULL, btf_ext)); in btf__parse() 1373 return libbpf_ptr(btf_parse(path, base_btf, NULL)); in btf__parse_split() [all …]
|
D | libbpf_internal.h | 572 static inline void *libbpf_ptr(void *ret) in libbpf_ptr() function
|
D | libbpf.c | 8019 return libbpf_ptr(bpf_object_open(path, NULL, 0, NULL, opts)); in bpf_object__open_file() 8039 return libbpf_ptr(bpf_object_open(NULL, obj_buf, obj_buf_sz, tmp_name, opts)); in bpf_object__open_mem() 12303 return libbpf_ptr(obj->usdt_man); in bpf_program__attach_usdt() 12307 return libbpf_ptr(obj->usdt_man); in bpf_program__attach_usdt() 13231 return libbpf_ptr(__perf_buffer__new(map_fd, page_cnt, &p)); in perf_buffer__new() 13254 return libbpf_ptr(__perf_buffer__new(map_fd, page_cnt, &p)); in perf_buffer__new_raw()
|