Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-cache-policy-smq.c push_queue_front() -> q_push_front()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | e->allocated | 1 |
| PARAM_VALUE | 1 | e->dirty | 1 |
| PARAM_VALUE | 1 | e->next | 268435455 |
| PARAM_VALUE | 1 | e->oblock | 0-281474976710655 |
| PARAM_VALUE | 1 | e->pending_work | 0 |
| PARAM_VALUE | 1 | e->prev | 268435455 |
| PARAM_VALUE | 1 | e->sentinel | 0 |
| CAPPED_DATA | 1 | e | 1 |
| CAPPED_DATA | 1 | e->level | 1 |
| DATA_SOURCE | 1 | e | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &cmd->root_lock | ||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct dm_cache_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-cache-policy-smq.c push_queue_front() -> q_push_front()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | e->allocated | 1 |
| PARAM_VALUE | 1 | e->dirty | 0 |
| PARAM_VALUE | 1 | e->next | 268435455 |
| PARAM_VALUE | 1 | e->oblock | 0-281474976710655 |
| PARAM_VALUE | 1 | e->pending_work | 0 |
| PARAM_VALUE | 1 | e->prev | 268435455 |
| PARAM_VALUE | 1 | e->sentinel | 0 |
| CAPPED_DATA | 1 | e | 1 |
| CAPPED_DATA | 1 | e->level | 1 |
| DATA_SOURCE | 1 | e | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &cmd->root_lock | ||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct dm_cache_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-cache-policy-smq.c queue_demotion() -> q_push_front()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | e->allocated | 1 |
| PARAM_VALUE | 1 | e->pending_work | 0 |
| PARAM_VALUE | 1 | e->sentinel | 0 |
| CAPPED_DATA | 1 | e | 1 |
| DATA_SOURCE | 1 | e | r q_peek |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mq->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct smq_policy)->lock |
drivers/md/dm-cache-policy-smq.c queue_writeback() -> q_push_front()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 1 | e | 4096-ptr_max |
| PARAM_VALUE | 1 | e->allocated | 1 |
| PARAM_VALUE | 1 | e->pending_work | 0 |
| PARAM_VALUE | 1 | e->sentinel | 0 |
| CAPPED_DATA | 1 | e | 1 |
| DATA_SOURCE | 1 | e | r q_peek |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mq->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct smq_policy)->lock |