Searched refs:bpf_dynptr_kern (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/kernel/bpf/ |
| H A D | crypto.c | 265 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 D | helpers.c | 1711 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null() 2597 const struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)p; in bpf_dynptr_slice() 2682 const struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)p; in bpf_dynptr_slice_rdwr() 2714 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)p; in bpf_dynptr_adjust() 2733 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)p; in bpf_dynptr_is_null() 2740 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)p; in bpf_dynptr_is_rdonly() 2750 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)p; in bpf_dynptr_size() 2761 struct bpf_dynptr_kern *clone = (struct bpf_dynptr_kern *)clone__uninit; in bpf_dynptr_clone() 2762 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)p; in bpf_dynptr_clone() 2788 struct bpf_dynptr_kern *dst = (struct bpf_dynptr_kern *)dst_ptr; in bpf_dynptr_copy() [all …]
|
| H A D | ringbuf.c | 592 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-6.15/fs/ |
| H A D | bpf_fs_kfuncs.c | 132 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_get_dentry_xattr() 205 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_set_dentry_xattr_locked()
|
| /linux-6.15/fs/verity/ |
| H A D | measure.c | 122 struct bpf_dynptr_kern *digest_ptr = (struct bpf_dynptr_kern *)digest_p; in bpf_get_fsverity_digest()
|
| /linux-6.15/include/linux/ |
| H A D | bpf.h | 1320 struct bpf_dynptr_kern { struct 1348 u32 __bpf_dynptr_size(const struct bpf_dynptr_kern *ptr); argument 1349 const void *__bpf_dynptr_data(const struct bpf_dynptr_kern *ptr, u32 len); 1350 void *__bpf_dynptr_data_rw(const struct bpf_dynptr_kern *ptr, u32 len); 1351 bool __bpf_dynptr_is_rdonly(const struct bpf_dynptr_kern *ptr); 2783 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, 2785 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr); 2786 void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr); 3055 static inline void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, in bpf_dynptr_init() 3060 static inline void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null() [all …]
|
| H A D | bpf_verifier.h | 253 #define BPF_DYNPTR_SIZE sizeof(struct bpf_dynptr_kern)
|
| /linux-6.15/kernel/trace/ |
| H A D | bpf_trace.c | 1370 struct bpf_dynptr_kern *data_ptr = (struct bpf_dynptr_kern *)data_p; in bpf_verify_pkcs7_signature() 1371 struct bpf_dynptr_kern *sig_ptr = (struct bpf_dynptr_kern *)sig_p; in bpf_verify_pkcs7_signature()
|
| /linux-6.15/net/core/ |
| H A D | filter.c | 11991 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)ptr__uninit; in bpf_dynptr_from_skb() 12007 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)ptr__uninit; in bpf_dynptr_from_xdp() 12162 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)ptr__uninit; in bpf_dynptr_from_skb_rdonly()
|
| /linux-6.15/Documentation/bpf/ |
| H A D | kfuncs.rst | 109 __bpf_kfunc int bpf_dynptr_from_skb(..., struct bpf_dynptr_kern *ptr__uninit)
|