Lines Matching refs:handle_len
390 do_close(struct sftp_conn *conn, char *handle, u_int handle_len) in do_close() argument
400 buffer_put_string(&msg, handle, handle_len); in do_close()
419 u_int count, type, id, handle_len, i, expected_id, ents = 0; in do_lsreaddir() local
432 handle = get_handle(conn->fd_in, id, &handle_len, in do_lsreaddir()
451 buffer_put_string(&msg, handle, handle_len); in do_lsreaddir()
476 do_close(conn, handle, handle_len); in do_lsreaddir()
525 do_close(conn, handle, handle_len); in do_lsreaddir()
640 do_fstat(struct sftp_conn *conn, char *handle, u_int handle_len, int quiet) in do_fstat() argument
646 handle_len); in do_fstat()
670 do_fsetstat(struct sftp_conn *conn, char *handle, u_int handle_len, in do_fsetstat() argument
677 handle_len, a); in do_fsetstat()
876 do_fstatvfs(struct sftp_conn *conn, const char *handle, u_int handle_len, in do_fstatvfs() argument
894 buffer_put_string(&msg, handle, handle_len); in do_fstatvfs()
904 char *handle, u_int handle_len) in send_read_request() argument
912 buffer_put_string(&msg, handle, handle_len); in send_read_request()
929 u_int handle_len, mode, type, id, buflen, num_req, max_req; in do_download() local
976 handle = get_handle(conn->fd_in, id, &handle_len, in do_download()
988 do_close(conn, handle, handle_len); in do_download()
1030 req->len, handle, handle_len); in do_download()
1090 req->offset, req->len, handle, handle_len); in do_download()
1124 do_close(conn, handle, handle_len); in do_download()
1129 do_close(conn, handle, handle_len); in do_download()
1131 status = do_close(conn, handle, handle_len); in do_download()
1268 u_int handle_len, id, type; in do_upload() local
1325 handle = get_handle(conn->fd_in, id, &handle_len, in do_upload()
1370 buffer_put_string(&msg, handle, handle_len); in do_upload()
1435 do_fsetstat(conn, handle, handle_len, &a); in do_upload()
1437 if (do_close(conn, handle, handle_len) != SSH2_FX_OK) in do_upload()