Home
last modified time | relevance | path

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

/linux-6.6.21/sound/soc/codecs/
Drt5514-spi.c43 unsigned int buf_base, buf_limit, buf_rp; member
109 (rt5514_dsp->buf_limit - rt5514_dsp->buf_rp) + in rt5514_spi_copy_work()
118 if (rt5514_dsp->buf_rp + period_bytes <= rt5514_dsp->buf_limit) { in rt5514_spi_copy_work()
123 if (rt5514_dsp->buf_rp + period_bytes == rt5514_dsp->buf_limit) in rt5514_spi_copy_work()
128 truncated_bytes = rt5514_dsp->buf_limit - rt5514_dsp->buf_rp; in rt5514_spi_copy_work()
175 rt5514_dsp->buf_limit = buf[0] | buf[1] << 8 | buf[2] << 16 | in rt5514_schedule_copy()
186 rt5514_dsp->buf_size = rt5514_dsp->buf_limit - rt5514_dsp->buf_base; in rt5514_schedule_copy()
188 if (rt5514_dsp->buf_base && rt5514_dsp->buf_limit && in rt5514_schedule_copy()
/linux-6.6.21/fs/gfs2/
Dlops.h24 static inline unsigned int buf_limit(struct gfs2_sbd *sdp) in buf_limit() function
Dlops.c725 unsigned int limit = buf_limit(sdp); /* 503 for 4k blocks */ in buf_lo_before_commit()
Dlog.c669 reserved += blocks + DIV_ROUND_UP(blocks, buf_limit(sdp)); in calc_reserved()
/linux-6.6.21/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.6.21/fs/btrfs/
Dioctl.c1779 const u64 buf_limit = SZ_16M; in btrfs_ioctl_tree_search_v2() local
1791 if (buf_size > buf_limit) in btrfs_ioctl_tree_search_v2()
1792 buf_size = buf_limit; in btrfs_ioctl_tree_search_v2()