Lines Matching refs:dl
558 struct debug_lockres *dl = m->private; in lockres_seq_start() local
559 struct dlm_ctxt *dlm = dl->dl_ctxt; in lockres_seq_start()
560 struct dlm_lock_resource *oldres = dl->dl_res; in lockres_seq_start()
570 dl = NULL; in lockres_seq_start()
588 dl->dl_res = res; in lockres_seq_start()
592 dump_lockres(res, dl->dl_buf, dl->dl_len - 1); in lockres_seq_start()
595 dl = NULL; in lockres_seq_start()
599 return dl; in lockres_seq_start()
613 struct debug_lockres *dl = (struct debug_lockres *)v; in lockres_seq_show() local
615 seq_printf(s, "%s", dl->dl_buf); in lockres_seq_show()
630 struct debug_lockres *dl; in debug_lockres_open() local
637 dl = __seq_open_private(file, &debug_lockres_ops, sizeof(*dl)); in debug_lockres_open()
638 if (!dl) in debug_lockres_open()
641 dl->dl_len = PAGE_SIZE; in debug_lockres_open()
642 dl->dl_buf = buf; in debug_lockres_open()
645 dl->dl_ctxt = dlm; in debug_lockres_open()
659 struct debug_lockres *dl = (struct debug_lockres *)seq->private; in debug_lockres_release() local
661 if (dl->dl_res) in debug_lockres_release()
662 dlm_lockres_put(dl->dl_res); in debug_lockres_release()
663 dlm_put(dl->dl_ctxt); in debug_lockres_release()
664 kfree(dl->dl_buf); in debug_lockres_release()