Searched refs:rdonly_mem (Results 1 – 1 of 1) sorted by relevance
6977 bool rdonly_mem = type_is_rdonly_mem(reg->type); in check_mem_access() local6985 if (t == BPF_WRITE && rdonly_mem) { in check_mem_access()6999 if (!err && value_regno >= 0 && (t == BPF_READ || rdonly_mem)) in check_mem_access()7113 bool rdonly_mem = type_is_rdonly_mem(reg->type); in check_mem_access() local7116 if (rdonly_mem) { in check_mem_access()7130 if (!err && value_regno >= 0 && (rdonly_mem || t == BPF_READ)) in check_mem_access()