Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dllog_obd.c74 struct obd_llog_group *olg = ctxt->loc_olg; in __llog_ctxt_put() local
78 spin_lock(&olg->olg_lock); in __llog_ctxt_put()
80 spin_unlock(&olg->olg_lock); in __llog_ctxt_put()
83 olg->olg_ctxts[ctxt->loc_idx] = NULL; in __llog_ctxt_put()
84 spin_unlock(&olg->olg_lock); in __llog_ctxt_put()
103 wake_up(&olg->olg_waitq); in __llog_ctxt_put()
111 struct obd_llog_group *olg; in llog_cleanup() local
117 olg = ctxt->loc_olg; in llog_cleanup()
118 LASSERT(olg != NULL); in llog_cleanup()
119 LASSERT(olg != LP_POISON); in llog_cleanup()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_log.h201 struct obd_llog_group *olg, int index,
223 struct obd_llog_group *olg, int ctxt_idx,
380 static inline void llog_group_init(struct obd_llog_group *olg, int group) in llog_group_init() argument
382 init_waitqueue_head(&olg->olg_waitq); in llog_group_init()
383 spin_lock_init(&olg->olg_lock); in llog_group_init()
384 mutex_init(&olg->olg_cat_processing); in llog_group_init()
385 olg->olg_seq = group; in llog_group_init()
388 static inline int llog_group_set_ctxt(struct obd_llog_group *olg, in llog_group_set_ctxt() argument
393 spin_lock(&olg->olg_lock); in llog_group_set_ctxt()
394 if (olg->olg_ctxts[index] != NULL) { in llog_group_set_ctxt()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c2402 struct obd_llog_group *olg = &obd->obd_olg; in mdc_llog_init() local
2406 rc = llog_setup(NULL, obd, olg, LLOG_CHANGELOG_REPL_CTXT, obd, in mdc_llog_init()
2411 ctxt = llog_group_get_ctxt(olg, LLOG_CHANGELOG_REPL_CTXT); in mdc_llog_init()