Home
last modified time | relevance | path

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

/openbmc/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_ddp.c11 struct scatterlist **sg_pp, unsigned int *sg_off) in cxgbit_set_one_ppod() argument
14 unsigned int offset = sg_off ? *sg_off : 0; in cxgbit_set_one_ppod()
49 *sg_off = offset; in cxgbit_set_one_ppod()
101 unsigned int *sg_off) in cxgbit_ppod_write_idata() argument
119 cxgbit_set_one_ppod(ppod, ttinfo, sg_pp, sg_off); in cxgbit_ppod_write_idata()
H A Dcxgbit_target.c1006 int rc, sg_nents, sg_off; in cxgbit_handle_iscsi_dataout() local
1057 sg_off = data_offset / PAGE_SIZE; in cxgbit_handle_iscsi_dataout()
1058 sg_start = &cmd->se_cmd.t_data_sg[sg_off]; in cxgbit_handle_iscsi_dataout()
/openbmc/linux/net/rds/
H A Dmessage.c423 unsigned long sg_off; in rds_message_copy_from_user() local
431 sg_off = 0; /* Dear gcc, sg->page will be null from kzalloc. */ in rds_message_copy_from_user()
443 sg_off = 0; in rds_message_copy_from_user()
447 sg->length - sg_off); in rds_message_copy_from_user()
450 nbytes = copy_page_from_iter(sg_page(sg), sg->offset + sg_off, in rds_message_copy_from_user()
455 sg_off += to_copy; in rds_message_copy_from_user()
457 if (sg_off == sg->length) in rds_message_copy_from_user()
/openbmc/linux/drivers/mmc/host/
H A Dtmio_mmc_core.c125 host->sg_off = 0; in tmio_mmc_init_sg()
131 host->sg_off = 0; in tmio_mmc_next_sg()
427 buf = (unsigned short *)(sg_virt + host->sg_ptr->offset + host->sg_off); in tmio_mmc_pio_irq()
429 count = host->sg_ptr->length - host->sg_off; in tmio_mmc_pio_irq()
434 count, host->sg_off, data->flags); in tmio_mmc_pio_irq()
439 host->sg_off += count; in tmio_mmc_pio_irq()
443 if (host->sg_off == host->sg_ptr->length) in tmio_mmc_pio_irq()
H A Dtmio_mmc.h149 unsigned int sg_off; member
/openbmc/linux/drivers/infiniband/sw/siw/
H A Dsiw_verbs.h73 unsigned int *sg_off);
H A Dsiw_verbs.c1479 unsigned int *sg_off) in siw_map_mr_sg() argument
1529 rv = ib_sg_to_pages(base_mr, sl, num_sle, sg_off, siw_set_pbl_page); in siw_map_mr_sg()
/openbmc/linux/drivers/scsi/csiostor/
H A Dcsio_scsi.c1501 uint32_t sg_off = 0; in csio_scsi_copy_to_sgl() local
1526 sg_off = sg->offset + start_off; in csio_scsi_copy_to_sgl()
1529 bytes_copy = min((uint32_t)(PAGE_SIZE - (sg_off & ~PAGE_MASK)), in csio_scsi_copy_to_sgl()
1532 sg_addr = kmap_atomic(sg_page(sg) + (sg_off >> PAGE_SHIFT)); in csio_scsi_copy_to_sgl()
1540 sg_addr, sg_off, buf_addr, bytes_copy); in csio_scsi_copy_to_sgl()
1541 memcpy(sg_addr + (sg_off & ~PAGE_MASK), buf_addr, bytes_copy); in csio_scsi_copy_to_sgl()
/openbmc/linux/drivers/scsi/cxgbi/cxgb3i/
H A Dcxgb3i.c1104 unsigned int sg_off; in ddp_set_map() local
1117 sg_off = i * PPOD_PAGES_MAX; in ddp_set_map()
1119 &sg_off); in ddp_set_map()
/openbmc/linux/drivers/scsi/cxgbi/
H A Dlibcxgbi.h640 struct scatterlist **sg_pp, unsigned int *sg_off);
H A Dlibcxgbi.c1156 struct scatterlist **sg_pp, unsigned int *sg_off) in cxgbi_ddp_set_one_ppod() argument
1159 unsigned int offset = sg_off ? *sg_off : 0; in cxgbi_ddp_set_one_ppod()
1194 *sg_off = offset; in cxgbi_ddp_set_one_ppod()
/openbmc/linux/drivers/target/
H A Dtarget_core_sbc.c1271 struct scatterlist *sg, int sg_off) in sbc_dif_copy_prot() argument
1277 unsigned int offset = sg_off; in sbc_dif_copy_prot()
/openbmc/linux/drivers/infiniband/ulp/isert/
H A Dib_isert.c1125 int rc, sg_nents, sg_off, page_off; in isert_handle_iscsi_dataout() local
1146 sg_off = cmd->write_data_done / PAGE_SIZE; in isert_handle_iscsi_dataout()
1147 sg_start = &cmd->se_cmd.t_data_sg[sg_off]; in isert_handle_iscsi_dataout()
1159 "sg_nents: %u from %p %u\n", sg_start, sg_off, in isert_handle_iscsi_dataout()
/openbmc/linux/drivers/scsi/
H A Dscsi_debug.c3724 u32 num, num_by, bt_len, lbdof_blen, sg_off, cum_lb; in resp_write_scat() local
3790 sg_off = lbdof_blen; in resp_write_scat()
3799 my_name, __func__, k, lba, num, sg_off); in resp_write_scat()
3832 ret = do_device_access(sip, scp, sg_off, lba, num, true); in resp_write_scat()
3866 sg_off += num_by; in resp_write_scat()
/openbmc/linux/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c2020 unsigned int *sg_off) in ddp_ppod_write_idata() argument
2038 cxgbi_ddp_set_one_ppod(ppod, ttinfo, sg_pp, sg_off); in ddp_ppod_write_idata()