Home
last modified time | relevance | path

Searched refs:BPF_WRITE (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/kernel/bpf/
Dcgroup.c1643 if (type == BPF_WRITE) in cgroup_dev_is_valid_access()
2244 if (type == BPF_WRITE) { in sysctl_convert_ctx_access()
2364 if (type == BPF_WRITE) { in cg_sockopt_is_valid_access()
2438 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2444 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2450 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2458 if (type == BPF_WRITE) { in cg_sockopt_convert_ctx_access()
Dverifier.c5085 if (type == BPF_WRITE && !(cap & BPF_MAP_CAN_WRITE)) { in check_map_access_type()
5471 if (t == BPF_WRITE) in may_access_direct_pkt_data()
5489 if (t == BPF_WRITE) in may_access_direct_pkt_data()
6423 if (env->ops->btf_struct_access && !type_is_alloc(reg->type) && atype == BPF_WRITE) { in check_ptr_to_btf_access()
6588 if (t == BPF_WRITE || env->allow_uninit_stack) in check_stack_slot_within_bounds()
6685 if (t == BPF_WRITE) { in check_mem_access()
6699 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
6745 if (t == BPF_WRITE && rdonly_mem) { in check_mem_access()
6751 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
6766 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
[all …]
/linux-6.6.21/net/core/
Dfilter.c8513 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
8521 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
8532 if (type == BPF_WRITE) { in bpf_skb_is_valid_access()
8562 if (type == BPF_WRITE) { in sk_filter_is_valid_access()
8591 if (type == BPF_WRITE) { in cg_skb_is_valid_access()
8633 if (type == BPF_WRITE) { in lwt_is_valid_access()
8855 if (type == BPF_WRITE) { in tc_cls_act_is_valid_access()
8942 if (type == BPF_WRITE) { in xdp_is_valid_access()
9122 if (type == BPF_WRITE) { in sock_ops_is_valid_access()
9192 if (type == BPF_WRITE) { in sk_skb_is_valid_access()
[all …]
/linux-6.6.21/net/netfilter/
Dnf_bpf_link.c293 if (type == BPF_WRITE) in nf_is_valid_access()
/linux-6.6.21/include/linux/
Dbpf.h829 BPF_WRITE = 2 enumerator