Home
last modified time | relevance | path

Searched refs:buf_limit (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/sound/soc/codecs/
Drt5514-spi.c44 unsigned int buf_base, buf_limit, buf_rp; member
110 (rt5514_dsp->buf_limit - rt5514_dsp->buf_rp) + in rt5514_spi_copy_work()
119 if (rt5514_dsp->buf_rp + period_bytes <= rt5514_dsp->buf_limit) { in rt5514_spi_copy_work()
124 if (rt5514_dsp->buf_rp + period_bytes == rt5514_dsp->buf_limit) in rt5514_spi_copy_work()
129 truncated_bytes = rt5514_dsp->buf_limit - rt5514_dsp->buf_rp; in rt5514_spi_copy_work()
176 rt5514_dsp->buf_limit = buf[0] | buf[1] << 8 | buf[2] << 16 | in rt5514_schedule_copy()
187 rt5514_dsp->buf_size = rt5514_dsp->buf_limit - rt5514_dsp->buf_base; in rt5514_schedule_copy()
189 if (rt5514_dsp->buf_base && rt5514_dsp->buf_limit && in rt5514_schedule_copy()
/linux-6.1.9/fs/gfs2/
Dlops.h24 static inline unsigned int buf_limit(struct gfs2_sbd *sdp) in buf_limit() function
Dlops.c727 unsigned int limit = buf_limit(sdp); /* 503 for 4k blocks */ in buf_lo_before_commit()
Dlog.c660 reserved += blocks + DIV_ROUND_UP(blocks, buf_limit(sdp)); in calc_reserved()
/linux-6.1.9/drivers/atm/
Dhe.c658 int mult, buf, buf_limit = 4; in he_init_cs_block_rcm() local
753 if (buf > buf_limit) in he_init_cs_block_rcm()
754 buf = buf_limit; in he_init_cs_block_rcm()
/linux-6.1.9/fs/btrfs/
Dioctl.c2657 const size_t buf_limit = SZ_16M; in btrfs_ioctl_tree_search_v2() local
2669 if (buf_size > buf_limit) in btrfs_ioctl_tree_search_v2()
2670 buf_size = buf_limit; in btrfs_ioctl_tree_search_v2()