Lines Matching refs:handle_len

675 sftp_close(struct sftp_conn *conn, const u_char *handle, u_int handle_len)  in sftp_close()  argument
687 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in sftp_close()
708 size_t handle_len; in sftp_lsreaddir() local
726 handle = get_handle(conn, id, &handle_len, in sftp_lsreaddir()
747 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in sftp_lsreaddir()
828 sftp_close(conn, handle, handle_len); in sftp_lsreaddir()
952 sftp_fstat(struct sftp_conn *conn, const u_char *handle, u_int handle_len, in sftp_fstat() argument
961 handle_len); in sftp_fstat()
986 sftp_fsetstat(struct sftp_conn *conn, const u_char *handle, u_int handle_len, in sftp_fsetstat() argument
995 handle_len, a); in sftp_fsetstat()
1337 sftp_fsync(struct sftp_conn *conn, u_char *handle, u_int handle_len) in sftp_fsync() argument
1355 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in sftp_fsync()
1459 sftp_fstatvfs(struct sftp_conn *conn, const u_char *handle, u_int handle_len, in sftp_fstatvfs() argument
1479 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in sftp_fstatvfs()
1523 u_int len, const u_char *handle, u_int handle_len) in send_read_request() argument
1532 (r = sshbuf_put_string(msg, handle, handle_len)) != 0 || in send_read_request()
1546 size_t handle_len; in send_open() local
1574 if ((handle = get_handle(conn, id, &handle_len, in send_open()
1579 *handle_lenp = handle_len; in send_open()
1608 size_t handle_len; in sftp_download() local
1647 &handle, &handle_len) != 0) in sftp_download()
1670 sftp_close(conn, handle, handle_len); in sftp_download()
1717 req->len, handle, handle_len); in sftp_download()
1791 req->offset, req->len, handle, handle_len); in sftp_download()
1845 sftp_close(conn, handle, handle_len); in sftp_download()
1850 sftp_close(conn, handle, handle_len); in sftp_download()
1852 if (sftp_close(conn, handle, handle_len) != 0 || interrupted) in sftp_download()
2047 size_t handle_len; in sftp_upload() local
2104 &handle, &handle_len) != 0) { in sftp_upload()
2147 handle_len)) != 0 || in sftp_upload()
2226 sftp_fsetstat(conn, handle, handle_len, &t); in sftp_upload()
2236 sftp_fsetstat(conn, handle, handle_len, &a); in sftp_upload()
2239 (void)sftp_fsync(conn, handle, handle_len); in sftp_upload()
2241 if (sftp_close(conn, handle, handle_len) != 0) in sftp_upload()