/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | loop6.c | 40 static inline struct scatterlist *__sg_next(struct scatterlist *sgp) argument 44 bpf_probe_read_kernel(&sg, sizeof(sg), sgp); 48 sgp++; 50 bpf_probe_read_kernel(&sg, sizeof(sg), sgp); 52 sgp = sg_chain_ptr(&sg); 54 return sgp; 59 struct scatterlist *sgp; local 61 bpf_probe_read_kernel(&sgp, sizeof(sgp), sgs + i); 62 return sgp; 72 struct scatterlist *sgp = NULL; local [all...] |
/linux-master/lib/ |
H A D | sg_pool.c | 56 struct sg_pool *sgp; local 58 sgp = sg_pools + sg_pool_index(nents); 59 mempool_free(sgl, sgp->pool); 64 struct sg_pool *sgp; local 66 sgp = sg_pools + sg_pool_index(nents); 67 return mempool_alloc(sgp->pool, gfp_mask); 147 struct sg_pool *sgp = sg_pools + i; local 148 int size = sgp->size * sizeof(struct scatterlist); 150 sgp->slab = kmem_cache_create(sgp 171 struct sg_pool *sgp = sg_pools + i; local [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_scatterlist.h | 24 struct scatterlist *sgp; member in struct:sgt_iter 32 struct sgt_iter s = { .sgp = sgl }; 34 if (dma && s.sgp && sg_dma_len(s.sgp) == 0) { 35 s.sgp = NULL; 36 } else if (s.sgp) { 37 s.max = s.curr = s.sgp->offset; 39 s.dma = sg_dma_address(s.sgp); 40 s.max += sg_dma_len(s.sgp); 42 s.pfn = page_to_pfn(sg_page(s.sgp)); [all...] |
H A D | i915_mm.c | 55 if (GEM_WARN_ON(!r->sgt.sgp)) 65 r->sgt = __sgt_iter(__sg_next(r->sgt.sgp), use_dma(r->iobase));
|
/linux-master/net/rds/ |
H A D | loop.c | 79 struct scatterlist *sgp = &rm->data.op_sg[sg]; local 86 ret = min_t(int, ret, sgp->length - conn->c_xmit_data_off);
|
/linux-master/include/linux/ |
H A D | shmem_fs.h | 136 enum sgp_type sgp);
|
/linux-master/drivers/mmc/host/ |
H A D | moxart-mmc.c | 283 u32 *sgp, len = 0, remain, status; local 299 sgp = sgm->addr; 313 iowrite32(*sgp, host->base + REG_DATA_WINDOW); 314 sgp++; 330 *sgp = ioread32(host->base + REG_DATA_WINDOW); 331 sgp++;
|
/linux-master/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | sge.c | 236 const struct sg_ent *sgp; local 240 sgp = (struct sg_ent *)&q->desc[cidx].flit[d->sflit]; 244 dma_unmap_single(&pdev->dev, be64_to_cpu(sgp->addr[0]), 253 dma_unmap_page(&pdev->dev, be64_to_cpu(sgp->addr[j]), 258 sgp++; 998 * @sgp: the SGL to populate 1008 struct sg_ent *sgp, unsigned char *start, 1014 sgp->len[0] = cpu_to_be32(len); 1015 sgp->addr[j++] = cpu_to_be64(addr[k++]); 1022 sgp 1007 write_sgl(const struct sk_buff *skb, struct sg_ent *sgp, unsigned char *start, unsigned int len, const dma_addr_t *addr) argument 1183 struct sg_ent *sgp, sgl[MAX_SKB_FRAGS / 2 + 1]; local 1636 struct sg_ent *sgp, sgl[MAX_SKB_FRAGS / 2 + 1]; local [all...] |
/linux-master/mm/ |
H A D | shmem.c | 150 struct folio **foliop, enum sgp_type sgp, gfp_t gfp, 1855 struct folio **foliop, enum sgp_type sgp, 1931 if (sgp == SGP_WRITE) 1966 struct folio **foliop, enum sgp_type sgp, gfp_t gfp, 1981 if (sgp <= SGP_CACHE && 1998 sgp, gfp, fault_mm, fault_type); 2015 if (sgp == SGP_WRITE) 2020 if (sgp != SGP_READ) 2031 if (sgp == SGP_READ) 2033 if (sgp 1854 shmem_swapin_folio(struct inode *inode, pgoff_t index, struct folio **foliop, enum sgp_type sgp, gfp_t gfp, struct mm_struct *fault_mm, vm_fault_t *fault_type) argument 1965 shmem_get_folio_gfp(struct inode *inode, pgoff_t index, struct folio **foliop, enum sgp_type sgp, gfp_t gfp, struct vm_fault *vmf, vm_fault_t *fault_type) argument 2163 shmem_get_folio(struct inode *inode, pgoff_t index, struct folio **foliop, enum sgp_type sgp) argument [all...] |
/linux-master/block/ |
H A D | genhd.c | 859 struct gendisk *sgp = v; local 863 if (!get_capacity(sgp) || (sgp->flags & GENHD_FL_HIDDEN)) 867 xa_for_each(&sgp->part_tbl, idx, part) {
|
/linux-master/drivers/scsi/ |
H A D | initio.c | 1561 struct sg_entry *sgp; local 1564 sgp = &scb->sglist[scb->sgidx]; 1565 for (i = scb->sgidx; i < scb->sgmax; sgp++, i++) { 1566 xcnt -= (long) sgp->len; 1567 if (xcnt < 0) { /* this sgp xfer half done */ 1568 xcnt += (long) sgp->len; /* xcnt == bytes xferred in this sgp */ 1569 sgp->data += (u32) xcnt; /* new ptr to be xfer */ 1570 sgp->len -= (u32) xcnt; /* new len to be xfer */ 1579 /* else (xcnt >= 0 , i.e. this sgp alread [all...] |
H A D | dc395x.c | 899 struct SGentry *sgp = srb->segment_x; local 911 sgp[i].address = busaddr; 912 sgp[i].length = seglen; 915 sgp += srb->sg_count - 1; 922 sgp->length -= (srb->total_xfer_length - reqlen); 930 sgp->length++;
|
H A D | advansys.c | 2487 ASC_SG_HEAD *sgp; local 2508 sgp = q->sg_head; 2509 printk("ASC_SG_HEAD at addr 0x%lx\n", (ulong)sgp); 2510 printk(" entry_cnt %u, queue_cnt %u\n", sgp->entry_cnt, 2511 sgp->queue_cnt); 2512 for (i = 0; i < sgp->entry_cnt; i++) { 2514 i, (ulong)le32_to_cpu(sgp->sg_list[i].addr), 2515 (ulong)le32_to_cpu(sgp->sg_list[i].bytes));
|
/linux-master/drivers/scsi/ibmvscsi_tgt/ |
H A D | ibmvscsi_tgt.c | 3195 struct scatterlist *sgp; local 3206 sgp = sg; 3223 if (!sgp) { 3228 server_ioba = sg_dma_address(sgp); 3229 server_len = sg_dma_len(sgp); 3298 sgp = sg_next(sgp);
|
/linux-master/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 1744 struct scatterlist **sgp) 1752 *sgp = sg; 1742 sgl_seek_offset(struct scatterlist *sgl, unsigned int sgcnt, unsigned int offset, unsigned int *off, struct scatterlist **sgp) argument
|
/linux-master/arch/m68k/fpsp040/ |
H A D | res_func.S | 1430 .long sgp 1691 sgp: label
|