Lines Matching refs:offp
185 loff_t *offp) in vol_cdev_read() argument
195 count, *offp, vol->vol_id); in vol_cdev_read()
205 if (*offp == vol->used_bytes || count == 0) in vol_cdev_read()
211 if (*offp + count > vol->used_bytes) in vol_cdev_read()
212 count_save = count = vol->used_bytes - *offp; in vol_cdev_read()
222 lnum = div_u64_rem(*offp, vol->usable_leb_size, &off); in vol_cdev_read()
241 *offp += len; in vol_cdev_read()
262 size_t count, loff_t *offp) in vol_cdev_direct_write() argument
275 count, *offp, vol->vol_id); in vol_cdev_direct_write()
280 lnum = div_u64_rem(*offp, vol->usable_leb_size, &off); in vol_cdev_direct_write()
286 if (*offp + count > vol->used_bytes) in vol_cdev_direct_write()
287 count_save = count = vol->used_bytes - *offp; in vol_cdev_direct_write()
327 *offp += len; in vol_cdev_direct_write()
337 size_t count, loff_t *offp) in vol_cdev_write() argument
345 return vol_cdev_direct_write(file, buf, count, offp); in vol_cdev_write()