• Home
  • Raw
  • Download

Lines Matching refs:dlm_debug

414 				       struct ocfs2_dlm_debug *dlm_debug)  in ocfs2_add_lockres_tracking()  argument
419 list_add(&res->l_debug_list, &dlm_debug->d_lockres_tracking); in ocfs2_add_lockres_tracking()
2671 struct ocfs2_dlm_debug *dlm_debug; in ocfs2_dlm_debug_free() local
2673 dlm_debug = container_of(kref, struct ocfs2_dlm_debug, d_refcnt); in ocfs2_dlm_debug_free()
2675 kfree(dlm_debug); in ocfs2_dlm_debug_free()
2678 void ocfs2_put_dlm_debug(struct ocfs2_dlm_debug *dlm_debug) in ocfs2_put_dlm_debug() argument
2680 if (dlm_debug) in ocfs2_put_dlm_debug()
2681 kref_put(&dlm_debug->d_refcnt, ocfs2_dlm_debug_free); in ocfs2_put_dlm_debug()
2691 struct ocfs2_dlm_debug *dlm_debug; in ocfs2_new_dlm_debug() local
2693 dlm_debug = kmalloc(sizeof(struct ocfs2_dlm_debug), GFP_KERNEL); in ocfs2_new_dlm_debug()
2694 if (!dlm_debug) { in ocfs2_new_dlm_debug()
2699 kref_init(&dlm_debug->d_refcnt); in ocfs2_new_dlm_debug()
2700 INIT_LIST_HEAD(&dlm_debug->d_lockres_tracking); in ocfs2_new_dlm_debug()
2701 dlm_debug->d_locking_state = NULL; in ocfs2_new_dlm_debug()
2703 return dlm_debug; in ocfs2_new_dlm_debug()
2717 struct ocfs2_dlm_debug *dlm_debug = priv->p_dlm_debug; in ocfs2_dlm_next_res() local
2723 if (&iter->l_debug_list == &dlm_debug->d_lockres_tracking) { in ocfs2_dlm_next_res()
2943 struct ocfs2_dlm_debug *dlm_debug = osb->osb_dlm_debug; in ocfs2_dlm_init_debug() local
2945 dlm_debug->d_locking_state = debugfs_create_file("locking_state", in ocfs2_dlm_init_debug()
2950 if (!dlm_debug->d_locking_state) { in ocfs2_dlm_init_debug()
2957 ocfs2_get_dlm_debug(dlm_debug); in ocfs2_dlm_init_debug()
2964 struct ocfs2_dlm_debug *dlm_debug = osb->osb_dlm_debug; in ocfs2_dlm_shutdown_debug() local
2966 if (dlm_debug) { in ocfs2_dlm_shutdown_debug()
2967 debugfs_remove(dlm_debug->d_locking_state); in ocfs2_dlm_shutdown_debug()
2968 ocfs2_put_dlm_debug(dlm_debug); in ocfs2_dlm_shutdown_debug()