Home
last modified time | relevance | path

Searched refs:new_pos (Results 1 – 2 of 2) sorted by relevance

/fs/ceph/
Ddir.c550 loff_t new_pos = ceph_make_fpos(ceph_frag_value(frag), in ceph_readdir() local
552 if (new_pos > ctx->pos) in ceph_readdir()
553 ctx->pos = new_pos; in ceph_readdir()
612 static bool need_reset_readdir(struct ceph_dir_file_info *dfi, loff_t new_pos) in need_reset_readdir() argument
616 if (new_pos == 0) in need_reset_readdir()
618 if (is_hash_order(new_pos)) { in need_reset_readdir()
621 } else if (dfi->frag != fpos_frag(new_pos)) { in need_reset_readdir()
628 return new_pos < chunk_offset || in need_reset_readdir()
629 is_hash_order(new_pos) != is_hash_order(chunk_offset); in need_reset_readdir()
/fs/overlayfs/
Dcopy_up.c202 loff_t new_pos = 0; in ovl_copy_up_file() local
260 old_pos = new_pos = data_pos; in ovl_copy_up_file()
270 new_file, &new_pos, in ovl_copy_up_file()
276 WARN_ON(old_pos != new_pos); in ovl_copy_up_file()