Defined in 4 files as a prototype:
- arch/arm64/include/asm/set_memory.h, line 14 (as a prototype)
- arch/loongarch/include/asm/set_memory.h, line 19 (as a prototype)
- arch/riscv/include/asm/set_memory.h, line 43 (as a prototype)
- arch/x86/include/asm/set_memory.h, line 89 (as a prototype)
Defined in 6 files as a function:
- arch/arm64/mm/pageattr.c, line 254 (as a function)
- arch/loongarch/mm/pageattr.c, line 211 (as a function)
- arch/riscv/mm/pageattr.c, line 377 (as a function)
- arch/s390/mm/pageattr.c, line 385 (as a function)
- arch/x86/mm/pat/set_memory.c, line 2690 (as a function)
- include/linux/set_memory.h, line 28 (as a function)
Referenced in 4 files:
- arch/s390/include/asm/set_memory.h, line 63
- kernel/power/snapshot.c, line 104
- mm/secretmem.c, line 75
- mm/vmalloc.c, line 3403
Smatch caller information:
kernel/power/snapshot.c hibernate_unmap_page() -> set_direct_map_invalid_noflush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | page | $0 |
| UNITS | 0 | page | unit_page |
mm/secretmem.c secretmem_fault() -> set_direct_map_invalid_noflush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mapping->invalidate_lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock |
mm/vmalloc.c set_area_direct_map() -> set_area_direct_map param 1()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | ®ion->snapshot_lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct devlink_region)->snapshot_lock |