Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/bpf/
Dcgroup.c1629 if (type == BPF_WRITE) in cgroup_dev_is_valid_access()
2212 if (type == BPF_WRITE) { in sysctl_convert_ctx_access()
2330 if (type == BPF_WRITE) { in cg_sockopt_is_valid_access()
2397 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2403 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2409 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2417 if (type == BPF_WRITE) { in cg_sockopt_convert_ctx_access()
Dverifier.c3556 if (type == BPF_WRITE && !(cap & BPF_MAP_CAN_WRITE)) { in check_map_access_type()
3916 if (t == BPF_WRITE) in may_access_direct_pkt_data()
3934 if (t == BPF_WRITE) in may_access_direct_pkt_data()
4656 if (t == BPF_WRITE) in check_stack_slot_within_bounds()
4758 if (t == BPF_WRITE) { in check_mem_access()
4772 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
4819 if (t == BPF_WRITE && rdonly_mem) { in check_mem_access()
4825 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
4840 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
4898 if (t == BPF_WRITE && !may_access_direct_pkt_data(env, NULL, t)) { in check_mem_access()
[all …]
/linux-6.1.9/net/core/
Dfilter.c8290 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
8298 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
8309 if (type == BPF_WRITE) { in bpf_skb_is_valid_access()
8339 if (type == BPF_WRITE) { in sk_filter_is_valid_access()
8368 if (type == BPF_WRITE) { in cg_skb_is_valid_access()
8410 if (type == BPF_WRITE) { in lwt_is_valid_access()
8632 if (type == BPF_WRITE) { in tc_cls_act_is_valid_access()
8727 if (type == BPF_WRITE) { in xdp_is_valid_access()
8914 if (type == BPF_WRITE) { in sock_ops_is_valid_access()
8980 if (type == BPF_WRITE) { in sk_skb_is_valid_access()
[all …]
/linux-6.1.9/include/linux/
Dbpf.h612 BPF_WRITE = 2 enumerator