Searched refs:USER_BPFPTR (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/include/linux/ |
D | bpfptr.h | 21 static inline bpfptr_t USER_BPFPTR(void __user *p) in USER_BPFPTR() function 31 return USER_BPFPTR(u64_to_user_ptr(addr)); in make_bpfptr()
|
/linux-6.6.21/kernel/bpf/ |
D | syscall.c | 4323 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_prog_get_info_by_fd() 4608 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_map_get_info_by_fd() 4652 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(*uinfo), info_len); in bpf_btf_get_info_by_fd() 4669 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_link_get_info_by_fd() 5489 return __sys_bpf(cmd, USER_BPFPTR(uattr), size); in SYSCALL_DEFINE3()
|
/linux-6.6.21/net/bpf/ |
D | test_run.c | 790 err = bpf_check_uarg_tail_zero(USER_BPFPTR(data_in), max_size, size); in bpf_ctx_init()
|