Defined in 2 files as a prototype:
- arch/riscv/include/asm/tlbflush.h, line 71 (as a prototype)
- arch/x86/include/asm/tlbflush.h, line 345 (as a prototype)
Defined in 2 files as a function:
Referenced in 5 files:
- arch/riscv/include/asm/tlb.h, line 22
- arch/x86/include/asm/tlb.h, line 23
- arch/x86/include/asm/tlbflush.h
- arch/x86/kernel/alternative.c, line 2464
- arch/x86/kernel/ldt.c, line 377
Smatch caller information:
mm/madvise.c tlb_flush() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | stride_shift | 12,21,30,39 |
| DATA_SOURCE | 3 | stride_shift | r tlb_get_unmap_shift |
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
mm/huge_memory.c move_huge_pmd() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->notifier_subscriptions->has_itree | 0-1 |
| PARAM_VALUE | 0 | mm->page_table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | end | 1 |
| DATA_SOURCE | 1 | start | $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-18446744073709551614[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock | ||
| HALF_LOCKED2 | new_ptl | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/mmap.c dup_mmap() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->context.ldt | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mm->context.ldt->nr_entries | 0-8192 |
| PARAM_VALUE | 0 | mm->context.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mm->context.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mm->exe_file | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mm->exe_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | mm->exe_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | mm->exe_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | mm->exe_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | mm->exe_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | mm->exe_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | mm->exe_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | mm->exe_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | mm->exe_file->f_security | 0 |
| PARAM_VALUE | 0 | mm->exe_file->f_task_work.func | 5179756662909861888 |
| PARAM_VALUE | 0 | mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | stride_shift | 0 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| DATA_SOURCE | 0 | mm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| LOCK2 | 0 | &mm->mmap_lock |
mm/userfaultfd.c move_present_ptes() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm->iommu_mm->pasid | 0-4294967295 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->delays->blkio_count | 0-4294967295 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->delays->blkio_delay_max | 0-s64max |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->delays->blkio_delay_min | 0-s64max |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->kcov->mode | 0-4294967295 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->kcov->remote | 0-1 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->kcov->remote_size | 0-4294967295 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->kcov_remote->mode | 0-4294967295 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->kcov_remote->remote | 0-1 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->kcov_remote->remote_size | 0-4294967295 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->sched_task_group->idle | s32min-s32max |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->thread_pid->attr->exit_code | s32min-s32max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 2 | end | 1-u64max |
| PARAM_VALUE | 4 | freed_tables | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 2 | end | $4 [m] |
| PARAM_COMPARE | 1 | start | < $2 |
| PARAM_COMPARE | 2 | end | > $1 |
| PARAM_COMPARE | 2 | end | > $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| NOSPEC | 2 | end | |
| NOSPEC | 2 | end | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-s32max[c] |
| USER_DATA | 2 | end | 1-2147491839[c] |
| NO_OVERFLOW_SIMPLE | 1 | start | |
| NO_OVERFLOW_SIMPLE | 2 | end | |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &ctx->map_changing_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct userfaultfd_ctx)->map_changing_lock |
fs/proc/task_mmu.c clear_refs_write() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mmap_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | stride_shift | 0 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| DATA_SOURCE | 0 | mm | r get_task_mm |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mm->mmap_lock | |
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
fs/proc/task_mmu.c pagemap_scan_hugetlb_entry() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 4 | freed_tables | 1 |
| CAPPED_DATA | 2 | end | 1 |
| CAPPED_DATA | 2 | end | 1 |
| DATA_SOURCE | 1 | start | $2 |
| DATA_SOURCE | 2 | end | $3 [m] |
| PARAM_COMPARE | 1 | start | != $2 |
| PARAM_COMPARE | 2 | end | != $1 |
| PARAM_COMPARE | 2 | end | != $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| NOSPEC | 2 | end | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-18446744073709551614[c] |
| UNITS | 0 | 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() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm->page_table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 1 | start | $1 [m] |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-18446744073709551614[c] |
| UNITS | 0 | 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 pagemap_scan_pmd_entry() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 1-u64max |
| PARAM_VALUE | 4 | freed_tables | 1 |
| DATA_SOURCE | 1 | start | $1 [m] |
| PARAM_COMPARE | 1 | start | <= $2 |
| PARAM_COMPARE | 2 | end | >= $1 |
| PARAM_COMPARE | 2 | end | >= $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| NOSPEC | 2 | end | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 1-u64max[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
fs/proc/task_mmu.c pagemap_scan_thp_entry() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | freed_tables | 1 |
| CAPPED_DATA | 2 | end | 1 |
| CAPPED_DATA | 2 | end | 1 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | end | $2 [m] |
| PARAM_COMPARE | 1 | start | != $2 |
| PARAM_COMPARE | 2 | end | != $1 |
| PARAM_COMPARE | 2 | end | != $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| NOSPEC | 2 | end | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-u64max[c] |
| UNITS | 0 | mm | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock |
mm/rmap.c flush_tlb_batched_pending() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | stride_shift | 0 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| DATA_SOURCE | 0 | mm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | old_ptl | ||
| HALF_LOCKED2 | ptl | ||
| HALF_LOCKED2 | rcu_read |
mm/rmap.c try_to_unmap_one() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 4 | freed_tables | 1 |
| PARAM_COMPARE | 1 | start | <= $2 |
| PARAM_COMPARE | 1 | start | <= $2 |
| PARAM_COMPARE | 2 | end | >= $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &anon_vma->root->rwsem | ||
| HALF_LOCKED2 | &folio->private->lock |
mm/mprotect.c tlb_flush() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | stride_shift | 12,21,30,39 |
| DATA_SOURCE | 3 | stride_shift | r tlb_get_unmap_shift |
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
mm/hugetlb.c tlb_flush() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | stride_shift | 12,21,30,39 |
| DATA_SOURCE | 3 | stride_shift | r tlb_get_unmap_shift |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-18446744073709551614[c] |
| USER_DATA | 2 | end | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | mm->arg_start | |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &mapping->i_mmap_rwsem | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &vma->vm_file->f_mapping->i_mmap_rwsem |
mm/mremap.c move_huge_pud() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | end | 1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-18446744073709551614[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock | ||
| HALF_LOCKED2 | new_ptl | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/mremap.c move_normal_pmd() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | end | 1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-18446744073709551614[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock | ||
| HALF_LOCKED2 | new_ptl | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/mremap.c move_normal_pud() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | end | 1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-18446744073709551614[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock | ||
| HALF_LOCKED2 | new_ptl | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/mremap.c move_ptes() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->tlb_flush_batched.counter | 0-s32max |
| PARAM_VALUE | 2 | end | 1-u64max |
| PARAM_VALUE | 4 | freed_tables | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | end | 1 |
| CAPPED_DATA | 2 | end | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| 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 |
arch/x86/kernel/alternative.c __text_poke() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->page_table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | stride_shift | 12 |
| PARAM_VALUE | 4 | freed_tables | 0 |
| CAPPED_DATA | 0 | mm | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | flags | ||
| HALF_LOCKED2 | global &pack_mutex | ||
| HALF_LOCKED2 | global &text_mutex |
mm/migrate_device.c migrate_vma_collect_pmd() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | freed_tables | 1 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | end | $2 |
| PARAM_COMPARE | 1 | start | >= $2 |
| PARAM_COMPARE | 2 | end | <= $1 |
| PARAM_COMPARE | 2 | end | <= $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 2 | end | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock |
mm/migrate_device.c migrate_vma_collect_pmd() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | freed_tables | 1 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | end | $2 |
| PARAM_COMPARE | 1 | start | >= $2 |
| PARAM_COMPARE | 2 | end | <= $1 |
| PARAM_COMPARE | 2 | end | <= $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 2 | end | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock |
mm/migrate_device.c migrate_vma_collect_pmd() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | freed_tables | 1 |
| CAPPED_DATA | 2 | end | 1 |
| CAPPED_DATA | 2 | end | 1 |
| DATA_SOURCE | 1 | start | $1 |
| DATA_SOURCE | 2 | end | $2 |
| PARAM_COMPARE | 1 | start | >= $2 |
| PARAM_COMPARE | 2 | end | <= $1 |
| PARAM_COMPARE | 2 | end | <= $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| NOSPEC | 2 | end | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-u64max[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock |
mm/mmu_gather.c tlb_flush() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | stride_shift | 12,21,30,39 |
| DATA_SOURCE | 3 | stride_shift | r tlb_get_unmap_shift |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-u64max[c] |
| USER_DATA | 2 | end | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | mm->arg_start | |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
mm/memory.c flush_tlb_page() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->tlb_flush_pending.counter | 1 |
| PARAM_VALUE | 1 | start | 0,4096-u64max |
| PARAM_VALUE | 2 | end | 4096 |
| PARAM_VALUE | 3 | stride_shift | 12 |
| PARAM_VALUE | 4 | freed_tables | 0 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 1 | start | $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0,4096-u64max[c] |
| USER_DATA | 2 | end | 4096[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | vmf->ptl | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | rcu_read |
mm/memory.c tlb_flush() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 3 | stride_shift | 12,21,30,39 |
| DATA_SOURCE | 3 | stride_shift | r tlb_get_unmap_shift |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-u64max[c] |
| USER_DATA | 2 | end | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | mm->arg_start | |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | ptl |
arch/x86/kernel/ldt.c unmap_ldt_struct() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->context.ldt | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->context.ldt->entries | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->context.ldt->nr_entries | 1-8192 |
| PARAM_VALUE | 0 | mm->context.ldt->slot | (-1)-1 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mm->context.ldt_usr_sem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mm->context.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | mm->context.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | mm->context.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | stride_shift | 12 |
| PARAM_VALUE | 4 | freed_tables | 0 |
| DATA_SOURCE | 0 | mm | $0 |
| DATA_SOURCE | 1 | start | r ldt_slot_va |
| NOCHECK_CALL | |||
| USER_DATA | 0 | mm->context.ldt->nr_entries | 1-8192[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| LOCK2 | 0 | &mm->context.ldt_usr_sem | |
| TYPE_LOCK | (struct mm_context_t)->ldt_usr_sem |
mm/pgtable-generic.c flush_tlb_page() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 3 | stride_shift | 12 |
| PARAM_VALUE | 4 | freed_tables | 0 |
| DATA_SOURCE | 1 | start | $1 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-u64max[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &ctx->map_changing_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &vma->vm_private_data->rw_sema | ||
| HALF_LOCKED2 | global &ksm_thread_mutex | ||
| HALF_LOCKED2 | ptl | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | vmf->ptl |
mm/pgtable-generic.c pmdp_collapse_flush() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | freed_tables | 1 |
| DATA_SOURCE | 1 | start | $1 |
| BIT_INFO | 1 | start | 0x0,0xffffffffffe00000 |
| BIT_INFO | 1 | start | 0x0,0xffffffffffe00000 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0,2097152-18446744073707454464[c] |
| USER_DATA | 2 | end | 2097152[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &mapping->i_mmap_rwsem | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &vma->anon_vma->root->rwsem | ||
| HALF_LOCKED2 | rcu_read |
mm/pgtable-generic.c pmdp_huge_clear_flush() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| BUF_SIZE | 0 | mm | (-1),1-s32max |
| BUF_SIZE | 0 | mm | (-1),1-s32max |
| DATA_SOURCE | 1 | start | $1 |
| BIT_INFO | 1 | start | 0x0,0xffffffffffe00000 |
| BIT_INFO | 1 | start | 0x0,0xffffffffffe00000 |
| NOSPEC | 1 | start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-u64max[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &ctx->map_changing_lock |
mm/pgtable-generic.c pmdp_invalidate() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| BUF_SIZE | 0 | mm | (-1),1-s32max |
| BUF_SIZE | 0 | mm | (-1),1-s32max |
| DATA_SOURCE | 1 | start | $1 |
| NOSPEC | 1 | start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-u64max[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
mm/pgtable-generic.c pudp_huge_clear_flush() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | mm->notifier_subscriptions->active_invalidate_ranges | 0-s64max |
| PARAM_VALUE | 0 | mm->notifier_subscriptions->has_itree | 0-1 |
| PARAM_VALUE | 0 | mm->notifier_subscriptions->invalidate_seq | 0-s64max |
| PARAM_VALUE | 0 | mm->vma_writer_wait.task->sched_class->uclamp_enabled | 0-1 |
| PARAM_VALUE | 1 | start | 0,1073741824-u64max |
| PARAM_VALUE | 2 | end | 1073741824 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| BUF_SIZE | 0 | mm | (-1),1-s32max |
| BUF_SIZE | 0 | mm | (-1),1-s32max |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| DATA_SOURCE | 1 | start | $1 |
| BIT_INFO | 1 | start | 0x0,0xffffffffc0000000 |
| BIT_INFO | 1 | start | 0x0,0xffffffffc0000000 |
| NOSPEC | 1 | start | |
| NOSPEC | 1 | start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0,1073741824-u64max[c] |
| USER_DATA | 2 | end | 1073741824[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &mm->mmap_lock |
mm/mapping_dirty_helpers.c wp_clean_post_vma() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | freed_tables | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem |
mm/mapping_dirty_helpers.c wp_clean_post_vma() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0-18446744073709551614 |
| PARAM_VALUE | 2 | end | 1-u64max |
| PARAM_VALUE | 4 | freed_tables | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| PARAM_COMPARE | 1 | start | < $2 |
| PARAM_COMPARE | 2 | end | > $1 |
| PARAM_COMPARE | 2 | end | > $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem |
mm/khugepaged.c try_collapse_pte_mapped_thp() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | stride_shift | 0 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| DATA_SOURCE | 0 | mm | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| LOCK2 | ptl | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | 0 | &mm->mmap_lock |
mm/khugepaged.c try_collapse_pte_mapped_thp() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 2 | end | u64max |
| PARAM_VALUE | 3 | stride_shift | 0 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| DATA_SOURCE | 0 | mm | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | mm | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | ptl | ||
| HALF_LOCKED2 | 0 | &mm->mmap_lock |
arch/x86/mm/pgtable.c pmdp_clear_flush_young() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->notifier_subscriptions->has_itree | 0-1 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| DATA_SOURCE | 1 | start | $1 |
| BIT_INFO | 1 | start | 0x0,0xffffffffffe00000 |
| BIT_INFO | 1 | start | 0x0,0xffffffffffe00000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-2147495935[c] |
| USER_DATA | 2 | end | 2097152-2149593087[c] |
| NO_OVERFLOW_SIMPLE | 1 | start | |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &anon_vma->root->rwsem | ||
| HALF_LOCKED2 | &folio->private->lock |
arch/x86/mm/pgtable.c pudp_invalidate() -> flush_tlb_mm_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mm | 4096-ptr_max |
| PARAM_VALUE | 0 | mm->iommu_mm->pasid | 0-4294967295 |
| PARAM_VALUE | 0 | mm->notifier_subscriptions->has_itree | 0-1 |
| PARAM_VALUE | 4 | freed_tables | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 1 | start | 1 |
| CAPPED_DATA | 2 | end | 1 |
| DATA_SOURCE | 1 | start | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | start | 0-u64max[c] |
| UNITS | 0 | mm | unit_byte |
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | end | unit_byte |
| HALF_LOCKED2 | &dst_mm->mmap_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock |