Defined in 1 files as a function:
Referenced in 3 files:
- drivers/infiniband/core/rdma_core.c, line 291
- drivers/infiniband/core/uverbs_cmd.c
- drivers/infiniband/core/uverbs_ioctl.c, line 385
Smatch caller information:
drivers/infiniband/core/rdma_core.c __uobj_perform_destroy() -> uobj_put_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobj | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->cg_obj.cg->css.flags | 1-u32max |
| PARAM_VALUE | 0 | uobj->cg_obj.cg->css.refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | uobj->context | 0 |
| PARAM_VALUE | 0 | uobj->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->object | 0 |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->rcu.next | 0 |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->ucounts->count.refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->ucounts->ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->user_ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_security | 0 |
| PARAM_VALUE | 0 | uobj->object->f_task_work.func | 5179756662909861888 |
| PARAM_VALUE | 0 | uobj->uapi_object | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->ufile->idr.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uobj->usecnt.counter | 0-s32max |
| PARAM_VALUE | 0 | *uobj->object->f_security | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | uobj | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | uobj | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | uobj->uapi_object | 1 |
| DATA_SOURCE | 0 | uobj | r __uobj_get_destroy |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_ioctl.c ib_uverbs_run_method() -> uobj_put_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobj->cg_obj.cg->css.flags | 1-u32max |
| PARAM_VALUE | 0 | uobj->context | 0 |
| PARAM_VALUE | 0 | uobj->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->object | 0 |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->rcu.next | 0 |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->ucounts->count.refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->ucounts->ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->user_ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_security | 0 |
| PARAM_VALUE | 0 | uobj->object->f_task_work.func | 5179756662909861888 |
| PARAM_VALUE | 0 | uobj->ufile->idr.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uobj->usecnt.counter | 0-s32max |
| PARAM_VALUE | 0 | *uobj->object->f_security | (-4611686018427387904)-4611686018427387903 |
| NOCHECK_CALL | |||
| LOCK2 | &ufile->device->disassociate_srcu | ||
| TYPE_LOCK | (struct ib_uverbs_device)->disassociate_srcu |
drivers/infiniband/core/uverbs_cmd.c ib_uverbs_destroy_cq() -> uobj_put_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobj | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->cg_obj.cg->css.flags | 1-u32max |
| PARAM_VALUE | 0 | uobj->cg_obj.cg->css.refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | uobj->context | 0 |
| PARAM_VALUE | 0 | uobj->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->object | 0 |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->rcu.next | 0 |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->ucounts->count.refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->ucounts->ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->user_ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_security | 0 |
| PARAM_VALUE | 0 | uobj->object->f_task_work.func | 5179756662909861888 |
| PARAM_VALUE | 0 | uobj->uapi_object | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->ufile->idr.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uobj->usecnt.counter | 0-s32max |
| PARAM_VALUE | 0 | *uobj->object->f_security | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | uobj | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | uobj | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | uobj->uapi_object | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_cmd.c ib_uverbs_destroy_qp() -> uobj_put_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobj | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->cg_obj.cg->css.flags | 1-u32max |
| PARAM_VALUE | 0 | uobj->cg_obj.cg->css.refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | uobj->context | 0 |
| PARAM_VALUE | 0 | uobj->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->object | 0 |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->rcu.next | 0 |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->ucounts->count.refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->ucounts->ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->user_ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_security | 0 |
| PARAM_VALUE | 0 | uobj->object->f_task_work.func | 5179756662909861888 |
| PARAM_VALUE | 0 | uobj->uapi_object | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->ufile->idr.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uobj->usecnt.counter | 0-s32max |
| PARAM_VALUE | 0 | *uobj->object->f_security | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | uobj | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | uobj | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | uobj->uapi_object | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_cmd.c ib_uverbs_destroy_srq() -> uobj_put_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobj | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->cg_obj.cg->css.flags | 1-u32max |
| PARAM_VALUE | 0 | uobj->cg_obj.cg->css.refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | uobj->context | 0 |
| PARAM_VALUE | 0 | uobj->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->object | 0 |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->rcu.next | 0 |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->ucounts->count.refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->ucounts->ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->user_ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_security | 0 |
| PARAM_VALUE | 0 | uobj->object->f_task_work.func | 5179756662909861888 |
| PARAM_VALUE | 0 | uobj->uapi_object | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->ufile->idr.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uobj->usecnt.counter | 0-s32max |
| PARAM_VALUE | 0 | *uobj->object->f_security | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | uobj | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | uobj | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | uobj->uapi_object | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_cmd.c ib_uverbs_ex_destroy_wq() -> uobj_put_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobj | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->cg_obj.cg->css.flags | 1-u32max |
| PARAM_VALUE | 0 | uobj->cg_obj.cg->css.refcnt.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | uobj->context | 0 |
| PARAM_VALUE | 0 | uobj->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->object | 0 |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->process_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->rcu.next | 0 |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->request_key_auth->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->session_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->user->qnbytes | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->thread_keyring->user->qnkeys | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->ucounts->count.refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->ucounts->ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_cred->user_ns->ns.__ns_ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | uobj->object->f_security | 0 |
| PARAM_VALUE | 0 | uobj->object->f_task_work.func | 5179756662909861888 |
| PARAM_VALUE | 0 | uobj->uapi_object | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->ufile->idr.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uobj->usecnt.counter | 0-s32max |
| PARAM_VALUE | 0 | *uobj->object->f_security | (-4611686018427387904)-4611686018427387903 |
| BUF_SIZE | 0 | uobj | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | uobj | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | uobj->uapi_object | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |
drivers/infiniband/core/uverbs_cmd.c ib_uverbs_rereg_mr() -> uobj_put_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uobj | 4096-ptr_max |
| PARAM_VALUE | 0 | uobj->object | 0,4096-ptr_max |
| PARAM_VALUE | 0 | uobj->uapi_object | 4096-ptr_max |
| BUF_SIZE | 0 | uobj | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | uobj | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | uobj | 1 |
| CAPPED_DATA | 0 | uobj->uapi_object | 1 |
| DATA_SOURCE | 0 | uobj | r rdma_lookup_get_uobject |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file->device->disassociate_srcu |