Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

mm/memory.c do_swap_page() -> softleaf_entry_wait_on_locked()

Type Parameter Key Value
PARAM_VALUE 1 ptl 4096-ptr_max
DATA_SOURCE 0 entry r softleaf_from_pte
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 1 ptl
HALF_LOCKED2 &mm->mmap_lock

mm/migrate.c migration_entry_wait() -> softleaf_entry_wait_on_locked()

Type Parameter Key Value
PARAM_VALUE 1 ptl 4096-ptr_max
DATA_SOURCE 0 entry r softleaf_from_pte
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 1 ptl
HALF_LOCKED2 &ctx->map_changing_lock

mm/migrate.c migration_entry_wait_huge() -> softleaf_entry_wait_on_locked()

Type Parameter Key Value
PARAM_VALUE 1 ptl 4096-ptr_max
PARAM_VALUE 1 ptl->rlock.dep_map->name 0-255
BUF_SIZE 1 ptl (-1),72
BUF_SIZE 1 ptl (-1),72
DATA_SOURCE 0 entry r softleaf_from_pte
DATA_SOURCE 1 ptl r huge_pte_lockptr
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 1 ptl
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &pool->lock

mm/migrate.c pmd_migration_entry_wait() -> softleaf_entry_wait_on_locked()

Type Parameter Key Value
PARAM_VALUE 1 ptl 4096-ptr_max
PARAM_VALUE 1 ptl->rlock.dep_map->name 0-255
DATA_SOURCE 1 ptl r pmd_lock
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->map_changing_lock