Lines Matching defs:dlm_debug
418 struct ocfs2_dlm_debug *dlm_debug)
423 list_add(&res->l_debug_list, &dlm_debug->d_lockres_tracking);
2750 struct ocfs2_dlm_debug *dlm_debug;
2752 dlm_debug = container_of(kref, struct ocfs2_dlm_debug, d_refcnt);
2754 kfree(dlm_debug);
2757 void ocfs2_put_dlm_debug(struct ocfs2_dlm_debug *dlm_debug)
2759 if (dlm_debug)
2760 kref_put(&dlm_debug->d_refcnt, ocfs2_dlm_debug_free);
2770 struct ocfs2_dlm_debug *dlm_debug;
2772 dlm_debug = kmalloc(sizeof(struct ocfs2_dlm_debug), GFP_KERNEL);
2773 if (!dlm_debug) {
2778 kref_init(&dlm_debug->d_refcnt);
2779 INIT_LIST_HEAD(&dlm_debug->d_lockres_tracking);
2780 dlm_debug->d_locking_state = NULL;
2782 return dlm_debug;
2796 struct ocfs2_dlm_debug *dlm_debug = priv->p_dlm_debug;
2802 if (&iter->l_debug_list == &dlm_debug->d_lockres_tracking) {
3015 struct ocfs2_dlm_debug *dlm_debug = osb->osb_dlm_debug;
3017 dlm_debug->d_locking_state = debugfs_create_file("locking_state",
3022 if (!dlm_debug->d_locking_state) {
3029 ocfs2_get_dlm_debug(dlm_debug);
3036 struct ocfs2_dlm_debug *dlm_debug = osb->osb_dlm_debug;
3038 if (dlm_debug) {
3039 debugfs_remove(dlm_debug->d_locking_state);
3040 ocfs2_put_dlm_debug(dlm_debug);