Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/booksarch-handbookscsi_index/el/units/?format=api&page=2
https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/units/?format=api&page=3", "previous": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/units/?format=api", "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ " softc->wpath = path;\n softc->sim = sim;\n" ], "previous_source": "", "target": [ "" ], "id_hash": -7379692389604739510, "content_hash": -7379692389604739510, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:221", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 51, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1055066/?format=api", "priority": 100, "id": 1617799, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=199610def5f4b64a", "url": "https://translate-dev.freebsd.org/api/units/1617799/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.172898Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "As you can see the path includes:" ], "previous_source": "", "target": [ "" ], "id_hash": 3541979059107903271, "content_hash": 3541979059107903271, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:224", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 52, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1055068/?format=api", "priority": 100, "id": 1617800, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=b127a33023ffb727", "url": "https://translate-dev.freebsd.org/api/units/1617800/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.173818Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "ID of the peripheral driver (NULL here because we have none)" ], "previous_source": "", "target": [ "" ], "id_hash": -3414646290090782337, "content_hash": -3414646290090782337, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:226", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 53, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate-dev.freebsd.org/api/units/1055070/?format=api", "priority": 100, "id": 1617801, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=509cbd4a6d88917f", "url": "https://translate-dev.freebsd.org/api/units/1617801/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.174715Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "ID of the SIM driver (`cam_sim_path(sim)`)" ], "previous_source": "", "target": [ "" ], "id_hash": -4156125428784148919, "content_hash": -4156125428784148919, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:227", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 54, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1055072/?format=api", "priority": 100, "id": 1617802, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=465279f14f5a4e49", "url": "https://translate-dev.freebsd.org/api/units/1617802/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.175565Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "SCSI target number of the device (CAM_TARGET_WILDCARD means \"all devices\")" ], "previous_source": "", "target": [ "" ], "id_hash": -3843893150931998094, "content_hash": -3843893150931998094, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:228", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 55, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/1055074/?format=api", "priority": 100, "id": 1617803, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=4aa7bf8b88242a72", "url": "https://translate-dev.freebsd.org/api/units/1617803/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.176416Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "SCSI LUN number of the subdevice (CAM_LUN_WILDCARD means \"all LUNs\")" ], "previous_source": "", "target": [ "" ], "id_hash": -3732857896052969947, "content_hash": -3732857896052969947, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:229", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 56, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/1055076/?format=api", "priority": 100, "id": 1617804, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=4c32398564c02e25", "url": "https://translate-dev.freebsd.org/api/units/1617804/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.177660Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "If the driver can not allocate this path it will not be able to work normally, so in that case we dismantle that SCSI bus." ], "previous_source": "", "target": [ "" ], "id_hash": -4823580091420684395, "content_hash": -4823580091420684395, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:231", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 57, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translate-dev.freebsd.org/api/units/1055078/?format=api", "priority": 100, "id": 1617805, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=3d0f337699394f95", "url": "https://translate-dev.freebsd.org/api/units/1617805/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.178612Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "And we save the path pointer in the `softc` structure for future use. After that we save the value of sim (or we can also discard it on the exit from `xxx_probe()` if we wish)." ], "previous_source": "", "target": [ "" ], "id_hash": -5674894958761890025, "content_hash": -5674894958761890025, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:234", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 58, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 35, "source_unit": "https://translate-dev.freebsd.org/api/units/1246706/?format=api", "priority": 100, "id": 1617806, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=313eb91a1557af17", "url": "https://translate-dev.freebsd.org/api/units/1617806/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.179531Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "That is all for a minimalistic initialization. To do things right there is one more issue left." ], "previous_source": "", "target": [ "" ], "id_hash": -1959615340448312588, "content_hash": -1959615340448312588, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:237", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 59, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate-dev.freebsd.org/api/units/1246708/?format=api", "priority": 100, "id": 1617807, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=64ce0c3af82c12f4", "url": "https://translate-dev.freebsd.org/api/units/1617807/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.180423Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "For a SIM driver there is one particularly interesting event: when a target device is considered lost. In this case resetting the SCSI negotiations with this device may be a good idea. So we register a callback for this event with CAM. The request is passed to CAM by requesting CAM action on a CAM control block for this type of request:" ], "previous_source": "", "target": [ "" ], "id_hash": -900562332781670907, "content_hash": -900562332781670907, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:242", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 60, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 62, "source_unit": "https://translate-dev.freebsd.org/api/units/1246710/?format=api", "priority": 100, "id": 1617808, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=73808f5468738e05", "url": "https://translate-dev.freebsd.org/api/units/1617808/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.181342Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ " struct ccb_setasync csa;\n" ], "previous_source": "", "target": [ "" ], "id_hash": -2848175301405227947, "content_hash": -2848175301405227947, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:246", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 61, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1055086/?format=api", "priority": 100, "id": 1617809, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=58793fa755b34455", "url": "https://translate-dev.freebsd.org/api/units/1617809/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.182325Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ " xpt_setup_ccb(&csa.ccb_h, path, /*priority*/5);\n csa.ccb_h.func_code = XPT_SASYNC_CB;\n csa.event_enable = AC_LOST_DEVICE;\n csa.callback = xxx_async;\n csa.callback_arg = sim;\n xpt_action((union ccb *)&csa);\n" ], "previous_source": "", "target": [ "" ], "id_hash": -8433192046867345344, "content_hash": -8433192046867345344, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:253", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 62, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/1055088/?format=api", "priority": 100, "id": 1617810, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=0af74883abd29040", "url": "https://translate-dev.freebsd.org/api/units/1617810/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.183184Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "Processing CAM messages: xxx_action" ], "previous_source": "", "target": [ "" ], "id_hash": -8200516192834606699, "content_hash": -8200516192834606699, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:255", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 63, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1246712/?format=api", "priority": 100, "id": 1617811, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=0e31e9f887412995", "url": "https://translate-dev.freebsd.org/api/units/1617811/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.184097Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "static void xxx_action(struct cam_sim *sim, union ccb *ccb);\n" ], "previous_source": "", "target": [ "" ], "id_hash": -8997476943309201981, "content_hash": -8997476943309201981, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:260", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 64, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1246714/?format=api", "priority": 100, "id": 1617812, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=03228a6407499dc3", "url": "https://translate-dev.freebsd.org/api/units/1617812/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.185043Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "Do some action on request of the CAM subsystem. Sim describes the SIM for the request, CCB is the request itself. CCB stands for \"CAM Control Block\". It is a union of many specific instances, each describing arguments for some type of transactions. All of these instances share the CCB header where the common part of arguments is stored." ], "previous_source": "", "target": [ "" ], "id_hash": 8829376982093734394, "content_hash": 8829376982093734394, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:267", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 65, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 59, "source_unit": "https://translate-dev.freebsd.org/api/units/1246716/?format=api", "priority": 100, "id": 1617813, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=fa883f95cdb521fa", "url": "https://translate-dev.freebsd.org/api/units/1617813/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.186422Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "CAM supports the SCSI controllers working in both initiator (\"normal\") mode and target (simulating a SCSI device) mode. Here we only consider the part relevant to the initiator mode." ], "previous_source": "", "target": [ "" ], "id_hash": -2867320964433817801, "content_hash": -2867320964433817801, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:270", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 66, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 29, "source_unit": "https://translate-dev.freebsd.org/api/units/1246718/?format=api", "priority": 100, "id": 1617814, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=58353ac649e44f37", "url": "https://translate-dev.freebsd.org/api/units/1617814/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.187356Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "There are a few function and macros (in other words, methods) defined to access the public data in the struct sim:" ], "previous_source": "", "target": [ "" ], "id_hash": -8138318404091159743, "content_hash": -8138318404091159743, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:272", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 67, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate-dev.freebsd.org/api/units/1055098/?format=api", "priority": 100, "id": 1617815, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=0f0ee287b71f5b41", "url": "https://translate-dev.freebsd.org/api/units/1617815/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.188159Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "`cam_sim_path(sim)` - the path ID (see above)" ], "previous_source": "", "target": [ "" ], "id_hash": -2318306812585292610, "content_hash": -2318306812585292610, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:274", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 68, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1055100/?format=api", "priority": 100, "id": 1617816, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=5fd3b83ca37c4cbe", "url": "https://translate-dev.freebsd.org/api/units/1617816/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.189124Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "`cam_sim_name(sim)` - the name of the sim" ], "previous_source": "", "target": [ "" ], "id_hash": 2401565586256647567, "content_hash": 2401565586256647567, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:275", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 69, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1055102/?format=api", "priority": 100, "id": 1617817, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=a154132d39a1558f", "url": "https://translate-dev.freebsd.org/api/units/1617817/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.189948Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "`cam_sim_softc(sim)` - the pointer to the softc (driver private data) structure" ], "previous_source": "", "target": [ "" ], "id_hash": -1277798136253411796, "content_hash": -1277798136253411796, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:276", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 70, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate-dev.freebsd.org/api/units/1055104/?format=api", "priority": 100, "id": 1617818, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=6e44595d79f58e2c", "url": "https://translate-dev.freebsd.org/api/units/1617818/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.190761Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "`cam_sim_unit(sim)` - the unit number" ], "previous_source": "", "target": [ "" ], "id_hash": -323683840340778175, "content_hash": -323683840340778175, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:277", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 71, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1055106/?format=api", "priority": 100, "id": 1617819, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=7b820b431cf42341", "url": "https://translate-dev.freebsd.org/api/units/1617819/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.191547Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "`cam_sim_bus(sim)` - the bus ID" ], "previous_source": "", "target": [ "" ], "id_hash": -4654415203305130951, "content_hash": -4654415203305130951, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:278", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 72, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1055108/?format=api", "priority": 100, "id": 1617820, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=3f68320861d1f439", "url": "https://translate-dev.freebsd.org/api/units/1617820/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.192357Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "To identify the device, `xxx_action()` can get the unit number and pointer to its structure softc using these functions." ], "previous_source": "", "target": [ "" ], "id_hash": 874341496630102274, "content_hash": 874341496630102274, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:280", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 73, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/1055110/?format=api", "priority": 100, "id": 1617821, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=8c2248f56f054902", "url": "https://translate-dev.freebsd.org/api/units/1617821/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.193133Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "The type of request is stored in `ccb->ccb_h.func_code`. So generally `xxx_action()` consists of a big switch:" ], "previous_source": "", "target": [ "" ], "id_hash": -6554079550146461104, "content_hash": -6554079550146461104, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:283", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 74, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate-dev.freebsd.org/api/units/1246720/?format=api", "priority": 100, "id": 1617822, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=250b3b5fc7de4250", "url": "https://translate-dev.freebsd.org/api/units/1617822/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.193932Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ " struct xxx_softc *softc = (struct xxx_softc *) cam_sim_softc(sim);\n struct ccb_hdr *ccb_h = &ccb->ccb_h;\n int unit = cam_sim_unit(sim);\n int bus = cam_sim_bus(sim);\n" ], "previous_source": "", "target": [ "" ], "id_hash": -6355954928967422386, "content_hash": -6355954928967422386, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:290", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 75, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate-dev.freebsd.org/api/units/1055114/?format=api", "priority": 100, "id": 1617823, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=27cb1caada80ee4e", "url": "https://translate-dev.freebsd.org/api/units/1617823/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.194756Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ " switch (ccb_h->func_code) {\n case ...:\n ...\n default:\n ccb_h->status = CAM_REQ_INVALID;\n xpt_done(ccb);\n break;\n }\n" ], "previous_source": "", "target": [ "" ], "id_hash": 562401959763382317, "content_hash": 562401959763382317, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:299", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 76, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate-dev.freebsd.org/api/units/1246722/?format=api", "priority": 100, "id": 1617824, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=87ce0d9a48ae102d", "url": "https://translate-dev.freebsd.org/api/units/1617824/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.195581Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "As can be seen from the default case (if an unknown command was received) the return code of the command is set into `ccb->ccb_h.status` and the completed CCB is returned back to CAM by calling `xpt_done(ccb)`." ], "previous_source": "", "target": [ "" ], "id_hash": -6914295189910895650, "content_hash": -6914295189910895650, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:302", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 77, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 36, "source_unit": "https://translate-dev.freebsd.org/api/units/1055118/?format=api", "priority": 100, "id": 1617825, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=200b7d28852b43de", "url": "https://translate-dev.freebsd.org/api/units/1617825/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.196368Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "`xpt_done()` does not have to be called from `xxx_action()`: For example an I/O request may be enqueued inside the SIM driver and/or its SCSI controller. Then when the device would post an interrupt signaling that the processing of this request is complete `xpt_done()` may be called from the interrupt handling routine." ], "previous_source": "", "target": [ "" ], "id_hash": 1327615792903196190, "content_hash": 1327615792903196190, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:305", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 78, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 51, "source_unit": "https://translate-dev.freebsd.org/api/units/1246724/?format=api", "priority": 100, "id": 1617826, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=926ca38796318e1e", "url": "https://translate-dev.freebsd.org/api/units/1617826/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.197245Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "Actually, the CCB status is not only assigned as a return code but a CCB has some status all the time. Before CCB is passed to the `xxx_action()` routine it gets the status CCB_REQ_INPROG meaning that it is in progress. There are a surprising number of status values defined in [.filename]#/sys/cam/cam.h# which should be able to represent the status of a request in great detail. More interesting yet, the status is in fact a \"bitwise or\" of an enumerated status value (the lower 6 bits) and possible additional flag-like bits (the upper bits). The enumerated values will be discussed later in more detail. The summary of them can be found in the Errors Summary section. The possible status flags are:" ], "previous_source": "", "target": [ "" ], "id_hash": 6809833937561899888, "content_hash": 6809833937561899888, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:313", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 79, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 120, "source_unit": "https://translate-dev.freebsd.org/api/units/1246726/?format=api", "priority": 100, "id": 1617827, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=de8163e2dbc6d370", "url": "https://translate-dev.freebsd.org/api/units/1617827/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.198125Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_CAM_DEV_QFRZN_ - if the SIM driver gets a serious error (for example, the device does not respond to the selection or breaks the SCSI protocol) when processing a CCB it should freeze the request queue by calling `xpt_freeze_simq()`, return the other enqueued but not processed yet CCBs for this device back to the CAM queue, then set this flag for the troublesome CCB and call `xpt_done()`. This flag causes the CAM subsystem to unfreeze the queue after it handles the error." ], "previous_source": "", "target": [ "" ], "id_hash": 5254485996819227099, "content_hash": 5254485996819227099, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:316", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 80, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 81, "source_unit": "https://translate-dev.freebsd.org/api/units/1246728/?format=api", "priority": 100, "id": 1617828, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=c8ebaf2cb5aca1db", "url": "https://translate-dev.freebsd.org/api/units/1617828/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.199077Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_CAM_AUTOSNS_VALID_ - if the device returned an error condition and the flag CAM_DIS_AUTOSENSE is not set in CCB the SIM driver must execute the REQUEST SENSE command automatically to extract the sense (extended error information) data from the device. If this attempt was successful the sense data should be saved in the CCB and this flag set." ], "previous_source": "", "target": [ "" ], "id_hash": -2906235658097606791, "content_hash": -2906235658097606791, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:318", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 81, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 57, "source_unit": "https://translate-dev.freebsd.org/api/units/1246730/?format=api", "priority": 100, "id": 1617829, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=57aafa111d84bf79", "url": "https://translate-dev.freebsd.org/api/units/1617829/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.199997Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_CAM_RELEASE_SIMQ_ - like CAM_DEV_QFRZN but used in case there is some problem (or resource shortage) with the SCSI controller itself. Then all the future requests to the controller should be stopped by `xpt_freeze_simq()`. The controller queue will be restarted after the SIM driver overcomes the shortage and informs CAM by returning some CCB with this flag set." ], "previous_source": "", "target": [ "" ], "id_hash": -3383200504342087278, "content_hash": -3383200504342087278, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:321", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 82, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 57, "source_unit": "https://translate-dev.freebsd.org/api/units/1246732/?format=api", "priority": 100, "id": 1617830, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=510c7510f6c47992", "url": "https://translate-dev.freebsd.org/api/units/1617830/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.200914Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_CAM_SIM_QUEUED_ - when SIM puts a CCB into its request queue this flag should be set (and removed when this CCB gets dequeued before being returned back to CAM). This flag is not used anywhere in the CAM code now, so its purpose is purely diagnostic." ], "previous_source": "", "target": [ "" ], "id_hash": 2286867552648918811, "content_hash": 2286867552648918811, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:323", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 83, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 46, "source_unit": "https://translate-dev.freebsd.org/api/units/1246734/?format=api", "priority": 100, "id": 1617831, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=9fbc95ec3c01771b", "url": "https://translate-dev.freebsd.org/api/units/1617831/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.201792Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_CAM_QOS_VALID_ - The QOS data is now valid." ], "previous_source": "", "target": [ "" ], "id_hash": -8173754969657133980, "content_hash": -8173754969657133980, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:324", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 84, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1055132/?format=api", "priority": 100, "id": 1617832, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=0e90fd295880b464", "url": "https://translate-dev.freebsd.org/api/units/1617832/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.202657Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "The function `xxx_action()` is not allowed to sleep, so all the synchronization for resource access must be done using SIM or device queue freezing. Besides the aforementioned flags the CAM subsystem provides functions `xpt_release_simq()` and `xpt_release_devq()` to unfreeze the queues directly, without passing a CCB to CAM." ], "previous_source": "", "target": [ "" ], "id_hash": -5245151216480295390, "content_hash": -5245151216480295390, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:327", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 85, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 47, "source_unit": "https://translate-dev.freebsd.org/api/units/1246736/?format=api", "priority": 100, "id": 1617833, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=37357ac2347be622", "url": "https://translate-dev.freebsd.org/api/units/1617833/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.203450Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "The CCB header contains the following fields:" ], "previous_source": "", "target": [ "" ], "id_hash": -4222853376554311643, "content_hash": -4222853376554311643, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:329", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 86, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1055136/?format=api", "priority": 100, "id": 1617834, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=4565693a47ebe025", "url": "https://translate-dev.freebsd.org/api/units/1617834/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.204280Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_path_ - path ID for the request" ], "previous_source": "", "target": [ "" ], "id_hash": 1691472473634228014, "content_hash": 1691472473634228014, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:331", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 87, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1055138/?format=api", "priority": 100, "id": 1617835, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=97795140c251c72e", "url": "https://translate-dev.freebsd.org/api/units/1617835/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.205068Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_target_id_ - target device ID for the request" ], "previous_source": "", "target": [ "" ], "id_hash": -733862211333649622, "content_hash": -733862211333649622, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:332", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 88, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1055140/?format=api", "priority": 100, "id": 1617836, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=75d0cc34fb600b2a", "url": "https://translate-dev.freebsd.org/api/units/1617836/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.205826Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_target_lun_ - LUN ID of the target device" ], "previous_source": "", "target": [ "" ], "id_hash": 7237068395440565577, "content_hash": 7237068395440565577, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:333", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 89, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1055142/?format=api", "priority": 100, "id": 1617837, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=e46f3b5cad70ed49", "url": "https://translate-dev.freebsd.org/api/units/1617837/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.206559Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_timeout_ - timeout interval for this command, in milliseconds" ], "previous_source": "", "target": [ "" ], "id_hash": 458732111771901180, "content_hash": 458732111771901180, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:334", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 90, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1055144/?format=api", "priority": 100, "id": 1617838, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=865dbe6cd93a9cfc", "url": "https://translate-dev.freebsd.org/api/units/1617838/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.207284Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_timeout_ch_ - a convenience place for the SIM driver to store the timeout handle (the CAM subsystem itself does not make any assumptions about it)" ], "previous_source": "", "target": [ "" ], "id_hash": 3659162202002572621, "content_hash": 3659162202002572621, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:335", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 91, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translate-dev.freebsd.org/api/units/1055146/?format=api", "priority": 100, "id": 1617839, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=b2c7f4a2b9e6454d", "url": "https://translate-dev.freebsd.org/api/units/1617839/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.208016Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_flags_ - various bits of information about the request spriv_ptr0, spriv_ptr1 - fields reserved for private use by the SIM driver (such as linking to the SIM queues or SIM private control blocks); actually, they exist as unions: spriv_ptr0 and spriv_ptr1 have the type (void *), spriv_field0 and spriv_field1 have the type unsigned long, sim_priv.entries[0].bytes and sim_priv.entries[1].bytes are byte arrays of the size consistent with the other incarnations of the union and sim_priv.bytes is one array, twice bigger." ], "previous_source": "", "target": [ "" ], "id_hash": 4760233163835526981, "content_hash": 4760233163835526981, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:336", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 92, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 78, "source_unit": "https://translate-dev.freebsd.org/api/units/1055148/?format=api", "priority": 100, "id": 1617840, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=c20fbed77a734f45", "url": "https://translate-dev.freebsd.org/api/units/1617840/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.208855Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "The recommended way of using the SIM private fields of CCB is to define some meaningful names for them and use these meaningful names in the driver, like:" ], "previous_source": "", "target": [ "" ], "id_hash": -223467033814499616, "content_hash": -223467033814499616, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:338", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 93, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 28, "source_unit": "https://translate-dev.freebsd.org/api/units/1055150/?format=api", "priority": 100, "id": 1617841, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=7ce615eaae79fee0", "url": "https://translate-dev.freebsd.org/api/units/1617841/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.209703Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "#define ccb_some_meaningful_name sim_priv.entries[0].bytes\n#define ccb_hcb spriv_ptr1 /* for hardware control block */\n" ], "previous_source": "", "target": [ "" ], "id_hash": 7507589241633480678, "content_hash": 7507589241633480678, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:343", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 94, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/1055152/?format=api", "priority": 100, "id": 1617842, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=e83050a36b1b9fe6", "url": "https://translate-dev.freebsd.org/api/units/1617842/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.210487Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "The most common initiator mode requests are:" ], "previous_source": "", "target": [ "" ], "id_hash": -171462455254215529, "content_hash": -171462455254215529, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:346", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 95, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1055154/?format=api", "priority": 100, "id": 1617843, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=7d9ed7ce2e419497", "url": "https://translate-dev.freebsd.org/api/units/1617843/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.211251Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_XPT_SCSI_IO_ - execute an I/O transaction" ], "previous_source": "", "target": [ "" ], "id_hash": 5093308633223646858, "content_hash": 5093308633223646858, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:347", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 96, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1055156/?format=api", "priority": 100, "id": 1617844, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=c6af113766b9ce8a", "url": "https://translate-dev.freebsd.org/api/units/1617844/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.211991Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "The instance \"struct ccb_scsiio csio\" of the union ccb is used to transfer the arguments. They are:" ], "previous_source": "", "target": [ "" ], "id_hash": -4598110792889389491, "content_hash": -4598110792889389491, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:351", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 97, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate-dev.freebsd.org/api/units/1246738/?format=api", "priority": 100, "id": 1617845, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=40303a987ff02e4d", "url": "https://translate-dev.freebsd.org/api/units/1617845/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.212746Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_cdb_io_ - pointer to the SCSI command buffer or the buffer itself" ], "previous_source": "", "target": [ "" ], "id_hash": 4732269775465926854, "content_hash": 4732269775465926854, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:353", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 98, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/1055160/?format=api", "priority": 100, "id": 1617846, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=c1ac6649c3f6d0c6", "url": "https://translate-dev.freebsd.org/api/units/1617846/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.213516Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_cdb_len_ - SCSI command length" ], "previous_source": "", "target": [ "" ], "id_hash": -1637244683761610656, "content_hash": -1637244683761610656, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:354", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 99, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1055162/?format=api", "priority": 100, "id": 1617847, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=694756a275fe1060", "url": "https://translate-dev.freebsd.org/api/units/1617847/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.214285Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/el/?format=api", "source": [ "_data_ptr_ - pointer to the data buffer (gets a bit complicated if scatter/gather is used)" ], "previous_source": "", "target": [ "" ], "id_hash": 6931541482834753428, "content_hash": 6931541482834753428, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:355", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 100, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate-dev.freebsd.org/api/units/1055164/?format=api", "priority": 100, "id": 1617848, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/el/?checksum=e031c840f63ff794", "url": "https://translate-dev.freebsd.org/api/units/1617848/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2024-02-17T12:22:30.215005Z" } ] }{ "count": 358, "next": "