Home
last modified time | relevance | path

Searched refs:obd_dev_lock (Results 1 – 8 of 8) sorted by relevance

/drivers/staging/lustre/lustre/obdclass/
Dgenops.c305 write_lock(&obd_dev_lock); in class_newdev()
336 write_unlock(&obd_dev_lock); in class_newdev()
372 write_lock(&obd_dev_lock); in class_release_dev()
374 write_unlock(&obd_dev_lock); in class_release_dev()
387 read_lock(&obd_dev_lock); in class_name2dev()
396 read_unlock(&obd_dev_lock); in class_name2dev()
402 read_unlock(&obd_dev_lock); in class_name2dev()
422 read_lock(&obd_dev_lock); in class_uuid2dev()
428 read_unlock(&obd_dev_lock); in class_uuid2dev()
432 read_unlock(&obd_dev_lock); in class_uuid2dev()
[all …]
Dobd_config.c229 spin_lock_init(&obd->obd_dev_lock); in class_attach()
264 spin_lock(&obd->obd_dev_lock); in class_attach()
266 spin_unlock(&obd->obd_dev_lock); in class_attach()
310 spin_lock(&obd->obd_dev_lock); in class_setup()
312 spin_unlock(&obd->obd_dev_lock); in class_setup()
321 spin_unlock(&obd->obd_dev_lock); in class_setup()
351 spin_lock(&obd->obd_dev_lock); in class_setup()
354 spin_unlock(&obd->obd_dev_lock); in class_setup()
385 spin_lock(&obd->obd_dev_lock); in class_detach()
387 spin_unlock(&obd->obd_dev_lock); in class_detach()
[all …]
Dllog_obd.c86 spin_lock(&obd->obd_dev_lock); in __llog_ctxt_put()
88 spin_unlock(&obd->obd_dev_lock); in __llog_ctxt_put()
Dclass_obd.c53 DEFINE_RWLOCK(obd_dev_lock);
/drivers/staging/lustre/lustre/lov/
Dlov_pool.c448 spin_lock(&obd->obd_dev_lock); in lov_pool_new()
451 spin_unlock(&obd->obd_dev_lock); in lov_pool_new()
467 spin_lock(&obd->obd_dev_lock); in lov_pool_new()
470 spin_unlock(&obd->obd_dev_lock); in lov_pool_new()
499 spin_lock(&obd->obd_dev_lock); in lov_pool_del()
502 spin_unlock(&obd->obd_dev_lock); in lov_pool_del()
/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-module.c238 read_lock(&obd_dev_lock); in health_show()
251 read_unlock(&obd_dev_lock); in health_show()
257 read_lock(&obd_dev_lock); in health_show()
259 read_unlock(&obd_dev_lock); in health_show()
/drivers/staging/lustre/lustre/include/
Dobd.h759 spinlock_t obd_dev_lock; /* protect OBD bitfield above */ member
Dobd_class.h63 extern rwlock_t obd_dev_lock;