Searched refs:buf_limit (Results 1 – 6 of 6) sorted by relevance
44 unsigned int buf_base, buf_limit, buf_rp; member110 (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()
24 static inline unsigned int buf_limit(struct gfs2_sbd *sdp) in buf_limit() function
727 unsigned int limit = buf_limit(sdp); /* 503 for 4k blocks */ in buf_lo_before_commit()
660 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()
2657 const size_t buf_limit = SZ_16M; in btrfs_ioctl_tree_search_v2() local2669 if (buf_size > buf_limit) in btrfs_ioctl_tree_search_v2()2670 buf_size = buf_limit; in btrfs_ioctl_tree_search_v2()