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()
3013 struct ocfs2_dlm_debug *dlm_debug; in ocfs2_dlm_debug_free() local
3015 dlm_debug = container_of(kref, struct ocfs2_dlm_debug, d_refcnt); in ocfs2_dlm_debug_free()
3017 kfree(dlm_debug); in ocfs2_dlm_debug_free()
3020 void ocfs2_put_dlm_debug(struct ocfs2_dlm_debug *dlm_debug) in ocfs2_put_dlm_debug() argument
3022 if (dlm_debug) in ocfs2_put_dlm_debug()
3023 kref_put(&dlm_debug->d_refcnt, ocfs2_dlm_debug_free); in ocfs2_put_dlm_debug()
3033 struct ocfs2_dlm_debug *dlm_debug; in ocfs2_new_dlm_debug() local
3035 dlm_debug = kmalloc(sizeof(struct ocfs2_dlm_debug), GFP_KERNEL); in ocfs2_new_dlm_debug()
3036 if (!dlm_debug) { in ocfs2_new_dlm_debug()
3041 kref_init(&dlm_debug->d_refcnt); in ocfs2_new_dlm_debug()
3042 INIT_LIST_HEAD(&dlm_debug->d_lockres_tracking); in ocfs2_new_dlm_debug()
3043 dlm_debug->d_filter_secs = 0; in ocfs2_new_dlm_debug()
3045 return dlm_debug; in ocfs2_new_dlm_debug()
3059 struct ocfs2_dlm_debug *dlm_debug = priv->p_dlm_debug; in ocfs2_dlm_next_res() local
3065 if (&iter->l_debug_list == &dlm_debug->d_lockres_tracking) { in ocfs2_dlm_next_res()
3145 struct ocfs2_dlm_debug *dlm_debug = in ocfs2_dlm_seq_show() local
3153 if (!lockres->l_lock_wait && dlm_debug->d_filter_secs) { in ocfs2_dlm_seq_show()
3166 if (div_u64(now - last, 1000000) > dlm_debug->d_filter_secs) in ocfs2_dlm_seq_show()
3309 struct ocfs2_dlm_debug *dlm_debug = osb->osb_dlm_debug; in ocfs2_dlm_init_debug() local
3315 &dlm_debug->d_filter_secs); in ocfs2_dlm_init_debug()
3316 ocfs2_get_dlm_debug(dlm_debug); in ocfs2_dlm_init_debug()
3321 struct ocfs2_dlm_debug *dlm_debug = osb->osb_dlm_debug; in ocfs2_dlm_shutdown_debug() local
3323 if (dlm_debug) in ocfs2_dlm_shutdown_debug()
3324 ocfs2_put_dlm_debug(dlm_debug); in ocfs2_dlm_shutdown_debug()