Home
last modified time | relevance | path

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

/Linux-v4.19/lib/
Dscatterlist.c204 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()
282 unsigned int sg_size, alloc_size = left; in __sg_alloc_table() local
286 sg_size = alloc_size - 1; in __sg_alloc_table()
288 sg_size = alloc_size; in __sg_alloc_table()
290 left -= sg_size; in __sg_alloc_table()
312 table->nents = table->orig_nents += sg_size; in __sg_alloc_table()
327 sg_mark_end(&sg[sg_size - 1]); in __sg_alloc_table()
/Linux-v4.19/kernel/bpf/
Dsockmap.c115 int sg_size; member
821 m->cork_bytes > psock->sg_size && !enospc) { in bpf_exec_tx_verdict()
822 psock->cork_bytes = m->cork_bytes - psock->sg_size; in bpf_exec_tx_verdict()
837 send = psock->sg_size; in bpf_exec_tx_verdict()
850 psock->sg_size -= send; in bpf_exec_tx_verdict()
870 psock->sg_size = 0; in bpf_exec_tx_verdict()
874 psock->sg_size -= send; in bpf_exec_tx_verdict()
879 psock->sg_size = 0; in bpf_exec_tx_verdict()
890 psock->sg_size -= send; in bpf_exec_tx_verdict()
1106 psock->sg_size += copy; in bpf_tcp_sendmsg()
[all …]
/Linux-v4.19/net/tls/
Dtls_sw.c70 int *sg_num_elem, unsigned int *sg_size, int target_size) in trim_sg() argument
73 int trim = *sg_size - target_size; in trim_sg()
80 *sg_size = target_size; in trim_sg()
151 int *sg_num_elem, unsigned int *sg_size) in free_sg() argument
160 *sg_size = 0; in free_sg()
/Linux-v4.19/drivers/scsi/
Ddpt_i2o.c1771 int sg_size; in adpt_i2o_passthru() local
1778 sg_size = sg[i].flag_count & 0xffffff; in adpt_i2o_passthru()
1780 p = dma_alloc_coherent(&pHba->pDev->dev, sg_size, &addr, GFP_KERNEL); in adpt_i2o_passthru()
1783 pHba->name,sg_size,i,sg_count); in adpt_i2o_passthru()
1791 if (copy_from_user(p,(void __user *)(ulong)sg[i].addr_bus, sg_size)) { in adpt_i2o_passthru()
1830 int sg_size; in adpt_i2o_passthru() local
1857 sg_size = sg[j].flag_count & 0xffffff; in adpt_i2o_passthru()
1859 if (copy_to_user((void __user *)(ulong)sg[j].addr_bus,sg_list[j], sg_size)) { in adpt_i2o_passthru()
Dpmcraid.c3245 int sg_size; in pmcraid_alloc_sglist() local
3248 sg_size = buflen / (PMCRAID_MAX_IOADLS - 1); in pmcraid_alloc_sglist()
3249 order = (sg_size > 0) ? get_order(sg_size) : 0; in pmcraid_alloc_sglist()
Dipr.c3860 int sg_size, order; in ipr_alloc_ucode_buffer() local
3864 sg_size = buf_len / (IPR_MAX_SGLIST - 1); in ipr_alloc_ucode_buffer()
3867 order = get_order(sg_size); in ipr_alloc_ucode_buffer()
/Linux-v4.19/fs/ecryptfs/
Dcrypto.c262 int sg_size) in virt_to_scatterlist() argument
269 sg_init_table(sg, sg_size); in virt_to_scatterlist()
271 while (size > 0 && i < sg_size) { in virt_to_scatterlist()
Decryptfs_kernel.h592 int sg_size);
/Linux-v4.19/drivers/net/ethernet/cavium/liquidio/
Docteon_network.h60 int sg_size; member
Dlio_vf_main.c1508 memset(g->sg, 0, g->sg_size); in liquidio_xmit()
Dlio_main.c2452 memset(g->sg, 0, g->sg_size); in liquidio_xmit()
/Linux-v4.19/drivers/crypto/caam/
Dcaamhash.c689 unsigned int sg_size = sg_num * sizeof(struct sec4_sg_entry); in ahash_edesc_alloc() local
691 edesc = kzalloc(sizeof(*edesc) + sg_size, GFP_DMA | flags); in ahash_edesc_alloc()
/Linux-v4.19/drivers/scsi/aic7xxx/
Daic79xx_core.c9354 u_int sg_size; in ahd_loadseq() local
9414 sg_size = sizeof(struct ahd_dma_seg); in ahd_loadseq()
9416 sg_size = sizeof(struct ahd_dma64_seg); in ahd_loadseq()
9417 while (sg_prefetch_cnt < sg_size) in ahd_loadseq()
9424 if ((sg_prefetch_align % sg_size) != 0 in ahd_loadseq()
9432 sg_prefetch_cnt_limit = -(sg_prefetch_cnt - sg_size + 1); in ahd_loadseq()
9437 download_consts[SG_SIZEOF] = sg_size; in ahd_loadseq()
/Linux-v4.19/include/net/
Dsock.h2216 int sg_start, int *sg_curr, unsigned int *sg_size,