Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/md/dm-raid1.c mirror_presuspend() -> dm_rh_recovery_in_flight()

Type Parameter Key Value
PARAM_VALUE 0 rh 4096-ptr_max
CAPPED_DATA 0 rh->max_recovery 1
LOCK2 &md->suspend_lock
HALF_LOCKED2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->suspend_lock

drivers/md/dm-raid1.c mirror_presuspend() -> dm_rh_recovery_in_flight()

Type Parameter Key Value
PARAM_VALUE 0 rh 4096-ptr_max
CAPPED_DATA 0 rh->max_recovery 1
TASK_NOT_RUNNING
LOCK2 &md->suspend_lock
HALF_LOCKED2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->suspend_lock

drivers/md/dm-raid1.c mirror_presuspend() -> dm_rh_recovery_in_flight()

Type Parameter Key Value
PARAM_VALUE 0 rh 4096-ptr_max
CAPPED_DATA 0 rh->max_recovery 1
TASK_NOT_RUNNING
LOCK2 &md->suspend_lock
HALF_LOCKED2 &md->io_barrier
TYPE_LOCK (struct mapped_device)->suspend_lock