Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/infiniband/core/ib_core_uverbs.c, line 385 (as a function)
- include/rdma/ib_verbs.h, line 3204 (as a function)
Referenced in 8 files:
- drivers/infiniband/core/ib_core_uverbs.c, line 392
- drivers/infiniband/hw/bnxt_re/ib_verbs.c, line 672
- drivers/infiniband/hw/efa/efa_verbs.c, line 545
- drivers/infiniband/hw/erdma/erdma_verbs.c, line 305
- drivers/infiniband/hw/ionic/ionic_controlpath.c, line 354
- drivers/infiniband/hw/irdma/verbs.c, line 170
- drivers/infiniband/hw/qedr/verbs.c
- drivers/infiniband/sw/siw/siw_verbs.c, line 286
Smatch caller information:
drivers/infiniband/hw/bnxt_re/ib_verbs.c bnxt_re_mmap_entry_insert() -> rdma_user_mmap_entry_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
drivers/infiniband/hw/erdma/erdma_verbs.c erdma_user_mmap_entry_insert() -> rdma_user_mmap_entry_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucontext | 4096-ptr_max |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 4096 |
| UNITS | 2 | length | unit_byte |
| LOCK2 | &file->hw_destroy_rwsem | ||
| LOCK2 | &file->ucontext_lock | ||
| TYPE_LOCK | (struct ib_uverbs_file)->hw_destroy_rwsem | ||
| TYPE_LOCK | (struct ib_uverbs_file)->ucontext_lock |
drivers/infiniband/sw/siw/siw_verbs.c siw_mmap_entry_insert() -> rdma_user_mmap_entry_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| DATA_SOURCE | 2 | length | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | length | 0[c] |
| UNITS | 2 | length | unit_byte |
drivers/infiniband/hw/efa/efa_verbs.c efa_user_mmap_entry_insert() -> rdma_user_mmap_entry_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucontext | 4096-ptr_max |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 0,4096-4294971392 |
| CAPPED_DATA | 2 | length | 1 |
| CAPPED_DATA | 2 | length | 1 |
| DATA_SOURCE | 0 | ucontext | $0 |
| DATA_SOURCE | 2 | length | $2 |
| BIT_INFO | 2 | length | 0x0,0x1fffff000 |
| BIT_INFO | 2 | length | 0x0,0xfffffffffffff000 |
| NOSPEC | 2 | length | |
| NOSPEC | 2 | length | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | length | 0,4096-4294971392[c] |
| UNITS | 2 | length | unit_byte |
drivers/infiniband/hw/ionic/ionic_controlpath.c ionic_mmap_entry_insert() -> rdma_user_mmap_entry_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| DATA_SOURCE | 2 | length | $1 |
| NOSPEC | 2 | length | |
| NOSPEC | 2 | length | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | length | 1-u32max[c] |
| UNITS | 2 | length | unit_byte |
| HALF_LOCKED2 | &file->hw_destroy_rwsem | ||
| HALF_LOCKED2 | &file->ucontext_lock |
drivers/infiniband/hw/irdma/verbs.c irdma_user_mmap_entry_insert() -> rdma_user_mmap_entry_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucontext | 4096-ptr_max |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
| HALF_LOCKED2 | &file->hw_destroy_rwsem | ||
| HALF_LOCKED2 | &file->ucontext_lock |
drivers/infiniband/hw/qedr/verbs.c qedr_alloc_ucontext() -> rdma_user_mmap_entry_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucontext | 4096-ptr_max |
| PARAM_VALUE | 0 | ucontext->cg_obj.cg | 4096-ptr_max |
| PARAM_VALUE | 0 | ucontext->device | 4096-ptr_max |
| PARAM_VALUE | 0 | ucontext->device->cg_device.rpools.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ucontext->device->cg_device.rpools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ucontext->device->cg_device.rpools.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ucontext->mmap_xa.xa_flags | 33554436 |
| PARAM_VALUE | 0 | ucontext->mmap_xa.xa_head | 0 |
| PARAM_VALUE | 0 | ucontext->res.comp.done | 0 |
| PARAM_VALUE | 0 | ucontext->res.comp.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | ucontext->res.comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ucontext->res.comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ucontext->res.comp.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ucontext->res.comp.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ucontext->res.kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ucontext->res.type | 5 |
| PARAM_VALUE | 0 | ucontext->res.user | 1 |
| PARAM_VALUE | 0 | ucontext->ufile | 4096-ptr_max |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| DATA_SOURCE | 0 | ucontext | $0 |
| UNITS | 2 | length | unit_byte |
| LOCK2 | &file->hw_destroy_rwsem | ||
| LOCK2 | &file->ucontext_lock | ||
| TYPE_LOCK | (struct ib_uverbs_file)->hw_destroy_rwsem | ||
| TYPE_LOCK | (struct ib_uverbs_file)->ucontext_lock |
drivers/infiniband/hw/qedr/verbs.c qedr_init_user_db_rec() -> rdma_user_mmap_entry_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ucontext | 4096-ptr_max |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 2 | length | 4096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |