Lines Matching refs:bpf_attr

72 static inline int sys_bpf(enum bpf_cmd cmd, union bpf_attr *attr,  in sys_bpf()
78 static inline int sys_bpf_fd(enum bpf_cmd cmd, union bpf_attr *attr, in sys_bpf_fd()
87 int sys_bpf_prog_load(union bpf_attr *attr, unsigned int size, int attempts) in sys_bpf_prog_load()
108 const size_t attr_sz = offsetofend(union bpf_attr, attach_btf_obj_fd); in probe_memcg_account()
114 union bpf_attr attr; in probe_memcg_account()
172 const size_t attr_sz = offsetofend(union bpf_attr, map_extra); in bpf_map_create()
173 union bpf_attr attr; in bpf_map_create()
235 const size_t attr_sz = offsetofend(union bpf_attr, log_true_size); in bpf_prog_load()
241 union bpf_attr attr; in bpf_prog_load()
383 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_update_elem()
384 union bpf_attr attr; in bpf_map_update_elem()
399 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_lookup_elem()
400 union bpf_attr attr; in bpf_map_lookup_elem()
414 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_lookup_elem_flags()
415 union bpf_attr attr; in bpf_map_lookup_elem_flags()
430 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_lookup_and_delete_elem()
431 union bpf_attr attr; in bpf_map_lookup_and_delete_elem()
445 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_lookup_and_delete_elem_flags()
446 union bpf_attr attr; in bpf_map_lookup_and_delete_elem_flags()
461 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_delete_elem()
462 union bpf_attr attr; in bpf_map_delete_elem()
475 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_delete_elem_flags()
476 union bpf_attr attr; in bpf_map_delete_elem_flags()
490 const size_t attr_sz = offsetofend(union bpf_attr, next_key); in bpf_map_get_next_key()
491 union bpf_attr attr; in bpf_map_get_next_key()
505 const size_t attr_sz = offsetofend(union bpf_attr, map_fd); in bpf_map_freeze()
506 union bpf_attr attr; in bpf_map_freeze()
521 const size_t attr_sz = offsetofend(union bpf_attr, batch); in bpf_map_batch_common()
522 union bpf_attr attr; in bpf_map_batch_common()
577 const size_t attr_sz = offsetofend(union bpf_attr, path_fd); in bpf_obj_pin_opts()
578 union bpf_attr attr; in bpf_obj_pin_opts()
606 const size_t attr_sz = offsetofend(union bpf_attr, path_fd); in bpf_obj_get_opts()
607 union bpf_attr attr; in bpf_obj_get_opts()
635 const size_t attr_sz = offsetofend(union bpf_attr, expected_revision); in bpf_prog_attach_opts()
638 union bpf_attr attr; in bpf_prog_attach_opts()
673 const size_t attr_sz = offsetofend(union bpf_attr, expected_revision); in bpf_prog_detach_opts()
676 union bpf_attr attr; in bpf_prog_detach_opts()
721 const size_t attr_sz = offsetofend(union bpf_attr, link_create); in bpf_link_create()
724 union bpf_attr attr; in bpf_link_create()
855 const size_t attr_sz = offsetofend(union bpf_attr, link_detach); in bpf_link_detach()
856 union bpf_attr attr; in bpf_link_detach()
869 const size_t attr_sz = offsetofend(union bpf_attr, link_update); in bpf_link_update()
870 union bpf_attr attr; in bpf_link_update()
894 const size_t attr_sz = offsetofend(union bpf_attr, iter_create); in bpf_iter_create()
895 union bpf_attr attr; in bpf_iter_create()
908 const size_t attr_sz = offsetofend(union bpf_attr, query); in bpf_prog_query_opts()
909 union bpf_attr attr; in bpf_prog_query_opts()
955 const size_t attr_sz = offsetofend(union bpf_attr, test); in bpf_prog_test_run_opts()
956 union bpf_attr attr; in bpf_prog_test_run_opts()
990 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_obj_get_next_id()
991 union bpf_attr attr; in bpf_obj_get_next_id()
1027 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_prog_get_fd_by_id_opts()
1028 union bpf_attr attr; in bpf_prog_get_fd_by_id_opts()
1050 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_map_get_fd_by_id_opts()
1051 union bpf_attr attr; in bpf_map_get_fd_by_id_opts()
1073 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_btf_get_fd_by_id_opts()
1074 union bpf_attr attr; in bpf_btf_get_fd_by_id_opts()
1096 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_link_get_fd_by_id_opts()
1097 union bpf_attr attr; in bpf_link_get_fd_by_id_opts()
1118 const size_t attr_sz = offsetofend(union bpf_attr, info); in bpf_obj_get_info_by_fd()
1119 union bpf_attr attr; in bpf_obj_get_info_by_fd()
1155 const size_t attr_sz = offsetofend(union bpf_attr, raw_tracepoint); in bpf_raw_tracepoint_open()
1156 union bpf_attr attr; in bpf_raw_tracepoint_open()
1169 const size_t attr_sz = offsetofend(union bpf_attr, btf_log_true_size); in bpf_btf_load()
1170 union bpf_attr attr; in bpf_btf_load()
1221 const size_t attr_sz = offsetofend(union bpf_attr, task_fd_query); in bpf_task_fd_query()
1222 union bpf_attr attr; in bpf_task_fd_query()
1245 const size_t attr_sz = offsetofend(union bpf_attr, enable_stats); in bpf_enable_stats()
1246 union bpf_attr attr; in bpf_enable_stats()
1259 const size_t attr_sz = offsetofend(union bpf_attr, prog_bind_map); in bpf_prog_bind_map()
1260 union bpf_attr attr; in bpf_prog_bind_map()