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 | 1652 bool __bpf_dynptr_is_rdonly(const struct bpf_dynptr_kern *ptr) in __bpf_dynptr_is_rdonly() 1657 void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_rdonly() 1662 static void bpf_dynptr_set_type(struct bpf_dynptr_kern *ptr, enum bpf_dynptr_type type) in bpf_dynptr_set_type() 1667 static enum bpf_dynptr_type bpf_dynptr_get_type(const struct bpf_dynptr_kern *ptr) in bpf_dynptr_get_type() 1672 u32 __bpf_dynptr_size(const struct bpf_dynptr_kern *ptr) in __bpf_dynptr_size() 1677 static void bpf_dynptr_set_size(struct bpf_dynptr_kern *ptr, u32 new_size) in bpf_dynptr_set_size() 1689 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, in bpf_dynptr_init() 1698 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null() 1703 static int bpf_dynptr_check_off_len(const struct bpf_dynptr_kern *ptr, u32 offset, u32 len) in bpf_dynptr_check_off_len() 1713 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 | 599 struct bpf_dynptr_kern *, ptr) in BPF_CALL_4() argument 638 BPF_CALL_2(bpf_ringbuf_submit_dynptr, struct bpf_dynptr_kern *, ptr, u64, flags) in BPF_CALL_2() argument 657 BPF_CALL_2(bpf_ringbuf_discard_dynptr, struct bpf_dynptr_kern *, ptr, u64, flags) in BPF_CALL_2() argument 767 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); 2729 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, 2731 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr); 2732 void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr); 3001 static inline void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, in bpf_dynptr_init() 3006 static inline void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null() [all …]
|
H A D | bpf_verifier.h | 244 #define BPF_DYNPTR_SIZE sizeof(struct bpf_dynptr_kern)
|
/linux/kernel/trace/ |
H A D | bpf_trace.c | 1387 struct bpf_dynptr_kern *data_ptr = (struct bpf_dynptr_kern *)data_p; in bpf_verify_pkcs7_signature() 1388 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 | 11912 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)ptr__uninit; in bpf_dynptr_from_skb() 11928 struct bpf_dynptr_kern *ptr = (struct bpf_dynptr_kern *)ptr__uninit; in bpf_dynptr_from_xdp() 12064 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)
|