Searched refs:BPF_READ (Results 1 – 10 of 10) sorted by relevance
79 if (type != BPF_READ) in bpf_io_is_valid_access()
127 return type == BPF_READ && off == 0 && size == sizeof(u32); in lirc_mode2_is_valid_access()
43 if (arg == 2 && type == BPF_READ) { in BTF_ID_LIST_SINGLE()
4047 false, BPF_READ, NULL); in check_stack_read_var_off()4286 if (type == BPF_READ && !(cap & BPF_MAP_CAN_READ)) { in check_map_access_type()5999 if (atype != BPF_READ && bpf_may_fault_on_deref(reg->type)) { in check_ptr_to_btf_access()6018 if (atype != BPF_READ && !type_is_ptr_alloc_obj(reg->type)) { in check_ptr_to_btf_access()6095 if (atype == BPF_READ && value_regno >= 0) { in check_ptr_to_btf_access()6145 if (atype != BPF_READ) { in check_ptr_to_map_access()6207 if (type == BPF_READ) in check_stack_access_within_bounds()6381 } else if (t == BPF_READ && value_regno >= 0) { in check_mem_access()6416 if (!err && value_regno >= 0 && (t == BPF_READ || rdonly_mem)) in check_mem_access()6433 if (!err && t == BPF_READ && value_regno >= 0) { in check_mem_access()[all …]
2462 if (type != BPF_READ) in sysctl_is_valid_access()2467 if (type == BPF_READ) { in sysctl_is_valid_access()
847 type = BPF_READ; in bpf_convert_ctx_accesses()948 type == BPF_READ) { in bpf_convert_ctx_accesses()
1492 if (type != BPF_READ) in tp_prog_is_valid_access()1849 if (size != sizeof(u64) || type != BPF_READ) in raw_tp_writable_prog_is_valid_access()1872 if (type != BPF_READ) in pe_prog_is_valid_access()
1034 BPF_READ = 1, enumerator3130 if (type != BPF_READ) in bpf_tracing_ctx_access()
9278 return access_type == BPF_READ; in __sock_filter_check_attach_type()9650 if (type == BPF_READ) { in sock_addr_is_valid_access()9681 if (type != BPF_READ) in sock_addr_is_valid_access()9691 if (type != BPF_READ) in sock_addr_is_valid_access()11858 off % size || type != BPF_READ) in sk_reuseport_is_valid_access()12040 if (type != BPF_READ) in sk_lookup_is_valid_access()
7935 if (type != BPF_READ) in bpf_scx_is_valid_access()