Lines Matching defs:conn
231 int ocfs2_dlm_lock(struct ocfs2_cluster_connection *conn,
239 lksb->lksb_conn = conn;
241 BUG_ON(lksb->lksb_conn != conn);
242 return active_stack->sp_ops->dlm_lock(conn, mode, lksb, flags,
247 int ocfs2_dlm_unlock(struct ocfs2_cluster_connection *conn,
253 return active_stack->sp_ops->dlm_unlock(conn, lksb, flags);
291 int ocfs2_plock(struct ocfs2_cluster_connection *conn, u64 ino,
296 return active_stack->sp_ops->plock(conn, ino, file, cmd, fl);
310 struct ocfs2_cluster_connection **conn)
316 BUG_ON(conn == NULL);
361 *conn = new_conn;
379 struct ocfs2_cluster_connection **conn)
387 conn);
392 int ocfs2_cluster_disconnect(struct ocfs2_cluster_connection *conn,
397 BUG_ON(conn == NULL);
399 ret = active_stack->sp_ops->disconnect(conn);
403 kfree(conn);
460 int ocfs2_cluster_this_node(struct ocfs2_cluster_connection *conn,
463 return active_stack->sp_ops->this_node(conn, node);