Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/raid5.c check_reshape() -> raid5_has_log()

Type Parameter Key Value
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mddev->reconfig_mutex
HALF_LOCKED2 &mddev->reconfig_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &rs->md.reconfig_mutex

drivers/md/raid5.c raid5_resize() -> raid5_has_log()

Type Parameter Key Value
BUF_SIZE 0 conf 1216,1600,2712
BUF_SIZE 0 conf 1216,1600,2712
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cinfo->recv_mutex
HALF_LOCKED2 &mddev->reconfig_mutex

drivers/md/raid5.c stripe_can_batch() -> raid5_has_log()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bi->bi_bdev->bd_queue->queue_lock
HALF_LOCKED2 &head->stripe_lock
HALF_LOCKED2 &md->io_barrier
HALF_LOCKED2 &sh->batch_head->batch_lock
HALF_LOCKED2 &sh->stripe_lock
HALF_LOCKED2 &sh->stripe_lock
HALF_LOCKED2 irq