Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dcgroup.c1837 if (type == BPF_WRITE) in cgroup_dev_is_valid_access()
2437 if (type == BPF_WRITE) { in sysctl_convert_ctx_access()
2553 if (type == BPF_WRITE) { in cg_sockopt_is_valid_access()
2627 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2633 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2639 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2647 if (type == BPF_WRITE) { in cg_sockopt_convert_ctx_access()
H A Dverifier.c4395 if (type == BPF_WRITE && !(cap & BPF_MAP_CAN_WRITE)) { in check_map_access_type()
4879 if (t == BPF_WRITE) in may_access_direct_pkt_data()
4897 if (t == BPF_WRITE) in may_access_direct_pkt_data()
6039 if (env->ops->btf_struct_access && !type_is_alloc(reg->type) && atype == BPF_WRITE) { in check_ptr_to_btf_access()
6215 if (t == BPF_WRITE || env->allow_uninit_stack) in check_stack_slot_within_bounds()
6340 if (t == BPF_WRITE) { in check_mem_access()
6354 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
6414 if (t == BPF_WRITE && rdonly_mem) { in check_mem_access()
6420 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
6443 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
[all …]
/linux/net/netfilter/
H A Dnf_bpf_link.c302 if (type == BPF_WRITE) in nf_is_valid_access()
/linux/net/core/
H A Dfilter.c8808 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
8816 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
8827 if (type == BPF_WRITE) { in bpf_skb_is_valid_access()
8857 if (type == BPF_WRITE) { in sk_filter_is_valid_access()
8886 if (type == BPF_WRITE) { in cg_skb_is_valid_access()
8928 if (type == BPF_WRITE) { in lwt_is_valid_access()
9150 if (type == BPF_WRITE) { in tc_cls_act_is_valid_access()
9237 if (type == BPF_WRITE) { in xdp_is_valid_access()
9430 if (type == BPF_WRITE) { in sock_ops_is_valid_access()
9500 if (type == BPF_WRITE) { in sk_skb_is_valid_access()
[all …]
/linux/kernel/trace/
H A Dbpf_trace.c1358 if (type == BPF_WRITE) in kprobe_prog_is_valid_access()
/linux/include/linux/
H A Dbpf.h976 BPF_WRITE = 2 enumerator