Home
last modified time | relevance | path

Searched refs:lgh_lock (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dllog_cat.c161 down_write(&cathandle->lgh_lock); in llog_cat_id2handle()
176 up_write(&cathandle->lgh_lock); in llog_cat_id2handle()
181 up_write(&cathandle->lgh_lock); in llog_cat_id2handle()
199 down_write(&cathandle->lgh_lock); in llog_cat_id2handle()
201 up_write(&cathandle->lgh_lock); in llog_cat_id2handle()
271 down_read_nested(&cathandle->lgh_lock, LLOGH_CAT); in llog_cat_current_log()
276 down_write_nested(&loghandle->lgh_lock, LLOGH_LOG); in llog_cat_current_log()
280 up_read(&cathandle->lgh_lock); in llog_cat_current_log()
283 up_write(&loghandle->lgh_lock); in llog_cat_current_log()
286 up_read(&cathandle->lgh_lock); in llog_cat_current_log()
[all …]
Dllog.c67 init_rwsem(&loghandle->lgh_lock); in llog_alloc_handle()
843 down_write(&loghandle->lgh_lock); in llog_write()
846 up_write(&loghandle->lgh_lock); in llog_write()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_log.h286 struct rw_semaphore lgh_lock; member