Lines Matching refs:BDRVSSHState

56 typedef struct BDRVSSHState {  struct
84 } BDRVSSHState; argument
86 static void ssh_state_init(BDRVSSHState *s) in ssh_state_init()
93 static void ssh_state_free(BDRVSSHState *s) in ssh_state_free()
113 session_error_setg(Error **errp, BDRVSSHState *s, const char *fs, ...) in session_error_setg()
138 sftp_error_setg(Error **errp, BDRVSSHState *s, const char *fs, ...) in sftp_error_setg()
167 static void sftp_error_trace(BDRVSSHState *s, const char *op) in sftp_error_trace()
276 static int check_host_key_knownhosts(BDRVSSHState *s, Error **errp) in check_host_key_knownhosts()
403 check_host_key_hash(BDRVSSHState *s, const char *hash, in check_host_key_hash()
444 static int check_host_key(BDRVSSHState *s, SshHostKeyCheck *hkc, Error **errp) in check_host_key()
482 static int authenticate(BDRVSSHState *s, Error **errp) in authenticate()
640 static int connect_to_ssh(BDRVSSHState *s, BlockdevOptionsSsh *opts, in connect_to_ssh()
838 BDRVSSHState *s = bs->opaque; in ssh_file_open()
881 static int ssh_grow_file(BDRVSSHState *s, int64_t offset, Error **errp) in ssh_grow_file()
923 BDRVSSHState s; in ssh_co_create()
991 BDRVSSHState *s = bs->opaque; in ssh_close()
998 BDRVSSHState *s = bs->opaque; in ssh_has_zero_init()
1018 BDRVSSHState *s = bs->opaque; in restart_coroutine()
1031 static coroutine_fn void co_yield(BDRVSSHState *s, BlockDriverState *bs) in co_yield()
1057 static coroutine_fn int ssh_read(BDRVSSHState *s, BlockDriverState *bs, in ssh_read()
1122 BDRVSSHState *s = bs->opaque; in ssh_co_readv()
1133 static coroutine_fn int ssh_write(BDRVSSHState *s, BlockDriverState *bs, in ssh_write()
1197 BDRVSSHState *s = bs->opaque; in ssh_co_writev()
1208 static void unsafe_flush_warning(BDRVSSHState *s, const char *what) in unsafe_flush_warning()
1220 static coroutine_fn int ssh_flush(BDRVSSHState *s, BlockDriverState *bs) in ssh_flush()
1246 BDRVSSHState *s = bs->opaque; in ssh_co_flush()
1258 BDRVSSHState *s = bs->opaque; in ssh_co_getlength()
1272 BDRVSSHState *s = bs->opaque; in ssh_co_truncate()
1294 BDRVSSHState *s = bs->opaque; in ssh_refresh_filename()
1358 .instance_size = sizeof(BDRVSSHState),