Lines Matching refs:sg
86 struct scsiif_request_segment *sg; /* scatter/gather elements */
254 kfree(shadow->sg);
481 struct scatterlist *sg;
487 scsi_for_each_sg(sc, sg, scsi_sg_count(sc), i)
488 data_grants += PFN_UP(sg->offset + sg->length);
497 shadow->sg = kcalloc(data_grants,
499 if (!shadow->sg)
502 seg = shadow->sg ? : shadow->seg;
507 kfree(shadow->sg);
540 scsi_for_each_sg(sc, sg, scsi_sg_count(sc), i) {
541 page = sg_page(sg);
542 off = sg->offset;
543 len = sg->length;
547 * sg sends a scatterlist that is larger than
1135 sg_grant = xenbus_read_unsigned(dev->otherend, "feature-sg-grant", 0);