Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/raid5.c make_stripe_request() -> stripe_can_batch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sh | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->batch_head | 0 |
| PARAM_VALUE | 0 | sh->check_state | 0 |
| PARAM_VALUE | 0 | sh->cpu | 0 |
| PARAM_VALUE | 0 | sh->ddf_layout | 0-1 |
| PARAM_VALUE | 0 | sh->raid_conf | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->reconstruct_state | 0 |
| PARAM_VALUE | 0 | sh->state | 0 |
| PARAM_VALUE | 0 | sh->stripe_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | sh->disks | 1 |
| DATA_SOURCE | 0 | sh | r raid5_get_active_stripe |
| NOSPEC | 0 | sh->hash_lock_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | sh->hash_lock_index | 1-7[c] |
| USER_DATA | 0 | sh->hash_lock_index | 1-7[c] |
| HALF_LOCKED2 | &bi->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/raid5.c stripe_add_to_batch_list() -> stripe_can_batch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sh | 4096-ptr_max |
| CAPPED_DATA | 0 | sh->generation | 1 |
| CAPPED_DATA | 0 | sh->sector | 1 |
| DATA_SOURCE | 0 | sh | r find_get_stripe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bi->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier |
drivers/md/raid5.c stripe_add_to_batch_list() -> stripe_can_batch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sh | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->raid_conf | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->raid_conf->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->stripe_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | sh | 1 |
| CAPPED_DATA | 0 | sh->sector | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sh->stripe_lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &sh->stripe_lock | |
| HALF_LOCKED2 | &bi->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| TYPE_LOCK | (struct stripe_head)->stripe_lock |
drivers/md/raid5.c stripe_add_to_batch_list() -> stripe_can_batch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sh | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->batch_head | 0 |
| PARAM_VALUE | 0 | sh->check_state | 0 |
| PARAM_VALUE | 0 | sh->cpu | 0 |
| PARAM_VALUE | 0 | sh->ddf_layout | 0-1 |
| PARAM_VALUE | 0 | sh->raid_conf | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->raid_conf->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->reconstruct_state | 0 |
| PARAM_VALUE | 0 | sh->state | 0 |
| PARAM_VALUE | 0 | sh->stripe_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | sh | 1 |
| CAPPED_DATA | 0 | sh->disks | 1 |
| CAPPED_DATA | 0 | sh->overwrite_disks | 1 |
| DATA_SOURCE | 0 | sh | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &head->stripe_lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &sh->stripe_lock | |
| HALF_LOCKED2 | &bi->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| TYPE_LOCK | (struct stripe_head)->stripe_lock |
drivers/md/raid5.c stripe_add_to_batch_list() -> stripe_can_batch()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sh | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->batch_head | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->batch_head->batch_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sh->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->raid_conf | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->raid_conf->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->stripe_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | sh | 1 |
| CAPPED_DATA | 0 | sh->overwrite_disks | 1 |
| CAPPED_DATA | 0 | sh->sector | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sh->stripe_lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &sh->batch_head->batch_lock | |
| LOCK2 | 0 | &sh->stripe_lock | |
| HALF_LOCKED2 | &bi->bi_bdev->bd_queue->queue_lock | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| TYPE_LOCK | (struct stripe_head)->batch_lock | ||
| TYPE_LOCK | (struct stripe_head)->stripe_lock |