Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/bpf/ !
Dhelpers.c1441 static bool __bpf_dynptr_is_rdonly(const struct bpf_dynptr_kern *ptr) in __bpf_dynptr_is_rdonly()
1446 void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_rdonly()
1451 static void bpf_dynptr_set_type(struct bpf_dynptr_kern *ptr, enum bpf_dynptr_type type) in bpf_dynptr_set_type()
1456 static enum bpf_dynptr_type bpf_dynptr_get_type(const struct bpf_dynptr_kern *ptr) in bpf_dynptr_get_type()
1461 u32 __bpf_dynptr_size(const struct bpf_dynptr_kern *ptr) in __bpf_dynptr_size()
1466 static void bpf_dynptr_set_size(struct bpf_dynptr_kern *ptr, u32 new_size) in bpf_dynptr_set_size()
1478 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, in bpf_dynptr_init()
1487 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null()
1492 static int bpf_dynptr_check_off_len(const struct bpf_dynptr_kern *ptr, u32 offset, u32 len) in bpf_dynptr_check_off_len()
1502 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.c10549 BTF_ID(struct, bpf_dynptr_kern) in BTF_ID() argument
/linux-6.6.21/include/linux/ !
Dbpf.h1203 struct bpf_dynptr_kern { struct
1231 u32 __bpf_dynptr_size(const struct bpf_dynptr_kern *ptr); argument
2478 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data,
2480 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr);
2481 void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr);
2720 static inline void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, in bpf_dynptr_init()
2725 static inline void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null()
2729 static inline void bpf_dynptr_set_rdonly(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_rdonly()
3057 struct bpf_dynptr_kern *ptr);
3080 struct bpf_dynptr_kern *ptr) in bpf_dynptr_from_skb_rdonly()
Dbpf_verifier.h248 #define BPF_DYNPTR_SIZE sizeof(struct bpf_dynptr_kern)
/linux-6.6.21/kernel/trace/ !
Dbpf_trace.c1377 __bpf_kfunc int bpf_verify_pkcs7_signature(struct bpf_dynptr_kern *data_ptr, in bpf_verify_pkcs7_signature()
1378 struct bpf_dynptr_kern *sig_ptr, in bpf_verify_pkcs7_signature()
/linux-6.6.21/Documentation/bpf/ !
Dkfuncs.rst111 __bpf_kfunc int bpf_dynptr_from_skb(..., struct bpf_dynptr_kern *ptr__uninit)
/linux-6.6.21/net/core/ !
Dfilter.c11800 struct bpf_dynptr_kern *ptr__uninit) in bpf_dynptr_from_skb()
11813 struct bpf_dynptr_kern *ptr__uninit) in bpf_dynptr_from_xdp()
11848 struct bpf_dynptr_kern *ptr__uninit) in bpf_dynptr_from_skb_rdonly()