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()
489 rinfo = &dfi->last_readdir->r_reply_info; in ceph_readdir()
491 dfi->frag, rinfo->dir_nr, ctx->pos, in ceph_readdir()
492 rinfo->dir_nr ? rinfo->dir_entries[0].offset : 0LL); in ceph_readdir()
496 if (rinfo->dir_nr > 0) { in ceph_readdir()
497 int step, nr = rinfo->dir_nr; in ceph_readdir()
500 if (rinfo->dir_entries[i + step].offset < ctx->pos) { in ceph_readdir()
508 for (; i < rinfo->dir_nr; i++) { in ceph_readdir()
509 struct ceph_mds_reply_dir_entry *rde = rinfo->dir_entries + i; in ceph_readdir()
515 i, rinfo->dir_nr, ctx->pos, in ceph_readdir()
605 struct ceph_mds_reply_info_parsed *rinfo; in need_reset_readdir() local
615 rinfo = dfi->last_readdir ? &dfi->last_readdir->r_reply_info : NULL; in need_reset_readdir()
616 if (!rinfo || !rinfo->dir_nr) in need_reset_readdir()
618 chunk_offset = rinfo->dir_entries[0].offset; in need_reset_readdir()