Lines Matching refs:sys_bpf_fd
68 static inline int sys_bpf_fd(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf_fd() function
83 fd = sys_bpf_fd(BPF_PROG_LOAD, attr, size); in sys_bpf_prog_load()
116 fd = sys_bpf_fd(BPF_MAP_CREATE, &attr, sizeof(attr)); in libbpf__bpf_create_map_xattr()
218 fd = sys_bpf_fd(BPF_MAP_CREATE, &attr, sizeof(attr)); in bpf_create_map_in_map_node()
648 fd = sys_bpf_fd(BPF_OBJ_GET, &attr, sizeof(attr)); in bpf_obj_get()
759 fd = sys_bpf_fd(BPF_LINK_CREATE, &attr, sizeof(attr)); in bpf_link_create()
802 fd = sys_bpf_fd(BPF_ITER_CREATE, &attr, sizeof(attr)); in bpf_iter_create()
960 fd = sys_bpf_fd(BPF_PROG_GET_FD_BY_ID, &attr, sizeof(attr)); in bpf_prog_get_fd_by_id()
972 fd = sys_bpf_fd(BPF_MAP_GET_FD_BY_ID, &attr, sizeof(attr)); in bpf_map_get_fd_by_id()
984 fd = sys_bpf_fd(BPF_BTF_GET_FD_BY_ID, &attr, sizeof(attr)); in bpf_btf_get_fd_by_id()
996 fd = sys_bpf_fd(BPF_LINK_GET_FD_BY_ID, &attr, sizeof(attr)); in bpf_link_get_fd_by_id()
1027 fd = sys_bpf_fd(BPF_RAW_TRACEPOINT_OPEN, &attr, sizeof(attr)); in bpf_raw_tracepoint_open()
1047 fd = sys_bpf_fd(BPF_BTF_LOAD, &attr, sizeof(attr)); in bpf_load_btf()
1089 fd = sys_bpf_fd(BPF_ENABLE_STATS, &attr, sizeof(attr)); in bpf_enable_stats()