Home
last modified time | relevance | path

Searched refs:sg_used (Results 1 – 3 of 3) sorted by relevance

/drivers/crypto/ccp/
Dccp-ops.c64 unsigned int sg_used; member
503 wa->sg_used = 0; in ccp_init_sg_workarea()
529 wa->sg_used += nbytes; in ccp_update_sg_workarea()
531 if (wa->sg_used == wa->sg->length) { in ccp_update_sg_workarea()
533 wa->sg_used = 0; in ccp_update_sg_workarea()
721 scatterwalk_map_and_copy(dm_wa->address, sg_wa->sg, sg_wa->sg_used, in ccp_queue_buf()
727 nbytes = min(sg_wa->sg->length - sg_wa->sg_used, in ccp_queue_buf()
759 sg_src_len = sg_dma_len(src->sg_wa.sg) - src->sg_wa.sg_used; in ccp_prepare_data()
763 sg_dst_len = sg_dma_len(dst->sg_wa.sg) - dst->sg_wa.sg_used; in ccp_prepare_data()
793 op->src.u.dma.offset = src->sg_wa.sg_used; in ccp_prepare_data()
[all …]
/drivers/block/
Dcciss.c1568 BYTE sg_used = 0; in cciss_bigpassthru() local
1617 buff_size[sg_used] = sz; in cciss_bigpassthru()
1618 buff[sg_used] = kmalloc(sz, GFP_KERNEL); in cciss_bigpassthru()
1619 if (buff[sg_used] == NULL) { in cciss_bigpassthru()
1624 if (copy_from_user(buff[sg_used], data_ptr, sz)) { in cciss_bigpassthru()
1629 memset(buff[sg_used], 0, sz); in cciss_bigpassthru()
1633 sg_used++; in cciss_bigpassthru()
1642 c->Header.SGList = sg_used; in cciss_bigpassthru()
1643 c->Header.SGTotal = sg_used; in cciss_bigpassthru()
1648 for (i = 0; i < sg_used; i++) { in cciss_bigpassthru()
[all …]
/drivers/scsi/
Dhpsa.c1934 struct CommandList *c, int sg_used, int data_direction) in hpsa_pci_unmap() argument
1939 for (i = 0; i < sg_used; i++) { in hpsa_pci_unmap()
5037 BYTE sg_used = 0; in hpsa_big_passthru_ioctl() local
5086 buff_size[sg_used] = sz; in hpsa_big_passthru_ioctl()
5087 buff[sg_used] = kmalloc(sz, GFP_KERNEL); in hpsa_big_passthru_ioctl()
5088 if (buff[sg_used] == NULL) { in hpsa_big_passthru_ioctl()
5093 if (copy_from_user(buff[sg_used], data_ptr, sz)) { in hpsa_big_passthru_ioctl()
5098 memset(buff[sg_used], 0, sz); in hpsa_big_passthru_ioctl()
5101 sg_used++; in hpsa_big_passthru_ioctl()
5110 c->Header.SGList = c->Header.SGTotal = sg_used; in hpsa_big_passthru_ioctl()
[all …]