Defined in 1 files as a struct:
Defined in 2 files as a member:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/md/raid1.c raid1_write_request() -> wait_barrier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BIT_INFO | 2 | nowait | 0x0,0x0 |
| NOSPEC | 1 | sector_nr | |
| NOSPEC | 1 | sector_nr | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | sector_nr | 0-u64max |
| USER_DATA | 1 | sector_nr | 0-u64max |
| UNITS | 1 | sector_nr | unit_byte |
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/raid10.c close_sync() -> wait_barrier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->cluster_sync_high | 0 |
| PARAM_VALUE | 0 | conf->cluster_sync_low | 0 |
| PARAM_VALUE | 0 | conf->r10buf_pool.elements | 1-u64max |
| PARAM_VALUE | 1 | sector_nr | 0 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| DATA_SOURCE | 0 | conf | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | conf->mddev->gendisk->queue->limits.max_hw_discard_sectors |
drivers/md/raid10.c raid10_handle_discard() -> wait_barrier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BIT_INFO | 1 | sector_nr | 0x0,0x200000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/raid10.c raid10_handle_discard() -> wait_barrier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->bio_split.bio_slab | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->bio_split.rescue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sector_nr | 0 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| CAPPED_DATA | 0 | &conf->bio_split | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/raid10.c raid10_handle_discard() -> wait_barrier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->bio_split.bio_slab | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->bio_split.rescue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sector_nr | 0 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| CAPPED_DATA | 0 | &conf->bio_split | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/raid10.c raid10_handle_discard() -> wait_barrier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->geo.far_offset | 0 |
| PARAM_VALUE | 1 | sector_nr | 0 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/raid10.c raid10_read_request() -> wait_barrier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->bio_split.rescue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->mddev->cluster_info->suspend_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->resync_lock.seqcount.seqcount.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sector_nr | 0 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| CAPPED_DATA | 0 | conf->copies | 1 |
| CAPPED_DATA | 0 | &conf->bio_split | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/raid10.c raid10_write_request() -> wait_barrier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->bio_split.rescue_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->resync_lock.seqcount.seqcount.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | sector_nr | 0 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| CAPPED_DATA | 0 | conf->copies | 1 |
| CAPPED_DATA | 0 | &conf->bio_split | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/raid10.c regular_request_wait() -> wait_barrier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| DATA_SOURCE | 0 | conf | $1 |
| BIT_INFO | 1 | sector_nr | 0x0,0x200000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock |
drivers/md/raid10.c regular_request_wait() -> wait_barrier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->reshape_progress | 1-18446744073709551614 |
| PARAM_VALUE | 1 | sector_nr | 0 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| CAPPED_DATA | 0 | conf->reshape_progress | 1 |
| DATA_SOURCE | 0 | conf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock |
drivers/md/raid10.c reshape_request() -> wait_barrier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 1 | sector_nr | 0 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| NOCHECK_CALL |
drivers/md/raid10.c wait_blocked_dev() -> wait_barrier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->copies | 1-s32max |
| PARAM_VALUE | 0 | conf->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->mirrors | 4096-ptr_max |
| PARAM_VALUE | 1 | sector_nr | 0 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bio->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier |