Lines Matching refs:priv
500 void *priv) in ocfs2_lock_res_init_common() argument
504 res->l_priv = priv; in ocfs2_lock_res_init_common()
2714 struct ocfs2_dlm_seq_priv *priv) in ocfs2_dlm_next_res() argument
2717 struct ocfs2_dlm_debug *dlm_debug = priv->p_dlm_debug; in ocfs2_dlm_next_res()
2741 struct ocfs2_dlm_seq_priv *priv = m->private; in ocfs2_dlm_seq_start() local
2745 iter = ocfs2_dlm_next_res(&priv->p_iter_res, priv); in ocfs2_dlm_seq_start()
2754 priv->p_tmp_res = *iter; in ocfs2_dlm_seq_start()
2755 iter = &priv->p_tmp_res; in ocfs2_dlm_seq_start()
2768 struct ocfs2_dlm_seq_priv *priv = m->private; in ocfs2_dlm_seq_next() local
2770 struct ocfs2_lock_res *dummy = &priv->p_iter_res; in ocfs2_dlm_seq_next()
2773 iter = ocfs2_dlm_next_res(iter, priv); in ocfs2_dlm_seq_next()
2777 priv->p_tmp_res = *iter; in ocfs2_dlm_seq_next()
2778 iter = &priv->p_tmp_res; in ocfs2_dlm_seq_next()
2890 struct ocfs2_dlm_seq_priv *priv = seq->private; in ocfs2_dlm_debug_release() local
2891 struct ocfs2_lock_res *res = &priv->p_iter_res; in ocfs2_dlm_debug_release()
2894 ocfs2_put_dlm_debug(priv->p_dlm_debug); in ocfs2_dlm_debug_release()
2901 struct ocfs2_dlm_seq_priv *priv; in ocfs2_dlm_debug_open() local
2905 priv = kzalloc(sizeof(struct ocfs2_dlm_seq_priv), GFP_KERNEL); in ocfs2_dlm_debug_open()
2906 if (!priv) { in ocfs2_dlm_debug_open()
2913 priv->p_dlm_debug = osb->osb_dlm_debug; in ocfs2_dlm_debug_open()
2914 INIT_LIST_HEAD(&priv->p_iter_res.l_debug_list); in ocfs2_dlm_debug_open()
2918 kfree(priv); in ocfs2_dlm_debug_open()
2924 seq->private = priv; in ocfs2_dlm_debug_open()
2926 ocfs2_add_lockres_tracking(&priv->p_iter_res, in ocfs2_dlm_debug_open()
2927 priv->p_dlm_debug); in ocfs2_dlm_debug_open()