Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/booksarch-handbookscsi_index/zh_TW/units/?format=api
https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/units/?format=api&page=2", "previous": null, "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "Chapter 12. Common Access Method SCSI Controllers" ], "previous_source": "", "target": [ "" ], "id_hash": 5834030138818218077, "content_hash": 5834030138818218077, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:1", "context": "", "note": "type: YAML Front Matter: title", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1054970/?format=api", "priority": 100, "id": 1058175, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=d0f6a380512ec85d", "url": "https://translate-dev.freebsd.org/api/units/1058175/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.077786Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "Common Access Method SCSI Controllers" ], "previous_source": "", "target": [ "" ], "id_hash": 8328813848045911965, "content_hash": 8328813848045911965, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:1, documentation/content/en/books/arch-handbook/scsi/_index.adoc:13", "context": "", "note": "type: Title =", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 1, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1054972/?format=api", "priority": 100, "id": 1058176, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=f395e4111d217f9d", "url": "https://translate-dev.freebsd.org/api/units/1058176/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.083580Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "Synopsis" ], "previous_source": "", "target": [ "概述" ], "id_hash": -6651481047257516920, "content_hash": -6651481047257516920, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:51", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 3, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1054974/?format=api", "priority": 100, "id": 1058177, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=23b1313a83f8f488", "url": "https://translate-dev.freebsd.org/api/units/1058177/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.088484Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "ncr ([.filename]#/sys/pci/ncr.c#) by Wolfgang Stanglmeier and Stefan Esser" ], "previous_source": "", "target": [ "" ], "id_hash": -741435975642844336, "content_hash": -741435975642844336, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:57", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1054978/?format=api", "priority": 100, "id": 1058179, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=75b5e3e8901cf350", "url": "https://translate-dev.freebsd.org/api/units/1058179/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.097587Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "sym ([.filename]#/sys/dev/sym/sym_hipd.c#) by Gerard Roudier" ], "previous_source": "", "target": [ "" ], "id_hash": 6342343011680034546, "content_hash": 6342343011680034546, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:58", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 6, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1054980/?format=api", "priority": 100, "id": 1058180, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=d804875daede9ef2", "url": "https://translate-dev.freebsd.org/api/units/1058180/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.101975Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "aic7xxx ([.filename]#/sys/dev/aic7xxx/aic7xxx.c#) by Justin T. Gibbs" ], "previous_source": "", "target": [ "" ], "id_hash": -3406522990347287303, "content_hash": -3406522990347287303, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:59", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 7, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1054982/?format=api", "priority": 100, "id": 1058181, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=50b99963892604f9", "url": "https://translate-dev.freebsd.org/api/units/1058181/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.106018Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "General Architecture" ], "previous_source": "", "target": [ "" ], "id_hash": 6639668385623595631, "content_hash": 6639668385623595631, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:72", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 10, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1054988/?format=api", "priority": 100, "id": 1058184, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=dc24d737df7c5a6f", "url": "https://translate-dev.freebsd.org/api/units/1058184/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.118250Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "_Peripheral Modules_ - a driver for peripheral devices (disk, tape, CD-ROM, etc.)" ], "previous_source": "", "target": [ "" ], "id_hash": 2112168451274266198, "content_hash": 2112168451274266198, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:80", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/1054992/?format=api", "priority": 100, "id": 1058186, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=9d4fee0403fd5656", "url": "https://translate-dev.freebsd.org/api/units/1058186/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.126958Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "_SCSI Interface Modules_ (SIM) - a Host Bus Adapter drivers for connecting to an I/O bus such as SCSI or IDE." ], "previous_source": "", "target": [ "" ], "id_hash": 1433063888360366001, "content_hash": 1433063888360366001, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:81", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 13, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate-dev.freebsd.org/api/units/1054994/?format=api", "priority": 100, "id": 1058187, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=93e344038628dfb1", "url": "https://translate-dev.freebsd.org/api/units/1058187/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.131409Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "As we are interested in writing a SCSI adapter driver here, from this point on we will consider everything from the SIM standpoint." ], "previous_source": "", "target": [ "" ], "id_hash": -3885103319677610175, "content_hash": -3885103319677610175, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:86", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 15, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate-dev.freebsd.org/api/units/1054998/?format=api", "priority": 100, "id": 1058189, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=4a15571d6aecd741", "url": "https://translate-dev.freebsd.org/api/units/1058189/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.175882Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "A typical SIM driver needs to include the following CAM-related header files:" ], "previous_source": "", "target": [ "" ], "id_hash": -5988407711187294737, "content_hash": -5988407711187294737, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:90", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 17, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/1055000/?format=api", "priority": 100, "id": 1058190, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=2ce4e6ea2478a5ef", "url": "https://translate-dev.freebsd.org/api/units/1058190/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.181368Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "#include <cam/cam.h>\n#include <cam/cam_ccb.h>\n#include <cam/cam_sim.h>\n#include <cam/cam_xpt_sim.h>\n#include <cam/cam_debug.h>\n#include <cam/scsi/scsi_all.h>\n" ], "previous_source": "", "target": [ "" ], "id_hash": 2176475240477633139, "content_hash": 2176475240477633139, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:99", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 18, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 12, "source_unit": "https://translate-dev.freebsd.org/api/units/1055002/?format=api", "priority": 100, "id": 1058191, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=9e3464b3231a2a73", "url": "https://translate-dev.freebsd.org/api/units/1058191/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.186139Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "This is achieved in multiple steps: first it is necessary to allocate the queue of requests associated with this SIM:" ], "previous_source": "", "target": [ "" ], "id_hash": -5374821500710253263, "content_hash": -5374821500710253263, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:108", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 21, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 20, "source_unit": "https://translate-dev.freebsd.org/api/units/1055006/?format=api", "priority": 100, "id": 1058193, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=3568cc5277088d31", "url": "https://translate-dev.freebsd.org/api/units/1058193/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.196840Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ " struct cam_devq *devq;\n" ], "previous_source": "", "target": [ "" ], "id_hash": 3621051938585058875, "content_hash": 3621051938585058875, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:112", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 22, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1055008/?format=api", "priority": 100, "id": 1058194, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=b2408f8d909a1e3b", "url": "https://translate-dev.freebsd.org/api/units/1058194/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.202662Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "SIZE = NUMBER_OF_SUPPORTED_TARGETS * MAX_SIMULTANEOUS_COMMANDS_PER_TARGET\n" ], "previous_source": "", "target": [ "" ], "id_hash": -5073212593724618729, "content_hash": -5073212593724618729, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:125", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 25, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1055014/?format=api", "priority": 100, "id": 1058197, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=3998540669018817", "url": "https://translate-dev.freebsd.org/api/units/1058197/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.218232Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "Next we create a descriptor of our SIM:" ], "previous_source": "", "target": [ "" ], "id_hash": -1317691730971173216, "content_hash": -1317691730971173216, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:128", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 26, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1055016/?format=api", "priority": 100, "id": 1058198, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=6db69e5a23fe5ea0", "url": "https://translate-dev.freebsd.org/api/units/1058198/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.223279Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ " struct cam_sim *sim;\n" ], "previous_source": "", "target": [ "" ], "id_hash": 1736655926482899390, "content_hash": 1736655926482899390, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:132", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 27, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1055018/?format=api", "priority": 100, "id": 1058199, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=9819d75d2b1711be", "url": "https://translate-dev.freebsd.org/api/units/1058199/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.228608Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "Note that if we are not able to create a SIM descriptor we free the `devq` also because we can do nothing else with it and we want to conserve memory." ], "previous_source": "", "target": [ "" ], "id_hash": 7349053687992365917, "content_hash": 7349053687992365917, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:142", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 29, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate-dev.freebsd.org/api/units/1055022/?format=api", "priority": 100, "id": 1058201, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=e5fd15646c0f335d", "url": "https://translate-dev.freebsd.org/api/units/1058201/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.270928Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "If a SCSI card has multiple SCSI buses on it then each bus requires its own `cam_sim` structure." ], "previous_source": "", "target": [ "" ], "id_hash": -242558798399365626, "content_hash": -242558798399365626, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:144", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 30, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/1055024/?format=api", "priority": 100, "id": 1058202, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=7ca2420ed8429e06", "url": "https://translate-dev.freebsd.org/api/units/1058202/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.276214Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "An interesting question is what to do if a SCSI card has more than one SCSI bus, do we need one `devq` structure per card or per SCSI bus? The answer given in the comments to the CAM code is: either way, as the driver's author prefers." ], "previous_source": "", "target": [ "" ], "id_hash": 8833473642270944471, "content_hash": 8833473642270944471, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:147", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 31, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 47, "source_unit": "https://translate-dev.freebsd.org/api/units/1055026/?format=api", "priority": 100, "id": 1058203, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=fa96cd79d455ecd7", "url": "https://translate-dev.freebsd.org/api/units/1058203/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.280675Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "The arguments are:" ], "previous_source": "", "target": [ "" ], "id_hash": 7151298155046041202, "content_hash": 7151298155046041202, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:149", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 32, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1055028/?format=api", "priority": 100, "id": 1058204, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=e33e83c8666cf672", "url": "https://translate-dev.freebsd.org/api/units/1058204/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.285429Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "`action_func` - pointer to the driver's `xxx_action` function." ], "previous_source": "", "target": [ "" ], "id_hash": 142609448434050335, "content_hash": 142609448434050335, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:151", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 33, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1055030/?format=api", "priority": 100, "id": 1058205, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=81faa689ab86a51f", "url": "https://translate-dev.freebsd.org/api/units/1058205/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.290664Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "`poll_func` - pointer to the driver's `xxx_poll()`" ], "previous_source": "", "target": [ "" ], "id_hash": 5660136209167032964, "content_hash": 5660136209167032964, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:157", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 35, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 7, "source_unit": "https://translate-dev.freebsd.org/api/units/1055034/?format=api", "priority": 100, "id": 1058207, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=ce8cd7e4bfba2284", "url": "https://translate-dev.freebsd.org/api/units/1058207/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.301335Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "driver_name - the name of the actual driver, such as \"ncr\" or \"wds\"." ], "previous_source": "", "target": [ "" ], "id_hash": -2217957962861502162, "content_hash": -2217957962861502162, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:163", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 37, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate-dev.freebsd.org/api/units/1055038/?format=api", "priority": 100, "id": 1058209, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=61383afbe8e4212e", "url": "https://translate-dev.freebsd.org/api/units/1058209/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.310420Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "unit - the controller unit number, for example for controller \"mps0\" this number will be 0" ], "previous_source": "", "target": [ "" ], "id_hash": 4375570016731588511, "content_hash": 4375570016731588511, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:166", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 39, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 16, "source_unit": "https://translate-dev.freebsd.org/api/units/1055042/?format=api", "priority": 100, "id": 1058211, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=bcb925bf5922e79f", "url": "https://translate-dev.freebsd.org/api/units/1058211/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.318604Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ "Finally we register the SCSI buses associated with our SCSI adapter:" ], "previous_source": "", "target": [ "" ], "id_hash": 3572362357389375963, "content_hash": 3572362357389375963, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:180", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 43, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate-dev.freebsd.org/api/units/1055050/?format=api", "priority": 100, "id": 1058215, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=b19394a3092bb9db", "url": "https://translate-dev.freebsd.org/api/units/1058215/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.336876Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?format=api", "source": [ " struct cam_path *path;\n" ], "previous_source": "", "target": [ "" ], "id_hash": 1961576641846482225, "content_hash": 1961576641846482225, "location": "documentation/content/en/books/arch-handbook/scsi/_index.adoc:210", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 49, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1055062/?format=api", "priority": 100, "id": 1058221, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=9b38eb9018f69531", "url": "https://translate-dev.freebsd.org/api/units/1058221/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.396996Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058223, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=199610def5f4b64a", "url": "https://translate-dev.freebsd.org/api/units/1058223/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.407075Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058224, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=b127a33023ffb727", "url": "https://translate-dev.freebsd.org/api/units/1058224/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.411602Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058225, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=509cbd4a6d88917f", "url": "https://translate-dev.freebsd.org/api/units/1058225/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.416319Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058226, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=465279f14f5a4e49", "url": "https://translate-dev.freebsd.org/api/units/1058226/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.421231Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058227, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=4aa7bf8b88242a72", "url": "https://translate-dev.freebsd.org/api/units/1058227/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.425377Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058228, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=4c32398564c02e25", "url": "https://translate-dev.freebsd.org/api/units/1058228/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.430349Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058229, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=3d0f337699394f95", "url": "https://translate-dev.freebsd.org/api/units/1058229/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.435577Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058233, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=58793fa755b34455", "url": "https://translate-dev.freebsd.org/api/units/1058233/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.488917Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058234, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=0af74883abd29040", "url": "https://translate-dev.freebsd.org/api/units/1058234/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.494862Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058239, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=0f0ee287b71f5b41", "url": "https://translate-dev.freebsd.org/api/units/1058239/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.519465Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058240, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=5fd3b83ca37c4cbe", "url": "https://translate-dev.freebsd.org/api/units/1058240/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.523740Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058241, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=a154132d39a1558f", "url": "https://translate-dev.freebsd.org/api/units/1058241/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.528068Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058242, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=6e44595d79f58e2c", "url": "https://translate-dev.freebsd.org/api/units/1058242/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.532472Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058243, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=7b820b431cf42341", "url": "https://translate-dev.freebsd.org/api/units/1058243/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.536997Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058244, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=3f68320861d1f439", "url": "https://translate-dev.freebsd.org/api/units/1058244/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.572960Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058245, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=8c2248f56f054902", "url": "https://translate-dev.freebsd.org/api/units/1058245/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.579823Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058247, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=27cb1caada80ee4e", "url": "https://translate-dev.freebsd.org/api/units/1058247/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.589757Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058249, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=200b7d28852b43de", "url": "https://translate-dev.freebsd.org/api/units/1058249/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.601665Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058256, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=0e90fd295880b464", "url": "https://translate-dev.freebsd.org/api/units/1058256/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.636541Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058258, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=4565693a47ebe025", "url": "https://translate-dev.freebsd.org/api/units/1058258/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.677013Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058259, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=97795140c251c72e", "url": "https://translate-dev.freebsd.org/api/units/1058259/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.682526Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058260, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=75d0cc34fb600b2a", "url": "https://translate-dev.freebsd.org/api/units/1058260/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.689076Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookscsi_index/zh_TW/?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": 1058261, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookscsi_index/zh_TW/?checksum=e46f3b5cad70ed49", "url": "https://translate-dev.freebsd.org/api/units/1058261/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T12:38:44.694989Z" } ] }{ "count": 358, "next": "