Lines Matching refs:dlm_debug

408 				       struct ocfs2_dlm_debug *dlm_debug)  in ocfs2_add_lockres_tracking()  argument
413 list_add(&res->l_debug_list, &dlm_debug->d_lockres_tracking); in ocfs2_add_lockres_tracking()
3003 struct ocfs2_dlm_debug *dlm_debug; in ocfs2_dlm_debug_free() local
3005 dlm_debug = container_of(kref, struct ocfs2_dlm_debug, d_refcnt); in ocfs2_dlm_debug_free()
3007 kfree(dlm_debug); in ocfs2_dlm_debug_free()
3010 void ocfs2_put_dlm_debug(struct ocfs2_dlm_debug *dlm_debug) in ocfs2_put_dlm_debug() argument
3012 if (dlm_debug) in ocfs2_put_dlm_debug()
3013 kref_put(&dlm_debug->d_refcnt, ocfs2_dlm_debug_free); in ocfs2_put_dlm_debug()
3023 struct ocfs2_dlm_debug *dlm_debug; in ocfs2_new_dlm_debug() local
3025 dlm_debug = kmalloc(sizeof(struct ocfs2_dlm_debug), GFP_KERNEL); in ocfs2_new_dlm_debug()
3026 if (!dlm_debug) { in ocfs2_new_dlm_debug()
3031 kref_init(&dlm_debug->d_refcnt); in ocfs2_new_dlm_debug()
3032 INIT_LIST_HEAD(&dlm_debug->d_lockres_tracking); in ocfs2_new_dlm_debug()
3033 dlm_debug->d_filter_secs = 0; in ocfs2_new_dlm_debug()
3035 return dlm_debug; in ocfs2_new_dlm_debug()
3049 struct ocfs2_dlm_debug *dlm_debug = priv->p_dlm_debug; in ocfs2_dlm_next_res() local
3055 if (&iter->l_debug_list == &dlm_debug->d_lockres_tracking) { in ocfs2_dlm_next_res()
3135 struct ocfs2_dlm_debug *dlm_debug = in ocfs2_dlm_seq_show() local
3143 if (!lockres->l_lock_wait && dlm_debug->d_filter_secs) { in ocfs2_dlm_seq_show()
3156 if (div_u64(now - last, 1000000) > dlm_debug->d_filter_secs) in ocfs2_dlm_seq_show()
3299 struct ocfs2_dlm_debug *dlm_debug = osb->osb_dlm_debug; in ocfs2_dlm_init_debug() local
3305 &dlm_debug->d_filter_secs); in ocfs2_dlm_init_debug()
3306 ocfs2_get_dlm_debug(dlm_debug); in ocfs2_dlm_init_debug()
3311 struct ocfs2_dlm_debug *dlm_debug = osb->osb_dlm_debug; in ocfs2_dlm_shutdown_debug() local
3313 if (dlm_debug) in ocfs2_dlm_shutdown_debug()
3314 ocfs2_put_dlm_debug(dlm_debug); in ocfs2_dlm_shutdown_debug()