Documented in 1 files:

Defined in 3 files as a function:

Referenced in 5 files:

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 &gt->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