Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/vmwgfx/ttm_object.c
- drivers/gpu/drm/vmwgfx/vmwgfx_fence.c, line 701
- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
Smatch caller information:
drivers/gpu/drm/vmwgfx/ttm_object.c ttm_base_object_init() -> ttm_ref_object_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfile | 4096-ptr_max |
| PARAM_VALUE | 0 | tfile->tdev | 4096-ptr_max |
| PARAM_VALUE | 0 | tfile->tdev->object_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | base->handle | 0-s32max |
| PARAM_VALUE | 1 | base->object_type | 2,256,258-260 |
| PARAM_VALUE | 1 | base->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | base->shareable | 0-1 |
| PARAM_VALUE | 1 | base->tfile | 4096-ptr_max |
| PARAM_VALUE | 1 | base->tfile->tdev->object_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | existed | 0 |
| PARAM_VALUE | 3 | require_existed | 0 |
| DATA_SOURCE | 0 | tfile | $0 |
| DATA_SOURCE | 1 | base | $1 |
| PARAM_COMPARE | 0 | tfile | == $1->tfile |
| PARAM_COMPARE | 1 | base->tfile | == $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/vmwgfx/ttm_object.c ttm_prime_fd_to_handle() -> ttm_ref_object_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfile | 4096-ptr_max |
| PARAM_VALUE | 1 | base | 4096-ptr_max |
| PARAM_VALUE | 2 | existed | 0 |
| PARAM_VALUE | 3 | require_existed | 0 |
| BUF_SIZE | 1 | base | 56 |
| DATA_SOURCE | 0 | tfile | $0 |
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c vmw_fence_event_ioctl() -> ttm_ref_object_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tfile | 4096-ptr_max |
| PARAM_VALUE | 0 | tfile->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | base->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | base->refcount_release | 3947786025862041600 |
| PARAM_VALUE | 2 | existed | 0 |
| PARAM_VALUE | 3 | require_existed | 0 |
| DATA_SOURCE | 1 | base | r vmw_fence_obj_lookup |
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_buffer_prime_to_surface_base() -> ttm_ref_object_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | base | 4096-ptr_max |
| PARAM_VALUE | 2 | existed | 0 |
| PARAM_VALUE | 3 | require_existed | 0 |
| BUF_SIZE | 1 | base | 56 |
| HALF_LOCKED2 | &dev_priv->drm.object_name_lock |
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c vmw_surface_handle_reference() -> ttm_ref_object_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | base | 4096-ptr_max |
| PARAM_VALUE | 1 | base->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 2 | existed | 0 |
| DATA_SOURCE | 1 | base | r ttm_base_object_lookup_for_ref |