Searched refs:sgp (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | loop6.c | 33 static inline struct scatterlist *__sg_next(struct scatterlist *sgp) 37 bpf_probe_read_kernel(&sg, sizeof(sg), sgp); 41 sgp++; in __sg_next() 43 bpf_probe_read_kernel(&sg, sizeof(sg), sgp); in __sg_next() 45 sgp = sg_chain_ptr(&sg); in __sg_next() 47 return sgp; in __sg_next() 52 struct scatterlist *sgp; in __sg_next() 54 bpf_probe_read_kernel(&sgp, sizeof(sgp), sgs + i); in __sg_next() 55 return sgp; in __sg_next() 40 __sg_next(struct scatterlist * sgp) __sg_next() argument 59 struct scatterlist *sgp; get_sgp() local 72 struct scatterlist *sgp = NULL; BPF_KPROBE() local [all...] |
| /linux/lib/ |
| H A D | sg_pool.c | 56 struct sg_pool *sgp; in sg_pool_free() local 58 sgp = sg_pools + sg_pool_index(nents); in sg_pool_free() 59 mempool_free(sgl, sgp->pool); in sg_pool_free() 64 struct sg_pool *sgp; in sg_pool_alloc() local 66 sgp = sg_pools + sg_pool_index(nents); in sg_pool_alloc() 67 return mempool_alloc(sgp->pool, gfp_mask); in sg_pool_alloc() 147 struct sg_pool *sgp = sg_pools + i; in sg_pool_init() local 148 int size = sgp->size * sizeof(struct scatterlist); in sg_pool_init() 150 sgp->slab = kmem_cache_create(sgp->name, size, 0, in sg_pool_init() 152 if (!sgp->slab) { in sg_pool_init() [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_scatterlist.h | 24 struct scatterlist *sgp; member 32 struct sgt_iter s = { .sgp = sgl }; in __sgt_iter() 34 if (dma && s.sgp && sg_dma_len(s.sgp) == 0) { in __sgt_iter() 35 s.sgp = NULL; in __sgt_iter() 36 } else if (s.sgp) { in __sgt_iter() 37 s.max = s.curr = s.sgp->offset; in __sgt_iter() 39 s.dma = sg_dma_address(s.sgp); in __sgt_iter() 40 s.max += sg_dma_len(s.sgp); in __sgt_iter() 42 s.pfn = page_to_pfn(sg_page(s.sgp)); in __sgt_iter() 43 s.max += s.sgp->length; in __sgt_iter() [all …]
|
| /linux/net/rds/ |
| H A D | loop.c | 79 struct scatterlist *sgp = &rm->data.op_sg[sg]; in rds_loop_xmit() local 86 ret = min_t(int, ret, sgp->length - conn->c_xmit_data_off); in rds_loop_xmit()
|
| /linux/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | sge.c | 236 const struct sg_ent *sgp; in unmap_skb() local 240 sgp = (struct sg_ent *)&q->desc[cidx].flit[d->sflit]; in unmap_skb() 244 dma_unmap_single(&pdev->dev, be64_to_cpu(sgp->addr[0]), in unmap_skb() 253 dma_unmap_page(&pdev->dev, be64_to_cpu(sgp->addr[j]), in unmap_skb() 258 sgp++; in unmap_skb() 1008 struct sg_ent *sgp, unsigned char *start, in write_sgl() argument 1014 sgp->len[0] = cpu_to_be32(len); in write_sgl() 1015 sgp->addr[j++] = cpu_to_be64(addr[k++]); in write_sgl() 1022 sgp->len[j] = cpu_to_be32(skb_frag_size(frag)); in write_sgl() 1023 sgp->addr[j] = cpu_to_be64(addr[k++]); in write_sgl() [all …]
|
| /linux/block/ |
| H A D | genhd.c | 965 struct gendisk *sgp = v; in show_partition() local 969 if (!get_capacity(sgp) || (sgp->flags & GENHD_FL_HIDDEN)) in show_partition() 973 xa_for_each(&sgp->part_tbl, idx, part) { in show_partition()
|
| /linux/drivers/scsi/cxgbi/ |
| H A D | libcxgbi.c | 1744 struct scatterlist **sgp) in sgl_seek_offset() argument 1752 *sgp = sg; in sgl_seek_offset()
|
| /linux/arch/m68k/fpsp040/ |
| H A D | res_func.S | 1430 .long sgp
|