Home
last modified time | relevance | path

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

/Linux-v5.4/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.c515 unsigned cgno, fragno, fragoff, count, fragsize, i; in ufs_add_fragments() local
554 fragsize = i - oldcount; in ufs_add_fragments()
555 if (!fs32_to_cpu(sb, ucg->cg_frsum[fragsize])) in ufs_add_fragments()
558 fs32_sub(sb, &ucg->cg_frsum[fragsize], 1); in ufs_add_fragments()
559 if (fragsize != count) in ufs_add_fragments()
560 fs32_add(sb, &ucg->cg_frsum[fragsize - count], 1); in ufs_add_fragments()
/Linux-v5.4/net/ipv4/
Dip_fragment.c278 unsigned int fragsize; in ip_frag_queue() local
357 fragsize = skb->len + ihl; in ip_frag_queue()
359 if (fragsize > qp->q.max_size) in ip_frag_queue()
360 qp->q.max_size = fragsize; in ip_frag_queue()
363 fragsize > qp->max_df_size) in ip_frag_queue()
364 qp->max_df_size = fragsize; in ip_frag_queue()
Dip_output.c984 mtu = cork->gso_size ? IP_MAX_MTU : cork->fragsize; in __ip_append_data()
1265 cork->fragsize = ip_sk_use_pmtu(sk) ? in ip_setup_cork()
1351 mtu = cork->gso_size ? IP_MAX_MTU : cork->fragsize; in ip_append_page()
Dudp.c840 if (hlen + cork->gso_size > cork->fragsize) { in udp_send_skb()
/Linux-v5.4/sound/pci/
Dintel8x0m.c161 unsigned int fragsize; member
387 if (ichdev->size == ichdev->fragsize) { in snd_intel8x0m_setup_periods()
389 ichdev->fragsize1 = ichdev->fragsize >> 1; in snd_intel8x0m_setup_periods()
401 ichdev->fragsize1 = ichdev->fragsize; in snd_intel8x0m_setup_periods()
403 bdbar[idx + 0] = cpu_to_le32(ichdev->physbuf + (((idx >> 1) * ichdev->fragsize) % ichdev->size)); in snd_intel8x0m_setup_periods()
405 ichdev->fragsize >> chip->pcm_pos_shift); in snd_intel8x0m_setup_periods()
411 ichdev->frags = ichdev->size / ichdev->fragsize; in snd_intel8x0m_setup_periods()
421 ichdev->lvi_frag, ichdev->frags, ichdev->fragsize, in snd_intel8x0m_setup_periods()
592 ichdev->fragsize = snd_pcm_lib_period_bytes(substream); in snd_intel8x0m_pcm_prepare()
Dvia82xx.c321 unsigned int fragsize; member
413 unsigned int periods, unsigned int fragsize) in build_via_table() argument
439 rest = fragsize; in build_via_table()
477 dev->bufsize = periods * fragsize; in build_via_table()
479 dev->fragsize = fragsize; in build_via_table()
646 viadev->hwptr_done += viadev->fragsize; in snd_via686_interrupt()
695 viadev->hwptr_done += viadev->fragsize; in snd_via8233_interrupt()
798 if ((unsigned int)delta > viadev->fragsize) in calc_linear_pos()
901 res += viadev->fragsize; in snd_via8233_pcm_pointer()
Dintel8x0.c339 unsigned int fragsize; member
663 if (ichdev->size == ichdev->fragsize) { in snd_intel8x0_setup_periods()
665 ichdev->fragsize1 = ichdev->fragsize >> 1; in snd_intel8x0_setup_periods()
677 ichdev->fragsize1 = ichdev->fragsize; in snd_intel8x0_setup_periods()
680 (((idx >> 1) * ichdev->fragsize) % in snd_intel8x0_setup_periods()
683 ichdev->fragsize >> ichdev->pos_shift); in snd_intel8x0_setup_periods()
689 ichdev->frags = ichdev->size / ichdev->fragsize; in snd_intel8x0_setup_periods()
699 ichdev->lvi_frag, ichdev->frags, ichdev->fragsize, in snd_intel8x0_setup_periods()
998 ichdev->fragsize = snd_pcm_lib_period_bytes(substream); in snd_intel8x0_pcm_prepare()
2692 ichdev->size = ichdev->fragsize = INTEL8X0_TESTBUF_SIZE; in intel8x0_measure_ac97_clock()
Dvia82xx_modem.c266 unsigned int periods, unsigned int fragsize) in build_via_table() argument
292 rest = fragsize; in build_via_table()
332 dev->bufsize = periods * fragsize; in build_via_table()
/Linux-v5.4/net/ipv6/
Dreassembly.c109 int offset, end, fragsize; in ip6_frag_queue() local
199 fragsize = -skb_network_offset(skb) + skb->len; in ip6_frag_queue()
200 if (fragsize > fq->q.max_size) in ip6_frag_queue()
201 fq->q.max_size = fragsize; in ip6_frag_queue()
Dip6_output.c1297 cork->base.fragsize = mtu; in ip6_setup_cork()
1347 mtu = cork->gso_size ? IP6_MAX_MTU : cork->fragsize; in __ip6_append_data()
Dudp.c1127 if (hlen + cork->gso_size > cork->fragsize) { in udp_v6_send_skb()
/Linux-v5.4/include/uapi/rdma/hfi/
Dhfi1_user.h215 __u16 fragsize; member
/Linux-v5.4/drivers/infiniband/hw/hfi1/
Duser_sdma.c373 if (!info.fragsize) { in hfi1_user_sdma_process_request()
639 len = min(tidlen - req->tidoffset, (u32)req->info.fragsize); in compute_data_length()
646 len = min_t(u32, tidlen, req->info.fragsize); in compute_data_length()
655 len = min(req->data_len - req->sent, (u32)req->info.fragsize); in compute_data_length()
731 len = offset + req->info.fragsize > PAGE_SIZE ? in user_sdma_txadd()
732 PAGE_SIZE - offset : req->info.fragsize; in user_sdma_txadd()
1078 if (req->info.fragsize % PIO_BLOCK_SIZE || lrhlen & 0x3 || in check_header_template()
1079 lrhlen > get_lrh_len(*hdr, req->info.fragsize)) in check_header_template()
Dtrace_tx.h597 __field(u16, fragsize)
607 __entry->fragsize = i[2];
617 __entry->fragsize,
/Linux-v5.4/include/net/
Dinet_sock.h154 unsigned int fragsize; member
/Linux-v5.4/drivers/crypto/chelsio/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-v5.4/sound/oss/dmasound/
Ddmasound_core.c1134 info.fragsize = write_sq.user_frag_size; in sq_ioctl()
1135 info.bytes = info.fragments * info.fragsize; in sq_ioctl()
/Linux-v5.4/include/uapi/linux/
Dsoundcard.h575 int fragsize; /* Size of a fragment in bytes */ member
/Linux-v5.4/sound/core/oss/
Dpcm_oss.c2235 info.fragsize = runtime->oss.period_bytes; in snd_pcm_oss_get_space()
2269 info.bytes, info.fragments, info.fragstotal, info.fragsize); in snd_pcm_oss_get_space()