Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/md.c mddev_suspend() -> (struct md_personality)->prepare_suspend()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->active_io.data 0,4096-ptr_max
PARAM_VALUE 0 mddev->active_io.data->rcu.func 1-u64max
PARAM_VALUE 0 mddev->active_io.data->rcu.next 0
PARAM_VALUE 0 mddev->pers 4096-ptr_max
PARAM_VALUE 0 mddev->pers->prepare_suspend 1-u64max
PARAM_VALUE 0 mddev->reshape_position 0-18446744073709551614
PARAM_VALUE 0 mddev->suspend_mutex.dep_map->name 0-255
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mddev->suspend_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 mddev->suspend_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 mddev->suspend_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 mddev->suspend_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 mddev->suspend_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 mddev->suspended 0
BUF_SIZE 0 mddev (-1),8,96,1296
BUF_SIZE 0 mddev (-1),8,96,1296
CAPPED_DATA 0 &mddev->suspend_mutex 1
DATA_SOURCE 0 mddev $0
CONTAINER 0 -152-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 mddev->sync_set.bio_slab->object_size
LOCK2 0 &mddev->suspend_mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct mddev)->suspend_mutex

drivers/md/dm-raid.c raid_presuspend() -> (struct md_personality)->prepare_suspend()

Type Parameter Key Value
PARAM_VALUE 0 mddev 4096-ptr_max
PARAM_VALUE 0 mddev->pers 4096-ptr_max
PARAM_VALUE 0 mddev->pers->prepare_suspend 1-u64max
PARAM_VALUE 0 mddev->reshape_position 0-18446744073709551614
BUF_SIZE 0 mddev 4112
CONTAINER 0 -152-8+0 $(-1)
NOCHECK_CALL
LOCK2 &md->suspend_lock
HALF_LOCKED2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->suspend_lock