Home
last modified time | relevance | path

Searched refs:bpfptr_t (Results 1 – 4 of 4) sorted by relevance

/include/linux/
Dbpfptr.h8 typedef sockptr_t bpfptr_t; typedef
10 static inline bool bpfptr_is_kernel(bpfptr_t bpfptr) in bpfptr_is_kernel()
15 static inline bpfptr_t KERNEL_BPFPTR(void *p) in KERNEL_BPFPTR()
17 return (bpfptr_t) { .kernel = p, .is_kernel = true }; in KERNEL_BPFPTR()
20 static inline bpfptr_t USER_BPFPTR(void __user *p) in USER_BPFPTR()
22 return (bpfptr_t) { .user = p }; in USER_BPFPTR()
25 static inline bpfptr_t make_bpfptr(u64 addr, bool is_kernel) in make_bpfptr()
33 static inline bool bpfptr_is_null(bpfptr_t bpfptr) in bpfptr_is_null()
40 static inline void bpfptr_add(bpfptr_t *bpfptr, size_t val) in bpfptr_add()
48 static inline int copy_from_bpfptr_offset(void *dst, bpfptr_t src, in copy_from_bpfptr_offset()
[all …]
Dbtf.h24 int btf_new_fd(const union bpf_attr *attr, bpfptr_t uattr);
Dbpf_verifier.h502 bpfptr_t fd_array;
Dbpf.h1592 int bpf_iter_link_attach(const union bpf_attr *attr, bpfptr_t uattr, struct bpf_prog *prog);
1623 int bpf_check_uarg_tail_zero(bpfptr_t uaddr, size_t expected_size,
1643 int bpf_check(struct bpf_prog **fp, union bpf_attr *attr, bpfptr_t uattr);