Searched refs:reconfig_mutex (Results 1 - 4 of 4) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/md/
H A Dmd.h262 * 'reconfig_mutex' protects all other reconfiguration.
266 * reconfig_mutex -> bd_mutex : e.g. do_md_run -> revalidate_disk
270 struct mutex reconfig_mutex; member in struct:mddev_s
H A Dmd.c477 mutex_init(&mddev->reconfig_mutex);
569 return mutex_lock_interruptible(&mddev->reconfig_mutex);
574 return mutex_is_locked(&mddev->reconfig_mutex);
579 return mutex_trylock(&mddev->reconfig_mutex);
587 /* These cannot be removed under reconfig_mutex as
588 * an access to the files will try to take reconfig_mutex
595 * We set sysfs_active under reconfig_mutex and elsewhere
602 mutex_unlock(&mddev->reconfig_mutex);
617 mutex_unlock(&mddev->reconfig_mutex);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/md/
H A Dmd.h262 * 'reconfig_mutex' protects all other reconfiguration.
266 * reconfig_mutex -> bd_mutex : e.g. do_md_run -> revalidate_disk
270 struct mutex reconfig_mutex; member in struct:mddev_s
H A Dmd.c477 mutex_init(&mddev->reconfig_mutex);
569 return mutex_lock_interruptible(&mddev->reconfig_mutex);
574 return mutex_is_locked(&mddev->reconfig_mutex);
579 return mutex_trylock(&mddev->reconfig_mutex);
587 /* These cannot be removed under reconfig_mutex as
588 * an access to the files will try to take reconfig_mutex
595 * We set sysfs_active under reconfig_mutex and elsewhere
602 mutex_unlock(&mddev->reconfig_mutex);
617 mutex_unlock(&mddev->reconfig_mutex);

Completed in 88 milliseconds