/kernel/linux/linux-5.10/lib/ |
D | scatterlist.c | 204 unsigned int sg_size; in __sg_free_table() local 215 sg_size = alloc_size - 1; in __sg_free_table() 217 sg_size = alloc_size; in __sg_free_table() 221 table->orig_nents -= sg_size; in __sg_free_table() 288 unsigned int sg_size, alloc_size = left; in __sg_alloc_table() local 292 sg_size = alloc_size - 1; in __sg_alloc_table() 294 sg_size = alloc_size; in __sg_alloc_table() 296 left -= sg_size; in __sg_alloc_table() 318 table->nents = table->orig_nents += sg_size; in __sg_alloc_table() 333 sg_mark_end(&sg[sg_size - 1]); in __sg_alloc_table()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/ |
D | rtrs-clt.h | 98 unsigned int sg_size; member
|
D | rtrs-clt.c | 459 if (unlikely(!req->sg_size)) { in rtrs_post_send_rdma() 467 sge.length = req->sg_size; in rtrs_post_send_rdma() 478 req->sg_size, DMA_TO_DEVICE); in rtrs_post_send_rdma() 1019 req->sg_size = tsize; in rtrs_clt_write_req() 1140 req->sg_size = sizeof(*msg); in rtrs_clt_read_req() 1141 req->sg_size += le16_to_cpu(msg->sg_cnt) * sizeof(struct rtrs_sg_desc); in rtrs_clt_read_req() 1142 req->sg_size += req->usr_len; in rtrs_clt_read_req()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
D | usb.c | 449 int err, sg_size; in mt76u_rx_urb_alloc() local 451 sg_size = qid == MT_RXQ_MAIN ? MT_RX_SG_MAX_SIZE : 0; in mt76u_rx_urb_alloc() 452 err = mt76u_urb_alloc(dev, e, sg_size); in mt76u_rx_urb_alloc() 456 return mt76u_refill_rx(dev, q, e->urb, sg_size, GFP_KERNEL); in mt76u_rx_urb_alloc()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | dpt_i2o.c | 1722 int sg_size; in adpt_i2o_passthru() local 1729 sg_size = sg[i].flag_count & 0xffffff; in adpt_i2o_passthru() 1731 p = dma_alloc_coherent(&pHba->pDev->dev, sg_size, &addr, GFP_KERNEL); in adpt_i2o_passthru() 1734 pHba->name,sg_size,i,sg_count); in adpt_i2o_passthru() 1742 if (copy_from_user(p,(void __user *)(ulong)sg[i].addr_bus, sg_size)) { in adpt_i2o_passthru() 1781 int sg_size; in adpt_i2o_passthru() local 1808 sg_size = sg[j].flag_count & 0xffffff; in adpt_i2o_passthru() 1810 if (copy_to_user((void __user *)(ulong)sg[j].addr_bus,sg_list[j], sg_size)) { in adpt_i2o_passthru()
|
D | pmcraid.c | 3219 int sg_size; in pmcraid_alloc_sglist() local 3222 sg_size = buflen / (PMCRAID_MAX_IOADLS - 1); in pmcraid_alloc_sglist() 3223 order = (sg_size > 0) ? get_order(sg_size) : 0; in pmcraid_alloc_sglist()
|
D | ipr.c | 3856 int sg_size, order; in ipr_alloc_ucode_buffer() local 3860 sg_size = buf_len / (IPR_MAX_SGLIST - 1); in ipr_alloc_ucode_buffer() 3863 order = get_order(sg_size); in ipr_alloc_ucode_buffer()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
D | ionic_lif.h | 69 u32 sg_size; member
|
D | ionic_debugfs.c | 135 debugfs_create_x32("sg_size", 0400, qcq_dentry, &qcq->sg_size); in ionic_debugfs_add_qcq()
|
D | ionic_lif.c | 376 dma_free_coherent(dev, qcq->sg_size, qcq->sg_base, qcq->sg_base_pa); in ionic_qcq_free() 597 new->sg_size = PAGE_SIZE + (num_descs * sg_desc_size); in ionic_qcq_alloc() 598 new->sg_base = dma_alloc_coherent(dev, new->sg_size, &new->sg_base_pa, in ionic_qcq_alloc() 702 memset(qcq->sg_base, 0, qcq->sg_size); in ionic_qcq_sanitize() 2191 swap(a->sg_size, b->sg_size); in ionic_swap_queues()
|
/kernel/linux/linux-5.10/fs/ecryptfs/ |
D | crypto.c | 233 int sg_size) in virt_to_scatterlist() argument 240 sg_init_table(sg, sg_size); in virt_to_scatterlist() 242 while (size > 0 && i < sg_size) { in virt_to_scatterlist()
|
D | ecryptfs_kernel.h | 578 int sg_size);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_network.h | 55 int sg_size; member
|
D | lio_vf_main.c | 1530 memset(g->sg, 0, g->sg_size); in liquidio_xmit()
|
D | lio_main.c | 2419 memset(g->sg, 0, g->sg_size); in liquidio_xmit()
|
/kernel/linux/linux-5.10/drivers/crypto/caam/ |
D | caamhash.c | 703 unsigned int sg_size = sg_num * sizeof(struct sec4_sg_entry); in ahash_edesc_alloc() local 705 edesc = kzalloc(sizeof(*edesc) + sg_size, GFP_DMA | flags); in ahash_edesc_alloc()
|
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
D | aic79xx_core.c | 9274 u_int sg_size; in ahd_loadseq() local 9334 sg_size = sizeof(struct ahd_dma_seg); in ahd_loadseq() 9336 sg_size = sizeof(struct ahd_dma64_seg); in ahd_loadseq() 9337 while (sg_prefetch_cnt < sg_size) in ahd_loadseq() 9344 if ((sg_prefetch_align % sg_size) != 0 in ahd_loadseq() 9352 sg_prefetch_cnt_limit = -(sg_prefetch_cnt - sg_size + 1); in ahd_loadseq() 9357 download_consts[SG_SIZEOF] = sg_size; in ahd_loadseq()
|