Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

mm/huge_memory.c __split_huge_pmd_locked() -> make_readable_exclusive_migration_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_exclusive_migration_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 set_pmd_migration_entry() -> make_readable_exclusive_migration_entry()

Type Parameter Key Value
PARAM_VALUE 0 offset 0-12384898975264768,9223396226110586880-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

mm/rmap.c try_to_migrate_one() -> make_readable_exclusive_migration_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
HALF_LOCKED2 &resv_map->rw_sema
HALF_LOCKED2 &vma->vm_private_data->rw_sema

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

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

mm/hugetlb.c hugetlb_change_protection() -> make_readable_exclusive_migration_entry()

Type Parameter Key Value
PARAM_VALUE 0 offset 0-288230376151711743
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &vma->vm_file->f_mapping->i_mmap_rwsem
HALF_LOCKED2 &dst_mm->mmap_lock
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct address_space)->i_mmap_rwsem

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

Type Parameter Key Value
PARAM_VALUE 0 offset 0-12384898975264768,9223396226110586880-u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 ptl
HALF_LOCKED2 &mm->mmap_lock