Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/bpf/
Dcgroup.c1392 if (type == BPF_WRITE) in cgroup_dev_is_valid_access()
1967 if (type == BPF_WRITE) { in sysctl_convert_ctx_access()
2073 if (type == BPF_WRITE) { in cg_sockopt_is_valid_access()
2140 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2146 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2152 if (type == BPF_WRITE) in cg_sockopt_convert_ctx_access()
2160 if (type == BPF_WRITE) { in cg_sockopt_convert_ctx_access()
Dverifier.c3508 if (type == BPF_WRITE && !(cap & BPF_MAP_CAN_WRITE)) { in check_map_access_type()
3868 if (t == BPF_WRITE) in may_access_direct_pkt_data()
3886 if (t == BPF_WRITE) in may_access_direct_pkt_data()
4608 if (t == BPF_WRITE) in check_stack_slot_within_bounds()
4710 if (t == BPF_WRITE) { in check_mem_access()
4724 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
4771 if (t == BPF_WRITE && rdonly_mem) { in check_mem_access()
4777 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
4792 if (t == BPF_WRITE && value_regno >= 0 && in check_mem_access()
4850 if (t == BPF_WRITE && !may_access_direct_pkt_data(env, NULL, t)) { in check_mem_access()
[all …]
/linux-5.19.10/net/core/
Dfilter.c8160 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
8168 if (type == BPF_WRITE || size != sizeof(__u64)) in bpf_skb_is_valid_access()
8179 if (type == BPF_WRITE) { in bpf_skb_is_valid_access()
8209 if (type == BPF_WRITE) { in sk_filter_is_valid_access()
8238 if (type == BPF_WRITE) { in cg_skb_is_valid_access()
8280 if (type == BPF_WRITE) { in lwt_is_valid_access()
8502 if (type == BPF_WRITE) { in tc_cls_act_is_valid_access()
8567 if (type == BPF_WRITE) { in xdp_is_valid_access()
8733 if (type == BPF_WRITE) { in sock_ops_is_valid_access()
8799 if (type == BPF_WRITE) { in sk_skb_is_valid_access()
[all …]
/linux-5.19.10/include/linux/
Dbpf.h555 BPF_WRITE = 2 enumerator