Searched refs:sg_list (Results 1 - 25 of 31) sorted by relevance

12

/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Ddma_buffer.cpp40 const physical_entry *sg_list = request->sg_list; local
58 for (cur_idx = sg_count; cur_idx >= 1; --cur_idx, ++sg_list) {
63 max_len = (dma_boundary + 1) - (sg_list->address & dma_boundary);
65 if (max_len < sg_list->size) {
67 sg_list->address + max_len);
72 if ((sg_list->address & alignment) != 0) {
74 sg_list->address);
78 if (((sg_list->address + sg_list
102 const physical_entry *sg_list = buffer->sg_list_orig; local
309 dump_sg_table(const physical_entry *sg_list, uint32 sg_list_count) argument
[all...]
H A Demulation.cpp468 const physical_entry *sg_list = request->sg_list; local
472 SHOW_FLOW(3, "offset=%u, req_size_limit=%d, size=%d, sg_list=%p, sg_count=%d, %s buffer",
473 offset, allocation_length, size, sg_list, sg_count, to_buffer ? "to" : "from");
476 while (sg_count > 0 && offset >= sg_list->size) {
477 offset -= sg_list->size;
478 ++sg_list;
489 for (; size > 0 && req_size > 0 && sg_count > 0; ++sg_list, --sg_count) {
493 bytes = min_c(bytes, sg_list->size);
496 B_PRIuSIZE ", to_buffer = %d", buffer, sg_list
[all...]
H A Dscatter_gather.cpp40 physical_entry *temp_sg = (physical_entry *)ccb->sg_list;
112 ccb->sg_list = temp_sg = (physical_entry*)locked_pool->alloc(temp_sg_pool);
166 locked_pool->free(temp_sg_pool, (physical_entry *)ccb->sg_list);
169 ccb->sg_list = NULL;
H A Dccb.cpp42 ccb->sg_list = NULL;
H A Ddevice_scan.cpp38 worker_req->sg_list = NULL;
82 worker_req->sg_list = NULL;
H A Dscsi_io.cpp422 && request->sg_list == NULL && request->data_length > 0) {
503 && request->sg_list == NULL && request->data_length > 0) {
H A Ddevices.cpp230 request->sg_list = (physical_entry *)(buffer + SCSI_MAX_SENSE_SIZE);
234 (physical_entry *)request->sg_list, 1);
/haiku/src/add-ons/kernel/generic/scsi_periph/
H A Dremovable.cpp50 backup_sg_list = request->sg_list;
63 request->sg_list = backup_sg_list;
95 request->sg_list = NULL;
99 request->sg_list = NULL;
210 request->sg_list = NULL;
214 request->sg_list = NULL;
H A Dsync.cpp29 request->sg_list = NULL;
H A Dscsi_periph.cpp40 ccb->sg_list = NULL;
83 backup_sg_list = request->sg_list;
97 request->sg_list = backup_sg_list;
H A Dblock.cpp129 request->sg_list = NULL;
170 request->sg_list = NULL;
563 request->sg_list = NULL;
670 request->sg_list = NULL;
749 request->sg_list = NULL;
H A Dio.cpp73 ccb->sg_list = NULL;
175 request->sg_list = NULL;
274 request->sg_list = vecs;
/haiku/headers/os/drivers/bus/
H A DATA.h50 status_t (*prepare_dma)(void *channelCookie, const physical_entry *sg_list,
H A DSCSI.h29 <sg_list>/<sg_count>. If <sg_list> is non-Null, <data> is ignored.
33 by <sg_list> must be locked, but <data> doesn't need to be.
38 <data> or <sg_list>, in the latter <sg_list> only.
133 const physical_entry *sg_list; // scatter/gather list member in struct:scsi_ccb
/haiku/src/add-ons/kernel/bus_managers/ata/
H A DATAHelper.cpp29 const physical_entry *sgList = ccb->sg_list;
H A DATARequest.cpp169 fCurrentSGElement = fCCB->sg_list;
H A DATAPIDevice.cpp34 request->SetUseDMA(UseDMA() && request->CCB()->sg_list != NULL
/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A DVirtioSCSIHelper.cpp30 const physical_entry *sgList = ccb->sg_list;
H A DVirtioSCSIRequest.cpp191 memcpy(entries + 1, fCCB->sg_list, fCCB->sg_count
200 memcpy(entries + outCount + 1, fCCB->sg_list, fCCB->sg_count
/haiku/src/add-ons/kernel/busses/ata/generic_ide_pci/
H A Dgeneric_ide_pci.cpp85 const physical_entry *sg_list, size_t sg_list_count,
89 sg_list, sg_list_count, to_device);
84 prepare_dma(void *channel_cookie, const physical_entry *sg_list, size_t sg_list_count, bool to_device) argument
/haiku/src/add-ons/kernel/busses/ata/promise_tx2/
H A Dpromise_tx2.c104 prepare_dma(void *channel_cookie, const physical_entry *sg_list, argument
107 return sATAAdapter->prepare_dma((ata_adapter_channel_info *)channel_cookie, sg_list, sg_list_count, to_device);
/haiku/headers/private/drivers/
H A Data_adapter.h139 status_t (*prepare_dma)(ata_adapter_channel_info *channel, const physical_entry *sg_list,
/haiku/src/add-ons/kernel/busses/ata/legacy_sata/
H A Dlegacy_sata.cpp328 dma_prepare(void *channel_cookie, const physical_entry *sg_list, argument
332 sg_list, sg_list_count, write);
/haiku/src/add-ons/kernel/busses/ata/highpoint_ide_pci/
H A Dhighpoint_ide_pci.cpp113 prepare_dma(void *channel_cookie, const physical_entry *sg_list, argument
119 sg_list, sg_list_count, to_device);
/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dahci_port.cpp627 transactionResult = sg_memcpy(request->sg_list, request->sg_count,
651 transactionResult = sg_memcpy(request->sg_list, request->sg_count,
669 transactionResult = sg_memcpy(request->sg_list, request->sg_count,
863 if (sg_memcpy(request->sg_list, request->sg_count, &scsiData,
921 if (sg_memcpy(request->sg_list, request->sg_count, &scsiData,
966 if (sg_memcpy(request->sg_list, request->sg_count, &scsiData,
1192 request->CCB()->sg_list, request->CCB()->sg_count,

Completed in 706 milliseconds

12