Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/bpf/
Dcgroup.c1175 if (type == BPF_WRITE) in cgroup_dev_is_valid_access()
1709 if (type == BPF_WRITE) { in sysctl_convert_ctx_access()
1789 if (type == BPF_WRITE) { in cg_sockopt_is_valid_access()
1856 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
1862 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
1868 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
1874 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
Dverifier.c2533 if (type == BPF_WRITE && !(cap & BPF_MAP_CAN_WRITE)) { in check_map_access_type()
2692 if (t == BPF_WRITE) in may_access_direct_pkt_data()
2710 if (t == BPF_WRITE) in may_access_direct_pkt_data()
3423 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
3454 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
3467 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
3516 if (t == BPF_WRITE) in check_mem_access()
3523 if (t == BPF_WRITE && !may_access_direct_pkt_data(env, NULL, t)) { in check_mem_access()
3527 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
3537 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
[all …]
/Linux-v5.10/net/core/
Dfilter.c7518 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
7524 if (type == BPF_WRITE) { in bpf_skb_is_valid_access()
7553 if (type == BPF_WRITE) { in sk_filter_is_valid_access()
7582 if (type == BPF_WRITE) { in cg_skb_is_valid_access()
7623 if (type == BPF_WRITE) { in lwt_is_valid_access()
7837 if (type == BPF_WRITE) { in tc_cls_act_is_valid_access()
7893 if (type == BPF_WRITE) { in xdp_is_valid_access()
8059 if (type == BPF_WRITE) { in sock_ops_is_valid_access()
8124 if (type == BPF_WRITE) { in sk_skb_is_valid_access()
8153 if (type == BPF_WRITE) in sk_msg_is_valid_access()
[all …]
/Linux-v5.10/include/linux/
Dbpf.h356 BPF_WRITE = 2 enumerator