Defined in 1 files as a function:
Referenced in 8 files:
- fs/proc/task_mmu.c
- mm/damon/vaddr.c
- mm/hmm.c, line 564
- mm/hugetlb.c
- mm/memory-failure.c, line 783
- mm/mempolicy.c, line 785
- mm/mincore.c, line 36
- mm/page_vma_mapped.c, line 217
Smatch caller information:
mm/damon/vaddr.c damon_mkold_hugetlb_entry() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 2 | pte | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem |
mm/damon/vaddr.c damon_young_hugetlb_entry() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 2 | pte | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem |
fs/proc/task_mmu.c gather_hugetlb_stats() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| DATA_SOURCE | 2 | pte | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem |
fs/proc/task_mmu.c pagemap_hugetlb_range() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| DATA_SOURCE | 2 | pte | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem |
fs/proc/task_mmu.c pagemap_scan_hugetlb_entry() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| DATA_SOURCE | 2 | pte | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| LOCK2 | &vma->vm_file->f_mapping->i_mmap_rwsem | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem | ||
| TYPE_LOCK | (struct address_space)->i_mmap_rwsem |
fs/proc/task_mmu.c pagemap_scan_hugetlb_hole_wp() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->page_table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 2 | pte | r huge_pte_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| LOCK2 | &vma->vm_file->f_mapping->i_mmap_rwsem | ||
| TYPE_LOCK | (struct address_space)->i_mmap_rwsem |
fs/proc/task_mmu.c smaps_hugetlb_range() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| DATA_SOURCE | 2 | pte | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem |
mm/page_vma_mapped.c page_vma_mapped_walk() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 2 | pte | r hugetlb_walk |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | global &ksm_thread_mutex | ||
| HALF_LOCKED2 | global &mf_mutex | ||
| HALF_LOCKED2 | rcu_read |
mm/hugetlb.c __unmap_hugepage_range() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 0 | h->next_nid_to_free | 0-64 |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| BUF_SIZE | 1 | mm | (-1),1-s32max |
| BUF_SIZE | 1 | mm | (-1),1-s32max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 2 | pte | r hugetlb_walk |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &mapping->i_mmap_rwsem |
mm/hugetlb.c copy_hugetlb_page_range() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->context.execute_only_pkey | (-1) |
| PARAM_VALUE | 1 | mm->context.ldt | 0 |
| PARAM_VALUE | 1 | mm->context.ldt_usr_sem.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->context.lock.first_waiter | 0 |
| PARAM_VALUE | 1 | mm->context.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->context.lock.owner.counter | 0 |
| PARAM_VALUE | 1 | mm->context.pkey_allocation_map | 1 |
| PARAM_VALUE | 1 | mm->context.tlb_gen.counter | 0 |
| PARAM_VALUE | 1 | mm->context.untag_mask | u64max |
| PARAM_VALUE | 1 | mm->def_flags | 0,1073741824 |
| PARAM_VALUE | 1 | mm->exe_file | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mm->ioctx_table | 0 |
| PARAM_VALUE | 1 | mm->iommu_mm | 0 |
| PARAM_VALUE | 1 | mm->locked_vm | 0 |
| PARAM_VALUE | 1 | mm->lru_gen.bitmap | 0 |
| PARAM_VALUE | 1 | mm->lru_gen.memcg | 0 |
| PARAM_VALUE | 1 | mm->map_count | 0-s32max |
| PARAM_VALUE | 1 | mm->mm_cid.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | mm->mm_cid.lock.owner | (-1) |
| PARAM_VALUE | 1 | mm->mm_cid.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mm->mm_cid.max_cids | 0 |
| PARAM_VALUE | 1 | mm->mm_cid.mode | 0 |
| PARAM_VALUE | 1 | mm->mm_cid.mutex.first_waiter | 0 |
| PARAM_VALUE | 1 | mm->mm_cid.mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mm_cid.mutex.owner.counter | 0 |
| PARAM_VALUE | 1 | mm->mm_cid.pcpu | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mm_cid.pcpu_thrs | 0 |
| PARAM_VALUE | 1 | mm->mm_cid.update_deferred | 0 |
| PARAM_VALUE | 1 | mm->mm_cid.users | 0 |
| PARAM_VALUE | 1 | mm->mm_count.counter | 1 |
| PARAM_VALUE | 1 | mm->mm_id | 0-s32max |
| PARAM_VALUE | 1 | mm->mm_mt.ma_flags | 771 |
| PARAM_VALUE | 1 | mm->mm_mt.ma_root | 0 |
| PARAM_VALUE | 1 | mm->mm_users.counter | 1 |
| PARAM_VALUE | 1 | mm->mmap_lock.count.counter | 0 |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | mm->mmap_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mm->mmap_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | mm->notifier_subscriptions | 0 |
| PARAM_VALUE | 1 | mm->owner | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->page_table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | mm->pgd | 18446612682070032384 |
| PARAM_VALUE | 1 | mm->pinned_vm.counter | 0 |
| PARAM_VALUE | 1 | mm->sc_stat.cpu | (-1) |
| PARAM_VALUE | 1 | mm->sc_stat.footprint | 0 |
| PARAM_VALUE | 1 | mm->sc_stat.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | mm->sc_stat.lock.owner | (-1) |
| PARAM_VALUE | 1 | mm->sc_stat.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mm->sc_stat.nr_running_avg | 0 |
| PARAM_VALUE | 1 | mm->sc_stat.pcpu_sched | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->tlb_flush_pending.counter | 0 |
| PARAM_VALUE | 1 | mm->uprobes_state.xol_area | 0 |
| PARAM_VALUE | 1 | mm->vma_writer_wait.task | 0 |
| PARAM_VALUE | 1 | mm->write_protect_seq.sequence | 0 |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| CAPPED_DATA | 1 | mm->mm_id | 1 |
| CAPPED_DATA | 2 | pte | 1 |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 1 | mm | $0 |
| DATA_SOURCE | 2 | pte | r huge_pte_alloc |
| TERMINATED | 1 | mm->mm_lock_seq.dep_map.name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &oldmm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/hugetlb.c copy_hugetlb_page_range() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->context.execute_only_pkey | (-1) |
| PARAM_VALUE | 1 | mm->context.ldt | 0 |
| PARAM_VALUE | 1 | mm->context.ldt_usr_sem.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->context.lock.first_waiter | 0 |
| PARAM_VALUE | 1 | mm->context.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->context.lock.owner.counter | 0 |
| PARAM_VALUE | 1 | mm->context.pkey_allocation_map | 1 |
| PARAM_VALUE | 1 | mm->context.tlb_gen.counter | 0 |
| PARAM_VALUE | 1 | mm->context.untag_mask | u64max |
| PARAM_VALUE | 1 | mm->def_flags | 0,1073741824 |
| PARAM_VALUE | 1 | mm->exe_file | 0,4096-ptr_max |
| PARAM_VALUE | 1 | mm->ioctx_table | 0 |
| PARAM_VALUE | 1 | mm->iommu_mm | 0 |
| PARAM_VALUE | 1 | mm->locked_vm | 0 |
| PARAM_VALUE | 1 | mm->lru_gen.bitmap | 0 |
| PARAM_VALUE | 1 | mm->lru_gen.memcg | 0 |
| PARAM_VALUE | 1 | mm->map_count | 0-s32max |
| PARAM_VALUE | 1 | mm->mm_cid.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | mm->mm_cid.lock.owner | (-1) |
| PARAM_VALUE | 1 | mm->mm_cid.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mm->mm_cid.max_cids | 0 |
| PARAM_VALUE | 1 | mm->mm_cid.mode | 0 |
| PARAM_VALUE | 1 | mm->mm_cid.mutex.first_waiter | 0 |
| PARAM_VALUE | 1 | mm->mm_cid.mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mm_cid.mutex.owner.counter | 0 |
| PARAM_VALUE | 1 | mm->mm_cid.pcpu | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mm_cid.pcpu_thrs | 0 |
| PARAM_VALUE | 1 | mm->mm_cid.update_deferred | 0 |
| PARAM_VALUE | 1 | mm->mm_cid.users | 0 |
| PARAM_VALUE | 1 | mm->mm_count.counter | 1 |
| PARAM_VALUE | 1 | mm->mm_id | 0-s32max |
| PARAM_VALUE | 1 | mm->mm_mt.ma_flags | 771 |
| PARAM_VALUE | 1 | mm->mm_mt.ma_root | 0 |
| PARAM_VALUE | 1 | mm->mm_users.counter | 1 |
| PARAM_VALUE | 1 | mm->mmap_lock.count.counter | 0 |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | mm->mmap_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | mm->mmap_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | mm->notifier_subscriptions | 0 |
| PARAM_VALUE | 1 | mm->owner | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->page_table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | mm->pgd | 18446612682070032384 |
| PARAM_VALUE | 1 | mm->pinned_vm.counter | 0 |
| PARAM_VALUE | 1 | mm->sc_stat.cpu | (-1) |
| PARAM_VALUE | 1 | mm->sc_stat.footprint | 0 |
| PARAM_VALUE | 1 | mm->sc_stat.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | mm->sc_stat.lock.owner | (-1) |
| PARAM_VALUE | 1 | mm->sc_stat.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mm->sc_stat.nr_running_avg | 0 |
| PARAM_VALUE | 1 | mm->sc_stat.pcpu_sched | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->tlb_flush_pending.counter | 0 |
| PARAM_VALUE | 1 | mm->uprobes_state.xol_area | 0 |
| PARAM_VALUE | 1 | mm->vma_writer_wait.task | 0 |
| PARAM_VALUE | 1 | mm->write_protect_seq.sequence | 0 |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| CAPPED_DATA | 1 | mm->mm_id | 1 |
| CAPPED_DATA | 2 | pte | 1 |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 1 | mm | $0 |
| DATA_SOURCE | 2 | pte | r huge_pte_alloc |
| TERMINATED | 1 | mm->mm_lock_seq.dep_map.name | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &oldmm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/hugetlb.c hugetlb_change_protection() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| 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/hugetlb.c hugetlb_fault() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | mm->page_table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | mm->vma_writer_wait.task->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 1 | mm | $0 |
| DATA_SOURCE | 2 | pte | r huge_pte_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock |
mm/hugetlb.c hugetlb_fault() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 0 | h->next_nid_to_free | 0-64 |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | mm->page_table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | mm->vma_writer_wait.task->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 1 | mm | $0 |
| DATA_SOURCE | 2 | pte | r huge_pte_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock |
mm/hugetlb.c hugetlb_mfill_atomic_pte() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 2 | pte | $0 |
| UNITS | 1 | mm | unit_byte |
| LOCK2 | &state.ctx->map_changing_lock | ||
| HALF_LOCKED2 | &ctx->map_changing_lock | ||
| TYPE_LOCK | (struct userfaultfd_ctx)->map_changing_lock |
mm/hugetlb.c hugetlb_mfill_atomic_pte() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 2 | pte | $0 |
| UNITS | 1 | mm | unit_byte |
| LOCK2 | &state.ctx->map_changing_lock | ||
| HALF_LOCKED2 | &ctx->map_changing_lock | ||
| TYPE_LOCK | (struct userfaultfd_ctx)->map_changing_lock |
mm/hugetlb.c hugetlb_no_page() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 0 | h->next_nid_to_free | 0-64 |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock |
mm/hugetlb.c hugetlb_pte_stable() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| DATA_SOURCE | 0 | h | $0 |
| DATA_SOURCE | 1 | mm | $1 |
| DATA_SOURCE | 2 | pte | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock |
mm/hugetlb.c hugetlb_unshare_pmds() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 2 | pte | r hugetlb_walk |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &vma->vm_file->f_mapping->i_mmap_rwsem |
mm/hugetlb.c move_huge_pte() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mm | 4096-ptr_max |
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 2 | pte | $4 |
| UNITS | 1 | mm | unit_byte |
| LOCK2 | &mapping->i_mmap_rwsem | ||
| LOCK2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock | ||
| TYPE_LOCK | (struct address_space)->i_mmap_rwsem | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/mincore.c mincore_hugetlb() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| DATA_SOURCE | 2 | pte | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem |
mm/memory-failure.c hwpoison_hugetlb_range() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | h | r hstate_vma |
| DATA_SOURCE | 2 | pte | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem |
mm/mempolicy.c queue_folios_hugetlb() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| DATA_SOURCE | 2 | pte | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem |
mm/hmm.c hmm_vma_walk_hugetlb_entry() -> huge_pte_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | pte | 4096-ptr_max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | mm | s32min-(-1),1-s32max |
| DATA_SOURCE | 2 | pte | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | mm | unit_byte |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem |