bsize_elem       3903 drivers/scsi/ipr.c 	int bsize_elem, i, result = 0;
bsize_elem       3908 drivers/scsi/ipr.c 	bsize_elem = PAGE_SIZE * (1 << sglist->order);
bsize_elem       3912 drivers/scsi/ipr.c 	for (i = 0; i < (len / bsize_elem); i++, sg = sg_next(sg),
bsize_elem       3913 drivers/scsi/ipr.c 			buffer += bsize_elem) {
bsize_elem       3917 drivers/scsi/ipr.c 		memcpy(kaddr, buffer, bsize_elem);
bsize_elem       3920 drivers/scsi/ipr.c 		sg->length = bsize_elem;
bsize_elem       3928 drivers/scsi/ipr.c 	if (len % bsize_elem) {
bsize_elem       3932 drivers/scsi/ipr.c 		memcpy(kaddr, buffer, len % bsize_elem);
bsize_elem       3935 drivers/scsi/ipr.c 		sg->length = len % bsize_elem;
bsize_elem       3260 drivers/scsi/pmcraid.c 	int bsize_elem;
bsize_elem       3265 drivers/scsi/pmcraid.c 	bsize_elem = PAGE_SIZE * (1 << sglist->order);
bsize_elem       3269 drivers/scsi/pmcraid.c 	for (i = 0; i < (len / bsize_elem); i++, sg = sg_next(sg), buffer += bsize_elem) {
bsize_elem       3274 drivers/scsi/pmcraid.c 			rc = copy_from_user(kaddr, buffer, bsize_elem);
bsize_elem       3276 drivers/scsi/pmcraid.c 			rc = copy_to_user(buffer, kaddr, bsize_elem);
bsize_elem       3285 drivers/scsi/pmcraid.c 		sg->length = bsize_elem;
bsize_elem       3288 drivers/scsi/pmcraid.c 	if (len % bsize_elem) {
bsize_elem       3294 drivers/scsi/pmcraid.c 			rc = copy_from_user(kaddr, buffer, len % bsize_elem);
bsize_elem       3296 drivers/scsi/pmcraid.c 			rc = copy_to_user(buffer, kaddr, len % bsize_elem);
bsize_elem       3300 drivers/scsi/pmcraid.c 		sg->length = len % bsize_elem;