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

12

/haiku-fatelf/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.cpp469 const physical_entry *sg_list = request->sg_list; local
473 SHOW_FLOW(3, "offset=%u, req_size_limit=%d, size=%d, sg_list=%p, sg_count=%d, %s buffer",
474 offset, allocation_length, size, sg_list, sg_count, to_buffer ? "to" : "from");
477 while (sg_count > 0 && offset >= sg_list->size) {
478 offset -= sg_list->size;
479 ++sg_list;
490 for (; size > 0 && req_size > 0 && sg_count > 0; ++sg_list, --sg_count) {
494 bytes = min_c(bytes, sg_list->size);
497 B_PRIuSIZE ", to_buffer = %d", buffer, sg_list
[all...]
H A Dscatter_gather.cpp41 physical_entry *temp_sg = (physical_entry *)ccb->sg_list;
113 ccb->sg_list = temp_sg = (physical_entry*)locked_pool->alloc(temp_sg_pool);
167 locked_pool->free(temp_sg_pool, (physical_entry *)ccb->sg_list);
170 ccb->sg_list = NULL;
H A Ddevice_scan.cpp38 worker_req->sg_list = NULL;
82 worker_req->sg_list = NULL;
H A Dccb.cpp42 ccb->sg_list = NULL;
H A Ddevices.cpp231 request->sg_list = (physical_entry *)(buffer + SCSI_MAX_SENSE_SIZE);
235 (physical_entry *)request->sg_list, 1);
/haiku-fatelf/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.cpp39 request->sg_list = NULL;
H A Dio.cpp72 request->sg_list = NULL;
154 request->sg_list = vecs;
/haiku-fatelf/headers/os/drivers/bus/
H A DATA.h49 status_t (*prepare_dma)(void *channelCookie, const physical_entry *sg_list,
H A DIDE.h54 const physical_entry *sg_list, size_t sg_list_count,
/haiku-fatelf/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;
/haiku-fatelf/src/add-ons/kernel/busses/ata/generic_ide_pci/
H A Dgeneric_ide_pci.c75 const physical_entry *sg_list, size_t sg_list_count,
78 return sATAAdapter->prepare_dma((ata_adapter_channel_info *)channel_cookie, sg_list, sg_list_count, to_device);
74 prepare_dma(void *channel_cookie, const physical_entry *sg_list, size_t sg_list_count, bool to_device) argument
/haiku-fatelf/src/add-ons/kernel/busses/ide/generic_ide_pci/
H A Dgeneric_ide_pci.c75 const physical_entry *sg_list, size_t sg_list_count,
78 return ide_adapter->prepare_dma((ide_adapter_channel_info *)channel_cookie, sg_list, sg_list_count, to_device);
74 prepare_dma(void *channel_cookie, const physical_entry *sg_list, size_t sg_list_count, bool to_device) argument
/haiku-fatelf/src/add-ons/kernel/bus_managers/ide/
H A Demulation.cpp67 const physical_entry *sgList = request->sg_list;
71 SHOW_FLOW(3, "offset=%u, req_size_limit=%d, size=%d, sg_list=%p, sg_cnt=%d, %s buffer",
H A Ddma.c100 res = bus->controller->prepare_dma(bus->channel_cookie, request->sg_list,
/haiku-fatelf/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-fatelf/headers/private/drivers/
H A Data_adapter.h148 status_t (*prepare_dma)(ata_adapter_channel_info *channel, const physical_entry *sg_list,
H A Dide_adapter.h149 status_t (*prepare_dma)(ide_adapter_channel_info *channel, const physical_entry *sg_list,
/haiku-fatelf/src/add-ons/kernel/busses/ata/legacy_sata/
H A Dlegacy_sata.c323 dma_prepare(void *channel_cookie, const physical_entry *sg_list, size_t sg_list_count, bool write) argument
325 return sATAAdapter->prepare_dma(channel_cookie,sg_list,sg_list_count,write);
/haiku-fatelf/src/add-ons/kernel/busses/ide/legacy_sata/
H A Dlegacy_sata.c325 dma_prepare(void *channel_cookie, const physical_entry *sg_list, size_t sg_list_count, bool write) argument
327 return ide_adapter->prepare_dma(channel_cookie,sg_list,sg_list_count,write);
/haiku-fatelf/src/add-ons/kernel/busses/ide/promise_tx2/
H A Dpromise_tx2.c112 prepare_dma(void *channel_cookie, const physical_entry *sg_list, argument
115 return ide_adapter->prepare_dma((ide_adapter_channel_info *)channel_cookie, sg_list, sg_list_count, to_device);

Completed in 288 milliseconds

12