Defined in 2 files as a function:
- include/linux/fs.h, line 2068 (as a function)
- tools/testing/vma/include/dup.h, line 1382 (as a function)
Referenced in 3 files:
Smatch caller information:
mm/util.c compat_vma_mmap() -> vfs_mmap_prepare()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_op->mmap_prepare | 1-u64max |
| PARAM_VALUE | 1 | desc | 3854971988944465920 |
| BUF_SIZE | 0 | file | (-1),4,24,64,168-s32max |
| BUF_SIZE | 0 | file | (-1),4,24,64,168-s32max |
| CAPPED_DATA | 0 | file | 1 |
| DATA_SOURCE | 0 | file | $0 |
| NOSPEC | 1 | desc->pgoff | |
| NOSPEC | 1 | desc->start | |
| MEM_ZERO | 1 | desc | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | desc->end | 0[c] |
| USER_DATA | 1 | desc->pgoff | 0[c] |
| USER_DATA | 1 | desc->start | 0 |
| NO_OVERFLOW_SIMPLE | 1 | desc->pgoff | |
| HALF_LOCKED2 | &ipcp->lock |
mm/vma.c call_mmap_prepare() -> vfs_mmap_prepare()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 1 | desc | 5235489163923165184 |
| PARAM_VALUE | 1 | desc->action.map_kernel.start | 0 |
| PARAM_VALUE | 1 | desc->action.remap.pgprot.pgprot | 0 |
| PARAM_VALUE | 1 | desc->action.remap.size | 0 |
| PARAM_VALUE | 1 | desc->action.remap.start | 0 |
| PARAM_VALUE | 1 | desc->action.remap.start_pfn | 0 |
| PARAM_VALUE | 1 | desc->action.type | 0 |
| PARAM_VALUE | 1 | desc->file | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->page_prot.pgprot | 0,6756087424609792000 |
| PARAM_VALUE | 1 | desc->pgoff | 0-4503599627370495 |
| PARAM_VALUE | 1 | desc->private_data | 0 |
| PARAM_VALUE | 1 | desc->start | 0-18446744073709547520 |
| PARAM_VALUE | 1 | desc->vm_file | 4096-ptr_max |
| PARAM_VALUE | 1 | desc->vm_ops | 6756087424609792000 |
| DATA_SOURCE | 1 | desc | $1 |
| NO_OVERFLOW_SIMPLE | 1 | desc->pgoff |