Lines Matching refs:handle_len
491 do_close(struct sftp_conn *conn, const u_char *handle, u_int handle_len) in do_close() argument
503 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in do_close()
524 size_t handle_len; in do_lsreaddir() local
542 handle = get_handle(conn, id, &handle_len, in do_lsreaddir()
563 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in do_lsreaddir()
648 do_close(conn, handle, handle_len); in do_lsreaddir()
768 do_fstat(struct sftp_conn *conn, const u_char *handle, u_int handle_len, in do_fstat() argument
775 handle_len); in do_fstat()
799 do_fsetstat(struct sftp_conn *conn, const u_char *handle, u_int handle_len, in do_fsetstat() argument
806 handle_len, a); in do_fsetstat()
985 do_fsync(struct sftp_conn *conn, u_char *handle, u_int handle_len) in do_fsync() argument
1002 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in do_fsync()
1103 do_fstatvfs(struct sftp_conn *conn, const u_char *handle, u_int handle_len, in do_fstatvfs() argument
1122 (r = sshbuf_put_string(msg, handle, handle_len)) != 0) in do_fstatvfs()
1133 u_int len, const u_char *handle, u_int handle_len) in send_read_request() argument
1143 (r = sshbuf_put_string(msg, handle, handle_len)) != 0 || in send_read_request()
1164 size_t handle_len; in do_download() local
1215 handle = get_handle(conn, id, &handle_len, in do_download()
1244 do_close(conn, handle, handle_len); in do_download()
1290 req->len, handle, handle_len); in do_download()
1359 req->offset, req->len, handle, handle_len); in do_download()
1404 do_close(conn, handle, handle_len); in do_download()
1409 do_close(conn, handle, handle_len); in do_download()
1411 if (do_close(conn, handle, handle_len) != 0 || interrupted) in do_download()
1581 size_t handle_len; in do_upload() local
1646 handle = get_handle(conn, id, &handle_len, in do_upload()
1694 handle_len)) != 0 || in do_upload()
1766 do_fsetstat(conn, handle, handle_len, &a); in do_upload()
1769 (void)do_fsync(conn, handle, handle_len); in do_upload()
1771 if (do_close(conn, handle, handle_len) != 0) in do_upload()