Documented in 1 files:
Defined in 3 files as a function:
- drivers/gpu/drm/i915/gt/intel_ring.c, line 193 (as a function)
- drivers/video/fbdev/i810/i810_accel.c, line 59 (as a function)
- fs/splice.c, line 1259 (as a function)
Referenced in 5 files:
- drivers/gpu/drm/i915/gt/intel_ring.c, line 281
- drivers/video/fbdev/i810/i810_accel.c
- fs/splice.c
- net/ipv4/tcp.c
- net/rxrpc/sendmsg.c
Smatch caller information:
fs/splice.c splice_file_to_pipe() -> wait_for_space()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0-2147483649 |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pipe | $1 |
| DATA_SOURCE | 1 | flags | $4 |
| BIT_INFO | 1 | flags | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | flags | 0-16[c] |
fs/splice.c vmsplice_to_pipe() -> wait_for_space()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0-14 |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | pipe | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | pipe | r get_pipe_info |
| DATA_SOURCE | 1 | flags | $2 |
| USER_DATA | 1 | flags | 0-14 |
drivers/gpu/drm/i915/gt/intel_ring.c intel_ring_begin() -> wait_for_space()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pipe | 4096-ptr_max |
| PARAM_VALUE | 0 | pipe->space | 0-4294967294 |
| PARAM_VALUE | 2 | bytes | 1-u32max |
| BUF_SIZE | 1 | flags | (-1),728 |
| CAPPED_DATA | 0 | pipe->space | 1 |
| PARAM_COMPARE | 0 | pipe->space | < $2 |
| PARAM_COMPARE | 2 | bytes | > $0->space |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | pipe->effective_size | |
| NO_OVERFLOW_SIMPLE | 0 | pipe->size | |
| UNITS | 2 | bytes | unit_byte |
| HALF_LOCKED2 | &ce->pin_mutex | ||
| HALF_LOCKED2 | &ce->timeline->mutex | ||
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vgpu->vgpu_lock | ||
| HALF_LOCKED2 | __flags | ||
| HALF_LOCKED2 | ctx->obj->base.resv | ||
| HALF_LOCKED2 | scratch->obj->base.resv | ||
| HALF_LOCKED2 | tl->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | vma->obj->base.resv |