Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/rmap.c try_to_migrate_one() -> set_pmd_migration_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pvmw | 3393234682567680000 |
| PARAM_VALUE | 0 | pvmw->flags | 0-1,65536-u32max |
| PARAM_VALUE | 0 | pvmw->nr_pages | 0-u32max |
| PARAM_VALUE | 0 | pvmw->pfn | 0-1099511628286 |
| PARAM_VALUE | 0 | pvmw->pmd | 4096-ptr_max |
| PARAM_VALUE | 0 | pvmw->pte | 0 |
| PARAM_VALUE | 0 | pvmw->ptl | 4096-ptr_max |
| PARAM_VALUE | 0 | pvmw->vma | 4096-ptr_max |
| 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/migrate_device.c migrate_vma_collect_huge_pmd() -> set_pmd_migration_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pvmw | 5033454667062722560 |
| PARAM_VALUE | 0 | pvmw->flags | 0 |
| PARAM_VALUE | 0 | pvmw->nr_pages | 0 |
| PARAM_VALUE | 0 | pvmw->pfn | 0 |
| PARAM_VALUE | 0 | pvmw->pgoff | 0 |
| PARAM_VALUE | 0 | pvmw->pmd | 4096-ptr_max |
| PARAM_VALUE | 0 | pvmw->pte | 0 |
| PARAM_VALUE | 0 | pvmw->ptl | 4096-ptr_max |
| PARAM_VALUE | 0 | pvmw->vma | 4096-ptr_max |
| NOSPEC | 0 | pvmw->address | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | pvmw->address | 0-u64max[c] |
| HALF_LOCKED2 | &mm->mmap_lock |