Lines Matching refs:cached_connection
105 static conn_t *cached_connection; variable
589 if (io->cconn == cached_connection && io->cconn->ref == 1) in ftp_closefn()
590 cached_connection = NULL; in ftp_closefn()
1019 if (conn == cached_connection && conn->ref == 1) in ftp_disconnect()
1020 cached_connection = NULL; in ftp_disconnect()
1030 return (cached_connection in ftp_isconnected()
1052 e = ftp_cmd(cached_connection, "NOOP"); in ftp_cached_connect()
1054 return (fetch_ref(cached_connection)); in ftp_cached_connect()
1060 if (cached_connection) in ftp_cached_connect()
1061 ftp_disconnect(cached_connection); in ftp_cached_connect()
1062 cached_connection = fetch_ref(conn); in ftp_cached_connect()