Defined in 2 files as a function:
- drivers/gpu/drm/i915/gem/i915_gem_shmem.c, line 408 (as a function)
- drivers/gpu/drm/i915/i915_gem.c, line 643 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/i915/i915_gem.c i915_gem_shmem_pwrite() -> shmem_pwrite()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | arg | 0-4094 |
| PARAM_VALUE | 2 | len | 1-4096 |
| CAPPED_DATA | 2 | len | 1 |
| CAPPED_DATA | 4 | needs_clflush_before | 1 |
| DATA_SOURCE | 0 | obj | r __i915_gem_object_get_page |
| BIT_INFO | 5 | needs_clflush_after | 0x0,0x2 |
| USER_DATA | 1 | arg | 1-4094[c] |
| USER_DATA | 2 | len | 2-4096[c] |
| USER_DATA | 4 | needs_clflush_before | 0-1[c] |
| NO_OVERFLOW_SIMPLE | 2 | len |
drivers/gpu/drm/i915/i915_gem.c i915_gem_pwrite_ioctl() -> (struct drm_i915_gem_object_ops)->pwrite()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | obj->base.size | 1-u64max |
| PARAM_VALUE | 0 | obj->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->ops->pwrite | 2096045760474890240,2800713264639791104 |
| PARAM_VALUE | 1 | arg | 4096-ptr_max |
| PARAM_VALUE | 1 | arg->offset | 0-18446744073709551614 |
| PARAM_VALUE | 1 | arg->size | 1-u64max |
| BUF_SIZE | 1 | arg | 128-16383 |
| BUF_SIZE | 1 | arg | 128-16383 |
| DATA_SOURCE | 0 | obj | r i915_gem_object_lookup |
| DATA_SOURCE | 1 | arg | $1 |
| CONTAINER | 0 | -48-864+0 | $(-1) |
| USER_DATA | 1 | arg->data_ptr | 0-u64max[u] |
| USER_DATA | 1 | arg->handle | 0-u32max[u] |
| USER_DATA | 1 | arg->offset | 0-18446744073709551614[u] |
| USER_DATA | 1 | arg->pad | 0-u32max[u] |
| USER_DATA | 1 | arg->size | 1-u64max[u] |
| USER_PTR | 1 | arg |