Lines Matching refs:dlm_debug

407 				       struct ocfs2_dlm_debug *dlm_debug)  in ocfs2_add_lockres_tracking()  argument
412 list_add(&res->l_debug_list, &dlm_debug->d_lockres_tracking); in ocfs2_add_lockres_tracking()
3010 struct ocfs2_dlm_debug *dlm_debug; in ocfs2_dlm_debug_free() local
3012 dlm_debug = container_of(kref, struct ocfs2_dlm_debug, d_refcnt); in ocfs2_dlm_debug_free()
3014 kfree(dlm_debug); in ocfs2_dlm_debug_free()
3017 void ocfs2_put_dlm_debug(struct ocfs2_dlm_debug *dlm_debug) in ocfs2_put_dlm_debug() argument
3019 if (dlm_debug) in ocfs2_put_dlm_debug()
3020 kref_put(&dlm_debug->d_refcnt, ocfs2_dlm_debug_free); in ocfs2_put_dlm_debug()
3030 struct ocfs2_dlm_debug *dlm_debug; in ocfs2_new_dlm_debug() local
3032 dlm_debug = kmalloc(sizeof(struct ocfs2_dlm_debug), GFP_KERNEL); in ocfs2_new_dlm_debug()
3033 if (!dlm_debug) { in ocfs2_new_dlm_debug()
3038 kref_init(&dlm_debug->d_refcnt); in ocfs2_new_dlm_debug()
3039 INIT_LIST_HEAD(&dlm_debug->d_lockres_tracking); in ocfs2_new_dlm_debug()
3040 dlm_debug->d_filter_secs = 0; in ocfs2_new_dlm_debug()
3042 return dlm_debug; in ocfs2_new_dlm_debug()
3056 struct ocfs2_dlm_debug *dlm_debug = priv->p_dlm_debug; in ocfs2_dlm_next_res() local
3062 if (&iter->l_debug_list == &dlm_debug->d_lockres_tracking) { in ocfs2_dlm_next_res()
3142 struct ocfs2_dlm_debug *dlm_debug = in ocfs2_dlm_seq_show() local
3150 if (!lockres->l_lock_wait && dlm_debug->d_filter_secs) { in ocfs2_dlm_seq_show()
3163 if (div_u64(now - last, 1000000) > dlm_debug->d_filter_secs) in ocfs2_dlm_seq_show()
3306 struct ocfs2_dlm_debug *dlm_debug = osb->osb_dlm_debug; in ocfs2_dlm_init_debug() local
3312 &dlm_debug->d_filter_secs); in ocfs2_dlm_init_debug()
3313 ocfs2_get_dlm_debug(dlm_debug); in ocfs2_dlm_init_debug()
3318 struct ocfs2_dlm_debug *dlm_debug = osb->osb_dlm_debug; in ocfs2_dlm_shutdown_debug() local
3320 if (dlm_debug) in ocfs2_dlm_shutdown_debug()
3321 ocfs2_put_dlm_debug(dlm_debug); in ocfs2_dlm_shutdown_debug()