Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

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

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &vma->vm_private_data->rw_sema

mm/huge_memory.c change_non_present_huge_pmd() -> make_readable_device_private_entry()

Type Parameter Key Value
PARAM_VALUE 0 offset 0-288230376151711743
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mm->mmap_lock

mm/huge_memory.c copy_huge_non_present_pmd() -> make_readable_device_private_entry()

Type Parameter Key Value
PARAM_VALUE 0 offset 0-288230376151711743
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mm->mmap_lock
LOCK2 &oldmm->mmap_lock
LOCK2 src_ptl
TYPE_LOCK (struct mm_struct)->mmap_lock

mm/huge_memory.c remove_migration_pmd() -> make_readable_device_private_entry()

Type Parameter Key Value
PARAM_VALUE 0 offset 0-12384898975264768,9223396226110586880-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &anon_vma->root->rwsem
HALF_LOCKED2 &folio->private->lock

mm/mprotect.c change_softleaf_pte() -> make_readable_device_private_entry()

Type Parameter Key Value
PARAM_VALUE 0 offset 0-288230376151711743
RX_PATH
TASK_NOT_RUNNING
LOCK2 ptl
HALF_LOCKED2 &mm->mmap_lock

mm/migrate_device.c migrate_vma_insert_huge_pmd_page() -> make_readable_device_private_entry()

Type Parameter Key Value
PARAM_VALUE 0 offset 0-12384898975264768,9223396226110586880-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &drm->dmem->mutex

mm/migrate_device.c migrate_vma_insert_page() -> make_readable_device_private_entry()

Type Parameter Key Value
PARAM_VALUE 0 offset 0-12384898975264768,9223396226110586880-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &drm->dmem->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 offset 0-288230376151711743
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/migrate.c remove_migration_pte() -> make_readable_device_private_entry()

Type Parameter Key Value
PARAM_VALUE 0 offset 0-12384898975264768,9223396226110586880-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 offset unit_page
HALF_LOCKED2 &anon_vma->root->rwsem
HALF_LOCKED2 &folio->private->lock