Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 13 files:
- drivers/accel/habanalabs/common/memory.c, line 2107
- drivers/infiniband/sw/rdmavt/mmap.c, line 106
- drivers/infiniband/sw/rxe/rxe_mmap.c, line 85
- drivers/infiniband/sw/siw/siw_verbs.c, line 77
- drivers/media/common/videobuf2/videobuf2-vmalloc.c, line 180
- drivers/video/fbdev/vfb.c, line 387
- kernel/bpf/arraymap.c, line 588
- kernel/bpf/ringbuf.c
- mm/nommu.c, line 1654
- mm/vmalloc.c, line 4883
- net/xdp/xsk.c, line 2094
- samples/vfio-mdev/mdpy.c, line 435
- sound/core/memalloc.c, line 367
Smatch caller information:
sound/core/memalloc.c snd_dma_vmalloc_mmap() -> remap_vmalloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | pgoff | 0 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 0 | vma->vm_ops | (-1),144 |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| DATA_SOURCE | 0 | vma | $1 |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff |
drivers/video/fbdev/vfb.c vfb_mmap() -> remap_vmalloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| DATA_SOURCE | 0 | vma | $1 |
| BIT_INFO | 0 | vma->vm_page_prot | 0x0,0x7fffffffffffffff |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| NOSPEC | 2 | pgoff | |
| NOSPEC | 2 | pgoff | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| USER_DATA | 2 | pgoff | 0-4503599627370495[c] |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| NO_OVERFLOW_SIMPLE | 2 | pgoff | |
| UNITS | 1 | addr | unit_byte |
| UNITS | 2 | pgoff | unit_page |
| LOCK2 | &info->mm_lock | ||
| HALF_LOCKED2 | &ipcp->lock | ||
| TYPE_LOCK | (struct fb_info)->mm_lock |
drivers/infiniband/sw/siw/siw_verbs.c siw_mmap() -> remap_vmalloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_ops | 3158554682918604800 |
| PARAM_VALUE | 0 | vma->vm_ops->access | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->close | 4810486129246203904 |
| PARAM_VALUE | 0 | vma->vm_ops->fault | 3470724416327221248 |
| PARAM_VALUE | 0 | vma->vm_ops->find_normal_page | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->get_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->huge_fault | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->map_pages | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mapped | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->may_split | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mprotect | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mremap | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->name | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->open | 7977397490154700800 |
| PARAM_VALUE | 0 | vma->vm_ops->page_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pagesize | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pfn_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->set_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->uffd_ops | 0 |
| PARAM_VALUE | 0 | vma->vm_pgoff | 0-u32max |
| PARAM_VALUE | 2 | pgoff | 0 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 0 | vma->vm_ops | 144 |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| BUF_SIZE | 1 | addr | 1-s32max |
| DATA_SOURCE | 0 | vma | $1 |
| BIT_INFO | 0 | vma->vm_start | 0x0,0xfffffffffffff000 |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| LOCK2 | &file->device->disassociate_srcu | ||
| LOCK2 | &file->disassociation_lock | ||
| HALF_LOCKED2 | &ipcp->lock | ||
| TYPE_LOCK | (struct ib_uverbs_device)->disassociate_srcu | ||
| TYPE_LOCK | (struct ib_uverbs_file)->disassociation_lock |
kernel/bpf/arraymap.c array_map_mmap() -> remap_vmalloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->flags.__vma_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_ops | 2996806912159092736 |
| PARAM_VALUE | 0 | vma->vm_ops->access | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->close | 4838103015481118720 |
| PARAM_VALUE | 0 | vma->vm_ops->fault | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->find_normal_page | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->get_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->huge_fault | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->map_pages | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mapped | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->may_split | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mprotect | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mremap | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->name | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->open | 3193429410715623424 |
| PARAM_VALUE | 0 | vma->vm_ops->page_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pagesize | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pfn_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->set_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->uffd_ops | 0 |
| PARAM_VALUE | 0 | vma->vm_private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0,4096-ptr_max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 0 | vma->vm_ops | 144 |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1216 |
| DATA_SOURCE | 0 | vma | $1 |
| BIT_INFO | 0 | vma->vm_flags | 0x8,0xffffffffffffffff |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| USER_DATA | 2 | pgoff | 1-4503599627370496[c] |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| UNITS | 2 | pgoff | unit_page |
| HALF_LOCKED2 | &ipcp->lock |
drivers/media/common/videobuf2/videobuf2-vmalloc.c vb2_vmalloc_mmap() -> remap_vmalloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 2 | pgoff | 0 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| BUF_SIZE | 1 | addr | 4096-s32max |
| DATA_SOURCE | 0 | vma | $1 |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| UNITS | 1 | addr | unit_byte |
| HALF_LOCKED2 | &q->mmap_lock |
samples/vfio-mdev/mdpy.c mdpy_mmap() -> remap_vmalloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_pgoff | 1 |
| PARAM_VALUE | 2 | pgoff | 0 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| BUF_SIZE | 1 | addr | 1-s32max |
| CAPPED_DATA | 0 | vma->vm_start | 1 |
| DATA_SOURCE | 0 | vma | $1 |
| PARAM_COMPARE | 0 | vma->vm_end | >= $0->vm_start |
| BIT_INFO | 0 | vma->vm_flags | 0x8,0xffffffffffffffff |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| HALF_LOCKED2 | &ipcp->lock |
net/xdp/xsk.c xsk_mmap() -> remap_vmalloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 2 | pgoff | 0 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| DATA_SOURCE | 0 | vma | $2 |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| HALF_LOCKED2 | &ipcp->lock |
drivers/infiniband/sw/rxe/rxe_mmap.c rxe_mmap() -> remap_vmalloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_ops | 3158554682918604800 |
| PARAM_VALUE | 0 | vma->vm_ops->access | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->close | 4810486129246203904 |
| PARAM_VALUE | 0 | vma->vm_ops->fault | 3470724416327221248 |
| PARAM_VALUE | 0 | vma->vm_ops->find_normal_page | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->get_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->huge_fault | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->map_pages | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mapped | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->may_split | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mprotect | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mremap | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->name | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->open | 7977397490154700800 |
| PARAM_VALUE | 0 | vma->vm_ops->page_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pagesize | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pfn_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->set_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->uffd_ops | 0 |
| PARAM_VALUE | 2 | pgoff | 0 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 0 | vma->vm_ops | 144 |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| DATA_SOURCE | 0 | vma | $1 |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| LOCK2 | &file->device->disassociate_srcu | ||
| LOCK2 | &file->disassociation_lock | ||
| HALF_LOCKED2 | &ipcp->lock | ||
| TYPE_LOCK | (struct ib_uverbs_device)->disassociate_srcu | ||
| TYPE_LOCK | (struct ib_uverbs_file)->disassociation_lock |
drivers/infiniband/sw/rdmavt/mmap.c rvt_mmap() -> remap_vmalloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_ops | 3158554682918604800 |
| PARAM_VALUE | 0 | vma->vm_ops->access | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->close | 4810486129246203904 |
| PARAM_VALUE | 0 | vma->vm_ops->fault | 3470724416327221248 |
| PARAM_VALUE | 0 | vma->vm_ops->find_normal_page | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->get_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->huge_fault | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->map_pages | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mapped | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->may_split | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mprotect | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mremap | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->name | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->open | 7977397490154700800 |
| PARAM_VALUE | 0 | vma->vm_ops->page_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pagesize | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pfn_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->set_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->uffd_ops | 0 |
| PARAM_VALUE | 2 | pgoff | 0 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 0 | vma->vm_ops | 144 |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1-s32max |
| BUF_SIZE | 1 | addr | 1-s32max |
| DATA_SOURCE | 0 | vma | $1 |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| LOCK2 | &file->device->disassociate_srcu | ||
| LOCK2 | &file->disassociation_lock | ||
| HALF_LOCKED2 | &ipcp->lock | ||
| TYPE_LOCK | (struct ib_uverbs_device)->disassociate_srcu | ||
| TYPE_LOCK | (struct ib_uverbs_file)->disassociation_lock |
drivers/accel/habanalabs/common/memory.c hl_ts_mmap() -> remap_vmalloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->flags.__vma_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_file->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | vma->vm_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_ops | 6229407368966115328 |
| PARAM_VALUE | 0 | vma->vm_pgoff | 0 |
| PARAM_VALUE | 0 | vma->vm_private_data | 4096-ptr_max |
| PARAM_VALUE | 2 | pgoff | 0 |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_ops | 144 |
| BUF_SIZE | 1 | addr | 1-s32max |
| CAPPED_DATA | 0 | vma->vm_start | 1 |
| DATA_SOURCE | 0 | vma | $1 |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520[c] |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| HALF_LOCKED2 | &ipcp->lock |
kernel/bpf/ringbuf.c ringbuf_map_mmap_kern() -> remap_vmalloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->flags.__vma_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_ops | 2996806912159092736 |
| PARAM_VALUE | 0 | vma->vm_ops->access | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->close | 4838103015481118720 |
| PARAM_VALUE | 0 | vma->vm_ops->fault | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->find_normal_page | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->get_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->huge_fault | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->map_pages | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mapped | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->may_split | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mprotect | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mremap | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->name | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->open | 3193429410715623424 |
| PARAM_VALUE | 0 | vma->vm_ops->page_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pagesize | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pfn_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->set_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->uffd_ops | 0 |
| PARAM_VALUE | 0 | vma->vm_private_data | 4096-ptr_max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 0 | vma->vm_ops | 144 |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1216 |
| DATA_SOURCE | 0 | vma | $1 |
| BIT_INFO | 0 | vma->vm_flags | 0x8,0xffffffffffffffff |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| USER_DATA | 2 | pgoff | 1-4503599627370496[c] |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| UNITS | 2 | pgoff | unit_page |
| HALF_LOCKED2 | &ipcp->lock |
kernel/bpf/ringbuf.c ringbuf_map_mmap_user() -> remap_vmalloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->flags.__vma_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_mm | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->vm_ops | 2996806912159092736 |
| PARAM_VALUE | 0 | vma->vm_ops->access | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->close | 4838103015481118720 |
| PARAM_VALUE | 0 | vma->vm_ops->fault | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->find_normal_page | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->get_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->huge_fault | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->map_pages | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mapped | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->may_split | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mprotect | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->mremap | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->name | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->open | 3193429410715623424 |
| PARAM_VALUE | 0 | vma->vm_ops->page_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pagesize | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->pfn_mkwrite | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->set_policy | 0 |
| PARAM_VALUE | 0 | vma->vm_ops->uffd_ops | 0 |
| PARAM_VALUE | 0 | vma->vm_private_data | 4096-ptr_max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma | (-1),1-s32max |
| BUF_SIZE | 0 | vma->vm_file | (-1)-s32max |
| BUF_SIZE | 0 | vma->vm_ops | 144 |
| BUF_SIZE | 0 | vma->vm_private_data | (-1),1216 |
| DATA_SOURCE | 0 | vma | $1 |
| BIT_INFO | 0 | vma->vm_flags | 0x8,0xffffffffffffffff |
| NOSPEC | 0 | vma->vm_pgoff | |
| NOSPEC | 0 | vma->vm_start | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | vma->vm_end | 4096-u64max[c] |
| USER_DATA | 0 | vma->vm_pgoff | 0-4503599627370495[c] |
| USER_DATA | 0 | vma->vm_start | 0-18446744073709547520 |
| USER_DATA | 2 | pgoff | 1-4503599627370496[c] |
| NO_OVERFLOW_SIMPLE | 0 | vma->vm_pgoff | |
| UNITS | 2 | pgoff | unit_page |
| HALF_LOCKED2 | &ipcp->lock |