Home
last modified time | relevance | path

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

/Linux-v5.10/fs/ceph/
Dexport.c439 struct ceph_mds_reply_dir_entry *rde; in __get_snap_name() local
475 rde = rinfo->dir_entries + i; in __get_snap_name()
476 BUG_ON(!rde->inode.in); in __get_snap_name()
478 le64_to_cpu(rde->inode.in->snapid)) { in __get_snap_name()
479 memcpy(name, rde->name, rde->name_len); in __get_snap_name()
480 name[rde->name_len] = '\0'; in __get_snap_name()
490 rde = rinfo->dir_entries + (rinfo->dir_nr - 1); in __get_snap_name()
492 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()
509 struct ceph_mds_reply_dir_entry *rde = rinfo->dir_entries + i; in ceph_readdir() local
511 BUG_ON(rde->offset < ctx->pos); in ceph_readdir()
513 ctx->pos = rde->offset; in ceph_readdir()
516 rde->name_len, rde->name, &rde->inode.in); in ceph_readdir()
518 BUG_ON(!rde->inode.in); in ceph_readdir()
520 if (!dir_emit(ctx, rde->name, rde->name_len, in ceph_readdir()
521 ceph_present_ino(inode->i_sb, le64_to_cpu(rde->inode.in->ino)), in ceph_readdir()
[all …]
Dinode.c1507 struct ceph_mds_reply_dir_entry *rde = rinfo->dir_entries + i; in readdir_prepopulate_inodes_only() local
1512 vino.ino = le64_to_cpu(rde->inode.in->ino); in readdir_prepopulate_inodes_only()
1513 vino.snap = le64_to_cpu(rde->inode.in->snapid); in readdir_prepopulate_inodes_only()
1521 rc = ceph_fill_inode(in, NULL, &rde->inode, NULL, session, in readdir_prepopulate_inodes_only()
1658 struct ceph_mds_reply_dir_entry *rde = rinfo->dir_entries + i; in ceph_readdir_prepopulate() local
1661 dname.name = rde->name; in ceph_readdir_prepopulate()
1662 dname.len = rde->name_len; in ceph_readdir_prepopulate()
1665 tvino.ino = le64_to_cpu(rde->inode.in->ino); in ceph_readdir_prepopulate()
1666 tvino.snap = le64_to_cpu(rde->inode.in->snapid); in ceph_readdir_prepopulate()
1670 rde->name, rde->name_len); in ceph_readdir_prepopulate()
[all …]
Dmds_client.c366 struct ceph_mds_reply_dir_entry *rde = info->dir_entries + i; in parse_reply_info_readdir() local
368 ceph_decode_32_safe(p, end, rde->name_len, bad); in parse_reply_info_readdir()
369 ceph_decode_need(p, end, rde->name_len, bad); in parse_reply_info_readdir()
370 rde->name = *p; in parse_reply_info_readdir()
371 *p += rde->name_len; in parse_reply_info_readdir()
372 dout("parsed dir dname '%.*s'\n", rde->name_len, rde->name); in parse_reply_info_readdir()
375 err = parse_reply_info_lease(p, end, &rde->lease, features); in parse_reply_info_readdir()
379 err = parse_reply_info_in(p, end, &rde->inode, features); in parse_reply_info_readdir()
383 rde->offset = 0; in parse_reply_info_readdir()
/Linux-v5.10/Documentation/admin-guide/media/
Dcx231xx-cardlist.rst35 - Conexant Hybrid TV - rde 250