Documented in 1 files:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

mm/swapfile.c generic_max_swapfile_size() -> softleaf_to_pte()

Type Parameter Key Value
DATA_SOURCE 0 entry r swp_entry

mm/memory.c copy_nonpresent_pte() -> softleaf_to_pte()

Type Parameter Key Value
DATA_SOURCE 0 entry r make_readable_migration_entry
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mm->mmap_lock
LOCK2 &oldmm->mmap_lock
LOCK2 dst_ptl
LOCK2 rcu_read
LOCK2 src_ptl
TYPE_LOCK (struct mm_struct)->mmap_lock

mm/debug_vm_pgtable.c init_args() -> softleaf_to_pte()

Type Parameter Key Value

mm/migrate.c remove_migration_pte() -> softleaf_to_pte()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &anon_vma->root->rwsem
HALF_LOCKED2 &folio->private->lock