Lines Matching refs:mddev_lock
3699 rv = mddev ? mddev_lock(mddev) : -ENODEV; in rdev_attr_store()
3993 rv = mddev_lock(mddev); in level_store()
4206 err = mddev_lock(mddev); in layout_store()
4256 err = mddev_lock(mddev); in raid_disks_store()
4316 err = mddev_lock(mddev); in chunk_size_store()
4365 err = mddev_lock(mddev); in resync_start_store()
4508 err = mddev_lock(mddev); in array_state_store()
4669 err = mddev_lock(mddev); in new_dev_store()
4713 err = mddev_lock(mddev); in bitmap_store()
4761 err = mddev_lock(mddev); in size_store()
4811 err = mddev_lock(mddev); in metadata_store()
4905 mddev_lock(mddev) == 0) { in action_store()
4925 err = mddev_lock(mddev); in action_store()
5233 err = mddev_lock(mddev); in suspend_lo_store()
5270 err = mddev_lock(mddev); in suspend_hi_store()
5311 err = mddev_lock(mddev); in reshape_position_store()
5357 err = mddev_lock(mddev); in reshape_direction_store()
5392 err = mddev_lock(mddev); in array_size_store()
5532 err = mddev_lock(mddev); in serialize_policy_store()
6598 if (mddev_lock(mddev)) in autorun_devices()
7658 err = mddev_lock(mddev); in md_ioctl()