Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c mock_dmabuf_release() -> to_mock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| BUF_SIZE | 0 | buf | (-1),1-s32max |
| BUF_SIZE | 0 | buf | (-1),1-s32max |
| DATA_SOURCE | 0 | buf | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c mock_dmabuf_vmap() -> to_mock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| BUF_SIZE | 0 | buf | (-1),361,536 |
| BUF_SIZE | 0 | buf | (-1),361,536 |
| BUF_SIZE | 0 | buf->exp_name | (-1),8 |
| BUF_SIZE | 0 | buf->ops | (-1),96 |
| BUF_SIZE | 0 | buf->priv | (-1),184 |
| DATA_SOURCE | 0 | buf | $0 |
| STR_LEN | 0 | buf->exp_name | (-1),7 |
| NOSPEC | 0 | buf->size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | buf->file->f_flags | 0-18433,32770 |
| USER_DATA | 0 | buf->file->f_mode | 33554432,34078720-571342855[c] |
| USER_DATA | 0 | buf->size | 4096-u64max[c] |
| HALF_LOCKED2 | &etnaviv_obj->lock | ||
| HALF_LOCKED2 | 0 | buf->resv |
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c mock_dmabuf_vunmap() -> to_mock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| BUF_SIZE | 0 | buf | (-1),361,536 |
| BUF_SIZE | 0 | buf | (-1),361,536 |
| BUF_SIZE | 0 | buf->exp_name | (-1),8 |
| BUF_SIZE | 0 | buf->ops | (-1),96 |
| BUF_SIZE | 0 | buf->priv | (-1),184 |
| DATA_SOURCE | 0 | buf | $0 |
| STR_LEN | 0 | buf->exp_name | (-1),7 |
| NOSPEC | 0 | buf->size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | buf->file->f_flags | 0-18433,32770 |
| USER_DATA | 0 | buf->file->f_mode | 33554432,34078720-571342855[c] |
| USER_DATA | 0 | buf->size | 4096-u64max[c] |
| HALF_LOCKED2 | 0 | buf->resv |
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c mock_map_dma_buf() -> to_mock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | buf->size | 0-u64max |
| HALF_LOCKED2 | &bo->lock | ||
| HALF_LOCKED2 | &dbc->ch_lock | ||
| HALF_LOCKED2 | &qdev->dev_lock | ||
| HALF_LOCKED2 | &usr->qddev_lock | ||
| HALF_LOCKED2 | bo->base.base.resv | ||
| HALF_LOCKED2 | dmabuf->resv | ||
| HALF_LOCKED2 | resv | ||
| HALF_LOCKED2 | 0 | buf->resv |