Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/raid5.c raid5_store_group_thread_cnt() -> alloc_thread_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 1 | cnt | 0-8192 |
| PARAM_VALUE | 2 | group_cnt | 2004524529198256128 |
| PARAM_VALUE | 3 | worker_groups | 5613928002002112512 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| BUF_SIZE | 0 | conf | 1216,1600,2712 |
| CAPABLE | 0 | 21 | |
| PARAM_COMPARE | 0 | conf->worker_cnt_per_group | != $1 |
| PARAM_COMPARE | 1 | cnt | != $0->worker_cnt_per_group |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | cnt | |
| LOCK2 | &mddev->reconfig_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |
drivers/md/raid5.c setup_conf() -> alloc_thread_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | conf | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->free_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->free_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->free_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->free_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->free_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->pending_data | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->pending_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->pending_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->pending_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->pending_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | conf->pending_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cnt | 0 |
| PARAM_VALUE | 2 | group_cnt | 1236962566634418176 |
| PARAM_VALUE | 3 | worker_groups | 5675678715526746112 |
| BUF_SIZE | 0 | conf | 2712 |
| BUF_SIZE | 0 | conf->pending_data | 20480 |
| DATA_SOURCE | 0 | conf | r _kzalloc_noprof |