Searched refs:buf_limit (Results 1 – 6 of 6) sorted by relevance
43 unsigned int buf_base, buf_limit, buf_rp; member109 (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()
24 static inline unsigned int buf_limit(struct gfs2_sbd *sdp) in buf_limit() function
725 unsigned int limit = buf_limit(sdp); /* 503 for 4k blocks */ in buf_lo_before_commit()
669 reserved += blocks + DIV_ROUND_UP(blocks, buf_limit(sdp)); in calc_reserved()
658 int mult, buf, buf_limit = 4; in he_init_cs_block_rcm() local753 if (buf > buf_limit) in he_init_cs_block_rcm()754 buf = buf_limit; in he_init_cs_block_rcm()
1767 const size_t buf_limit = SZ_16M; in btrfs_ioctl_tree_search_v2() local1779 if (buf_size > buf_limit) in btrfs_ioctl_tree_search_v2()1780 buf_size = buf_limit; in btrfs_ioctl_tree_search_v2()