Lines Matching full:access
10 /* Access types -- if KCSAN_ACCESS_WRITE is not set, the access is a read. */
11 #define KCSAN_ACCESS_WRITE (1 << 0) /* Access is a write. */
13 #define KCSAN_ACCESS_ATOMIC (1 << 2) /* Access is atomic. */
15 #define KCSAN_ACCESS_ASSERT (1 << 3) /* Access is an assertion. */
16 #define KCSAN_ACCESS_SCOPED (1 << 4) /* Access is a scoped access. */
21 * to validate access to an address. Never use these in header files!
25 * __kcsan_check_access - check generic access for races
27 * @ptr: address of access
28 * @size: size of access
29 * @type: access type modifier
85 * kcsan_set_access_mask - set access mask
87 * Set the access mask for all accesses for the current context if non-zero.
94 /* Scoped access information. */
110 * kcsan_begin_scoped_access - begin scoped access
112 * Begin scoped access and initialize @sa, which will cause KCSAN to
120 * @ptr: address of access
121 * @size: size of access
122 * @type: access type modifier
123 * @sa: struct kcsan_scoped_access to use for the scope of the access
130 * kcsan_end_scoped_access - end scoped access
132 * End a scoped access, which will stop KCSAN checking the memory range.
185 * __kcsan_check_read - check regular read access for races
187 * @ptr: address of access
188 * @size: size of access
193 * __kcsan_check_write - check regular write access for races
195 * @ptr: address of access
196 * @size: size of access
202 * __kcsan_check_read_write - check regular read-write access for races
204 * @ptr: address of access
205 * @size: size of access
211 * kcsan_check_read - check regular read access for races
213 * @ptr: address of access
214 * @size: size of access
219 * kcsan_check_write - check regular write access for races
221 * @ptr: address of access
222 * @size: size of access
228 * kcsan_check_read_write - check regular read-write access for races
230 * @ptr: address of access
231 * @size: size of access
343 * For example, where exclusive access is expected after determining no other
408 * Note: The access that immediately follows ASSERT_EXCLUSIVE_BITS() is assumed
409 * to access the masked bits only, and KCSAN optimistically assumes it is