Searched refs:BPF_READ (Results 1 – 8 of 8) sorted by relevance
185 return atype == BPF_READ ? err : NOT_INIT; in bpf_dummy_ops_btf_struct_access()
80 if (atype == BPF_READ) in bpf_tcp_ca_btf_struct_access()
127 return type == BPF_READ && off == 0 && size == sizeof(u32); in lirc_mode2_is_valid_access()
1547 if (type != BPF_READ) in kprobe_prog_is_valid_access()1658 if (type != BPF_READ) in tp_prog_is_valid_access()2004 if (size != sizeof(u64) || type != BPF_READ) in raw_tp_writable_prog_is_valid_access()2027 if (type != BPF_READ) in pe_prog_is_valid_access()
3546 if (type == BPF_READ && !(cap & BPF_MAP_CAN_READ)) { in check_map_access_type()4548 if (atype != BPF_READ) { in check_ptr_to_btf_access()4566 if (atype == BPF_READ && value_regno >= 0) in check_ptr_to_btf_access()4613 if (atype != BPF_READ) { in check_ptr_to_map_access()4670 else if (type == BPF_READ) in check_stack_access_within_bounds()4773 } else if (t == BPF_READ && value_regno >= 0) { in check_mem_access()4817 if (!err && value_regno >= 0 && (t == BPF_READ || rdonly_mem)) in check_mem_access()4838 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()4875 if (t == BPF_READ) in check_mem_access()4893 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()[all …]
2173 if (type != BPF_READ) in sysctl_is_valid_access()2178 if (type == BPF_READ) { in sysctl_is_valid_access()
611 BPF_READ = 1, enumerator2020 if (type != BPF_READ) in bpf_tracing_ctx_access()
8447 return access_type == BPF_READ; in __sock_filter_check_attach_type()8665 if (atype == BPF_READ) in tc_cls_act_btf_struct_access()8745 if (atype == BPF_READ) in xdp_btf_struct_access()8825 if (type == BPF_READ) { in sock_addr_is_valid_access()8856 if (type != BPF_READ) in sock_addr_is_valid_access()8863 if (type == BPF_READ) { in sock_addr_is_valid_access()10994 off % size || type != BPF_READ) in sk_reuseport_is_valid_access()11176 if (type != BPF_READ) in sk_lookup_is_valid_access()