Home
last modified time | relevance | path

Searched refs:fragsize (Results 1 – 21 of 21) sorted by relevance

/linux-6.1.9/fs/ufs/
Dutil.h533 unsigned fragsize, pos; in ufs_fragacct() local
537 fragsize = 0; in ufs_fragacct()
540 fragsize++; in ufs_fragacct()
542 else if (fragsize > 0) { in ufs_fragacct()
543 fs32_add(sb, &fraglist[fragsize], cnt); in ufs_fragacct()
544 fragsize = 0; in ufs_fragacct()
547 if (fragsize > 0 && fragsize < uspi->s_fpb) in ufs_fragacct()
548 fs32_add(sb, &fraglist[fragsize], cnt); in ufs_fragacct()
Dballoc.c511 unsigned cgno, fragno, fragoff, count, fragsize, i; in ufs_add_fragments() local
550 fragsize = i - oldcount; in ufs_add_fragments()
551 if (!fs32_to_cpu(sb, ucg->cg_frsum[fragsize])) in ufs_add_fragments()
554 fs32_sub(sb, &ucg->cg_frsum[fragsize], 1); in ufs_add_fragments()
555 if (fragsize != count) in ufs_add_fragments()
556 fs32_add(sb, &ucg->cg_frsum[fragsize - count], 1); in ufs_add_fragments()
/linux-6.1.9/drivers/net/ethernet/fungible/funcore/
Dfun_queue.c236 u32 bufoff, total_len, remaining, fragsize, dataoff; in fun_data_from_rq() local
267 for (remaining = total_len; remaining; remaining -= fragsize) { in fun_data_from_rq()
269 fragsize = min_t(unsigned int, PAGE_SIZE, remaining); in fun_data_from_rq()
272 dma_sync_single_for_cpu(dma_dev, rqinfo->dma, fragsize, in fun_data_from_rq()
275 fragsize); in fun_data_from_rq()
276 dataoff += fragsize; in fun_data_from_rq()
/linux-6.1.9/net/ipv4/
Dip_fragment.c279 unsigned int fragsize; in ip_frag_queue() local
359 fragsize = skb->len + ihl; in ip_frag_queue()
361 if (fragsize > qp->q.max_size) in ip_frag_queue()
362 qp->q.max_size = fragsize; in ip_frag_queue()
365 fragsize > qp->max_df_size) in ip_frag_queue()
366 qp->max_df_size = fragsize; in ip_frag_queue()
Dip_output.c990 mtu = cork->gso_size ? IP_MAX_MTU : cork->fragsize; in __ip_append_data()
1287 cork->fragsize = ip_sk_use_pmtu(sk) ? in ip_setup_cork()
1290 if (!inetdev_valid_mtu(cork->fragsize)) in ip_setup_cork()
1380 mtu = cork->gso_size ? IP_MAX_MTU : cork->fragsize; in ip_append_page()
Dudp.c920 if (hlen + cork->gso_size > cork->fragsize) { in udp_send_skb()
/linux-6.1.9/sound/pci/
Dintel8x0m.c146 unsigned int fragsize; member
373 if (ichdev->size == ichdev->fragsize) { in snd_intel8x0m_setup_periods()
375 ichdev->fragsize1 = ichdev->fragsize >> 1; in snd_intel8x0m_setup_periods()
387 ichdev->fragsize1 = ichdev->fragsize; in snd_intel8x0m_setup_periods()
389 bdbar[idx + 0] = cpu_to_le32(ichdev->physbuf + (((idx >> 1) * ichdev->fragsize) % ichdev->size)); in snd_intel8x0m_setup_periods()
391 ichdev->fragsize >> chip->pcm_pos_shift); in snd_intel8x0m_setup_periods()
397 ichdev->frags = ichdev->size / ichdev->fragsize; in snd_intel8x0m_setup_periods()
407 ichdev->lvi_frag, ichdev->frags, ichdev->fragsize, in snd_intel8x0m_setup_periods()
567 ichdev->fragsize = snd_pcm_lib_period_bytes(substream); in snd_intel8x0m_pcm_prepare()
Dvia82xx.c320 unsigned int fragsize; member
412 unsigned int periods, unsigned int fragsize) in build_via_table() argument
440 rest = fragsize; in build_via_table()
478 dev->bufsize = periods * fragsize; in build_via_table()
480 dev->fragsize = fragsize; in build_via_table()
648 viadev->hwptr_done += viadev->fragsize; in snd_via686_interrupt()
697 viadev->hwptr_done += viadev->fragsize; in snd_via8233_interrupt()
800 if ((unsigned int)delta > viadev->fragsize) in calc_linear_pos()
903 res += viadev->fragsize; in snd_via8233_pcm_pointer()
Dintel8x0.c316 unsigned int fragsize; member
643 if (ichdev->size == ichdev->fragsize) { in snd_intel8x0_setup_periods()
645 ichdev->fragsize1 = ichdev->fragsize >> 1; in snd_intel8x0_setup_periods()
657 ichdev->fragsize1 = ichdev->fragsize; in snd_intel8x0_setup_periods()
660 (((idx >> 1) * ichdev->fragsize) % in snd_intel8x0_setup_periods()
663 ichdev->fragsize >> ichdev->pos_shift); in snd_intel8x0_setup_periods()
669 ichdev->frags = ichdev->size / ichdev->fragsize; in snd_intel8x0_setup_periods()
679 ichdev->lvi_frag, ichdev->frags, ichdev->fragsize, in snd_intel8x0_setup_periods()
980 ichdev->fragsize = snd_pcm_lib_period_bytes(substream); in snd_intel8x0_pcm_prepare()
2662 ichdev->size = ichdev->fragsize = INTEL8X0_TESTBUF_SIZE; in intel8x0_measure_ac97_clock()
Dvia82xx_modem.c265 unsigned int periods, unsigned int fragsize) in build_via_table() argument
293 rest = fragsize; in build_via_table()
333 dev->bufsize = periods * fragsize; in build_via_table()
/linux-6.1.9/net/ipv6/
Dreassembly.c111 int offset, end, fragsize; in ip6_frag_queue() local
202 fragsize = -skb_network_offset(skb) + skb->len; in ip6_frag_queue()
203 if (fragsize > fq->q.max_size) in ip6_frag_queue()
204 fq->q.max_size = fragsize; in ip6_frag_queue()
Dip6_output.c1448 cork->base.fragsize = mtu; in ip6_setup_cork()
1500 mtu = cork->gso_size ? IP6_MAX_MTU : cork->fragsize; in __ip6_append_data()
Dudp.c1244 if (hlen + cork->gso_size > cork->fragsize) { in udp_v6_send_skb()
/linux-6.1.9/include/uapi/rdma/hfi/
Dhfi1_user.h216 __u16 fragsize; member
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Duser_sdma.c357 if (!info.fragsize) { in hfi1_user_sdma_process_request()
624 len = min(tidlen - req->tidoffset, (u32)req->info.fragsize); in compute_data_length()
631 len = min_t(u32, tidlen, req->info.fragsize); in compute_data_length()
640 len = min(req->data_len - req->sent, (u32)req->info.fragsize); in compute_data_length()
716 len = offset + req->info.fragsize > PAGE_SIZE ? in user_sdma_txadd()
717 PAGE_SIZE - offset : req->info.fragsize; in user_sdma_txadd()
1064 if (req->info.fragsize % PIO_BLOCK_SIZE || lrhlen & 0x3 || in check_header_template()
1065 lrhlen > get_lrh_len(*hdr, req->info.fragsize)) in check_header_template()
Dtrace_tx.h557 __field(u16, fragsize)
567 __entry->fragsize = i[2];
577 __entry->fragsize,
/linux-6.1.9/include/net/
Dinet_sock.h167 unsigned int fragsize; member
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c449 int fragsize = hws->mfs; in chtls_expansion_size() local
461 *pducnt = data_len / (expppdu + fragsize); in chtls_expansion_size()
469 fragcnt = (data_len / fragsize); in chtls_expansion_size()
471 fragleft = data_len % fragsize; in chtls_expansion_size()
/linux-6.1.9/sound/oss/dmasound/
Ddmasound_core.c1125 info.fragsize = write_sq.user_frag_size; in sq_ioctl()
1126 info.bytes = info.fragments * info.fragsize; in sq_ioctl()
/linux-6.1.9/include/uapi/linux/
Dsoundcard.h575 int fragsize; /* Size of a fragment in bytes */ member
/linux-6.1.9/sound/core/oss/
Dpcm_oss.c2286 info.fragsize = runtime->oss.period_bytes; in snd_pcm_oss_get_space()
2320 info.bytes, info.fragments, info.fragstotal, info.fragsize); in snd_pcm_oss_get_space()