Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/pci/proc.c proc_bus_pci_mmap() -> pci_mmap_resource_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->non_mappable_bars | 0 |
| PARAM_VALUE | 0 | pdev->resource | 4096-ptr_max |
| PARAM_VALUE | 1 | bar | 0-5 |
| PARAM_VALUE | 2 | vma | 4096-ptr_max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_pgoff | 0-9007199254740990,18442240474082181121-u64max |
| PARAM_VALUE | 3 | mmap_state | 1-u32max |
| PARAM_VALUE | 4 | write_combine | 0-1 |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pdev | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | vma | (-1),1-s32max |
| BUF_SIZE | 2 | vma | (-1),1-s32max |
| BUF_SIZE | 2 | vma->vm_file | (-1)-0,4,24,64,168-s32max |
| BUF_SIZE | 2 | vma->vm_private_data | (-1),1-s32max |
| DATA_SOURCE | 0 | pdev | r pde_data |
| DATA_SOURCE | 2 | vma | $1 |
| FUZZY_MAX | 1 | bar | 5 |
| FUZZY_MAX | 4 | write_combine | 1 |
| CAPABLE | 0 | 17 | |
| NOSPEC | 2 | vma->vm_pgoff | |
| NOSPEC | 2 | vma->vm_start | |
| HARD_MAX | 1 | bar | 5 |
| HARD_MAX | 4 | write_combine | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 2 | vma->vm_pgoff | 0-4503599627370495,18442240474082181121-u64max |
| USER_DATA | 2 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 2 | vma->vm_pgoff | |
| HALF_LOCKED2 | &ipcp->lock |
drivers/pci/pci-sysfs.c pci_mmap_resource() -> pci_mmap_resource_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->resource | 4096-ptr_max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | vma->vm_pgoff | 0-9007199254740990 |
| PARAM_VALUE | 3 | mmap_state | 0-1 |
| PARAM_VALUE | 4 | write_combine | 0-1 |
| BUF_SIZE | 2 | vma | (-1),1-s32max |
| BUF_SIZE | 2 | vma | (-1),1-s32max |
| BUF_SIZE | 2 | vma->vm_file | (-1),1-s32max |
| BUF_SIZE | 2 | vma->vm_private_data | (-1),1-s32max |
| CAPPED_DATA | 2 | vma->vm_pgoff | 1 |
| DATA_SOURCE | 2 | vma | $2 |
| DATA_SOURCE | 4 | write_combine | $3 |
| FUZZY_MAX | 3 | mmap_state | 1 |
| NOSPEC | 2 | vma->vm_pgoff | |
| NOSPEC | 2 | vma->vm_start | |
| HARD_MAX | 3 | mmap_state | 1 |
| HARD_MAX | 4 | write_combine | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 2 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 2 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 2 | vma->vm_pgoff | |
| UNITS | 1 | bar | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &ipcp->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |