Lines Matching full:access

3  * KCSAN access checks and modifiers. These can be used to explicitly check
16 /* Access types -- if KCSAN_ACCESS_WRITE is not set, the access is a read. */
17 #define KCSAN_ACCESS_WRITE (1 << 0) /* Access is a write. */
19 #define KCSAN_ACCESS_ATOMIC (1 << 2) /* Access is atomic. */
21 #define KCSAN_ACCESS_ASSERT (1 << 3) /* Access is an assertion. */
22 #define KCSAN_ACCESS_SCOPED (1 << 4) /* Access is a scoped access. */
27 * to validate access to an address. Never use these in header files!
31 * __kcsan_check_access - check generic access for races
33 * @ptr: address of access
34 * @size: size of access
35 * @type: access type modifier
121 * kcsan_set_access_mask - set access mask
123 * Set the access mask for all accesses for the current context if non-zero.
130 /* Scoped access information. */
136 * the access was initialized.
141 /* Access information. */
145 /* Location where scoped access was set up. */
157 * kcsan_begin_scoped_access - begin scoped access
159 * Begin scoped access and initialize @sa, which will cause KCSAN to
167 * @ptr: address of access
168 * @size: size of access
169 * @type: access type modifier
170 * @sa: struct kcsan_scoped_access to use for the scope of the access
177 * kcsan_end_scoped_access - end scoped access
179 * End a scoped access, which will stop KCSAN checking the memory range.
271 * __kcsan_check_read - check regular read access for races
273 * @ptr: address of access
274 * @size: size of access
279 * __kcsan_check_write - check regular write access for races
281 * @ptr: address of access
282 * @size: size of access
288 * __kcsan_check_read_write - check regular read-write access for races
290 * @ptr: address of access
291 * @size: size of access
297 * kcsan_check_read - check regular read access for races
299 * @ptr: address of access
300 * @size: size of access
305 * kcsan_check_write - check regular write access for races
307 * @ptr: address of access
308 * @size: size of access
314 * kcsan_check_read_write - check regular read-write access for races
316 * @ptr: address of access
317 * @size: size of access
429 * For example, where exclusive access is expected after determining no other
494 * Note: The access that immediately follows ASSERT_EXCLUSIVE_BITS() is assumed
495 * to access the masked bits only, and KCSAN optimistically assumes it is