Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 11 files:
- arch/arm64/mm/mteswap.c
- include/linux/leafops.h
- include/linux/swapops.h
- kernel/power/swap.c
- mm/debug_vm_pgtable.c
- mm/huge_memory.c
- mm/migrate_device.c
- mm/shmem.c
- mm/swap_state.c, line 847
- mm/swapfile.c
- mm/zswap.c, line 1564
Smatch caller information:
mm/madvise.c make_pte_marker_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 31 |
| PARAM_VALUE | 1 | offset | 4 |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | ptl |
mm/madvise.c softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/madvise.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | ptl |
mm/huge_memory.c make_migration_entry_dirty() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-63 |
| PARAM_VALUE | 1 | offset | 34359738368-288232575174967295 |
| BIT_INFO | 0 | type | 0x0,0x3f |
| BIT_INFO | 1 | offset | 0x0,0x3ffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
mm/huge_memory.c make_migration_entry_young() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-63 |
| PARAM_VALUE | 1 | offset | 17179869184-288231475663339519 |
| BIT_INFO | 0 | type | 0x0,0x3f |
| BIT_INFO | 1 | offset | 0x0,0x3ffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
mm/huge_memory.c make_readable_device_private_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 29 |
| DATA_SOURCE | 1 | offset | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| HALF_LOCKED2 | ptl | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | src_ptl |
mm/huge_memory.c make_readable_exclusive_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 26 |
| DATA_SOURCE | 1 | offset | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ptl | ||
| HALF_LOCKED2 | rcu_read |
mm/huge_memory.c make_readable_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 25 |
| DATA_SOURCE | 1 | offset | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| HALF_LOCKED2 | ptl | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | src_ptl |
mm/huge_memory.c make_writable_device_private_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 28 |
| DATA_SOURCE | 1 | offset | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
mm/huge_memory.c make_writable_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 27 |
| DATA_SOURCE | 1 | offset | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
mm/huge_memory.c softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| HALF_LOCKED2 | ptl | ||
| HALF_LOCKED2 | src_ptl |
mm/userfaultfd.c make_pte_marker_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 31 |
| PARAM_VALUE | 1 | offset | 2 |
| DATA_SOURCE | 1 | offset | $0 |
| LOCK2 | &state.ctx->map_changing_lock | ||
| TYPE_LOCK | (struct userfaultfd_ctx)->map_changing_lock |
mm/userfaultfd.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->map_changing_lock | ||
| HALF_LOCKED2 | rcu_read |
mm/swapfile.c __swap_cluster_alloc_entries() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-127,18446744073709551488-u64max |
| PARAM_VALUE | 1 | offset | 0-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &si->global_cluster_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
mm/swapfile.c __try_to_reclaim_swap() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-127,18446744073709551488-u64max |
| DATA_SOURCE | 1 | offset | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_page |
| HALF_LOCKED2 | global &system_transition_mutex |
mm/swapfile.c generic_max_swapfile_size() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0 |
| PARAM_VALUE | 1 | offset | u64max |
mm/swapfile.c generic_max_swapfile_size() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
mm/swapfile.c make_hwpoison_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 24 |
| PARAM_VALUE | 1 | offset | 0-12384898975264768,9223396226110586880-u64max |
| CAPABLE | 0 | 21 | |
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | ptl | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/swapfile.c make_pte_marker_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 31 |
| PARAM_VALUE | 1 | offset | 2 |
| DATA_SOURCE | 1 | offset | $0 |
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | ptl | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/swapfile.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| CAPABLE | 0 | 21 | |
| LOCK2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/swapfile.c swap_alloc_hibernation_slot() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-127,18446744073709551488-u64max |
| PARAM_VALUE | 1 | offset | 1-u32max |
| CAPPED_DATA | 1 | offset | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex |
mm/swapfile.c swap_range_free() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-127,18446744073709551488-u64max |
| PARAM_VALUE | 1 | offset | 0-8589935101 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_page |
| HALF_LOCKED2 | global &system_transition_mutex |
mm/swapfile.c try_to_unuse() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-127,4294967168-u32max |
| PARAM_VALUE | 1 | offset | 1-u32max |
| DATA_SOURCE | 0 | type | $0 |
| DATA_SOURCE | 1 | offset | r find_next_to_unuse |
| CAPABLE | 0 | 21 |
kernel/power/swap.c alloc_swapdev_block() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | offset | 1-288230376151711743 |
| CAPPED_DATA | 1 | offset | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | type | $0 |
| DATA_SOURCE | 1 | offset | r swp_offset |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_hotplug_lock | ||
| LOCK2 | global &system_transition_mutex |
kernel/power/swap.c free_all_swap_pages() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 1 | offset | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| DATA_SOURCE | 0 | type | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
fs/proc/task_mmu.c make_pte_marker_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 31 |
| PARAM_VALUE | 1 | offset | 1 |
| DATA_SOURCE | 1 | offset | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &vma->vm_file->f_mapping->i_mmap_rwsem |
fs/proc/task_mmu.c softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | ptl |
fs/proc/task_mmu.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vma->vm_file->f_mapping->i_mmap_rwsem | ||
| HALF_LOCKED2 | ptl |
mm/page_table_check.c softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ptl | ||
| HALF_LOCKED2 | vmf->ptl |
mm/page_table_check.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &ksm_thread_mutex | ||
| HALF_LOCKED2 | old_ptl | ||
| HALF_LOCKED2 | ptl | ||
| HALF_LOCKED2 | rcu_read |
mm/zswap.c zswap_store() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-63 |
| PARAM_VALUE | 1 | offset | 0-288230380446679037 |
| DATA_SOURCE | 0 | type | r swp_type |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/rmap.c make_device_exclusive_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 30 |
| PARAM_VALUE | 1 | offset | 0-12384898975264768,9223396226110586880-u64max |
| DATA_SOURCE | 1 | offset | $0 |
| UNITS | 1 | offset | unit_page |
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/rmap.c make_hwpoison_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 24 |
| PARAM_VALUE | 1 | offset | 0-12384898975264768,9223396226110586880-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &anon_vma->root->rwsem | ||
| HALF_LOCKED2 | &folio->private->lock |
mm/rmap.c make_migration_entry_dirty() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-63 |
| PARAM_VALUE | 1 | offset | 34359738368-288232575174967295 |
| BIT_INFO | 0 | type | 0x0,0x3f |
| BIT_INFO | 1 | offset | 0x0,0x3ffffffffffffff |
| 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/rmap.c make_migration_entry_young() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-63 |
| PARAM_VALUE | 1 | offset | 17179869184-288231475663339519 |
| BIT_INFO | 0 | type | 0x0,0x3f |
| BIT_INFO | 1 | offset | 0x0,0x3ffffffffffffff |
| 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/rmap.c make_readable_exclusive_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 26 |
| PARAM_VALUE | 1 | offset | 0-12384898975264768,9223396226110586880-u64max |
| DATA_SOURCE | 1 | offset | $0 |
| 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/rmap.c make_readable_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 25 |
| PARAM_VALUE | 1 | offset | 0-12384898975264768,9223396226110586880-u64max |
| DATA_SOURCE | 1 | offset | $0 |
| 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/rmap.c make_writable_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 27 |
| PARAM_VALUE | 1 | offset | 0-12384898975264768,9223396226110586880-u64max |
| DATA_SOURCE | 1 | offset | $0 |
| 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/rmap.c softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| 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/rmap.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &anon_vma->root->rwsem | ||
| HALF_LOCKED2 | &folio->private->lock |
mm/page_vma_mapped.c softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | global &ksm_thread_mutex | ||
| HALF_LOCKED2 | global &mf_mutex | ||
| HALF_LOCKED2 | rcu_read |
mm/page_vma_mapped.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | global &ksm_thread_mutex | ||
| HALF_LOCKED2 | global &mf_mutex | ||
| HALF_LOCKED2 | rcu_read |
mm/mprotect.c make_pte_marker_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 31 |
| PARAM_VALUE | 1 | offset | 1 |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/mprotect.c make_readable_device_private_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 29 |
| PARAM_VALUE | 1 | offset | 0-288230376151711743 |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/mprotect.c make_readable_exclusive_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 26 |
| PARAM_VALUE | 1 | offset | 0-288230376151711743 |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/mprotect.c make_readable_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 25 |
| PARAM_VALUE | 1 | offset | 0-288230376151711743 |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/mprotect.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/shmem.c make_pte_marker_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 31 |
| PARAM_VALUE | 1 | offset | 2 |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
mm/shmem.c shmem_split_large_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-63 |
| BIT_INFO | 0 | type | 0x0,0x3f |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &((&xas)->xa)->xa_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &inode->i_rwsem |
mm/shmem.c shmem_swapin_folio() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-63 |
| BIT_INFO | 0 | type | 0x0,0x3f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | offset | 0-290482175965396990[c] |
| USER_DATA | 1 | offset | 0-290482175965396990 |
| UNITS | 1 | offset | unit_page |
mm/hugetlb.c make_pte_marker_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 31 |
| PARAM_VALUE | 1 | offset | 1-7 |
| DATA_SOURCE | 1 | offset | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| HALF_LOCKED2 | &state.ctx->map_changing_lock | ||
| HALF_LOCKED2 | &vma->vm_file->f_mapping->i_mmap_rwsem | ||
| HALF_LOCKED2 | src_ptl |
mm/hugetlb.c make_readable_exclusive_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 26 |
| PARAM_VALUE | 1 | offset | 0-288230376151711743 |
| DATA_SOURCE | 1 | offset | $0 |
| PREEMPT_ADD | |||
| 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/hugetlb.c make_readable_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 25 |
| PARAM_VALUE | 1 | offset | 0-288230376151711743 |
| DATA_SOURCE | 1 | offset | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| HALF_LOCKED2 | &vma->vm_file->f_mapping->i_mmap_rwsem | ||
| HALF_LOCKED2 | src_ptl |
mm/hugetlb.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| HALF_LOCKED2 | &state.ctx->map_changing_lock | ||
| HALF_LOCKED2 | &vma->vm_file->f_mapping->i_mmap_rwsem | ||
| HALF_LOCKED2 | src_ptl |
mm/mremap.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | old_ptl | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock | ||
| HALF_LOCKED2 | new_ptl | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/ksm.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/migrate_device.c make_migration_entry_dirty() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-63 |
| PARAM_VALUE | 1 | offset | 34359738368-288232575174967295 |
| BIT_INFO | 0 | type | 0x0,0x3f |
| BIT_INFO | 1 | offset | 0x0,0x3ffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/migrate_device.c make_migration_entry_young() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-63 |
| PARAM_VALUE | 1 | offset | 17179869184-288231475663339519 |
| BIT_INFO | 0 | type | 0x0,0x3f |
| BIT_INFO | 1 | offset | 0x0,0x3ffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/migrate_device.c make_readable_device_private_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 29 |
| PARAM_VALUE | 1 | offset | 0-12384898975264768,9223396226110586880-u64max |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &drm->dmem->mutex |
mm/migrate_device.c make_readable_exclusive_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 26 |
| PARAM_VALUE | 1 | offset | 0-12384898975264768,9223396226110586880-u64max |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/migrate_device.c make_readable_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 25 |
| PARAM_VALUE | 1 | offset | 0-12384898975264768,9223396226110586880-u64max |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/migrate_device.c make_writable_device_private_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 28 |
| PARAM_VALUE | 1 | offset | 0-12384898975264768,9223396226110586880-u64max |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &drm->dmem->mutex |
mm/migrate_device.c make_writable_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 27 |
| PARAM_VALUE | 1 | offset | 0-12384898975264768,9223396226110586880-u64max |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/migrate_device.c softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/migrate_device.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/memory.c make_pte_marker_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 31 |
| PARAM_VALUE | 1 | offset | 1-7 |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| HALF_LOCKED2 | dst_ptl | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | src_ptl |
mm/memory.c make_readable_device_private_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 29 |
| PARAM_VALUE | 1 | offset | 0-288230376151711743 |
| DATA_SOURCE | 1 | offset | $0 |
| 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 make_readable_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 25 |
| PARAM_VALUE | 1 | offset | 0-288230376151711743 |
| DATA_SOURCE | 1 | offset | $0 |
| 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 softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock |
mm/memory.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| HALF_LOCKED2 | dst_ptl | ||
| HALF_LOCKED2 | ptl | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | src_ptl |
mm/mincore.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ptl |
mm/memory-failure.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ptl |
mm/damon/ops-common.c softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ptl |
mm/damon/ops-common.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ptl |
mm/mempolicy.c softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/mempolicy.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ptl |
mm/debug_vm_pgtable.c init_args() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0 |
| PARAM_VALUE | 1 | offset | u64max |
mm/debug_vm_pgtable.c init_args() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 23 |
| PARAM_VALUE | 1 | offset | 0-288230376151711743 |
| DATA_SOURCE | 1 | offset | r swp_offset |
mm/debug_vm_pgtable.c make_readable_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 25 |
| DATA_SOURCE | 1 | offset | $0 |
mm/debug_vm_pgtable.c make_writable_migration_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 27 |
| DATA_SOURCE | 1 | offset | $0 |
mm/debug_vm_pgtable.c softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
mm/debug_vm_pgtable.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
mm/migrate.c make_readable_device_private_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 29 |
| PARAM_VALUE | 1 | offset | 0-12384898975264768,9223396226110586880-u64max |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_page |
| HALF_LOCKED2 | &anon_vma->root->rwsem | ||
| HALF_LOCKED2 | &folio->private->lock |
mm/migrate.c make_writable_device_private_entry() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 28 |
| PARAM_VALUE | 1 | offset | 0-12384898975264768,9223396226110586880-u64max |
| DATA_SOURCE | 1 | offset | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_page |
| HALF_LOCKED2 | &anon_vma->root->rwsem | ||
| HALF_LOCKED2 | &folio->private->lock |
mm/migrate.c softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctx->map_changing_lock | ||
| HALF_LOCKED2 | ptl |
mm/migrate.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ptl |
mm/hmm.c softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/hmm.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/khugepaged.c softleaf_from_pmd() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | pml |
mm/khugepaged.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/swap_state.c softleaf_from_pte() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-31 |
| PARAM_VALUE | 1 | offset | 0-1125899906842623 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | rcu_read |
mm/swap_state.c swap_cluster_readahead() -> swp_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | type | 0-63 |
| PARAM_VALUE | 1 | offset | 1-u32max |
| CAPPED_DATA | 1 | offset | 1 |
| CAPPED_DATA | 1 | offset | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | offset | unit_page |