Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/dm-cache-policy-smq.c q_pop() -> q_peek()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 2 | can_cross_sentinel | 1 |
| DATA_SOURCE | 0 | q | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_demotion() -> q_peek()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 2 | can_cross_sentinel | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_peek()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | q | 4096-ptr_max |
| PARAM_VALUE | 0 | q->nr_elts | 1-u32max |
| DATA_SOURCE | 2 | can_cross_sentinel | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mq->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct smq_policy)->lock |