sgp 1053 block/genhd.c struct gendisk *sgp = v; sgp 1059 block/genhd.c if (!get_capacity(sgp) || (!disk_max_parts(sgp) && sgp 1060 block/genhd.c (sgp->flags & GENHD_FL_REMOVABLE))) sgp 1062 block/genhd.c if (sgp->flags & GENHD_FL_SUPPRESS_PARTITION_INFO) sgp 1066 block/genhd.c disk_part_iter_init(&piter, sgp, DISK_PITER_INCL_PART0); sgp 1071 block/genhd.c disk_name(sgp, part->partno, buf)); sgp 20 drivers/gpu/drm/i915/i915_scatterlist.h struct scatterlist *sgp; sgp 28 drivers/gpu/drm/i915/i915_scatterlist.h struct sgt_iter s = { .sgp = sgl }; sgp 30 drivers/gpu/drm/i915/i915_scatterlist.h if (s.sgp) { sgp 31 drivers/gpu/drm/i915/i915_scatterlist.h s.max = s.curr = s.sgp->offset; sgp 32 drivers/gpu/drm/i915/i915_scatterlist.h s.max += s.sgp->length; sgp 34 drivers/gpu/drm/i915/i915_scatterlist.h s.dma = sg_dma_address(s.sgp); sgp 36 drivers/gpu/drm/i915/i915_scatterlist.h s.pfn = page_to_pfn(sg_page(s.sgp)); sgp 80 drivers/gpu/drm/i915/i915_scatterlist.h (__iter) = __sgt_iter(__sg_next((__iter).sgp), true), 0 : 0) sgp 93 drivers/gpu/drm/i915/i915_scatterlist.h (__iter) = __sgt_iter(__sg_next((__iter).sgp), false), 0 : 0) sgp 309 drivers/mmc/host/moxart-mmc.c u32 *sgp, len = 0, remain, status; sgp 314 drivers/mmc/host/moxart-mmc.c sgp = sg_virt(host->cur_sg); sgp 326 drivers/mmc/host/moxart-mmc.c iowrite32(*sgp, host->base + REG_DATA_WINDOW); sgp 327 drivers/mmc/host/moxart-mmc.c sgp++; sgp 344 drivers/mmc/host/moxart-mmc.c *sgp = ioread32be(host->base + sgp 347 drivers/mmc/host/moxart-mmc.c *sgp = ioread32(host->base + sgp 349 drivers/mmc/host/moxart-mmc.c sgp++; sgp 239 drivers/net/ethernet/chelsio/cxgb3/sge.c const struct sg_ent *sgp; sgp 243 drivers/net/ethernet/chelsio/cxgb3/sge.c sgp = (struct sg_ent *)&q->desc[cidx].flit[d->sflit]; sgp 247 drivers/net/ethernet/chelsio/cxgb3/sge.c pci_unmap_single(pdev, be64_to_cpu(sgp->addr[0]), sgp 256 drivers/net/ethernet/chelsio/cxgb3/sge.c pci_unmap_page(pdev, be64_to_cpu(sgp->addr[j]), sgp 261 drivers/net/ethernet/chelsio/cxgb3/sge.c sgp++; sgp 1012 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sg_ent *sgp, unsigned char *start, sgp 1018 drivers/net/ethernet/chelsio/cxgb3/sge.c sgp->len[0] = cpu_to_be32(len); sgp 1019 drivers/net/ethernet/chelsio/cxgb3/sge.c sgp->addr[j++] = cpu_to_be64(addr[k++]); sgp 1026 drivers/net/ethernet/chelsio/cxgb3/sge.c sgp->len[j] = cpu_to_be32(skb_frag_size(frag)); sgp 1027 drivers/net/ethernet/chelsio/cxgb3/sge.c sgp->addr[j] = cpu_to_be64(addr[k++]); sgp 1030 drivers/net/ethernet/chelsio/cxgb3/sge.c ++sgp; sgp 1033 drivers/net/ethernet/chelsio/cxgb3/sge.c sgp->len[j] = 0; sgp 1186 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sg_ent *sgp, sgl[MAX_SKB_FRAGS / 2 + 1]; sgp 1240 drivers/net/ethernet/chelsio/cxgb3/sge.c sgp = ndesc == 1 ? (struct sg_ent *)&d->flit[flits] : sgl; sgp 1241 drivers/net/ethernet/chelsio/cxgb3/sge.c sgl_flits = write_sgl(skb, sgp, skb->data, skb_headlen(skb), addr); sgp 1636 drivers/net/ethernet/chelsio/cxgb3/sge.c struct sg_ent *sgp, sgl[MAX_SKB_FRAGS / 2 + 1]; sgp 1652 drivers/net/ethernet/chelsio/cxgb3/sge.c sgp = ndesc == 1 ? (struct sg_ent *)&d->flit[flits] : sgl; sgp 1653 drivers/net/ethernet/chelsio/cxgb3/sge.c sgl_flits = write_sgl(skb, sgp, skb_transport_header(skb), sgp 1657 drivers/net/ethernet/chelsio/cxgb3/sge.c setup_deferred_unmapping(skb, adap->pdev, sgp, sgl_flits); sgp 2498 drivers/scsi/advansys.c ASC_SG_HEAD *sgp; sgp 2519 drivers/scsi/advansys.c sgp = q->sg_head; sgp 2520 drivers/scsi/advansys.c printk("ASC_SG_HEAD at addr 0x%lx\n", (ulong)sgp); sgp 2521 drivers/scsi/advansys.c printk(" entry_cnt %u, queue_cnt %u\n", sgp->entry_cnt, sgp 2522 drivers/scsi/advansys.c sgp->queue_cnt); sgp 2523 drivers/scsi/advansys.c for (i = 0; i < sgp->entry_cnt; i++) { sgp 2525 drivers/scsi/advansys.c i, (ulong)le32_to_cpu(sgp->sg_list[i].addr), sgp 2526 drivers/scsi/advansys.c (ulong)le32_to_cpu(sgp->sg_list[i].bytes)); sgp 1820 drivers/scsi/cxgbi/libcxgbi.c struct scatterlist **sgp) sgp 1828 drivers/scsi/cxgbi/libcxgbi.c *sgp = sg; sgp 915 drivers/scsi/dc395x.c struct SGentry *sgp = srb->segment_x; sgp 927 drivers/scsi/dc395x.c sgp[i].address = busaddr; sgp 928 drivers/scsi/dc395x.c sgp[i].length = seglen; sgp 931 drivers/scsi/dc395x.c sgp += srb->sg_count - 1; sgp 938 drivers/scsi/dc395x.c sgp->length -= (srb->total_xfer_length - reqlen); sgp 946 drivers/scsi/dc395x.c sgp->length++; sgp 3210 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c struct scatterlist *sgp; sgp 3221 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c sgp = sg; sgp 3238 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (!sgp) { sgp 3243 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c server_ioba = sg_dma_address(sgp); sgp 3244 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c server_len = sg_dma_len(sgp); sgp 3313 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c sgp = sg_next(sgp); sgp 1564 drivers/scsi/initio.c struct sg_entry *sgp; sgp 1567 drivers/scsi/initio.c sgp = &scb->sglist[scb->sgidx]; sgp 1568 drivers/scsi/initio.c for (i = scb->sgidx; i < scb->sgmax; sgp++, i++) { sgp 1569 drivers/scsi/initio.c xcnt -= (long) sgp->len; sgp 1571 drivers/scsi/initio.c xcnt += (long) sgp->len; /* xcnt == bytes xferred in this sgp */ sgp 1572 drivers/scsi/initio.c sgp->data += (u32) xcnt; /* new ptr to be xfer */ sgp 1573 drivers/scsi/initio.c sgp->len -= (u32) xcnt; /* new len to be xfer */ sgp 95 include/linux/shmem_fs.h struct page **pagep, enum sgp_type sgp); sgp 56 lib/sg_pool.c struct sg_pool *sgp; sgp 58 lib/sg_pool.c sgp = sg_pools + sg_pool_index(nents); sgp 59 lib/sg_pool.c mempool_free(sgl, sgp->pool); sgp 64 lib/sg_pool.c struct sg_pool *sgp; sgp 66 lib/sg_pool.c sgp = sg_pools + sg_pool_index(nents); sgp 67 lib/sg_pool.c return mempool_alloc(sgp->pool, gfp_mask); sgp 146 lib/sg_pool.c struct sg_pool *sgp = sg_pools + i; sgp 147 lib/sg_pool.c int size = sgp->size * sizeof(struct scatterlist); sgp 149 lib/sg_pool.c sgp->slab = kmem_cache_create(sgp->name, size, 0, sgp 151 lib/sg_pool.c if (!sgp->slab) { sgp 153 lib/sg_pool.c sgp->name); sgp 157 lib/sg_pool.c sgp->pool = mempool_create_slab_pool(SG_MEMPOOL_SIZE, sgp 158 lib/sg_pool.c sgp->slab); sgp 159 lib/sg_pool.c if (!sgp->pool) { sgp 161 lib/sg_pool.c sgp->name); sgp 170 lib/sg_pool.c struct sg_pool *sgp = sg_pools + i; sgp 172 lib/sg_pool.c mempool_destroy(sgp->pool); sgp 173 lib/sg_pool.c kmem_cache_destroy(sgp->slab); sgp 184 lib/sg_pool.c struct sg_pool *sgp = sg_pools + i; sgp 185 lib/sg_pool.c mempool_destroy(sgp->pool); sgp 186 lib/sg_pool.c kmem_cache_destroy(sgp->slab); sgp 143 mm/shmem.c struct page **pagep, enum sgp_type sgp, sgp 147 mm/shmem.c struct page **pagep, enum sgp_type sgp, sgp 152 mm/shmem.c struct page **pagep, enum sgp_type sgp) sgp 154 mm/shmem.c return shmem_getpage_gfp(inode, index, pagep, sgp, sgp 1627 mm/shmem.c struct page **pagep, enum sgp_type sgp, sgp 1709 mm/shmem.c if (sgp == SGP_WRITE) sgp 1741 mm/shmem.c struct page **pagep, enum sgp_type sgp, gfp_t gfp, sgp 1751 mm/shmem.c enum sgp_type sgp_huge = sgp; sgp 1759 mm/shmem.c if (sgp == SGP_NOHUGE || sgp == SGP_HUGE) sgp 1760 mm/shmem.c sgp = SGP_CACHE; sgp 1762 mm/shmem.c if (sgp <= SGP_CACHE && sgp 1773 mm/shmem.c sgp, gfp, vma, fault_type); sgp 1781 mm/shmem.c if (page && sgp == SGP_WRITE) sgp 1786 mm/shmem.c if (sgp != SGP_READ) sgp 1792 mm/shmem.c if (page || sgp == SGP_READ) { sgp 1868 mm/shmem.c if (sgp == SGP_WRITE) sgp 1916 mm/shmem.c if (sgp == SGP_FALLOC) sgp 1917 mm/shmem.c sgp = SGP_WRITE; sgp 1924 mm/shmem.c if (sgp != SGP_WRITE && !PageUptodate(page)) { sgp 1936 mm/shmem.c if (sgp <= SGP_CACHE && sgp 1995 mm/shmem.c enum sgp_type sgp; sgp 2058 mm/shmem.c sgp = SGP_CACHE; sgp 2062 mm/shmem.c sgp = SGP_NOHUGE; sgp 2064 mm/shmem.c sgp = SGP_HUGE; sgp 2066 mm/shmem.c err = shmem_getpage_gfp(inode, vmf->pgoff, &vmf->page, sgp, sgp 2536 mm/shmem.c enum sgp_type sgp = SGP_READ; sgp 2547 mm/shmem.c sgp = SGP_CACHE; sgp 2567 mm/shmem.c error = shmem_getpage(inode, index, &page, sgp); sgp 2574 mm/shmem.c if (sgp == SGP_CACHE) sgp 79 net/rds/loop.c struct scatterlist *sgp = &rm->data.op_sg[sg]; sgp 86 net/rds/loop.c ret = min_t(int, ret, sgp->length - conn->c_xmit_data_off);