Lines Matching refs:handle_len

484 do_close(struct sftp_conn *conn, const u_char *handle, u_int handle_len)  in do_close()  argument
496 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in do_close()
517 size_t handle_len; in do_lsreaddir() local
536 handle = get_handle(conn, id, &handle_len, in do_lsreaddir()
557 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in do_lsreaddir()
640 do_close(conn, handle, handle_len); in do_lsreaddir()
760 do_fstat(struct sftp_conn *conn, const u_char *handle, u_int handle_len, in do_fstat() argument
767 handle_len); in do_fstat()
791 do_fsetstat(struct sftp_conn *conn, const u_char *handle, u_int handle_len, in do_fsetstat() argument
798 handle_len, a); in do_fsetstat()
977 do_fsync(struct sftp_conn *conn, u_char *handle, u_int handle_len) in do_fsync() argument
994 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in do_fsync()
1095 do_fstatvfs(struct sftp_conn *conn, const u_char *handle, u_int handle_len, in do_fstatvfs() argument
1114 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in do_fstatvfs()
1125 u_int len, const u_char *handle, u_int handle_len) in send_read_request() argument
1135 (r = sshbuf_put_string(msg, handle, handle_len)) != 0 || in send_read_request()
1156 size_t handle_len; in do_download() local
1207 handle = get_handle(conn, id, &handle_len, in do_download()
1236 do_close(conn, handle, handle_len); in do_download()
1282 req->len, handle, handle_len); in do_download()
1351 req->offset, req->len, handle, handle_len); in do_download()
1396 do_close(conn, handle, handle_len); in do_download()
1401 do_close(conn, handle, handle_len); in do_download()
1403 if (do_close(conn, handle, handle_len) != 0 || interrupted) in do_download()
1573 size_t handle_len; in do_upload() local
1638 handle = get_handle(conn, id, &handle_len, in do_upload()
1686 handle_len)) != 0 || in do_upload()
1758 do_fsetstat(conn, handle, handle_len, &a); in do_upload()
1761 (void)do_fsync(conn, handle, handle_len); in do_upload()
1763 if (do_close(conn, handle, handle_len) != SSH2_FX_OK) in do_upload()