Home
last modified time | relevance | path

Searched refs:USER_BPFPTR (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/linux/
H A Dbpfptr.h21 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()
/openbmc/linux/kernel/bpf/
H A Dsyscall.c4386 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_prog_get_info_by_fd()
4671 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_map_get_info_by_fd()
4715 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(*uinfo), info_len); in bpf_btf_get_info_by_fd()
4732 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_link_get_info_by_fd()
5557 return __sys_bpf(cmd, USER_BPFPTR(uattr), size); in SYSCALL_DEFINE3()
/openbmc/linux/net/bpf/
H A Dtest_run.c797 err = bpf_check_uarg_tail_zero(USER_BPFPTR(data_in), max_size, size); in bpf_ctx_init()