Lines Matching refs:offp
172 loff_t *offp) in vol_cdev_read() argument
182 count, *offp, vol->vol_id); in vol_cdev_read()
192 if (*offp == vol->used_bytes || count == 0) in vol_cdev_read()
198 if (*offp + count > vol->used_bytes) in vol_cdev_read()
199 count_save = count = vol->used_bytes - *offp; in vol_cdev_read()
209 lnum = div_u64_rem(*offp, vol->usable_leb_size, &off); in vol_cdev_read()
228 *offp += len; in vol_cdev_read()
249 size_t count, loff_t *offp) in vol_cdev_direct_write() argument
262 count, *offp, vol->vol_id); in vol_cdev_direct_write()
267 lnum = div_u64_rem(*offp, vol->usable_leb_size, &off); in vol_cdev_direct_write()
273 if (*offp + count > vol->used_bytes) in vol_cdev_direct_write()
274 count_save = count = vol->used_bytes - *offp; in vol_cdev_direct_write()
314 *offp += len; in vol_cdev_direct_write()
324 size_t count, loff_t *offp) in vol_cdev_write() argument
332 return vol_cdev_direct_write(file, buf, count, offp); in vol_cdev_write()