Lines Matching refs:dlm_debug
345 struct ocfs2_dlm_debug *dlm_debug)
350 list_add(&res->l_debug_list, &dlm_debug->d_lockres_tracking);
2050 struct ocfs2_dlm_debug *dlm_debug;
2052 dlm_debug = container_of(kref, struct ocfs2_dlm_debug, d_refcnt);
2054 kfree(dlm_debug);
2057 void ocfs2_put_dlm_debug(struct ocfs2_dlm_debug *dlm_debug)
2059 if (dlm_debug)
2060 kref_put(&dlm_debug->d_refcnt, ocfs2_dlm_debug_free);
2070 struct ocfs2_dlm_debug *dlm_debug;
2072 dlm_debug = kmalloc(sizeof(struct ocfs2_dlm_debug), GFP_KERNEL);
2073 if (!dlm_debug) {
2078 kref_init(&dlm_debug->d_refcnt);
2079 INIT_LIST_HEAD(&dlm_debug->d_lockres_tracking);
2080 dlm_debug->d_locking_state = NULL;
2082 return dlm_debug;
2096 struct ocfs2_dlm_debug *dlm_debug = priv->p_dlm_debug;
2102 if (&iter->l_debug_list == &dlm_debug->d_lockres_tracking) {
2274 struct ocfs2_dlm_debug *dlm_debug = osb->osb_dlm_debug;
2276 dlm_debug->d_locking_state = debugfs_create_file("locking_state",
2281 if (!dlm_debug->d_locking_state) {
2288 ocfs2_get_dlm_debug(dlm_debug);
2295 struct ocfs2_dlm_debug *dlm_debug = osb->osb_dlm_debug;
2297 if (dlm_debug) {
2298 debugfs_remove(dlm_debug->d_locking_state);
2299 ocfs2_put_dlm_debug(dlm_debug);