Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/md/md.c is_mddev_idle() -> bdev_count_inflight()
| Type | Parameter | Key | Value |
|---|
block/blk-core.c update_io_ticks() -> bdev_count_inflight()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | part->bd_queue->dev->power.wakeirq->status | 0-4294967295 |
| DATA_SOURCE | 0 | part | $0 [m] |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | part->bd_queue->last_merge->__sector | 0-18446744073709551614 |
| NO_OVERFLOW_SIMPLE | 0 | part->bd_disk->queue->queue_hw_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | part->bd_disk->queue->stats | |
| UNITS | 0 | part | unit_byte |
| HALF_LOCKED2 | 0 | &part->bd_queue->queue_lock |
block/genhd.c diskstats_show() -> bdev_count_inflight()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | part | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seqf->lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct seq_file)->lock |
block/genhd.c part_stat_show() -> bdev_count_inflight()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | part | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |