Searched refs:sg_off (Results 1 – 6 of 6) sorted by relevance
/drivers/mmc/host/ |
D | tmio_mmc_pio.c | 76 host->sg_off = 0; in tmio_mmc_init_sg() 82 host->sg_off = 0; in tmio_mmc_next_sg() 437 buf = (unsigned short *)(sg_virt + host->sg_off); in tmio_mmc_pio_irq() 439 count = host->sg_ptr->length - host->sg_off; in tmio_mmc_pio_irq() 444 count, host->sg_off, data->flags); in tmio_mmc_pio_irq() 449 host->sg_off += count; in tmio_mmc_pio_irq() 453 if (host->sg_off == host->sg_ptr->length) in tmio_mmc_pio_irq()
|
D | tmio_mmc.h | 66 unsigned int sg_off; member
|
/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 1355 int rc, sg_nents, sg_off, page_off; in isert_handle_iscsi_dataout() local 1376 sg_off = cmd->write_data_done / PAGE_SIZE; in isert_handle_iscsi_dataout() 1377 sg_start = &cmd->se_cmd.t_data_sg[sg_off]; in isert_handle_iscsi_dataout() 1389 "sg_nents: %u from %p %u\n", sg_start, sg_off, in isert_handle_iscsi_dataout() 1640 data->sg_off = data->offset / PAGE_SIZE; in isert_map_data_buf() 1642 data->sg = &sg[data->sg_off]; in isert_map_data_buf() 1643 data->nents = min_t(unsigned int, nents - data->sg_off, in isert_map_data_buf() 2375 u32 sg_off, page_off; in isert_build_rdma_wr() local 2378 sg_off = offset / PAGE_SIZE; in isert_build_rdma_wr() 2379 sg_start = &cmd->se_cmd.t_data_sg[sg_off]; in isert_build_rdma_wr() [all …]
|
D | ib_isert.h | 101 u32 sg_off; member
|
/drivers/scsi/csiostor/ |
D | csio_scsi.c | 1497 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()
|
/drivers/target/ |
D | target_core_sbc.c | 1356 struct scatterlist *sg, int sg_off) in sbc_dif_copy_prot() argument 1362 unsigned int offset = sg_off; in sbc_dif_copy_prot()
|