Searched refs:rinfo (Results 1 – 4 of 4) sorted by relevance
/fs/ceph/ |
D | inode.c | 1272 struct ceph_mds_reply_info_parsed *rinfo = &req->r_reply_info; in ceph_fill_trace() local 1279 rinfo->head->is_dentry, rinfo->head->is_target); in ceph_fill_trace() 1281 if (!rinfo->head->is_target && !rinfo->head->is_dentry) { in ceph_fill_trace() 1283 if (rinfo->head->result == 0 && req->r_parent) in ceph_fill_trace() 1288 if (rinfo->head->is_dentry) { in ceph_fill_trace() 1292 err = ceph_fill_inode(dir, NULL, &rinfo->diri, in ceph_fill_trace() 1293 rinfo->dirfrag, session, -1, in ceph_fill_trace() 1307 BUG_ON(!rinfo->head->is_target); in ceph_fill_trace() 1313 dname.name = rinfo->dname; in ceph_fill_trace() 1314 dname.len = rinfo->dname_len; in ceph_fill_trace() [all …]
|
D | export.c | 449 struct ceph_mds_reply_info_parsed *rinfo; in __get_snap_name() local 484 rinfo = &req->r_reply_info; in __get_snap_name() 485 for (i = 0; i < rinfo->dir_nr; i++) { in __get_snap_name() 486 rde = rinfo->dir_entries + i; in __get_snap_name() 497 if (rinfo->dir_end) in __get_snap_name() 500 BUG_ON(rinfo->dir_nr <= 0); in __get_snap_name() 501 rde = rinfo->dir_entries + (rinfo->dir_nr - 1); in __get_snap_name() 502 next_offset += rinfo->dir_nr; in __get_snap_name() 553 struct ceph_mds_reply_info_parsed *rinfo = &req->r_reply_info; in ceph_get_name() local 554 memcpy(name, rinfo->dname, rinfo->dname_len); in ceph_get_name() [all …]
|
D | dir.c | 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() [all …]
|
D | mds_client.c | 2275 struct ceph_mds_reply_info_parsed *rinfo = &req->r_reply_info; in ceph_alloc_readdir_reply_buffer() local 2289 rinfo->dir_entries = (void*)__get_free_pages(GFP_KERNEL | in ceph_alloc_readdir_reply_buffer() 2292 if (rinfo->dir_entries) in ceph_alloc_readdir_reply_buffer() 2296 if (!rinfo->dir_entries) in ceph_alloc_readdir_reply_buffer() 2302 rinfo->dir_buf_size = PAGE_SIZE << order; in ceph_alloc_readdir_reply_buffer() 3160 struct ceph_mds_reply_info_parsed *rinfo; /* parsed reply info */ in handle_reply() local 3265 rinfo = &req->r_reply_info; in handle_reply() 3267 err = parse_reply_info(session, msg, rinfo, (u64)-1); in handle_reply() 3269 err = parse_reply_info(session, msg, rinfo, session->s_con.peer_features); in handle_reply() 3273 if ((err >= 0) && rinfo->head->is_target) { in handle_reply() [all …]
|