Searched refs:BPF_READ (Results 1 – 6 of 6) sorted by relevance
127 return type == BPF_READ && off == 0 && size == sizeof(u32); in lirc_mode2_is_valid_access()
1599 if (type != BPF_READ) in kprobe_prog_is_valid_access()1710 if (type != BPF_READ) in tp_prog_is_valid_access()2056 if (size != sizeof(u64) || type != BPF_READ) in raw_tp_writable_prog_is_valid_access()2079 if (type != BPF_READ) in pe_prog_is_valid_access()
4847 if (type == BPF_READ && !(cap & BPF_MAP_CAN_READ)) { in check_map_access_type()6204 if (atype != BPF_READ && !type_is_ptr_alloc_obj(reg->type)) { in check_ptr_to_btf_access()6279 if (atype == BPF_READ && value_regno >= 0) in check_ptr_to_btf_access()6327 if (atype != BPF_READ) { in check_ptr_to_map_access()6387 else if (type == BPF_READ) in check_stack_access_within_bounds()6489 } else if (t == BPF_READ && value_regno >= 0) { in check_mem_access()6533 if (!err && value_regno >= 0 && (t == BPF_READ || rdonly_mem)) in check_mem_access()6554 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()6591 if (t == BPF_READ) in check_mem_access()6609 if (!err && t == BPF_READ && value_regno >= 0) in check_mem_access()[all …]
2192 if (type != BPF_READ) in sysctl_is_valid_access()2197 if (type == BPF_READ) { in sysctl_is_valid_access()
819 BPF_READ = 1, enumerator2372 if (type != BPF_READ) in bpf_tracing_ctx_access()
8627 return access_type == BPF_READ; in __sock_filter_check_attach_type()8990 if (type == BPF_READ) { in sock_addr_is_valid_access()9021 if (type != BPF_READ) in sock_addr_is_valid_access()9028 if (type == BPF_READ) { in sock_addr_is_valid_access()11186 off % size || type != BPF_READ) in sk_reuseport_is_valid_access()11368 if (type != BPF_READ) in sk_lookup_is_valid_access()