Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/bpf/
Dcgroup.c819 if (type == BPF_WRITE) in cgroup_dev_is_valid_access()
1354 if (type == BPF_WRITE) { in sysctl_convert_ctx_access()
1434 if (type == BPF_WRITE) { in cg_sockopt_is_valid_access()
1501 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
1507 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
1513 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
1519 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
Dverifier.c2135 if (type == BPF_WRITE && !(cap & BPF_MAP_CAN_WRITE)) { in check_map_access_type()
2250 if (t == BPF_WRITE) in may_access_direct_pkt_data()
2268 if (t == BPF_WRITE) in may_access_direct_pkt_data()
2770 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
2785 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
2829 if (t == BPF_WRITE) in check_mem_access()
2836 if (t == BPF_WRITE && !may_access_direct_pkt_data(env, NULL, t)) { in check_mem_access()
2840 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
2850 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
2861 if (t == BPF_WRITE) { in check_mem_access()
[all …]
/Linux-v5.4/net/core/
Dfilter.c6509 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
6515 if (type == BPF_WRITE) { in bpf_skb_is_valid_access()
6544 if (type == BPF_WRITE) { in sk_filter_is_valid_access()
6573 if (type == BPF_WRITE) { in cg_skb_is_valid_access()
6614 if (type == BPF_WRITE) { in lwt_is_valid_access()
6826 if (type == BPF_WRITE) { in tc_cls_act_is_valid_access()
6875 if (type == BPF_WRITE) { in xdp_is_valid_access()
7040 if (type == BPF_WRITE) { in sock_ops_is_valid_access()
7091 if (type == BPF_WRITE) { in sk_skb_is_valid_access()
7120 if (type == BPF_WRITE) in sk_msg_is_valid_access()
[all …]
/Linux-v5.4/include/linux/
Dbpf.h251 BPF_WRITE = 2 enumerator