Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/md/raid5.c handle_stripe_expansion() -> raid5_get_active_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 3 | flags | 6 |
| DATA_SOURCE | 0 | conf | $0 |
| DATA_SOURCE | 2 | sector | r raid5_compute_sector |
drivers/md/raid5.c make_discard_request() -> raid5_get_active_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 2 | sector | 0-18446744073709551614 |
| PARAM_VALUE | 3 | flags | 0 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| CAPPED_DATA | 2 | sector | 1 |
| CAPPED_DATA | 2 | sector | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bi->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/raid5.c make_stripe_request() -> raid5_get_active_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->ctx_pool | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->ctx_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->wait_for_reshape.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->batch_last | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctx->first_sector | 0,8-u64max |
| PARAM_VALUE | 1 | ctx->sectors_to_do | 0 |
| PARAM_VALUE | 3 | flags | 0-3 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| CAPPED_DATA | 0 | conf->reshape_progress | 1 |
| CAPPED_DATA | 1 | ctx->first_sector | 1 |
| DATA_SOURCE | 0 | conf | $1 |
| DATA_SOURCE | 1 | ctx | $2 |
| DATA_SOURCE | 2 | sector | r raid5_compute_sector |
| BIT_INFO | 1 | ctx->first_sector | 0x0,0xfffffffffffffff8 |
| NOSPEC | 1 | ctx->first_sector | |
| MEM_ZERO | 1 | ctx | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | ctx->first_sector | 0,8-u64max[c] |
| USER_DATA | 1 | ctx->first_sector | 0,8-u64max[c] |
| HALF_LOCKED2 | &bi->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/raid5.c raid5_sync_request() -> raid5_get_active_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->quiesce | s32min-1,3-s32max |
| PARAM_VALUE | 0 | conf->wait_for_reshape.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 2 | sector | 0-18446744073709551614 |
| PARAM_VALUE | 3 | flags | 2 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| CAPPED_DATA | 0 | conf->max_degraded | 1 |
| CAPPED_DATA | 2 | sector | 1 |
| CAPPED_DATA | 2 | sector | 1 |
| DATA_SOURCE | 2 | sector | $1 |
drivers/md/raid5.c raid5_sync_request() -> raid5_get_active_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->quiesce | s32min-1,3-s32max |
| PARAM_VALUE | 0 | conf->wait_for_reshape.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 2 | sector | 0-18446744073709551614 |
| PARAM_VALUE | 3 | flags | 0 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| CAPPED_DATA | 0 | conf->max_degraded | 1 |
| CAPPED_DATA | 2 | sector | 1 |
| CAPPED_DATA | 2 | sector | 1 |
| DATA_SOURCE | 2 | sector | $1 |
drivers/md/raid5.c reshape_request() -> raid5_get_active_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 3 | flags | 4 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| UNITS | 2 | sector | unit_byte |
drivers/md/raid5.c reshape_request() -> raid5_get_active_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->device_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 3 | flags | 5 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| CAPPED_DATA | 2 | sector | 1 |
| CAPPED_DATA | 2 | sector | 1 |
| UNITS | 2 | sector | unit_byte |
drivers/md/raid5.c retry_aligned_read() -> raid5_get_active_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->bitmap_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->device_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | conf->retry_read_aligned | 0 |
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 3 | flags | 6 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| DATA_SOURCE | 0 | conf | $0 |
drivers/md/raid5-cache.c r5c_recovery_alloc_stripe() -> raid5_get_active_stripe()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ctx | 0 |
| PARAM_VALUE | 3 | flags | 0,2 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| DATA_SOURCE | 0 | conf | $0 |
| DATA_SOURCE | 2 | sector | $1 |
| FUZZY_MAX | 3 | flags | 2 |
| BIT_INFO | 3 | flags | 0x0,0x2 |
| HARD_MAX | 3 | flags | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | sector | unit_byte |
| HALF_LOCKED2 | &mddev->reconfig_mutex |