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, prog_token_fd); in bpf_prog_load()
247 union bpf_attr attr; in bpf_prog_load()
390 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_update_elem()
391 union bpf_attr attr; in bpf_map_update_elem()
406 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_lookup_elem()
407 union bpf_attr attr; in bpf_map_lookup_elem()
421 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_lookup_elem_flags()
422 union bpf_attr attr; in bpf_map_lookup_elem_flags()
437 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_lookup_and_delete_elem()
438 union bpf_attr attr; in bpf_map_lookup_and_delete_elem()
452 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_lookup_and_delete_elem_flags()
453 union bpf_attr attr; in bpf_map_lookup_and_delete_elem_flags()
468 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_delete_elem()
469 union bpf_attr attr; in bpf_map_delete_elem()
482 const size_t attr_sz = offsetofend(union bpf_attr, flags); in bpf_map_delete_elem_flags()
483 union bpf_attr attr; in bpf_map_delete_elem_flags()
497 const size_t attr_sz = offsetofend(union bpf_attr, next_key); in bpf_map_get_next_key()
498 union bpf_attr attr; in bpf_map_get_next_key()
512 const size_t attr_sz = offsetofend(union bpf_attr, map_fd); in bpf_map_freeze()
513 union bpf_attr attr; in bpf_map_freeze()
528 const size_t attr_sz = offsetofend(union bpf_attr, batch); in bpf_map_batch_common()
529 union bpf_attr attr; in bpf_map_batch_common()
584 const size_t attr_sz = offsetofend(union bpf_attr, path_fd); in bpf_obj_pin_opts()
585 union bpf_attr attr; in bpf_obj_pin_opts()
613 const size_t attr_sz = offsetofend(union bpf_attr, path_fd); in bpf_obj_get_opts()
614 union bpf_attr attr; in bpf_obj_get_opts()
642 const size_t attr_sz = offsetofend(union bpf_attr, expected_revision); in bpf_prog_attach_opts()
645 union bpf_attr attr; in bpf_prog_attach_opts()
680 const size_t attr_sz = offsetofend(union bpf_attr, expected_revision); in bpf_prog_detach_opts()
683 union bpf_attr attr; in bpf_prog_detach_opts()
728 const size_t attr_sz = offsetofend(union bpf_attr, link_create); in bpf_link_create()
731 union bpf_attr attr; in bpf_link_create()
880 const size_t attr_sz = offsetofend(union bpf_attr, link_detach); in bpf_link_detach()
881 union bpf_attr attr; in bpf_link_detach()
894 const size_t attr_sz = offsetofend(union bpf_attr, link_update); in bpf_link_update()
895 union bpf_attr attr; in bpf_link_update()
919 const size_t attr_sz = offsetofend(union bpf_attr, iter_create); in bpf_iter_create()
920 union bpf_attr attr; in bpf_iter_create()
933 const size_t attr_sz = offsetofend(union bpf_attr, query); in bpf_prog_query_opts()
934 union bpf_attr attr; in bpf_prog_query_opts()
980 const size_t attr_sz = offsetofend(union bpf_attr, test); in bpf_prog_test_run_opts()
981 union bpf_attr attr; in bpf_prog_test_run_opts()
1015 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_obj_get_next_id()
1016 union bpf_attr attr; in bpf_obj_get_next_id()
1052 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_prog_get_fd_by_id_opts()
1053 union bpf_attr attr; in bpf_prog_get_fd_by_id_opts()
1075 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_map_get_fd_by_id_opts()
1076 union bpf_attr attr; in bpf_map_get_fd_by_id_opts()
1098 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_btf_get_fd_by_id_opts()
1099 union bpf_attr attr; in bpf_btf_get_fd_by_id_opts()
1121 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); in bpf_link_get_fd_by_id_opts()
1122 union bpf_attr attr; in bpf_link_get_fd_by_id_opts()
1143 const size_t attr_sz = offsetofend(union bpf_attr, info); in bpf_obj_get_info_by_fd()
1144 union bpf_attr attr; in bpf_obj_get_info_by_fd()
1180 const size_t attr_sz = offsetofend(union bpf_attr, raw_tracepoint); in bpf_raw_tracepoint_open_opts()
1181 union bpf_attr attr; in bpf_raw_tracepoint_open_opts()
1205 const size_t attr_sz = offsetofend(union bpf_attr, btf_token_fd); in bpf_btf_load()
1206 union bpf_attr attr; in bpf_btf_load()
1261 const size_t attr_sz = offsetofend(union bpf_attr, task_fd_query); in bpf_task_fd_query()
1262 union bpf_attr attr; in bpf_task_fd_query()
1285 const size_t attr_sz = offsetofend(union bpf_attr, enable_stats); in bpf_enable_stats()
1286 union bpf_attr attr; in bpf_enable_stats()
1299 const size_t attr_sz = offsetofend(union bpf_attr, prog_bind_map); in bpf_prog_bind_map()
1300 union bpf_attr attr; in bpf_prog_bind_map()
1317 const size_t attr_sz = offsetofend(union bpf_attr, token_create); in bpf_token_create()
1318 union bpf_attr attr; in bpf_token_create()