Home
last modified time | relevance | path

Searched refs:rde (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/fs/ceph/
Dexport.c460 struct ceph_mds_reply_dir_entry *rde; in __get_snap_name() local
496 rde = rinfo->dir_entries + i; in __get_snap_name()
497 BUG_ON(!rde->inode.in); in __get_snap_name()
499 le64_to_cpu(rde->inode.in->snapid)) { in __get_snap_name()
500 memcpy(name, rde->name, rde->name_len); in __get_snap_name()
501 name[rde->name_len] = '\0'; in __get_snap_name()
511 rde = rinfo->dir_entries + (rinfo->dir_nr - 1); in __get_snap_name()
513 last_name = kstrndup(rde->name, rde->name_len, GFP_KERNEL); in __get_snap_name()
Ddir.c475 struct ceph_mds_reply_dir_entry *rde = in ceph_readdir() local
478 2 : (fpos_off(rde->offset) + 1); in ceph_readdir()
479 err = note_last_dentry(dfi, rde->name, rde->name_len, in ceph_readdir()
512 struct ceph_mds_reply_dir_entry *rde = rinfo->dir_entries + i; in ceph_readdir() local
514 BUG_ON(rde->offset < ctx->pos); in ceph_readdir()
516 ctx->pos = rde->offset; in ceph_readdir()
519 rde->name_len, rde->name, &rde->inode.in); in ceph_readdir()
521 BUG_ON(!rde->inode.in); in ceph_readdir()
523 if (!dir_emit(ctx, rde->name, rde->name_len, in ceph_readdir()
524 ceph_present_ino(inode->i_sb, le64_to_cpu(rde->inode.in->ino)), in ceph_readdir()
[all …]
Dinode.c1546 struct ceph_mds_reply_dir_entry *rde = rinfo->dir_entries + i; in readdir_prepopulate_inodes_only() local
1551 vino.ino = le64_to_cpu(rde->inode.in->ino); in readdir_prepopulate_inodes_only()
1552 vino.snap = le64_to_cpu(rde->inode.in->snapid); in readdir_prepopulate_inodes_only()
1560 rc = ceph_fill_inode(in, NULL, &rde->inode, NULL, session, in readdir_prepopulate_inodes_only()
1695 struct ceph_mds_reply_dir_entry *rde = rinfo->dir_entries + i; in ceph_readdir_prepopulate() local
1698 dname.name = rde->name; in ceph_readdir_prepopulate()
1699 dname.len = rde->name_len; in ceph_readdir_prepopulate()
1702 tvino.ino = le64_to_cpu(rde->inode.in->ino); in ceph_readdir_prepopulate()
1703 tvino.snap = le64_to_cpu(rde->inode.in->snapid); in ceph_readdir_prepopulate()
1707 rde->name, rde->name_len); in ceph_readdir_prepopulate()
[all …]
Dmds_client.c374 struct ceph_mds_reply_dir_entry *rde = info->dir_entries + i; in parse_reply_info_readdir() local
376 ceph_decode_32_safe(p, end, rde->name_len, bad); in parse_reply_info_readdir()
377 ceph_decode_need(p, end, rde->name_len, bad); in parse_reply_info_readdir()
378 rde->name = *p; in parse_reply_info_readdir()
379 *p += rde->name_len; in parse_reply_info_readdir()
380 dout("parsed dir dname '%.*s'\n", rde->name_len, rde->name); in parse_reply_info_readdir()
383 err = parse_reply_info_lease(p, end, &rde->lease, features); in parse_reply_info_readdir()
387 err = parse_reply_info_in(p, end, &rde->inode, features); in parse_reply_info_readdir()
391 rde->offset = 0; in parse_reply_info_readdir()
/linux-5.19.10/Documentation/admin-guide/media/
Dcx231xx-cardlist.rst35 - Conexant Hybrid TV - rde 250