Lines Matching refs:rinfo
315 struct ceph_mds_reply_info_parsed *rinfo; in ceph_readdir() local
438 rinfo = &req->r_reply_info; in ceph_readdir()
439 if (le32_to_cpu(rinfo->dir_dir->frag) != frag) { in ceph_readdir()
440 frag = le32_to_cpu(rinfo->dir_dir->frag); in ceph_readdir()
441 if (!rinfo->hash_order) { in ceph_readdir()
474 if (rinfo->dir_nr > 0) { in ceph_readdir()
476 rinfo->dir_entries + (rinfo->dir_nr-1); in ceph_readdir()
492 rinfo = &dfi->last_readdir->r_reply_info; in ceph_readdir()
494 dfi->frag, rinfo->dir_nr, ctx->pos, in ceph_readdir()
495 rinfo->dir_nr ? rinfo->dir_entries[0].offset : 0LL); in ceph_readdir()
499 if (rinfo->dir_nr > 0) { in ceph_readdir()
500 int step, nr = rinfo->dir_nr; in ceph_readdir()
503 if (rinfo->dir_entries[i + step].offset < ctx->pos) { in ceph_readdir()
511 for (; i < rinfo->dir_nr; i++) { in ceph_readdir()
512 struct ceph_mds_reply_dir_entry *rde = rinfo->dir_entries + i; in ceph_readdir()
518 i, rinfo->dir_nr, ctx->pos, in ceph_readdir()
614 struct ceph_mds_reply_info_parsed *rinfo; in need_reset_readdir() local
624 rinfo = dfi->last_readdir ? &dfi->last_readdir->r_reply_info : NULL; in need_reset_readdir()
625 if (!rinfo || !rinfo->dir_nr) in need_reset_readdir()
627 chunk_offset = rinfo->dir_entries[0].offset; in need_reset_readdir()