Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/i915/gt/intel_ring.c check_ring_step() -> check_ring_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->effective_size | 4096 |
| PARAM_VALUE | 0 | ring->pin_count.counter | 1 |
| PARAM_VALUE | 0 | ring->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ring->size | 4096 |
| PARAM_VALUE | 0 | ring->wrap | 20 |
| PARAM_VALUE | 1 | next | 0-4095 |
| PARAM_VALUE | 2 | prev | 0-4095 |
| PARAM_VALUE | 3 | expected | 0 |
| BUF_SIZE | 0 | ring | 4152 |
| BUF_SIZE | 0 | ring | 4152 |
| CAPPED_DATA | 1 | next | 1 |
| CAPPED_DATA | 2 | prev | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| DATA_SOURCE | 1 | next | r intel_ring_wrap |
| DATA_SOURCE | 2 | prev | r intel_ring_wrap |
drivers/gpu/drm/i915/gt/intel_ring.c check_ring_step() -> check_ring_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->effective_size | 4096 |
| PARAM_VALUE | 0 | ring->pin_count.counter | 1 |
| PARAM_VALUE | 0 | ring->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ring->size | 4096 |
| PARAM_VALUE | 0 | ring->wrap | 20 |
| PARAM_VALUE | 3 | expected | 0 |
| BUF_SIZE | 0 | ring | 4152 |
| BUF_SIZE | 0 | ring | 4152 |
| DATA_SOURCE | 0 | ring | $0 |
| DATA_SOURCE | 1 | next | $1 |
| DATA_SOURCE | 2 | prev | $1 |
drivers/gpu/drm/i915/gt/intel_ring.c check_ring_step() -> check_ring_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->effective_size | 4096 |
| PARAM_VALUE | 0 | ring->pin_count.counter | 1 |
| PARAM_VALUE | 0 | ring->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ring->size | 4096 |
| PARAM_VALUE | 0 | ring->wrap | 20 |
| PARAM_VALUE | 1 | next | 0-4095 |
| PARAM_VALUE | 3 | expected | 1 |
| BUF_SIZE | 0 | ring | 4152 |
| BUF_SIZE | 0 | ring | 4152 |
| CAPPED_DATA | 1 | next | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| DATA_SOURCE | 1 | next | r intel_ring_wrap |
| DATA_SOURCE | 2 | prev | $1 |
drivers/gpu/drm/i915/gt/intel_ring.c check_ring_step() -> check_ring_direction()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->effective_size | 4096 |
| PARAM_VALUE | 0 | ring->pin_count.counter | 1 |
| PARAM_VALUE | 0 | ring->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | ring->size | 4096 |
| PARAM_VALUE | 0 | ring->wrap | 20 |
| PARAM_VALUE | 2 | prev | 0-4095 |
| PARAM_VALUE | 3 | expected | (-1) |
| BUF_SIZE | 0 | ring | 4152 |
| BUF_SIZE | 0 | ring | 4152 |
| CAPPED_DATA | 2 | prev | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| DATA_SOURCE | 1 | next | $1 |
| DATA_SOURCE | 2 | prev | r intel_ring_wrap |