Documented in 1 files:
Defined in 4 files as a function:
- arch/alpha/include/asm/bitops.h, line 289 (as a function)
- arch/m68k/include/asm/bitops.h, line 322 (as a function)
- arch/mips/include/asm/bitops.h, line 283 (as a function)
- include/asm-generic/bitops/instrumented-lock.h, line 75 (as a function)
Referenced in 4 files:
- include/linux/page-flags.h, line 771
- kernel/kcsan/kcsan_test.c
- kernel/kcsan/selftest.c
- mm/kasan/kasan_test_c.c, line 1764
Smatch caller information:
mm/page-writeback.c folio_xor_flags_has_waiters() -> xor_unlock_is_negative_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 2 |
| DATA_SOURCE | 0 | mask | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &(&mapping->i_pages)->xa_lock | ||
| HALF_LOCKED2 | &folio->private->lock | ||
| HALF_LOCKED2 | flags |
mm/kasan/kasan_test_c.c kasan_bitops_test_and_modify() -> xor_unlock_is_negative_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| BUF_SIZE | 1 | addr | 9 |
| DATA_SOURCE | 1 | addr | $2 |
mm/filemap.c folio_xor_flags_has_waiters() -> xor_unlock_is_negative_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 1,9 |
| DATA_SOURCE | 0 | mask | $1 |
| FUZZY_MAX | 0 | mask | 1 |
| BIT_INFO | 0 | mask | 0x1,0x9 |
| BIT_INFO | 0 | mask | 0x1,0x9 |
| RX_PATH | |||
| TASK_NOT_RUNNING |