Home
last modified time | relevance | path

Searched refs:sg_off (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c14 struct scatterlist **sg_pp, unsigned int *sg_off) in cxgbit_set_one_ppod() argument
17 unsigned int offset = sg_off ? *sg_off : 0; in cxgbit_set_one_ppod()
52 *sg_off = offset; in cxgbit_set_one_ppod()
104 unsigned int *sg_off) in cxgbit_ppod_write_idata() argument
122 cxgbit_set_one_ppod(ppod, ttinfo, sg_pp, sg_off); in cxgbit_ppod_write_idata()
Dcxgbit_target.c1024 int rc, sg_nents, sg_off; in cxgbit_handle_iscsi_dataout() local
1076 sg_off = data_offset / PAGE_SIZE; in cxgbit_handle_iscsi_dataout()
1077 sg_start = &cmd->se_cmd.t_data_sg[sg_off]; in cxgbit_handle_iscsi_dataout()
/Linux-v4.19/net/rds/
Dmessage.c420 unsigned long sg_off; in rds_message_copy_from_user() local
428 sg_off = 0; /* Dear gcc, sg->page will be null from kzalloc. */ in rds_message_copy_from_user()
440 sg_off = 0; in rds_message_copy_from_user()
444 sg->length - sg_off); in rds_message_copy_from_user()
447 nbytes = copy_page_from_iter(sg_page(sg), sg->offset + sg_off, in rds_message_copy_from_user()
452 sg_off += to_copy; in rds_message_copy_from_user()
454 if (sg_off == sg->length) in rds_message_copy_from_user()
/Linux-v4.19/drivers/mmc/host/
Dtmio_mmc_core.c121 host->sg_off = 0; in tmio_mmc_init_sg()
127 host->sg_off = 0; in tmio_mmc_next_sg()
458 buf = (unsigned short *)(sg_virt + host->sg_off); in tmio_mmc_pio_irq()
460 count = host->sg_ptr->length - host->sg_off; in tmio_mmc_pio_irq()
465 count, host->sg_off, data->flags); in tmio_mmc_pio_irq()
470 host->sg_off += count; in tmio_mmc_pio_irq()
474 if (host->sg_off == host->sg_ptr->length) in tmio_mmc_pio_irq()
Dtmio_mmc.h142 unsigned int sg_off; member
/Linux-v4.19/drivers/scsi/csiostor/
Dcsio_scsi.c1497 uint32_t sg_off = 0; in csio_scsi_copy_to_sgl() local
1522 sg_off = sg->offset + start_off; in csio_scsi_copy_to_sgl()
1525 bytes_copy = min((uint32_t)(PAGE_SIZE - (sg_off & ~PAGE_MASK)), in csio_scsi_copy_to_sgl()
1528 sg_addr = kmap_atomic(sg_page(sg) + (sg_off >> PAGE_SHIFT)); in csio_scsi_copy_to_sgl()
1536 sg_addr, sg_off, buf_addr, bytes_copy); in csio_scsi_copy_to_sgl()
1537 memcpy(sg_addr + (sg_off & ~PAGE_MASK), buf_addr, bytes_copy); in csio_scsi_copy_to_sgl()
/Linux-v4.19/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1097 unsigned int sg_off; in ddp_set_map() local
1110 sg_off = i * PPOD_PAGES_MAX; in ddp_set_map()
1112 &sg_off); in ddp_set_map()
/Linux-v4.19/drivers/scsi/cxgbi/
Dlibcxgbi.h615 struct scatterlist **sg_pp, unsigned int *sg_off);
Dlibcxgbi.c1225 struct scatterlist **sg_pp, unsigned int *sg_off) in cxgbi_ddp_set_one_ppod() argument
1228 unsigned int offset = sg_off ? *sg_off : 0; in cxgbi_ddp_set_one_ppod()
1263 *sg_off = offset; in cxgbi_ddp_set_one_ppod()
/Linux-v4.19/drivers/target/
Dtarget_core_sbc.c1347 struct scatterlist *sg, int sg_off) in sbc_dif_copy_prot() argument
1353 unsigned int offset = sg_off; in sbc_dif_copy_prot()
/Linux-v4.19/drivers/infiniband/ulp/isert/
Dib_isert.c1205 int rc, sg_nents, sg_off, page_off; in isert_handle_iscsi_dataout() local
1226 sg_off = cmd->write_data_done / PAGE_SIZE; in isert_handle_iscsi_dataout()
1227 sg_start = &cmd->se_cmd.t_data_sg[sg_off]; in isert_handle_iscsi_dataout()
1239 "sg_nents: %u from %p %u\n", sg_start, sg_off, in isert_handle_iscsi_dataout()
/Linux-v4.19/drivers/scsi/
Dscsi_debug.c3106 u32 num, num_by, bt_len, lbdof_blen, sg_off, cum_lb; in resp_write_scat() local
3173 sg_off = lbdof_blen; in resp_write_scat()
3182 my_name, __func__, k, lba, num, sg_off); in resp_write_scat()
3215 ret = do_device_access(scp, sg_off, lba, num, true); in resp_write_scat()
3250 sg_off += num_by; in resp_write_scat()
/Linux-v4.19/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1848 unsigned int *sg_off) in ddp_ppod_write_idata() argument
1866 cxgbi_ddp_set_one_ppod(ppod, ttinfo, sg_pp, sg_off); in ddp_ppod_write_idata()