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, prog_token_fd); in probe_memcg_account()
114 union bpf_attr attr; in probe_memcg_account()
175 const size_t attr_sz = offsetofend(union bpf_attr, map_token_fd); in bpf_map_create()
176 union bpf_attr attr; in bpf_map_create()
241 const size_t attr_sz = offsetofend(union bpf_attr, fd_array_cnt); in bpf_prog_load()
247 union bpf_attr attr; in bpf_prog_load()
391 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_update_elem()
392 union bpf_attr attr; in bpf_map_update_elem()
407 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_lookup_elem()
408 union bpf_attr attr; in bpf_map_lookup_elem()
422 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_lookup_elem_flags()
423 union bpf_attr attr; in bpf_map_lookup_elem_flags()
438 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_lookup_and_delete_elem()
439 union bpf_attr attr; in bpf_map_lookup_and_delete_elem()
453 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_lookup_and_delete_elem_flags()
454 union bpf_attr attr; in bpf_map_lookup_and_delete_elem_flags()
469 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_delete_elem()
470 union bpf_attr attr; in bpf_map_delete_elem()
483 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_delete_elem_flags()
484 union bpf_attr attr; in bpf_map_delete_elem_flags()
498 const size_t attr_sz = offsetofend(union bpf_attr, next_key); in bpf_map_get_next_key()
499 union bpf_attr attr; in bpf_map_get_next_key()
513 const size_t attr_sz = offsetofend(union bpf_attr, map_fd); in bpf_map_freeze()
514 union bpf_attr attr; in bpf_map_freeze()
529 const size_t attr_sz = offsetofend(union bpf_attr, batch); in bpf_map_batch_common()
530 union bpf_attr attr; in bpf_map_batch_common()
585 const size_t attr_sz = offsetofend(union bpf_attr, path_fd); in bpf_obj_pin_opts()
586 union bpf_attr attr; in bpf_obj_pin_opts()
614 const size_t attr_sz = offsetofend(union bpf_attr, path_fd); in bpf_obj_get_opts()
615 union bpf_attr attr; in bpf_obj_get_opts()
643 const size_t attr_sz = offsetofend(union bpf_attr, expected_revision); in bpf_prog_attach_opts()
646 union bpf_attr attr; in bpf_prog_attach_opts()
681 const size_t attr_sz = offsetofend(union bpf_attr, expected_revision); in bpf_prog_detach_opts()
684 union bpf_attr attr; in bpf_prog_detach_opts()
729 const size_t attr_sz = offsetofend(union bpf_attr, link_create); in bpf_link_create()
732 union bpf_attr attr; in bpf_link_create()
882 const size_t attr_sz = offsetofend(union bpf_attr, link_detach); in bpf_link_detach()
883 union bpf_attr attr; in bpf_link_detach()
896 const size_t attr_sz = offsetofend(union bpf_attr, link_update); in bpf_link_update()
897 union bpf_attr attr; in bpf_link_update()
921 const size_t attr_sz = offsetofend(union bpf_attr, iter_create); in bpf_iter_create()
922 union bpf_attr attr; in bpf_iter_create()
935 const size_t attr_sz = offsetofend(union bpf_attr, query); in bpf_prog_query_opts()
936 union bpf_attr attr; in bpf_prog_query_opts()
982 const size_t attr_sz = offsetofend(union bpf_attr, test); in bpf_prog_test_run_opts()
983 union bpf_attr attr; in bpf_prog_test_run_opts()
1017 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_obj_get_next_id()
1018 union bpf_attr attr; in bpf_obj_get_next_id()
1054 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_prog_get_fd_by_id_opts()
1055 union bpf_attr attr; in bpf_prog_get_fd_by_id_opts()
1077 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_map_get_fd_by_id_opts()
1078 union bpf_attr attr; in bpf_map_get_fd_by_id_opts()
1100 const size_t attr_sz = offsetofend(union bpf_attr, fd_by_id_token_fd); in bpf_btf_get_fd_by_id_opts()
1101 union bpf_attr attr; in bpf_btf_get_fd_by_id_opts()
1124 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_link_get_fd_by_id_opts()
1125 union bpf_attr attr; in bpf_link_get_fd_by_id_opts()
1146 const size_t attr_sz = offsetofend(union bpf_attr, info); in bpf_obj_get_info_by_fd()
1147 union bpf_attr attr; in bpf_obj_get_info_by_fd()
1183 const size_t attr_sz = offsetofend(union bpf_attr, raw_tracepoint); in bpf_raw_tracepoint_open_opts()
1184 union bpf_attr attr; in bpf_raw_tracepoint_open_opts()
1208 const size_t attr_sz = offsetofend(union bpf_attr, btf_token_fd); in bpf_btf_load()
1209 union bpf_attr attr; in bpf_btf_load()
1264 const size_t attr_sz = offsetofend(union bpf_attr, task_fd_query); in bpf_task_fd_query()
1265 union bpf_attr attr; in bpf_task_fd_query()
1288 const size_t attr_sz = offsetofend(union bpf_attr, enable_stats); in bpf_enable_stats()
1289 union bpf_attr attr; in bpf_enable_stats()
1302 const size_t attr_sz = offsetofend(union bpf_attr, prog_bind_map); in bpf_prog_bind_map()
1303 union bpf_attr attr; in bpf_prog_bind_map()
1320 const size_t attr_sz = offsetofend(union bpf_attr, token_create); in bpf_token_create()
1321 union bpf_attr attr; in bpf_token_create()