Lines Matching refs:bpf_attr
112 static struct bpf_map *find_and_alloc_map(union bpf_attr *attr) in find_and_alloc_map()
366 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr) in bpf_map_init_from_attr()
876 offsetof(union bpf_attr, CMD##_LAST_FIELD) - \
1075 static int map_create(union bpf_attr *attr) in map_create()
1310 static int map_lookup_elem(union bpf_attr *attr) in map_lookup_elem()
1385 static int map_update_elem(union bpf_attr *attr, bpfptr_t uattr) in map_update_elem()
1441 static int map_delete_elem(union bpf_attr *attr, bpfptr_t uattr) in map_delete_elem()
1496 static int map_get_next_key(union bpf_attr *attr) in map_get_next_key()
1561 const union bpf_attr *attr, in generic_map_delete_batch()
1562 union bpf_attr __user *uattr) in generic_map_delete_batch()
1618 const union bpf_attr *attr, in generic_map_update_batch()
1619 union bpf_attr __user *uattr) in generic_map_update_batch()
1684 const union bpf_attr *attr, in generic_map_lookup_batch()
1685 union bpf_attr __user *uattr) in generic_map_lookup_batch()
1785 static int map_lookup_and_delete_elem(union bpf_attr *attr) in map_lookup_and_delete_elem()
1878 static int map_freeze(const union bpf_attr *attr) in map_freeze()
2300 static void bpf_prog_load_fixup_attach_type(union bpf_attr *attr) in bpf_prog_load_fixup_attach_type()
2469 static int bpf_prog_load(union bpf_attr *attr, bpfptr_t uattr) in bpf_prog_load()
2665 static int bpf_obj_pin(const union bpf_attr *attr) in bpf_obj_pin()
2673 static int bpf_obj_get(const union bpf_attr *attr) in bpf_obj_get()
3246 static int bpf_perf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_perf_link_attach()
3291 static int bpf_perf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_perf_link_attach()
3367 static int bpf_raw_tracepoint_open(const union bpf_attr *attr) in bpf_raw_tracepoint_open()
3481 static int bpf_prog_attach(const union bpf_attr *attr) in bpf_prog_attach()
3542 static int bpf_prog_detach(const union bpf_attr *attr) in bpf_prog_detach()
3575 static int bpf_prog_query(const union bpf_attr *attr, in bpf_prog_query()
3576 union bpf_attr __user *uattr) in bpf_prog_query()
3628 static int bpf_prog_test_run(const union bpf_attr *attr, in bpf_prog_test_run()
3629 union bpf_attr __user *uattr) in bpf_prog_test_run()
3658 static int bpf_obj_get_next_id(const union bpf_attr *attr, in bpf_obj_get_next_id()
3659 union bpf_attr __user *uattr, in bpf_obj_get_next_id()
3741 static int bpf_prog_get_fd_by_id(const union bpf_attr *attr) in bpf_prog_get_fd_by_id()
3766 static int bpf_map_get_fd_by_id(const union bpf_attr *attr) in bpf_map_get_fd_by_id()
3915 const union bpf_attr *attr, in bpf_prog_get_info_by_fd()
3916 union bpf_attr __user *uattr) in bpf_prog_get_info_by_fd()
4204 const union bpf_attr *attr, in bpf_map_get_info_by_fd()
4205 union bpf_attr __user *uattr) in bpf_map_get_info_by_fd()
4249 const union bpf_attr *attr, in bpf_btf_get_info_by_fd()
4250 union bpf_attr __user *uattr) in bpf_btf_get_info_by_fd()
4265 const union bpf_attr *attr, in bpf_link_get_info_by_fd()
4266 union bpf_attr __user *uattr) in bpf_link_get_info_by_fd()
4302 static int bpf_obj_get_info_by_fd(const union bpf_attr *attr, in bpf_obj_get_info_by_fd()
4303 union bpf_attr __user *uattr) in bpf_obj_get_info_by_fd()
4336 static int bpf_btf_load(const union bpf_attr *attr, bpfptr_t uattr) in bpf_btf_load()
4349 static int bpf_btf_get_fd_by_id(const union bpf_attr *attr) in bpf_btf_get_fd_by_id()
4360 static int bpf_task_fd_query_copy(const union bpf_attr *attr, in bpf_task_fd_query_copy()
4361 union bpf_attr __user *uattr, in bpf_task_fd_query_copy()
4409 static int bpf_task_fd_query(const union bpf_attr *attr, in bpf_task_fd_query()
4410 union bpf_attr __user *uattr) in bpf_task_fd_query()
4492 static int bpf_map_do_batch(const union bpf_attr *attr, in bpf_map_do_batch()
4493 union bpf_attr __user *uattr, in bpf_map_do_batch()
4538 static int link_create(union bpf_attr *attr, bpfptr_t uattr) in link_create()
4647 static int link_update(union bpf_attr *attr) in link_update()
4700 static int link_detach(union bpf_attr *attr) in link_detach()
4769 static int bpf_link_get_fd_by_id(const union bpf_attr *attr) in bpf_link_get_fd_by_id()
4828 static int bpf_enable_stats(union bpf_attr *attr) in bpf_enable_stats()
4848 static int bpf_iter_create(union bpf_attr *attr) in bpf_iter_create()
4871 static int bpf_prog_bind_map(union bpf_attr *attr) in bpf_prog_bind_map()
4933 union bpf_attr attr; in __sys_bpf()
5089 SYSCALL_DEFINE3(bpf, int, cmd, union bpf_attr __user *, uattr, unsigned int, size) in SYSCALL_DEFINE3()
5106 BPF_CALL_3(bpf_sys_bpf, int, cmd, union bpf_attr *, attr, u32, attr_size) in BPF_CALL_3() argument
5131 int kern_sys_bpf(int cmd, union bpf_attr *attr, unsigned int size);
5133 int kern_sys_bpf(int cmd, union bpf_attr *attr, unsigned int size) in kern_sys_bpf()