Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/bpf/
Dhelpers.c1428 static bool __bpf_dynptr_is_rdonly(const struct bpf_dynptr_kern *ptr) in __bpf_dynptr_is_rdonly()
1433 void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_rdonly()
1438 static void bpf_dynptr_set_type(struct bpf_dynptr_kern *ptr, enum bpf_dynptr_type type) in bpf_dynptr_set_type()
1443 static enum bpf_dynptr_type bpf_dynptr_get_type(const struct bpf_dynptr_kern *ptr) in bpf_dynptr_get_type()
1448 u32 __bpf_dynptr_size(const struct bpf_dynptr_kern *ptr) in __bpf_dynptr_size()
1453 static void bpf_dynptr_set_size(struct bpf_dynptr_kern *ptr, u32 new_size) in bpf_dynptr_set_size()
1465 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, in bpf_dynptr_init()
1474 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null()
1479 static int bpf_dynptr_check_off_len(const struct bpf_dynptr_kern *ptr, u32 offset, u32 len) in bpf_dynptr_check_off_len()
1489 BPF_CALL_4(bpf_dynptr_from_mem, void *, data, u32, size, u64, flags, struct bpf_dynptr_kern *, ptr) in BPF_CALL_4() argument
[all …]
Dringbuf.c580 struct bpf_dynptr_kern *, ptr) in BPF_CALL_4() argument
619 BPF_CALL_2(bpf_ringbuf_submit_dynptr, struct bpf_dynptr_kern *, ptr, u64, flags) in BPF_CALL_2() argument
638 BPF_CALL_2(bpf_ringbuf_discard_dynptr, struct bpf_dynptr_kern *, ptr, u64, flags) in BPF_CALL_2() argument
748 struct bpf_dynptr_kern dynptr; in BPF_CALL_4()
Dverifier.c10133 BTF_ID(struct, bpf_dynptr_kern) in BTF_ID() argument
/Linux-v6.6/include/linux/
Dbpf.h1185 struct bpf_dynptr_kern { struct
1213 u32 __bpf_dynptr_size(const struct bpf_dynptr_kern *ptr); argument
2460 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data,
2462 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr);
2463 void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr);
2702 static inline void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, in bpf_dynptr_init()
2707 static inline void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null()
2711 static inline void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_rdonly()
3039 struct bpf_dynptr_kern *ptr);
3062 struct bpf_dynptr_kern *ptr) in bpf_dynptr_from_skb_rdonly()
Dbpf_verifier.h248 #define BPF_DYNPTR_SIZE sizeof(struct bpf_dynptr_kern)
/Linux-v6.6/kernel/trace/
Dbpf_trace.c1374 __bpf_kfunc int bpf_verify_pkcs7_signature(struct bpf_dynptr_kern *data_ptr, in bpf_verify_pkcs7_signature()
1375 struct bpf_dynptr_kern *sig_ptr, in bpf_verify_pkcs7_signature()
/Linux-v6.6/Documentation/bpf/
Dkfuncs.rst111 __bpf_kfunc int bpf_dynptr_from_skb(..., struct bpf_dynptr_kern *ptr__uninit)
/Linux-v6.6/net/core/
Dfilter.c11731 struct bpf_dynptr_kern *ptr__uninit) in bpf_dynptr_from_skb()
11744 struct bpf_dynptr_kern *ptr__uninit) in bpf_dynptr_from_xdp()
11758 struct bpf_dynptr_kern *ptr__uninit) in bpf_dynptr_from_skb_rdonly()