Defined in 1 files as a prototype:
Defined in 3 files as a function:
- arch/powerpc/platforms/powernv/vas-window.c, line 127 (as a function)
- drivers/scsi/scsi_debug.c, line 4775 (as a function)
- mm/vma.c, line 525 (as a function)
Referenced in 6 files:
- arch/powerpc/platforms/powernv/vas-window.c
- drivers/crypto/marvell/octeontx/otx_cptvf_main.c
- drivers/scsi/scsi_debug.c
- drivers/vdpa/octeon_ep/octep_vdpa_main.c
- mm/mmap.c, line 1870
- mm/vma.c
Smatch caller information:
drivers/scsi/scsi_debug.c resp_unmap() -> unmap_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sip | 0-1025,1027-1029,1031-u64max |
| PARAM_VALUE | 0 | sip->macc_meta_lck.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | len | 0-s32max |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | sip | r devip2sip |
| DATA_SOURCE | 1 | lba | r get_unaligned_be64 |
| DATA_SOURCE | 2 | len | r get_unaligned_be32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->state_mutex |
drivers/scsi/scsi_debug.c resp_write_same() -> unmap_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sip | 0-1025,1027-1029,1031-u64max |
| PARAM_VALUE | 1 | lba | 0-255 |
| PARAM_VALUE | 2 | len | 0-255 |
| CAPPED_DATA | 2 | len | 1 |
| DATA_SOURCE | 0 | sip | r devip2sip |
| DATA_SOURCE | 1 | lba | $1 |
| DATA_SOURCE | 2 | len | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdev->state_mutex |
mm/mmap.c dup_mmap() -> unmap_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sip | 9155364198634188800 |
| PARAM_VALUE | 0 | sip->first | 4096-ptr_max |
| PARAM_VALUE | 0 | sip->mas | 3206200147527860224 |
| PARAM_VALUE | 0 | sip->mm_wr_locked | 1 |
| PARAM_VALUE | 0 | sip->pg_end | 0 |
| PARAM_VALUE | 0 | sip->pg_start | 0 |
| PARAM_VALUE | 0 | sip->tree_end | 1-u64max |
| PARAM_VALUE | 0 | sip->vma_end | 1-u64max |
| PARAM_VALUE | 0 | sip->vma_start | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &oldmm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/vma.c __mmap_new_file_vma() -> unmap_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sip | 7773808190618550272 |
| PARAM_VALUE | 0 | sip->first | 4096-ptr_max |
| PARAM_VALUE | 0 | sip->mas | 7342498018941853696 |
| PARAM_VALUE | 0 | sip->mm_wr_locked | 1 |
| PARAM_VALUE | 0 | sip->vma_start | 0-18446744073709547520 |
| NOCHECK_CALL |
mm/vma.c vms_clear_ptes() -> unmap_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sip | 3813950624930131968 |
| PARAM_VALUE | 0 | sip->first | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sip->mas | 4666393937844658176,5695852749483675888,5695852749483675896 |
| PARAM_VALUE | 0 | sip->tree_end | 0-s32max |
| PARAM_VALUE | 0 | sip->tree_reset | 1 |
| NOSPEC | 0 | sip->vma_end | |
| NOSPEC | 0 | sip->vma_start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | sip->vma_end | 0-u32max[c] |
| USER_DATA | 0 | sip->vma_start | 0-u64max[c] |
| HALF_LOCKED2 | &mm->mmap_lock |