Home
last modified time | relevance | path

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

/linux-4.4.14/net/core/
Dfilter.c1715 if (type == BPF_WRITE) { in sk_filter_is_valid_access()
1732 return type == BPF_WRITE ? true : false; in tc_cls_act_is_valid_access()
1734 if (type == BPF_WRITE) { in tc_cls_act_is_valid_access()
1781 if (type == BPF_WRITE) in bpf_net_convert_ctx_access()
1817 if (type == BPF_WRITE) in bpf_net_convert_ctx_access()
1847 if (type == BPF_WRITE) in bpf_net_convert_ctx_access()
1857 WARN_ON(type != BPF_WRITE); in bpf_net_convert_ctx_access()
1865 if (type == BPF_WRITE) in bpf_net_convert_ctx_access()
1873 if (type == BPF_WRITE) in bpf_net_convert_ctx_access()
/linux-4.4.14/kernel/bpf/
Dverifier.c692 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
702 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
717 if (t == BPF_WRITE) { in check_mem_access()
765 BPF_SIZE(insn->code), BPF_WRITE, -1); in check_xadd()
1844 BPF_SIZE(insn->code), BPF_WRITE, in do_check()
1871 BPF_SIZE(insn->code), BPF_WRITE, in do_check()
2124 type = BPF_WRITE; in convert_ctx_accesses()
/linux-4.4.14/include/linux/
Dbpf.h103 BPF_WRITE = 2 enumerator