Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dcgroup.c1900 if (type == BPF_WRITE) in cgroup_dev_is_valid_access()
2501 if (type == BPF_WRITE) { in sysctl_convert_ctx_access()
2617 if (type == BPF_WRITE) { in cg_sockopt_is_valid_access()
2691 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2697 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2703 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2711 if (type == BPF_WRITE) { in cg_sockopt_convert_ctx_access()
H A Dverifier.c4280 if (type == BPF_WRITE && !(cap & BPF_MAP_CAN_WRITE)) { in check_map_access_type()
4801 if (t == BPF_WRITE) in may_access_direct_pkt_data()
4819 if (t == BPF_WRITE) in may_access_direct_pkt_data()
6004 if (env->ops->btf_struct_access && !type_is_alloc(reg->type) && atype == BPF_WRITE) { in check_ptr_to_btf_access()
6182 if (t == BPF_WRITE || env->allow_uninit_stack) in check_stack_slot_within_bounds()
6350 if (t == BPF_WRITE) { in check_mem_access()
6365 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
6397 if (t == BPF_WRITE && rdonly_mem) { in check_mem_access()
6403 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
6426 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
[all …]
H A Dfixups.c856 type = BPF_WRITE; in bpf_convert_ctx_accesses()
888 if (type == BPF_WRITE && in bpf_convert_ctx_accesses()
979 if (type == BPF_WRITE) { in bpf_convert_ctx_accesses()
/linux/net/netfilter/
H A Dnf_bpf_link.c302 if (type == BPF_WRITE) in nf_is_valid_access()
/linux/net/core/
H A Dfilter.c9095 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
9103 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
9114 if (type == BPF_WRITE) { in bpf_skb_is_valid_access()
9144 if (type == BPF_WRITE) { in sk_filter_is_valid_access()
9173 if (type == BPF_WRITE) { in cg_skb_is_valid_access()
9215 if (type == BPF_WRITE) { in lwt_is_valid_access()
9437 if (type == BPF_WRITE) { in tc_cls_act_is_valid_access()
9524 if (type == BPF_WRITE) { in xdp_is_valid_access()
9717 if (type == BPF_WRITE) { in sock_ops_is_valid_access()
9787 if (type == BPF_WRITE) { in sk_skb_is_valid_access()
[all …]
/linux/include/linux/
H A Dbpf.h1035 BPF_WRITE = 2 enumerator
/linux/kernel/trace/
H A Dbpf_trace.c1389 if (type == BPF_WRITE) in kprobe_prog_is_valid_access()