Lines Matching refs:cmd
4966 int cmd) in bpf_map_do_batch() argument
4968 bool has_read = cmd == BPF_MAP_LOOKUP_BATCH || in bpf_map_do_batch()
4969 cmd == BPF_MAP_LOOKUP_AND_DELETE_BATCH; in bpf_map_do_batch()
4970 bool has_write = cmd != BPF_MAP_LOOKUP_BATCH; in bpf_map_do_batch()
4994 if (cmd == BPF_MAP_LOOKUP_BATCH) in bpf_map_do_batch()
4996 else if (cmd == BPF_MAP_LOOKUP_AND_DELETE_BATCH) in bpf_map_do_batch()
4998 else if (cmd == BPF_MAP_UPDATE_BATCH) in bpf_map_do_batch()
5426 static int __sys_bpf(int cmd, bpfptr_t uattr, unsigned int size) in __sys_bpf() argument
5441 err = security_bpf(cmd, &attr, size); in __sys_bpf()
5445 switch (cmd) { in __sys_bpf()
5567 SYSCALL_DEFINE3(bpf, int, cmd, union bpf_attr __user *, uattr, unsigned int, size) in SYSCALL_DEFINE3() argument
5569 return __sys_bpf(cmd, USER_BPFPTR(uattr), size); in SYSCALL_DEFINE3()
5584 BPF_CALL_3(bpf_sys_bpf, int, cmd, union bpf_attr *, attr, u32, attr_size) in BPF_CALL_3() argument
5586 switch (cmd) { in BPF_CALL_3()
5600 return __sys_bpf(cmd, KERNEL_BPFPTR(attr), attr_size); in BPF_CALL_3()
5609 int kern_sys_bpf(int cmd, union bpf_attr *attr, unsigned int size);
5611 int kern_sys_bpf(int cmd, union bpf_attr *attr, unsigned int size) in kern_sys_bpf() argument
5616 switch (cmd) { in kern_sys_bpf()
5648 return ____bpf_sys_bpf(cmd, attr, size); in kern_sys_bpf()