Documented in 1 files:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

mm/huge_memory.c __split_huge_pmd_locked() -> softleaf_to_page()

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pmd
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vma->vm_private_data->rw_sema

mm/huge_memory.c __split_huge_pmd_locked() -> softleaf_to_page()

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pmd
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vma->vm_private_data->rw_sema

mm/huge_memory.c do_huge_pmd_device_private() -> softleaf_to_page()

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pmd
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &pool->lock

fs/proc/task_mmu.c pagemap_pmd_range_thp() -> softleaf_to_page()

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pmd
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock

fs/proc/task_mmu.c pte_to_pagemap_entry() -> softleaf_to_page()

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pte
RX_PATH
TASK_NOT_RUNNING
LOCK2 ptl
HALF_LOCKED2 &mm->mmap_lock

fs/proc/task_mmu.c smaps_pmd_entry() -> softleaf_to_page()

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pmd
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock

fs/proc/task_mmu.c smaps_pte_entry() -> softleaf_to_page()

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pte
RX_PATH
TASK_NOT_RUNNING
LOCK2 ptl
HALF_LOCKED2 &mm->mmap_lock

mm/migrate_device.c migrate_vma_collect_pmd() -> softleaf_to_page()

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pte
RX_PATH
TASK_NOT_RUNNING
LOCK2 ptl
HALF_LOCKED2 &mm->mmap_lock

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

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pte
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/memory.c do_swap_page() -> softleaf_to_page()

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pte
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock

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

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pte
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock

mm/memory.c try_restore_exclusive_pte() -> softleaf_to_page()

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pte
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/memory.c zap_nonpresent_ptes() -> softleaf_to_page()

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pte
RX_PATH
TASK_NOT_RUNNING
LOCK2 ptl
HALF_LOCKED2 &mm->mmap_lock

mm/hmm.c hmm_vma_handle_pte() -> softleaf_to_page()

Type Parameter Key Value
DATA_SOURCE 0 entry r softleaf_from_pte
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &mm->mmap_lock