Searched refs:sys_bpf_fd (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/tools/lib/bpf/ |
D | bpf.c | 78 static inline int sys_bpf_fd(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf_fd() function 92 fd = sys_bpf_fd(BPF_PROG_LOAD, attr, size); in sys_bpf_prog_load() 124 prog_fd = sys_bpf_fd(BPF_PROG_LOAD, &attr, attr_sz); in probe_memcg_account() 201 fd = sys_bpf_fd(BPF_MAP_CREATE, &attr, attr_sz); in bpf_map_create() 618 fd = sys_bpf_fd(BPF_OBJ_GET, &attr, attr_sz); in bpf_obj_get_opts() 819 fd = sys_bpf_fd(BPF_LINK_CREATE, &attr, attr_sz); in bpf_link_create() 901 fd = sys_bpf_fd(BPF_ITER_CREATE, &attr, attr_sz); in bpf_iter_create() 1038 fd = sys_bpf_fd(BPF_PROG_GET_FD_BY_ID, &attr, attr_sz); in bpf_prog_get_fd_by_id_opts() 1061 fd = sys_bpf_fd(BPF_MAP_GET_FD_BY_ID, &attr, attr_sz); in bpf_map_get_fd_by_id_opts() 1084 fd = sys_bpf_fd(BPF_BTF_GET_FD_BY_ID, &attr, attr_sz); in bpf_btf_get_fd_by_id_opts() [all …]
|