Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dcgroup.c1660 if (type == BPF_WRITE) in cgroup_dev_is_valid_access()
2264 if (type == BPF_WRITE) { in sysctl_convert_ctx_access()
2384 if (type == BPF_WRITE) { in cg_sockopt_is_valid_access()
2458 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2464 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2470 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2478 if (type == BPF_WRITE) { in cg_sockopt_convert_ctx_access()
H A Dverifier.c5098 if (type == BPF_WRITE && !(cap & BPF_MAP_CAN_WRITE)) { in check_map_access_type()
5482 if (t == BPF_WRITE) in may_access_direct_pkt_data()
5500 if (t == BPF_WRITE) in may_access_direct_pkt_data()
6447 if (env->ops->btf_struct_access && !type_is_alloc(reg->type) && atype == BPF_WRITE) { in check_ptr_to_btf_access()
6614 if (t == BPF_WRITE || env->allow_uninit_stack) in check_stack_slot_within_bounds()
6716 if (t == BPF_WRITE) { in check_mem_access()
6730 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
6776 if (t == BPF_WRITE && rdonly_mem) { in check_mem_access()
6782 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
6797 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
[all …]
/openbmc/linux/net/core/
H A Dfilter.c8564 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
8572 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
8583 if (type == BPF_WRITE) { in bpf_skb_is_valid_access()
8613 if (type == BPF_WRITE) { in sk_filter_is_valid_access()
8642 if (type == BPF_WRITE) { in cg_skb_is_valid_access()
8684 if (type == BPF_WRITE) { in lwt_is_valid_access()
8906 if (type == BPF_WRITE) { in tc_cls_act_is_valid_access()
8993 if (type == BPF_WRITE) { in xdp_is_valid_access()
9173 if (type == BPF_WRITE) { in sock_ops_is_valid_access()
9243 if (type == BPF_WRITE) { in sk_skb_is_valid_access()
[all …]
/openbmc/linux/net/netfilter/
H A Dnf_bpf_link.c298 if (type == BPF_WRITE) in nf_is_valid_access()
/openbmc/linux/include/linux/
H A Dbpf.h843 BPF_WRITE = 2 enumerator