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 do_release_stripe() -> r5c_make_stripe_write_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sh | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->lru.next | 4096-ptr_max |
| BUF_SIZE | 0 | sh->raid_conf | (-1),1216,1600,2712 |
| CAPPED_DATA | 0 | sh | 1 |
| CAPPED_DATA | 0 | &sh->lru | 1 |
| DATA_SOURCE | 0 | sh | $1 |
| STR_LEN | 0 | sh | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| STR_LEN | 0 | sh | (-1),8,11-12,14,17,19-20,23,26-27,29,31-32 |
| PARAM_COMPARE | 0 | &sh->lru | == $0->lru.next |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | sh->raid_conf->min_nr_stripes | 17-32768 |
| USER_DATA | 0 | sh->raid_conf->scribble_sectors | (-2147483647)-0,8-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | sh->raid_conf->bio_split.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | sh->raid_conf->bio_split.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | sh->raid_conf->pool_size | |
| UNITS | 0 | sh | unit_byte |
| LOCK2 | &conf->device_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct r5conf)->device_lock |
drivers/md/raid5.c handle_stripe_fill() -> r5c_make_stripe_write_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sh | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->batch_head | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sh->check_state | 0 |
| PARAM_VALUE | 0 | sh->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->log_io | 0 |
| PARAM_VALUE | 0 | sh->ppl_io | 0 |
| PARAM_VALUE | 0 | sh->ppl_io->log->io_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sh->ppl_io->log->ppl_conf->no_mem_stripes_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sh->raid_conf | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->raid_conf->log | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sh->raid_conf->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->reconstruct_state | 0 |
| CAPPED_DATA | 0 | sh | 1 |
| DATA_SOURCE | 0 | sh | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sh | unit_jiffy |
drivers/md/raid5-cache.c r5c_flush_stripe() -> r5c_make_stripe_write_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sh | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->lru.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->lru.prev->next | 4096-ptr_max |
| CAPPED_DATA | 0 | &sh->lru | 1 |
| DATA_SOURCE | 0 | sh | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &conf->device_lock | ||
| HALF_LOCKED2 | &log->stripe_in_journal_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct r5conf)->device_lock |
drivers/md/raid5-cache.c r5c_recovery_flush_data_only_stripes() -> r5c_make_stripe_write_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sh | 4096-ptr_max |
| CAPPED_DATA | 0 | &sh->lru | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mddev->reconfig_mutex |
drivers/md/raid5-cache.c r5c_try_caching_write() -> r5c_make_stripe_write_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sh | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->batch_head | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sh->check_state | 0 |
| PARAM_VALUE | 0 | sh->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->log_io | 0 |
| PARAM_VALUE | 0 | sh->ppl_io | 0 |
| PARAM_VALUE | 0 | sh->ppl_io->log->io_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sh->ppl_io->log->ppl_conf->no_mem_stripes_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sh->raid_conf | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->raid_conf->log | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sh->raid_conf->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->reconstruct_state | 0 |
| CAPPED_DATA | 0 | sh | 1 |
| DATA_SOURCE | 0 | sh | $1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sh | unit_jiffy |
drivers/md/raid5-cache.c r5c_try_caching_write() -> r5c_make_stripe_write_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sh | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->batch_head | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sh->check_state | 0 |
| PARAM_VALUE | 0 | sh->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->log_io | 0 |
| PARAM_VALUE | 0 | sh->ppl_io | 0 |
| PARAM_VALUE | 0 | sh->ppl_io->log->io_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sh->ppl_io->log->ppl_conf->no_mem_stripes_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sh->raid_conf | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->raid_conf->log | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sh->raid_conf->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->reconstruct_state | 0 |
| CAPPED_DATA | 0 | sh | 1 |
| DATA_SOURCE | 0 | sh | $1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sh | unit_jiffy |
drivers/md/raid5-cache.c r5c_try_caching_write() -> r5c_make_stripe_write_out()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sh | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->batch_head | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sh->check_state | 0 |
| PARAM_VALUE | 0 | sh->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->log_io | 0 |
| PARAM_VALUE | 0 | sh->ppl_io | 0 |
| PARAM_VALUE | 0 | sh->ppl_io->log->io_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sh->ppl_io->log->ppl_conf->no_mem_stripes_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sh->raid_conf | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->raid_conf->log | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sh->raid_conf->mddev | 4096-ptr_max |
| PARAM_VALUE | 0 | sh->reconstruct_state | 0 |
| CAPPED_DATA | 0 | sh | 1 |
| DATA_SOURCE | 0 | sh | $1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | sh | unit_jiffy |