Searched refs:bpf_dynptr_kern (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/kernel/bpf/ |
H A D | helpers.c | 1517 static bool __bpf_dynptr_is_rdonly(const struct bpf_dynptr_kern *ptr) in __bpf_dynptr_is_rdonly() 1522 void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_rdonly() 1527 static void bpf_dynptr_set_type(struct bpf_dynptr_kern *ptr, enum bpf_dynptr_type type) in bpf_dynptr_set_type() 1532 static enum bpf_dynptr_type bpf_dynptr_get_type(const struct bpf_dynptr_kern *ptr) in bpf_dynptr_get_type() 1537 u32 __bpf_dynptr_size(const struct bpf_dynptr_kern *ptr) in __bpf_dynptr_size() 1542 static void bpf_dynptr_set_size(struct bpf_dynptr_kern *ptr, u32 new_size) in bpf_dynptr_set_size() 1554 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, in bpf_dynptr_init() 1563 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null() 1568 static int bpf_dynptr_check_off_len(const struct bpf_dynptr_kern *ptr, u32 offset, u32 len) in bpf_dynptr_check_off_len() 1578 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()
|
H A D | verifier.c | 10586 BTF_ID(struct, bpf_dynptr_kern) in BTF_ID() argument
|
/openbmc/linux/include/linux/ |
H A D | bpf.h | 1217 struct bpf_dynptr_kern { struct 1245 u32 __bpf_dynptr_size(const struct bpf_dynptr_kern *ptr); argument 2503 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, 2505 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr); 2506 void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr); 2745 static inline void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, in bpf_dynptr_init() 2750 static inline void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null() 2754 static inline void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_rdonly() 3082 struct bpf_dynptr_kern *ptr); 3105 struct bpf_dynptr_kern *ptr) in bpf_dynptr_from_skb_rdonly()
|
H A D | bpf_verifier.h | 248 #define BPF_DYNPTR_SIZE sizeof(struct bpf_dynptr_kern)
|
/openbmc/linux/kernel/trace/ |
H A D | bpf_trace.c | 1379 __bpf_kfunc int bpf_verify_pkcs7_signature(struct bpf_dynptr_kern *data_ptr, in bpf_verify_pkcs7_signature() 1380 struct bpf_dynptr_kern *sig_ptr, in bpf_verify_pkcs7_signature()
|
/openbmc/linux/Documentation/bpf/ |
H A D | kfuncs.rst | 111 __bpf_kfunc int bpf_dynptr_from_skb(..., struct bpf_dynptr_kern *ptr__uninit)
|
/openbmc/linux/net/core/ |
H A D | filter.c | 11851 struct bpf_dynptr_kern *ptr__uninit) in bpf_dynptr_from_skb() 11864 struct bpf_dynptr_kern *ptr__uninit) in bpf_dynptr_from_xdp() 11899 struct bpf_dynptr_kern *ptr__uninit) in bpf_dynptr_from_skb_rdonly()
|