Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dllog_obd.c73 struct obd_llog_group *olg = ctxt->loc_olg; in __llog_ctxt_put() local
77 spin_lock(&olg->olg_lock); in __llog_ctxt_put()
79 spin_unlock(&olg->olg_lock); in __llog_ctxt_put()
82 olg->olg_ctxts[ctxt->loc_idx] = NULL; in __llog_ctxt_put()
83 spin_unlock(&olg->olg_lock); in __llog_ctxt_put()
102 wake_up(&olg->olg_waitq); in __llog_ctxt_put()
110 struct obd_llog_group *olg; in llog_cleanup() local
116 olg = ctxt->loc_olg; in llog_cleanup()
117 LASSERT(olg != NULL); in llog_cleanup()
118 LASSERT(olg != LP_POISON); in llog_cleanup()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_log.h142 struct obd_llog_group *olg, int index,
159 struct obd_llog_group *olg, int ctxt_idx,
286 static inline void llog_group_init(struct obd_llog_group *olg, int group) in llog_group_init() argument
288 init_waitqueue_head(&olg->olg_waitq); in llog_group_init()
289 spin_lock_init(&olg->olg_lock); in llog_group_init()
290 mutex_init(&olg->olg_cat_processing); in llog_group_init()
291 olg->olg_seq = group; in llog_group_init()
294 static inline int llog_group_set_ctxt(struct obd_llog_group *olg, in llog_group_set_ctxt() argument
299 spin_lock(&olg->olg_lock); in llog_group_set_ctxt()
300 if (olg->olg_ctxts[index] != NULL) { in llog_group_set_ctxt()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c2275 struct obd_llog_group *olg = &obd->obd_olg; in mdc_llog_init() local
2279 rc = llog_setup(NULL, obd, olg, LLOG_CHANGELOG_REPL_CTXT, obd, in mdc_llog_init()
2284 ctxt = llog_group_get_ctxt(olg, LLOG_CHANGELOG_REPL_CTXT); in mdc_llog_init()