Home
last modified time | relevance | path

Searched refs:bpf_dynptr_kern (Results 1 – 9 of 9) sorted by relevance

/linux/kernel/bpf/
H A Dcrypto.c265 const struct bpf_dynptr_kern *src, in bpf_crypto_crypt()
266 const struct bpf_dynptr_kern *dst, in bpf_crypto_crypt()
267 const struct bpf_dynptr_kern *siv, in bpf_crypto_crypt()
318 const struct bpf_dynptr_kern *src_kern = (struct bpf_dynptr_kern *)src; in bpf_crypto_decrypt()
319 const struct bpf_dynptr_kern *dst_kern = (struct bpf_dynptr_kern *)dst; in bpf_crypto_decrypt()
320 const struct bpf_dynptr_kern *siv_kern = (struct bpf_dynptr_kern *)siv__nullable; in bpf_crypto_decrypt()
339 const struct bpf_dynptr_kern *src_kern = (struct bpf_dynptr_kern *)src; in bpf_crypto_encrypt()
340 const struct bpf_dynptr_kern *dst_kern = (struct bpf_dynptr_kern *)dst; in bpf_crypto_encrypt()
341 const struct bpf_dynptr_kern *siv_kern = (struct bpf_dynptr_kern *)siv__nullable; in bpf_crypto_encrypt()
H A Dhelpers.c1669 bool __bpf_dynptr_is_rdonly(const struct bpf_dynptr_kern *ptr) in __bpf_dynptr_is_rdonly()
1674 void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_rdonly()
1679 static void bpf_dynptr_set_type(struct bpf_dynptr_kern *ptr, enum bpf_dynptr_type type) in bpf_dynptr_set_type()
1684 static enum bpf_dynptr_type bpf_dynptr_get_type(const struct bpf_dynptr_kern *ptr) in bpf_dynptr_get_type()
1689 u32 __bpf_dynptr_size(const struct bpf_dynptr_kern *ptr) in __bpf_dynptr_size()
1694 static void bpf_dynptr_set_size(struct bpf_dynptr_kern *ptr, u32 new_size) in bpf_dynptr_set_size()
1706 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, in bpf_dynptr_init()
1715 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null()
1720 BPF_CALL_4(bpf_dynptr_from_mem, void *, data, u32, size, u64, flags, struct bpf_dynptr_kern *, ptr) in BPF_CALL_4() argument
1755 static int __bpf_dynptr_read(void *dst, u32 len, const struct bpf_dynptr_kern *src, in __bpf_dynptr_read()
[all …]
H A Dringbuf.c592 struct bpf_dynptr_kern *, ptr) in BPF_CALL_4() argument
631 BPF_CALL_2(bpf_ringbuf_submit_dynptr, struct bpf_dynptr_kern *, ptr, u64, flags) in BPF_CALL_2() argument
650 BPF_CALL_2(bpf_ringbuf_discard_dynptr, struct bpf_dynptr_kern *, ptr, u64, flags) in BPF_CALL_2() argument
760 struct bpf_dynptr_kern dynptr; in BPF_CALL_4()
/linux/fs/
H A Dbpf_fs_kfuncs.c133 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_get_dentry_xattr()
206 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_set_dentry_xattr_locked()
342 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_cgroup_read_xattr()
/linux/fs/verity/
H A Dmeasure.c123 struct bpf_dynptr_kern *digest_ptr = (struct bpf_dynptr_kern *)digest_p; in bpf_get_fsverity_digest()
/linux/include/linux/
H A Dbpf.h1336 struct bpf_dynptr_kern { struct
1364 u32 __bpf_dynptr_size(const struct bpf_dynptr_kern *ptr); argument
1365 const void *__bpf_dynptr_data(const struct bpf_dynptr_kern *ptr, u32 len);
1366 void *__bpf_dynptr_data_rw(const struct bpf_dynptr_kern *ptr, u32 len);
1367 bool __bpf_dynptr_is_rdonly(const struct bpf_dynptr_kern *ptr);
1368 int __bpf_dynptr_write(const struct bpf_dynptr_kern *dst, u32 offset,
1373 static inline int bpf_dynptr_check_off_len(const struct bpf_dynptr_kern *ptr, u32 offset, u32 len) in bpf_dynptr_check_off_len()
2873 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data,
2875 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr);
2876 void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr);
[all …]
H A Dbpf_verifier.h253 #define BPF_DYNPTR_SIZE sizeof(struct bpf_dynptr_kern)
/linux/kernel/trace/
H A Dbpf_trace.c1369 struct bpf_dynptr_kern *data_ptr = (struct bpf_dynptr_kern *)data_p; in bpf_verify_pkcs7_signature()
1370 struct bpf_dynptr_kern *sig_ptr = (struct bpf_dynptr_kern *)sig_p; in bpf_verify_pkcs7_signature()
3553 struct bpf_dynptr_kern *dst; in __bpf_dynptr_copy_str()
3563 dst = (struct bpf_dynptr_kern *)dptr; in __bpf_dynptr_copy_str()
3589 struct bpf_dynptr_kern *dst; in __bpf_dynptr_copy()
3599 dst = (struct bpf_dynptr_kern *)dptr; in __bpf_dynptr_copy()
/linux/net/core/
H A Dfilter.c11997 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)ptr__uninit; in bpf_dynptr_from_skb()
12013 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)ptr__uninit; in bpf_dynptr_from_xdp()
12168 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)ptr__uninit; in bpf_dynptr_from_skb_rdonly()