Home
last modified time | relevance | path

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

/Linux-v4.19/net/core/
Dfilter.c5221 if (type == BPF_WRITE) { in bpf_skb_is_valid_access()
5248 if (type == BPF_WRITE) { in sk_filter_is_valid_access()
5272 if (type == BPF_WRITE) { in lwt_is_valid_access()
5456 if (type == BPF_WRITE) { in tc_cls_act_is_valid_access()
5503 if (type == BPF_WRITE) { in xdp_is_valid_access()
5639 if (type == BPF_WRITE) { in sock_ops_is_valid_access()
5683 if (type == BPF_WRITE) { in sk_skb_is_valid_access()
5712 if (type == BPF_WRITE) in sk_msg_is_valid_access()
5767 if (type == BPF_WRITE) in bpf_convert_ctx_access()
5800 if (type == BPF_WRITE) in bpf_convert_ctx_access()
[all …]
/Linux-v4.19/kernel/bpf/
Dverifier.c1315 if (t == BPF_WRITE) in may_access_direct_pkt_data()
1696 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
1709 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
1761 if (t == BPF_WRITE) in check_mem_access()
1768 if (t == BPF_WRITE && !may_access_direct_pkt_data(env, NULL, t)) { in check_mem_access()
1772 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
1836 BPF_SIZE(insn->code), BPF_WRITE, -1, true); in check_xadd()
2547 BPF_WRITE, -1, false); in check_helper_call()
4902 BPF_SIZE(insn->code), BPF_WRITE, in do_check()
4937 BPF_SIZE(insn->code), BPF_WRITE, in do_check()
[all …]
Dcgroup.c695 if (type == BPF_WRITE) in cgroup_dev_is_valid_access()
/Linux-v4.19/include/linux/
Dbpf.h191 BPF_WRITE = 2 enumerator