Lines Matching refs:cached_connection
103 static conn_t *cached_connection; variable
587 if (io->cconn == cached_connection && io->cconn->ref == 1) in ftp_closefn()
588 cached_connection = NULL; in ftp_closefn()
1017 if (conn == cached_connection && conn->ref == 1) in ftp_disconnect()
1018 cached_connection = NULL; in ftp_disconnect()
1028 return (cached_connection in ftp_isconnected()
1050 e = ftp_cmd(cached_connection, "NOOP"); in ftp_cached_connect()
1052 return (fetch_ref(cached_connection)); in ftp_cached_connect()
1058 if (cached_connection) in ftp_cached_connect()
1059 ftp_disconnect(cached_connection); in ftp_cached_connect()
1060 cached_connection = fetch_ref(conn); in ftp_cached_connect()