Defined in 5 files as a prototype:
- arch/arm64/include/asm/set_memory.h, line 15 (as a prototype)
- arch/loongarch/include/asm/set_memory.h, line 18 (as a prototype)
- arch/riscv/include/asm/set_memory.h, line 44 (as a prototype)
- arch/s390/include/asm/set_memory.h, line 64 (as a prototype)
- arch/x86/include/asm/set_memory.h, line 90 (as a prototype)
Defined in 6 files as a function:
- arch/arm64/mm/pageattr.c, line 266 (as a function)
- arch/loongarch/mm/pageattr.c, line 201 (as a function)
- arch/riscv/mm/pageattr.c, line 383 (as a function)
- arch/s390/mm/pageattr.c, line 390 (as a function)
- arch/x86/mm/pat/set_memory.c, line 2695 (as a function)
- include/linux/set_memory.h, line 32 (as a function)
Referenced in 3 files:
Smatch caller information:
kernel/power/snapshot.c hibernate_map_page() -> set_direct_map_default_noflush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | page | $0 |
| UNITS | 0 | page | unit_page |
mm/secretmem.c secretmem_fault() -> set_direct_map_default_noflush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mapping->invalidate_lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock |
mm/secretmem.c secretmem_free_folio() -> set_direct_map_default_noflush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
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 |