Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/infiniband/core/rdma_core.c
- drivers/infiniband/core/uverbs_main.c
- drivers/infiniband/core/uverbs_std_types_cq.c
- drivers/infiniband/core/uverbs_std_types_qp.c, line 281
- drivers/infiniband/core/uverbs_std_types_srq.c, line 140
- drivers/infiniband/core/uverbs_std_types_wq.c, line 111
- drivers/infiniband/hw/mlx5/devx.c
Smatch caller information:
drivers/infiniband/core/uverbs_std_types_cq.c ib_uverbs_handler_UVERBS_METHOD_CQ_CREATE() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_cq.c ib_uverbs_handler_UVERBS_METHOD_CQ_CREATE() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| DATA_SOURCE | 0 | uobject | r uverbs_attr_get_uobject |
| NOCHECK_CALL |
drivers/infiniband/core/rdma_core.c alloc_begin_fd_uobject() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->context | 1-u64max |
| PARAM_VALUE | 0 | uobject->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | uobject->uapi_object | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object->type_attrs | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object->type_class | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->ufile | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->ufile->device | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->usecnt.counter | (-1) |
| BUF_SIZE | 0 | uobject | s32min-s32max |
| DATA_SOURCE | 0 | uobject | r alloc_uobj |
| NOCHECK_CALL | |||
| LOCK2 | &ufile->hw_destroy_rwsem | ||
| HALF_LOCKED2 | &attrs->ufile->hw_destroy_rwsem | ||
| HALF_LOCKED2 | &ufile->device->disassociate_srcu | ||
| TYPE_LOCK | (struct ib_uverbs_file)->hw_destroy_rwsem |
drivers/infiniband/core/rdma_core.c alloc_begin_idr_uobject() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->context | 1-u64max |
| PARAM_VALUE | 0 | uobject->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | uobject->uapi_object | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object->type_attrs | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object->type_class | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->ufile | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->ufile->device | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->ufile->idr.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uobject->usecnt.counter | (-1) |
| BUF_SIZE | 0 | uobject | s32min-s32max |
| DATA_SOURCE | 0 | uobject | r alloc_uobj |
| NOCHECK_CALL | |||
| LOCK2 | &ufile->hw_destroy_rwsem | ||
| HALF_LOCKED2 | &attrs->ufile->hw_destroy_rwsem | ||
| HALF_LOCKED2 | &ufile->device->disassociate_srcu | ||
| TYPE_LOCK | (struct ib_uverbs_file)->hw_destroy_rwsem |
drivers/infiniband/core/rdma_core.c ib_uverbs_release_file() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/rdma_core.c rdma_lookup_get_uobject() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object->type_class | 4096-ptr_max |
| BUF_SIZE | 0 | uobject | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | uobject | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | uobject->ufile | s32min-(-1),1-s32max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ufile->device->disassociate_srcu |
drivers/infiniband/core/rdma_core.c rdma_lookup_put_uobject() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object->type_class | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object->type_class->lookup_put | 4096-ptr_max |
| BUF_SIZE | 0 | uobject | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | uobject | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | uobject | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ufile->device->disassociate_srcu |
drivers/infiniband/core/rdma_core.c release_ufile_idr_uobject() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/rdma_core.c remove_handle_idr_uobject() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->context | 0 |
| PARAM_VALUE | 0 | uobject->object | 0 |
| PARAM_VALUE | 0 | uobject->uapi_object | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object->type_class | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object->type_class->alloc_commit | 4241073990159572992,4688499253646393344 |
| PARAM_VALUE | 0 | uobject->uapi_object->type_class->swap_uobjects | 0,3232451603108548608 |
| PARAM_VALUE | 0 | uobject->ufile | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->ufile->idr.xa_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | uobject | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | uobject | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | uobject | $0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ufile->hw_destroy_rwsem |
drivers/infiniband/core/rdma_core.c uverbs_destroy_uobject() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->context | 0 |
| PARAM_VALUE | 0 | uobject->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object->type_class->alloc_commit | 4241073990159572992,4688499253646393344 |
| PARAM_VALUE | 0 | uobject->uapi_object->type_class->swap_uobjects | 0,3232451603108548608 |
| BUF_SIZE | 0 | uobject | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | uobject | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | &uobject->list | 1 |
| DATA_SOURCE | 0 | uobject | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | uobject->user_handle | 0-u64max |
| HALF_LOCKED2 | &ufile->hw_destroy_rwsem |
drivers/infiniband/core/rdma_core.c uverbs_destroy_uobject() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->context | 0 |
| PARAM_VALUE | 0 | uobject->uapi_object | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object->type_class | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->uapi_object->type_class->alloc_commit | 4241073990159572992,4688499253646393344 |
| PARAM_VALUE | 0 | uobject->uapi_object->type_class->swap_uobjects | 0,3232451603108548608 |
| PARAM_VALUE | 0 | uobject->usecnt.counter | 0 |
| CAPPED_DATA | 0 | uobject | 1 |
| CAPPED_DATA | 0 | &uobject->list | 1 |
| DATA_SOURCE | 0 | uobject | $0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | uobject->user_handle | 0-u64max |
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/rdma_core.c uverbs_uobject_fd_release() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->cg_obj.cg->css.flags | 1-u32max |
| PARAM_VALUE | 0 | uobject->cg_obj.cg->css.refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | uobject->context | 0 |
| PARAM_VALUE | 0 | uobject->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->object | 0 |
| PARAM_VALUE | 0 | uobject->object->f_cred->process_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->request_key_auth->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->session_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->thread_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->ucounts->count.refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->ucounts->ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_cred->user_ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobject->object->f_security | 0 |
| PARAM_VALUE | 0 | uobject->object->f_task_work.func | 5179756662909861888 |
| PARAM_VALUE | 0 | uobject->uapi_object->type_attrs | 1-u64max |
| PARAM_VALUE | 0 | uobject->ufile | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->ufile->hw_destroy_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uobject->ufile->hw_destroy_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | uobject->ufile->hw_destroy_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | uobject->ufile->idr.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uobject->usecnt.counter | 0-s32max |
| PARAM_VALUE | 0 | *uobject->object->f_security | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | uobject | (-1),26 |
| BUF_SIZE | 0 | uobject | (-1),26 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/rdma_core.c uverbs_uobject_release() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->ufile | 4096-ptr_max |
| PARAM_VALUE | 0 | uobject->ufile->hw_destroy_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | uobject->ufile->hw_destroy_rwsem.first_waiter->type | 0-1 |
| BUF_SIZE | 0 | uobject | (-1),26 |
| BUF_SIZE | 0 | uobject | (-1),26 |
| DATA_SOURCE | 0 | uobject | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_qp.c ib_uverbs_handler_UVERBS_METHOD_QP_CREATE() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_main.c ib_uverbs_release_ucq() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_main.c ib_uverbs_release_uevent() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 1-u64max |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_srq.c ib_uverbs_handler_UVERBS_METHOD_SRQ_CREATE() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| NOCHECK_CALL |
drivers/infiniband/core/uverbs_std_types_wq.c ib_uverbs_handler_UVERBS_METHOD_WQ_CREATE() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobject | 4096-ptr_max |
| NOCHECK_CALL |
drivers/infiniband/hw/mlx5/devx.c devx_free_subscription() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu |
drivers/infiniband/hw/mlx5/devx.c mlx5_ib_handler_MLX5_IB_METHOD_DEVX_SUBSCRIBE_EVENT() -> uverbs_uobject_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | &devx_event_table->event_xa_lock | ||
| TYPE_LOCK | (struct mlx5_devx_event_table)->event_xa_lock |