MCPcopy Create free account
hub / github.com/F-Stack/f-stack / kcsan_access_is_atomic

Function kcsan_access_is_atomic

freebsd/kern/subr_csan.c:134–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134static inline bool
135kcsan_access_is_atomic(csan_cell_t *new, csan_cell_t *old)
136{
137 if (new->write && !new->atomic)
138 return false;
139 if (old->write && !old->atomic)
140 return false;
141 return true;
142}
143
144static inline void
145kcsan_access(uintptr_t addr, size_t size, bool write, bool atomic, uintptr_t pc)

Callers 1

kcsan_accessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected