Searched refs:cur_sg (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/scsi/ |
H A D | esp_scsi.c | 400 spriv->cur_sg = sg; in esp_map_dma() 414 return sg_dma_address(p->cur_sg) + in esp_cur_dma_addr() 415 (sg_dma_len(p->cur_sg) - in esp_cur_dma_addr() 453 p->prv_sg = p->cur_sg; in esp_advance_dma() 454 p->cur_sg = sg_next(p->cur_sg); in esp_advance_dma() 455 p->cur_residue = sg_dma_len(p->cur_sg); in esp_advance_dma() 476 ent->saved_cur_sg = spriv->cur_sg; in esp_save_pointers() 491 spriv->cur_sg = ent->saved_cur_sg; in esp_restore_pointers() 1358 ptr = scsi_kmap_atomic_sg(p->cur_sg, p->num_sg, in esp_data_bytes_sent() 1650 if (spriv->cur_residue == sg_dma_len(spriv->cur_sg)) { in esp_msgin_process() [all …]
|
H A D | esp_scsi.h | 262 struct scatterlist *cur_sg; member
|
/linux/drivers/mmc/host/ |
H A D | wbsd.h | 151 struct scatterlist* cur_sg; /* Current SG entry */ member
|
/linux/drivers/nvme/target/ |
H A D | tcp.c | 134 struct scatterlist *cur_sg; member 430 cmd->cur_sg = cmd->req.sg; in nvmet_tcp_map_data() 636 while (cmd->cur_sg) { in nvmet_try_send_data() 640 struct page *page = sg_page(cmd->cur_sg); in nvmet_try_send_data() 642 u32 left = cmd->cur_sg->length - cmd->offset; in nvmet_try_send_data() 659 if (cmd->offset == cmd->cur_sg->length) { in nvmet_try_send_data() 660 cmd->cur_sg = sg_next(cmd->cur_sg); in nvmet_try_send_data()
|
/linux/net/ceph/ |
H A D | messenger_v2.c | 1008 struct scatterlist *cur_sg; in setup_message_sgs() local 1038 cur_sg = sgt->sgl; in setup_message_sgs() 1040 init_sgs(&cur_sg, msg->front.iov_base, front_len(msg), in setup_message_sgs() 1043 init_sgs(&cur_sg, msg->middle->vec.iov_base, middle_len(msg), in setup_message_sgs() 1047 init_sgs_pages(&cur_sg, pages, dpos, dlen, data_pad); in setup_message_sgs() 1050 init_sgs_cursor(&cur_sg, &cursor, data_pad); in setup_message_sgs() 1054 WARN_ON(!sg_is_last(cur_sg)); in setup_message_sgs() 1055 sg_set_buf(cur_sg, epilogue, in setup_message_sgs()
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_iocb.c | 803 sg = sgx->cur_sg; in qla24xx_get_one_block_sg() 827 sgx->cur_sg = sg; in qla24xx_get_one_block_sg() 858 sgx.cur_sg = scsi_sglist(cmd); in qla24xx_walk_and_build_sglist_no_difb() 865 sgx.cur_sg = tc->sg; in qla24xx_walk_and_build_sglist_no_difb() 1763 sgx.cur_sg = scsi_sglist(cmd); in qla24xx_dif_start_scsi() 2145 sgx.cur_sg = scsi_sglist(cmd); in qla2xxx_dif_start_scsi_mq()
|
H A D | qla_def.h | 5165 struct scatterlist *cur_sg; /* IN */ member
|