Searched refs:USER_BPFPTR (Results 1 – 3 of 3) sorted by relevance
/linux/include/linux/ |
A 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/kernel/bpf/ |
A D | syscall.c | 3625 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_prog_get_info_by_fd() 3906 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_map_get_info_by_fd() 3950 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(*uinfo), info_len); in bpf_btf_get_info_by_fd() 3967 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_link_get_info_by_fd() 4737 return __sys_bpf(cmd, USER_BPFPTR(uattr), size); in SYSCALL_DEFINE3()
|
/linux/net/bpf/ |
A D | test_run.c | 411 err = bpf_check_uarg_tail_zero(USER_BPFPTR(data_in), max_size, size); in bpf_ctx_init()
|
Completed in 19 milliseconds