Searched refs:bpf_dynptr_kern (Results 1 – 10 of 10) sorted by relevance
/linux/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 | 1666 bool __bpf_dynptr_is_rdonly(const struct bpf_dynptr_kern *ptr) in __bpf_dynptr_is_rdonly() 1671 void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_rdonly() 1676 static void bpf_dynptr_set_type(struct bpf_dynptr_kern *ptr, enum bpf_dynptr_type type) in bpf_dynptr_set_type() 1681 static enum bpf_dynptr_type bpf_dynptr_get_type(const struct bpf_dynptr_kern *ptr) in bpf_dynptr_get_type() 1686 u32 __bpf_dynptr_size(const struct bpf_dynptr_kern *ptr) in __bpf_dynptr_size() 1691 static void bpf_dynptr_set_size(struct bpf_dynptr_kern *ptr, u32 new_size) in bpf_dynptr_set_size() 1703 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, in bpf_dynptr_init() 1712 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null() 1717 static int bpf_dynptr_check_off_len(const struct bpf_dynptr_kern *ptr, u32 offset, u32 len) in bpf_dynptr_check_off_len() 1727 BPF_CALL_4(bpf_dynptr_from_mem, void *, data, u32, size, u64, flags, struct bpf_dynptr_kern *, ptr) in BPF_CALL_4() argument [all …]
|
H A D | ringbuf.c | 595 struct bpf_dynptr_kern *, ptr) in BPF_CALL_4() argument 634 BPF_CALL_2(bpf_ringbuf_submit_dynptr, struct bpf_dynptr_kern *, ptr, u64, flags) in BPF_CALL_2() argument 653 BPF_CALL_2(bpf_ringbuf_discard_dynptr, struct bpf_dynptr_kern *, ptr, u64, flags) in BPF_CALL_2() argument 763 struct bpf_dynptr_kern dynptr; in BPF_CALL_4()
|
/linux/fs/ |
H A D | bpf_fs_kfuncs.c | 111 struct bpf_dynptr_kern *value_ptr = (struct bpf_dynptr_kern *)value_p; in bpf_get_dentry_xattr()
|
/linux/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/include/linux/ |
H A D | bpf.h | 1294 struct bpf_dynptr_kern { struct 1322 u32 __bpf_dynptr_size(const struct bpf_dynptr_kern *ptr); argument 1323 const void *__bpf_dynptr_data(const struct bpf_dynptr_kern *ptr, u32 len); 1324 void *__bpf_dynptr_data_rw(const struct bpf_dynptr_kern *ptr, u32 len); 1325 bool __bpf_dynptr_is_rdonly(const struct bpf_dynptr_kern *ptr); 2746 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, 2748 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr); 2749 void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr); 3018 static inline void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, in bpf_dynptr_init() 3023 static inline void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null() [all …]
|
H A D | bpf_verifier.h | 245 #define BPF_DYNPTR_SIZE sizeof(struct bpf_dynptr_kern)
|
/linux/kernel/trace/ |
H A D | bpf_trace.c | 1377 struct bpf_dynptr_kern *data_ptr = (struct bpf_dynptr_kern *)data_p; in bpf_verify_pkcs7_signature() 1378 struct bpf_dynptr_kern *sig_ptr = (struct bpf_dynptr_kern *)sig_p; in bpf_verify_pkcs7_signature()
|
/linux/net/core/ |
H A D | filter.c | 11918 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)ptr__uninit; in bpf_dynptr_from_skb() 11934 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)ptr__uninit; in bpf_dynptr_from_xdp() 12070 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)ptr__uninit; in bpf_dynptr_from_skb_rdonly()
|
/linux/Documentation/bpf/ |
H A D | kfuncs.rst | 109 __bpf_kfunc int bpf_dynptr_from_skb(..., struct bpf_dynptr_kern *ptr__uninit)
|