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.c4361 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_prog_get_info_by_fd()
4646 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_map_get_info_by_fd()
4690 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(*uinfo), info_len); in bpf_btf_get_info_by_fd()
4707 err = bpf_check_uarg_tail_zero(USER_BPFPTR(uinfo), sizeof(info), info_len); in bpf_link_get_info_by_fd()
5532 return __sys_bpf(cmd, USER_BPFPTR(uattr), size); in SYSCALL_DEFINE3()
/openbmc/linux/net/bpf/
H A Dtest_run.c796 err = bpf_check_uarg_tail_zero(USER_BPFPTR(data_in), max_size, size); in bpf_ctx_init()