Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/raid5.c grow_one_stripe() -> alloc_stripe()

Type Parameter Key Value
PARAM_VALUE 1 gfp 3264,8192
PARAM_VALUE 3 conf 4096-ptr_max
BUF_SIZE 3 conf 1216,1600,2712
BUF_SIZE 3 conf 1216,1600,2712
BUF_SIZE 3 conf->pending_data (-1),20480
BUF_SIZE 3 conf->stripe_hashtbl (-1),4096
DATA_SOURCE 1 gfp $1
DATA_SOURCE 3 conf $0
HARD_MAX 1 gfp 8192
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 conf->min_nr_stripes 17-32768
NO_OVERFLOW_SIMPLE 2 disks
NO_OVERFLOW_SIMPLE 3 conf->bio_split.bio_pool.min_nr
NO_OVERFLOW_SIMPLE 3 conf->bio_split.bvec_pool.min_nr
NO_OVERFLOW_SIMPLE 3 conf->mddev->raid_disks
NO_OVERFLOW_SIMPLE 3 conf->pool_size
NO_OVERFLOW_SIMPLE 3 conf->previous_raid_disks
NO_OVERFLOW_SIMPLE 3 conf->raid_disks
NO_OVERFLOW_SIMPLE 3 conf->scribble_disks
HALF_LOCKED2 &mddev->reconfig_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 3 &conf->cache_size_mutex

drivers/md/raid5.c resize_stripes() -> alloc_stripe()

Type Parameter Key Value
PARAM_VALUE 0 sc 1-u64max
PARAM_VALUE 1 gfp 3264
PARAM_VALUE 2 disks (-2147483647)-s32max
PARAM_VALUE 3 conf 4096-ptr_max
PARAM_VALUE 3 conf->cache_name 4096-ptr_max
PARAM_VALUE 3 conf->cache_size_mutex.dep_map->name 0-255
PARAM_VALUE 3 conf->cache_size_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 3 conf->cache_size_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 3 conf->cache_size_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 3 conf->cache_size_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 3 conf->cache_size_mutex.wait_lock.owner (-1)
PARAM_VALUE 3 conf->cache_size_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 3 conf->mddev 4096-ptr_max
PARAM_VALUE 3 conf->pool_size s32min-2147483646
BUF_SIZE 3 conf 1216,1600,2712
BUF_SIZE 3 conf 1216,1600,2712
CAPPED_DATA 0 sc 1
CAPPED_DATA 3 conf->pool_size 1
CAPPED_DATA 3 &conf->cache_size_mutex 1
DATA_SOURCE 2 disks $1
DATA_SOURCE 3 conf $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 conf->scribble_sectors (-2147483647)-0,8-s32max
NO_OVERFLOW_SIMPLE 2 disks
UNITS 2 disks unit_byte
LOCK2 3 &conf->cache_size_mutex
HALF_LOCKED2 &md->suspend_lock
HALF_LOCKED2 &mddev->reconfig_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &rs->md.reconfig_mutex
TYPE_LOCK (struct r5conf)->cache_size_mutex