Lines Matching refs:priv
515 void *priv) in ocfs2_lock_res_init_common() argument
519 res->l_priv = priv; in ocfs2_lock_res_init_common()
3025 struct ocfs2_dlm_seq_priv *priv) in ocfs2_dlm_next_res() argument
3028 struct ocfs2_dlm_debug *dlm_debug = priv->p_dlm_debug; in ocfs2_dlm_next_res()
3052 struct ocfs2_dlm_seq_priv *priv = m->private; in ocfs2_dlm_seq_start() local
3056 iter = ocfs2_dlm_next_res(&priv->p_iter_res, priv); in ocfs2_dlm_seq_start()
3065 priv->p_tmp_res = *iter; in ocfs2_dlm_seq_start()
3066 iter = &priv->p_tmp_res; in ocfs2_dlm_seq_start()
3079 struct ocfs2_dlm_seq_priv *priv = m->private; in ocfs2_dlm_seq_next() local
3081 struct ocfs2_lock_res *dummy = &priv->p_iter_res; in ocfs2_dlm_seq_next()
3084 iter = ocfs2_dlm_next_res(iter, priv); in ocfs2_dlm_seq_next()
3088 priv->p_tmp_res = *iter; in ocfs2_dlm_seq_next()
3089 iter = &priv->p_tmp_res; in ocfs2_dlm_seq_next()
3239 struct ocfs2_dlm_seq_priv *priv = seq->private; in ocfs2_dlm_debug_release() local
3240 struct ocfs2_lock_res *res = &priv->p_iter_res; in ocfs2_dlm_debug_release()
3243 ocfs2_put_dlm_debug(priv->p_dlm_debug); in ocfs2_dlm_debug_release()
3249 struct ocfs2_dlm_seq_priv *priv; in ocfs2_dlm_debug_open() local
3252 priv = __seq_open_private(file, &ocfs2_dlm_seq_ops, sizeof(*priv)); in ocfs2_dlm_debug_open()
3253 if (!priv) { in ocfs2_dlm_debug_open()
3260 priv->p_dlm_debug = osb->osb_dlm_debug; in ocfs2_dlm_debug_open()
3261 INIT_LIST_HEAD(&priv->p_iter_res.l_debug_list); in ocfs2_dlm_debug_open()
3263 ocfs2_add_lockres_tracking(&priv->p_iter_res, in ocfs2_dlm_debug_open()
3264 priv->p_dlm_debug); in ocfs2_dlm_debug_open()