Home
last modified time | relevance | path

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

/fs/overlayfs/
Dcopy_up.c140 loff_t new_pos = 0; in ovl_copy_up_data() local
170 new_file, &new_pos, in ovl_copy_up_data()
176 WARN_ON(old_pos != new_pos); in ovl_copy_up_data()
/fs/ceph/
Ddir.c542 loff_t new_pos = ceph_make_fpos(ceph_frag_value(frag), in ceph_readdir() local
544 if (new_pos > ctx->pos) in ceph_readdir()
545 ctx->pos = new_pos; in ceph_readdir()
601 static bool need_reset_readdir(struct ceph_file_info *fi, loff_t new_pos) in need_reset_readdir() argument
605 if (new_pos == 0) in need_reset_readdir()
607 if (is_hash_order(new_pos)) { in need_reset_readdir()
610 } else if (fi->frag != fpos_frag(new_pos)) { in need_reset_readdir()
617 return new_pos < chunk_offset || in need_reset_readdir()
618 is_hash_order(new_pos) != is_hash_order(chunk_offset); in need_reset_readdir()
/fs/logfs/
Ddir.c79 s64 new_pos = logfs_seek_data(inode, pos); in dir_seek_data() local
81 return max(pos, new_pos - 1); in dir_seek_data()
/fs/nfs/
Ddir.c307 loff_t new_pos; in nfs_readdir_search_for_cookie() local
315 new_pos = desc->current_index + i; in nfs_readdir_search_for_cookie()
320 } else if (new_pos < desc->ctx->pos) { in nfs_readdir_search_for_cookie()
336 desc->ctx->pos = new_pos; in nfs_readdir_search_for_cookie()