Lines Matching refs:sys_bpf

62 static inline int sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr,  in sys_bpf()  function
73 fd = sys_bpf(cmd, attr, size); in sys_bpf_fd()
468 ret = sys_bpf(BPF_MAP_UPDATE_ELEM, &attr, sizeof(attr)); in bpf_map_update_elem()
482 ret = sys_bpf(BPF_MAP_LOOKUP_ELEM, &attr, sizeof(attr)); in bpf_map_lookup_elem()
497 ret = sys_bpf(BPF_MAP_LOOKUP_ELEM, &attr, sizeof(attr)); in bpf_map_lookup_elem_flags()
511 ret = sys_bpf(BPF_MAP_LOOKUP_AND_DELETE_ELEM, &attr, sizeof(attr)); in bpf_map_lookup_and_delete_elem()
526 ret = sys_bpf(BPF_MAP_LOOKUP_AND_DELETE_ELEM, &attr, sizeof(attr)); in bpf_map_lookup_and_delete_elem_flags()
539 ret = sys_bpf(BPF_MAP_DELETE_ELEM, &attr, sizeof(attr)); in bpf_map_delete_elem()
553 ret = sys_bpf(BPF_MAP_GET_NEXT_KEY, &attr, sizeof(attr)); in bpf_map_get_next_key()
565 ret = sys_bpf(BPF_MAP_FREEZE, &attr, sizeof(attr)); in bpf_map_freeze()
590 ret = sys_bpf(cmd, &attr, sizeof(attr)); in bpf_map_batch_common()
636 ret = sys_bpf(BPF_OBJ_PIN, &attr, sizeof(attr)); in bpf_obj_pin()
679 ret = sys_bpf(BPF_PROG_ATTACH, &attr, sizeof(attr)); in bpf_prog_attach_xattr()
692 ret = sys_bpf(BPF_PROG_DETACH, &attr, sizeof(attr)); in bpf_prog_detach()
706 ret = sys_bpf(BPF_PROG_DETACH, &attr, sizeof(attr)); in bpf_prog_detach2()
771 ret = sys_bpf(BPF_LINK_DETACH, &attr, sizeof(attr)); in bpf_link_detach()
790 ret = sys_bpf(BPF_LINK_UPDATE, &attr, sizeof(attr)); in bpf_link_update()
819 ret = sys_bpf(BPF_PROG_QUERY, &attr, sizeof(attr)); in bpf_prog_query()
842 ret = sys_bpf(BPF_PROG_TEST_RUN, &attr, sizeof(attr)); in bpf_prog_test_run()
874 ret = sys_bpf(BPF_PROG_TEST_RUN, &attr, sizeof(attr)); in bpf_prog_test_run_xattr()
907 ret = sys_bpf(BPF_PROG_TEST_RUN, &attr, sizeof(attr)); in bpf_prog_test_run_opts()
925 err = sys_bpf(cmd, &attr, sizeof(attr)); in bpf_obj_get_next_id()
1010 err = sys_bpf(BPF_OBJ_GET_INFO_BY_FD, &attr, sizeof(attr)); in bpf_obj_get_info_by_fd()
1070 err = sys_bpf(BPF_TASK_FD_QUERY, &attr, sizeof(attr)); in bpf_task_fd_query()
1107 ret = sys_bpf(BPF_PROG_BIND_MAP, &attr, sizeof(attr)); in bpf_prog_bind_map()