Home
last modified time | relevance | path

Searched refs:sg_size (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/lib/
A Dscatterlist.c206 unsigned int sg_size; in __sg_free_table() local
217 sg_size = alloc_size - 1; in __sg_free_table()
219 sg_size = alloc_size; in __sg_free_table()
223 num_ents -= sg_size; in __sg_free_table()
304 unsigned int sg_size, alloc_size = left; in __sg_alloc_table() local
308 sg_size = alloc_size - 1; in __sg_alloc_table()
310 sg_size = alloc_size; in __sg_alloc_table()
312 left -= sg_size; in __sg_alloc_table()
334 table->nents = table->orig_nents += sg_size; in __sg_alloc_table()
349 sg_mark_end(&sg[sg_size - 1]); in __sg_alloc_table()
/linux-6.3-rc2/drivers/infiniband/ulp/rtrs/
A Drtrs-clt.h99 unsigned int sg_size; member
A Drtrs-clt.c465 if (!req->sg_size) { in rtrs_post_send_rdma()
473 sge.length = req->sg_size; in rtrs_post_send_rdma()
485 req->sg_size, DMA_TO_DEVICE); in rtrs_post_send_rdma()
1113 req->sg_size = tsize; in rtrs_clt_write_req()
1247 req->sg_size = sizeof(*msg); in rtrs_clt_read_req()
1248 req->sg_size += le16_to_cpu(msg->sg_cnt) * sizeof(struct rtrs_sg_desc); in rtrs_clt_read_req()
1249 req->sg_size += req->usr_len; in rtrs_clt_read_req()
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/
A Dusb.c395 int err, sg_size; in mt76u_rx_urb_alloc() local
397 sg_size = qid == MT_RXQ_MAIN ? MT_RX_SG_MAX_SIZE : 0; in mt76u_rx_urb_alloc()
398 err = mt76u_urb_alloc(dev, e, sg_size); in mt76u_rx_urb_alloc()
402 return mt76u_refill_rx(dev, q, e->urb, sg_size); in mt76u_rx_urb_alloc()
/linux-6.3-rc2/drivers/net/ethernet/pensando/ionic/
A Dionic_debugfs.c135 debugfs_create_x32("sg_size", 0400, qcq_dentry, &qcq->sg_size); in ionic_debugfs_add_qcq()
A Dionic_lif.h73 u32 sg_size; member
A Dionic_lif.c419 dma_free_coherent(dev, qcq->sg_size, qcq->sg_base, qcq->sg_base_pa); in ionic_qcq_free()
678 new->sg_size = PAGE_SIZE + (num_descs * sg_desc_size); in ionic_qcq_alloc()
679 new->sg_base = dma_alloc_coherent(dev, new->sg_size, &new->sg_base_pa, in ionic_qcq_alloc()
789 memset(qcq->sg_base, 0, qcq->sg_size); in ionic_qcq_sanitize()
2839 swap(a->sg_size, b->sg_size); in ionic_swap_queues()
/linux-6.3-rc2/fs/ecryptfs/
A Dcrypto.c233 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()
A Decryptfs_kernel.h563 int sg_size);
/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A Docteon_network.h55 int sg_size; member
A Dlio_vf_main.c1527 memset(g->sg, 0, g->sg_size); in liquidio_xmit()
A Dlio_main.c2433 memset(g->sg, 0, g->sg_size); in liquidio_xmit()
/linux-6.3-rc2/drivers/crypto/caam/
A Dcaamhash.c711 unsigned int sg_size = sg_num * sizeof(struct sec4_sg_entry); in ahash_edesc_alloc() local
713 edesc = kzalloc(sizeof(*edesc) + sg_size, flags); in ahash_edesc_alloc()
/linux-6.3-rc2/drivers/scsi/aic7xxx/
A Daic79xx_core.c9270 u_int sg_size; in ahd_loadseq() local
9330 sg_size = sizeof(struct ahd_dma_seg); in ahd_loadseq()
9332 sg_size = sizeof(struct ahd_dma64_seg); in ahd_loadseq()
9333 while (sg_prefetch_cnt < sg_size) in ahd_loadseq()
9340 if ((sg_prefetch_align % sg_size) != 0 in ahd_loadseq()
9348 sg_prefetch_cnt_limit = -(sg_prefetch_cnt - sg_size + 1); in ahd_loadseq()
9353 download_consts[SG_SIZEOF] = sg_size; in ahd_loadseq()
/linux-6.3-rc2/drivers/scsi/
A Dipr.c3857 int sg_size, order; in ipr_alloc_ucode_buffer() local
3861 sg_size = buf_len / (IPR_MAX_SGLIST - 1); in ipr_alloc_ucode_buffer()
3864 order = get_order(sg_size); in ipr_alloc_ucode_buffer()

Completed in 178 milliseconds