Searched refs:tbuf_size (Results 1 – 1 of 1) sorted by relevance
212 int err, lnum, off, len, tbuf_size; in vol_cdev_read() local236 tbuf_size = vol->usable_leb_size; in vol_cdev_read()237 if (count < tbuf_size) in vol_cdev_read()238 tbuf_size = ALIGN(count, ubi->min_io_size); in vol_cdev_read()239 tbuf = vmalloc(tbuf_size); in vol_cdev_read()243 len = count > tbuf_size ? tbuf_size : count; in vol_cdev_read()272 len = count > tbuf_size ? tbuf_size : count; in vol_cdev_read()289 int lnum, off, len, tbuf_size, err = 0; in vol_cdev_direct_write() local317 tbuf_size = vol->usable_leb_size; in vol_cdev_direct_write()318 if (count < tbuf_size) in vol_cdev_direct_write()[all …]