Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/booksarch-handbookscsi_index/pt/units/?format=api&page=4
https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/units/?format=api&page=5", "previous": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/units/?format=api&page=3", "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " /* the clean values of negotiations to report */\n neg.bus_width = 8;\n neg.sync_period = neg.sync_offset = 0;\n neg.valid = (CCB_TRANS_BUS_WIDTH_VALID\n | CCB_TRANS_SYNC_RATE_VALID | CCB_TRANS_SYNC_OFFSET_VALID);\n" ], "previous_source": "", "target": [ "" ], "id_hash": 1446711677373990885, "content_hash": 1446711677373990885, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:620", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 151, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 24, "source_unit": "https://translate-dev.freebsd.org/api/units/1055264/?format=api", "priority": 100, "id": 1560073, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=9413c09b064947e5", "url": "https://translate-dev.freebsd.org/api/units/1560073/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.097515Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " /* drop all disconnected CCBs and clean negotiations */\n for (targ=0; targ <= OUR_MAX_SUPPORTED_TARGET; targ++) {\n clean_negotiations(softc, targ);\n" ], "previous_source": "", "target": [ "" ], "id_hash": 84246132073336958, "content_hash": 84246132073336958, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:624", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 152, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/1246780/?format=api", "priority": 100, "id": 1560074, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=812b4d6927ee907e", "url": "https://translate-dev.freebsd.org/api/units/1560074/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.100819Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " /* report the event if possible */\n if (xpt_create_path(&path, /*periph*/NULL,\n cam_sim_path(sim), targ,\n CAM_LUN_WILDCARD) == CAM_REQ_CMP) {\n xpt_async(AC_TRANSFER_NEG, path, &neg);\n xpt_free_path(path);\n }\n" ], "previous_source": "", "target": [ "" ], "id_hash": -2070398338347294298, "content_hash": -2070398338347294298, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:632", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 153, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate-dev.freebsd.org/api/units/1246782/?format=api", "priority": 100, "id": 1560075, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=634477ae434021a6", "url": "https://translate-dev.freebsd.org/api/units/1560075/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.185881Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " for (lun=0; lun <= OUR_MAX_SUPPORTED_LUN; lun++)\n for (h = softc->first_discon_hcb[targ][lun]; h != NULL; h = hh) {\n hh=h->next;\n free_hcb_and_ccb_done(h, h->ccb, CAM_SCSI_BUS_RESET);\n }\n }\n" ], "previous_source": "", "target": [ "" ], "id_hash": -4482695575550097849, "content_hash": -4482695575550097849, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:639", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 154, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate-dev.freebsd.org/api/units/1246784/?format=api", "priority": 100, "id": 1560076, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=41ca441fd71f0647", "url": "https://translate-dev.freebsd.org/api/units/1560076/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.190105Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " ccb->ccb_h.status = CAM_REQ_CMP;\n xpt_done(ccb);\n" ], "previous_source": "", "target": [ "" ], "id_hash": 2674272974491193670, "content_hash": 2674272974491193670, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:642", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 155, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1055272/?format=api", "priority": 100, "id": 1560077, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=a51ced19f4f99146", "url": "https://translate-dev.freebsd.org/api/units/1560077/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.194893Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " /* report the event */\n xpt_async(AC_BUS_RESET, softc->wpath, NULL);\n return;\n" ], "previous_source": "", "target": [ "" ], "id_hash": 3128721794943509466, "content_hash": 3128721794943509466, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:646", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 156, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1055274/?format=api", "priority": 100, "id": 1560078, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=ab6b73e554a163da", "url": "https://translate-dev.freebsd.org/api/units/1560078/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.198479Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "Implementing the SCSI bus reset as a function may be a good idea because it would be re-used by the timeout function as a last resort if the things go wrong." ], "previous_source": "", "target": [ "" ], "id_hash": 8327540297254326578, "content_hash": 8327540297254326578, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:649", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 157, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate-dev.freebsd.org/api/units/1186646/?format=api", "priority": 100, "id": 1560079, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=f3915dc776985132", "url": "https://translate-dev.freebsd.org/api/units/1560079/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.282843Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_XPT_ABORT_ - abort the specified CCB" ], "previous_source": "", "target": [ "" ], "id_hash": 121683473304168362, "content_hash": 121683473304168362, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:650", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 158, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1055278/?format=api", "priority": 100, "id": 1560080, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=81b04e796954a7aa", "url": "https://translate-dev.freebsd.org/api/units/1560080/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.286705Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "The arguments are transferred in the instance \"struct ccb_abort cab\" of the union ccb. The only argument field in it is:" ], "previous_source": "", "target": [ "" ], "id_hash": 850409128025357247, "content_hash": 850409128025357247, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:654", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 159, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate-dev.freebsd.org/api/units/1246786/?format=api", "priority": 100, "id": 1560081, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=8bcd4298a5b37bbf", "url": "https://translate-dev.freebsd.org/api/units/1560081/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.289663Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_abort_ccb_ - pointer to the CCB to be aborted" ], "previous_source": "", "target": [ "" ], "id_hash": -4769701697884959643, "content_hash": -4769701697884959643, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:656", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 160, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1186650/?format=api", "priority": 100, "id": 1560082, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=3dce9d93a4fd4c65", "url": "https://translate-dev.freebsd.org/api/units/1560082/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.292686Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "If the abort is not supported just return the status CAM_UA_ABORT. This is also the easy way to minimally implement this call, return CAM_UA_ABORT in any case." ], "previous_source": "", "target": [ "" ], "id_hash": 3022314783035684806, "content_hash": 3022314783035684806, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:659", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 161, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate-dev.freebsd.org/api/units/1246788/?format=api", "priority": 100, "id": 1560083, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=a9f16b484240f7c6", "url": "https://translate-dev.freebsd.org/api/units/1560083/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.296627Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "The hard way is to implement this request honestly. First check that abort applies to a SCSI transaction:" ], "previous_source": "", "target": [ "" ], "id_hash": 1222902410414346976, "content_hash": 1222902410414346976, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:662", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 162, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/1246790/?format=api", "priority": 100, "id": 1560084, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=90f89f4357b752e0", "url": "https://translate-dev.freebsd.org/api/units/1560084/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.300708Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " struct ccb *abort_ccb;\n abort_ccb = ccb->cab.abort_ccb;\n" ], "previous_source": "", "target": [ "" ], "id_hash": 6523111661658740907, "content_hash": 6523111661658740907, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:667", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 163, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1055288/?format=api", "priority": 100, "id": 1560085, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=da86bf7ecf6098ab", "url": "https://translate-dev.freebsd.org/api/units/1560085/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.303877Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " if (abort_ccb->ccb_h.func_code != XPT_SCSI_IO) {\n ccb->ccb_h.status = CAM_UA_ABORT;\n xpt_done(ccb);\n return;\n }\n" ], "previous_source": "", "target": [ "" ], "id_hash": 1928160779053499733, "content_hash": 1928160779053499733, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:673", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 164, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate-dev.freebsd.org/api/units/1246792/?format=api", "priority": 100, "id": 1560086, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=9ac2340341530555", "url": "https://translate-dev.freebsd.org/api/units/1560086/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.383800Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "Then it is necessary to find this CCB in our queue. This can be done by walking the list of all our hardware control blocks in search for one associated with this CCB:" ], "previous_source": "", "target": [ "" ], "id_hash": -4127105576780536716, "content_hash": -4127105576780536716, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:677", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 165, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://translate-dev.freebsd.org/api/units/1246794/?format=api", "priority": 100, "id": 1560087, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=46b9935821766474", "url": "https://translate-dev.freebsd.org/api/units/1560087/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.387705Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " struct xxx_hcb *hcb, *h;\n" ], "previous_source": "", "target": [ "" ], "id_hash": -8301609788266544018, "content_hash": -8301609788266544018, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:681", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 166, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1055294/?format=api", "priority": 100, "id": 1560088, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=0ccac1e1a277846e", "url": "https://translate-dev.freebsd.org/api/units/1560088/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.391485Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " hcb = NULL;\n" ], "previous_source": "", "target": [ "" ], "id_hash": -6190176598349005903, "content_hash": -6190176598349005903, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:683", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 167, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1055296/?format=api", "priority": 100, "id": 1560089, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=2a18132e4678bbb1", "url": "https://translate-dev.freebsd.org/api/units/1560089/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.396049Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " /* We assume that softc->first_hcb is the head of the list of all\n * HCBs associated with this bus, including those enqueued for\n * processing, being processed by hardware and disconnected ones.\n */\n for (h = softc->first_hcb; h != NULL; h = h->next) {\n if (h->ccb == abort_ccb) {\n hcb = h;\n break;\n }\n }\n" ], "previous_source": "", "target": [ "" ], "id_hash": -6003531185185911514, "content_hash": -6003531185185911514, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:694", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 168, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 55, "source_unit": "https://translate-dev.freebsd.org/api/units/1246796/?format=api", "priority": 100, "id": 1560090, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=2caf2c31f5038d26", "url": "https://translate-dev.freebsd.org/api/units/1560090/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.400300Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " if (hcb == NULL) {\n /* no such CCB in our queue */\n ccb->ccb_h.status = CAM_PATH_INVALID;\n xpt_done(ccb);\n return;\n }\n" ], "previous_source": "", "target": [ "" ], "id_hash": -7644573077636779200, "content_hash": -7644573077636779200, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:701", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 169, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/1246798/?format=api", "priority": 100, "id": 1560091, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=15e90549dff1f340", "url": "https://translate-dev.freebsd.org/api/units/1560091/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.403807Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " hcb=found_hcb;\n" ], "previous_source": "", "target": [ "" ], "id_hash": -3511665615327451205, "content_hash": -3511665615327451205, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:703", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 170, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1055302/?format=api", "priority": 100, "id": 1560092, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=4f440eba7c7427bb", "url": "https://translate-dev.freebsd.org/api/units/1560092/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.407592Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "Now we look at the current processing status of the HCB. It may be either sitting in the queue waiting to be sent to the SCSI bus, being transferred right now, or disconnected and waiting for the result of the command, or actually completed by hardware but not yet marked as done by software. To make sure that we do not get in any races with hardware we mark the HCB as being aborted, so that if this HCB is about to be sent to the SCSI bus the SCSI controller will see this flag and skip it." ], "previous_source": "", "target": [ "" ], "id_hash": -7979385359998684553, "content_hash": -7979385359998684553, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:708", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 171, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 98, "source_unit": "https://translate-dev.freebsd.org/api/units/1246800/?format=api", "priority": 100, "id": 1560093, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=1143874aab537277", "url": "https://translate-dev.freebsd.org/api/units/1560093/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.488947Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " int hstatus;\n" ], "previous_source": "", "target": [ "" ], "id_hash": 6406661934100985964, "content_hash": 6406661934100985964, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:712", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 172, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1055306/?format=api", "priority": 100, "id": 1560094, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=d8e90915ca1b386c", "url": "https://translate-dev.freebsd.org/api/units/1560094/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.494167Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " /* shown as a function, in case special action is needed to make\n * this flag visible to hardware\n */\n set_hcb_flags(hcb, HCB_BEING_ABORTED);\n" ], "previous_source": "", "target": [ "" ], "id_hash": 6401544009337773888, "content_hash": 6401544009337773888, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:717", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 173, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate-dev.freebsd.org/api/units/1055308/?format=api", "priority": 100, "id": 1560095, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=d8d6da5c129b9f40", "url": "https://translate-dev.freebsd.org/api/units/1560095/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.505011Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " abort_again:\n" ], "previous_source": "", "target": [ "" ], "id_hash": -8075272487373739983, "content_hash": -8075272487373739983, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:719", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 174, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1055310/?format=api", "priority": 100, "id": 1560096, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=0feede75159a6831", "url": "https://translate-dev.freebsd.org/api/units/1560096/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.516789Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " hstatus = get_hcb_status(hcb);\n switch (hstatus) {\n case HCB_SITTING_IN_QUEUE:\n remove_hcb_from_hardware_queue(hcb);\n /* FALLTHROUGH */\n case HCB_COMPLETED:\n /* this is an easy case */\n free_hcb_and_ccb_done(hcb, abort_ccb, CAM_REQ_ABORTED);\n break;\n" ], "previous_source": "", "target": [ "" ], "id_hash": -4043240677811312488, "content_hash": -4043240677811312488, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:729", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 175, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translate-dev.freebsd.org/api/units/1246802/?format=api", "priority": 100, "id": 1560097, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=47e3860689a5a898", "url": "https://translate-dev.freebsd.org/api/units/1560097/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.587559Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "If the CCB is being transferred right now we would like to signal to the SCSI controller in some hardware-dependent way that we want to abort the current transfer. The SCSI controller would set the SCSI ATTENTION signal and when the target responds to it send an ABORT message. We also reset the timeout to make sure that the target is not sleeping forever. If the command would not get aborted in some reasonable time like 10 seconds the timeout routine would go ahead and reset the whole SCSI bus. Since the command will be aborted in some reasonable time we can just return the abort request now as successfully completed, and mark the aborted CCB as aborted (but not mark it as done yet)." ], "previous_source": "", "target": [ "" ], "id_hash": -5442469201435145117, "content_hash": -5442469201435145117, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:736", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 176, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 125, "source_unit": "https://translate-dev.freebsd.org/api/units/1246804/?format=api", "priority": 100, "id": 1560098, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=34787718c3744c63", "url": "https://translate-dev.freebsd.org/api/units/1560098/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.592028Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " case HCB_BEING_TRANSFERRED:\n untimeout(xxx_timeout, (caddr_t) hcb, abort_ccb->ccb_h.timeout_ch);\n abort_ccb->ccb_h.timeout_ch =\n timeout(xxx_timeout, (caddr_t) hcb, 10 * hz);\n abort_ccb->ccb_h.status = CAM_REQ_ABORTED;\n /* ask the controller to abort that HCB, then generate\n * an interrupt and stop\n */\n if (signal_hardware_to_abort_hcb_and_stop(hcb) < 0) {\n /* oops, we missed the race with hardware, this transaction\n * got off the bus before we aborted it, try again */\n goto abort_again;\n }\n" ], "previous_source": "", "target": [ "" ], "id_hash": 4313169696377519300, "content_hash": 4313169696377519300, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:752", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 177, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 63, "source_unit": "https://translate-dev.freebsd.org/api/units/1246806/?format=api", "priority": 100, "id": 1560099, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=bbdb74fc988fbcc4", "url": "https://translate-dev.freebsd.org/api/units/1560099/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.597839Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " break;\n" ], "previous_source": "", "target": [ "" ], "id_hash": 681248477420849247, "content_hash": 681248477420849247, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:754", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 178, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1055318/?format=api", "priority": 100, "id": 1560100, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=897447e17c72085f", "url": "https://translate-dev.freebsd.org/api/units/1560100/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.601931Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "If the CCB is in the list of disconnected then set it up as an abort request and re-queue it at the front of hardware queue. Reset the timeout and report the abort request to be completed." ], "previous_source": "", "target": [ "" ], "id_hash": 2696060832400194310, "content_hash": 2696060832400194310, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:758", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 179, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 37, "source_unit": "https://translate-dev.freebsd.org/api/units/1246808/?format=api", "priority": 100, "id": 1560101, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=a56a550af00ebb06", "url": "https://translate-dev.freebsd.org/api/units/1560101/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.682294Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " case HCB_DISCONNECTED:\n untimeout(xxx_timeout, (caddr_t) hcb, abort_ccb->ccb_h.timeout_ch);\n abort_ccb->ccb_h.timeout_ch =\n timeout(xxx_timeout, (caddr_t) hcb, 10 * hz);\n put_abort_message_into_hcb(hcb);\n put_hcb_at_the_front_of_hardware_queue(hcb);\n break;\n }\n ccb->ccb_h.status = CAM_REQ_CMP;\n xpt_done(ccb);\n return;\n" ], "previous_source": "", "target": [ "" ], "id_hash": -860542785164285033, "content_hash": -860542785164285033, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:772", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 180, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate-dev.freebsd.org/api/units/1055322/?format=api", "priority": 100, "id": 1560102, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=740ebce57041eb97", "url": "https://translate-dev.freebsd.org/api/units/1560102/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.687015Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "That is all for the ABORT request, although there is one more issue. As the ABORT message cleans all the ongoing transactions on a LUN we have to mark all the other active transactions on this LUN as aborted. That should be done in the interrupt routine, after the transaction gets aborted." ], "previous_source": "", "target": [ "" ], "id_hash": -2442965840376757359, "content_hash": -2442965840376757359, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:777", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 181, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 52, "source_unit": "https://translate-dev.freebsd.org/api/units/1246810/?format=api", "priority": 100, "id": 1560103, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=5e18d782f5ee0391", "url": "https://translate-dev.freebsd.org/api/units/1560103/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.691069Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "Implementing the CCB abort as a function may be quite a good idea, this function can be re-used if an I/O transaction times out. The only difference would be that the timed out transaction would return the status CAM_CMD_TIMEOUT for the timed out request. Then the case XPT_ABORT would be small, like that:" ], "previous_source": "", "target": [ "" ], "id_hash": 7879492117798270127, "content_hash": 7879492117798270127, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:781", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 182, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 53, "source_unit": "https://translate-dev.freebsd.org/api/units/1246812/?format=api", "priority": 100, "id": 1560104, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=ed59945573db34af", "url": "https://translate-dev.freebsd.org/api/units/1560104/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.695415Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " case XPT_ABORT:\n struct ccb *abort_ccb;\n abort_ccb = ccb->cab.abort_ccb;\n" ], "previous_source": "", "target": [ "" ], "id_hash": 6495001188051650208, "content_hash": 6495001188051650208, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:787", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 183, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1055328/?format=api", "priority": 100, "id": 1560105, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=da22e12b258f06a0", "url": "https://translate-dev.freebsd.org/api/units/1560105/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.699433Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ " if (abort_ccb->ccb_h.func_code != XPT_SCSI_IO) {\n ccb->ccb_h.status = CAM_UA_ABORT;\n xpt_done(ccb);\n return;\n }\n if (xxx_abort_ccb(abort_ccb, CAM_REQ_ABORTED) < 0)\n /* no such CCB in our queue */\n ccb->ccb_h.status = CAM_PATH_INVALID;\n else\n ccb->ccb_h.status = CAM_REQ_CMP;\n xpt_done(ccb);\n return;\n" ], "previous_source": "", "target": [ "" ], "id_hash": -798188249318925424, "content_hash": -798188249318925424, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:800", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 184, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://translate-dev.freebsd.org/api/units/1246814/?format=api", "priority": 100, "id": 1560106, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=74ec440427745b90", "url": "https://translate-dev.freebsd.org/api/units/1560106/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.702991Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_XPT_SET_TRAN_SETTINGS_ - explicitly set values of SCSI transfer settings" ], "previous_source": "", "target": [ "" ], "id_hash": 925707166333004810, "content_hash": 925707166333004810, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:802", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 185, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1055332/?format=api", "priority": 100, "id": 1560107, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=8cd8c5c35f4fec0a", "url": "https://translate-dev.freebsd.org/api/units/1560107/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.782863Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "The arguments are transferred in the instance \"struct ccb_trans_setting cts\" of the union ccb:" ], "previous_source": "", "target": [ "" ], "id_hash": -184878911334078627, "content_hash": -184878911334078627, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:805", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 186, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate-dev.freebsd.org/api/units/1186668/?format=api", "priority": 100, "id": 1560108, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=7d6f2d9c1378a75d", "url": "https://translate-dev.freebsd.org/api/units/1560108/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.786726Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_valid_ - a bitmask showing which settings should be updated:" ], "previous_source": "", "target": [ "" ], "id_hash": 1198482437461409130, "content_hash": 1198482437461409130, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:807", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 187, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/1055336/?format=api", "priority": 100, "id": 1560109, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=90a1dd6d526e7d6a", "url": "https://translate-dev.freebsd.org/api/units/1560109/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.790535Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_CCB_TRANS_SYNC_RATE_VALID_ - synchronous transfer rate" ], "previous_source": "", "target": [ "" ], "id_hash": 8191633284559603344, "content_hash": 8191633284559603344, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:808", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 188, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1055338/?format=api", "priority": 100, "id": 1560110, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=f1ae871238710690", "url": "https://translate-dev.freebsd.org/api/units/1560110/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.794075Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_CCB_TRANS_SYNC_OFFSET_VALID_ - synchronous offset" ], "previous_source": "", "target": [ "" ], "id_hash": 6550501256961571392, "content_hash": 6550501256961571392, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:809", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 189, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1055340/?format=api", "priority": 100, "id": 1560111, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=dae80e2fe9f1ba40", "url": "https://translate-dev.freebsd.org/api/units/1560111/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.797594Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_CCB_TRANS_BUS_WIDTH_VALID_ - bus width" ], "previous_source": "", "target": [ "" ], "id_hash": -674474413033545330, "content_hash": -674474413033545330, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:810", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 190, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1055342/?format=api", "priority": 100, "id": 1560112, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=76a3c918490ba18e", "url": "https://translate-dev.freebsd.org/api/units/1560112/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.801070Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_CCB_TRANS_DISC_VALID_ - set enable/disable disconnection" ], "previous_source": "", "target": [ "" ], "id_hash": -8140283519182503183, "content_hash": -8140283519182503183, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:811", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 191, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1055344/?format=api", "priority": 100, "id": 1560113, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=0f07e744b42902f1", "url": "https://translate-dev.freebsd.org/api/units/1560113/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.804677Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_CCB_TRANS_TQ_VALID_ - set enable/disable tagged queuing" ], "previous_source": "", "target": [ "" ], "id_hash": -2197997271152619545, "content_hash": -2197997271152619545, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:812", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 192, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1055346/?format=api", "priority": 100, "id": 1560114, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=617f25209bab8fe7", "url": "https://translate-dev.freebsd.org/api/units/1560114/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.882982Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_flags_ - consists of two parts, binary arguments and identification of sub-operations. The binary arguments are:" ], "previous_source": "", "target": [ "" ], "id_hash": -2315126399109215499, "content_hash": -2315126399109215499, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:814", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 193, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate-dev.freebsd.org/api/units/1246816/?format=api", "priority": 100, "id": 1560115, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=5fdf04ce5af74af5", "url": "https://translate-dev.freebsd.org/api/units/1560115/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.886311Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_CCB_TRANS_DISC_ENB_ - enable disconnection" ], "previous_source": "", "target": [ "" ], "id_hash": -743002734066332089, "content_hash": -743002734066332089, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:815", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 194, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1055350/?format=api", "priority": 100, "id": 1560116, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=75b052f330d50e47", "url": "https://translate-dev.freebsd.org/api/units/1560116/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.889798Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_CCB_TRANS_TAG_ENB_ - enable tagged queuing" ], "previous_source": "", "target": [ "" ], "id_hash": -6962193603553705556, "content_hash": -6962193603553705556, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:816", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 195, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1055352/?format=api", "priority": 100, "id": 1560117, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=1f6151ce0aaf41ac", "url": "https://translate-dev.freebsd.org/api/units/1560117/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.894654Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "the sub-operations are:" ], "previous_source": "", "target": [ "" ], "id_hash": -8153677899287928468, "content_hash": -8153677899287928468, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:817", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 196, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1055354/?format=api", "priority": 100, "id": 1560118, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=0ed851268ffd616c", "url": "https://translate-dev.freebsd.org/api/units/1560118/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.898206Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_CCB_TRANS_CURRENT_SETTINGS_ - change the current negotiations" ], "previous_source": "", "target": [ "" ], "id_hash": -6456391884199839984, "content_hash": -6456391884199839984, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:818", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 197, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1055356/?format=api", "priority": 100, "id": 1560119, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=266649c9eb8db710", "url": "https://translate-dev.freebsd.org/api/units/1560119/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.901284Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "_CCB_TRANS_USER_SETTINGS_ - remember the desired user values sync_period, sync_offset - self-explanatory, if sync_offset==0 then the asynchronous mode is requested bus_width - bus width, in bits (not bytes)" ], "previous_source": "", "target": [ "" ], "id_hash": -8711056672230584523, "content_hash": -8711056672230584523, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:819", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 198, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 27, "source_unit": "https://translate-dev.freebsd.org/api/units/1055358/?format=api", "priority": 100, "id": 1560120, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=071c1c1c19664f35", "url": "https://translate-dev.freebsd.org/api/units/1560120/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.904576Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "Two sets of negotiated parameters are supported, the user settings and the current settings. The user settings are not really used much in the SIM drivers, this is mostly just a piece of memory where the upper levels can store (and later recall) its ideas about the parameters. Setting the user parameters does not cause re-negotiation of the transfer rates. But when the SCSI controller does a negotiation it must never set the values higher than the user parameters, so it is essentially the top boundary." ], "previous_source": "", "target": [ "" ], "id_hash": 8920719549440205692, "content_hash": 8920719549440205692, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:824", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 199, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 86, "source_unit": "https://translate-dev.freebsd.org/api/units/1246818/?format=api", "priority": 100, "id": 1560121, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=fbccc32a8d44237c", "url": "https://translate-dev.freebsd.org/api/units/1560121/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.908356Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/pt/?format=api", "source": [ "The current settings are, as the name says, current. Changing them means that the parameters must be re-negotiated on the next transfer. Again, these \"new current settings\" are not supposed to be forced on the device, just they are used as the initial step of negotiations. Also they must be limited by actual capabilities of the SCSI controller: for example, if the SCSI controller has 8-bit bus and the request asks to set 16-bit wide transfers this parameter must be silently truncated to 8-bit transfers before sending it to the device." ], "previous_source": "", "target": [ "" ], "id_hash": 4823091710070583759, "content_hash": 4823091710070583759, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:829", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 200, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 91, "source_unit": "https://translate-dev.freebsd.org/api/units/1246820/?format=api", "priority": 100, "id": 1560122, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/pt/?checksum=c2ef105b41e371cf", "url": "https://translate-dev.freebsd.org/api/units/1560122/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2023-04-21T16:48:01.913117Z" } ] }{ "count": 358, "next": "