Home
last modified time | relevance | path

Searched refs:snapid (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/fs/ceph/
Dexport.c31 u64 snapid; member
42 u64 snapid = ceph_snap(inode); in ceph_encode_snapfh() local
53 if (snapid != CEPH_SNAPDIR) { in ceph_encode_snapfh()
77 sfh->snapid = snapid; in ceph_encode_snapfh()
218 if (sfh->snapid == CEPH_SNAPDIR) in __snapfh_to_dentry()
223 vino.snap = sfh->snapid; in __snapfh_to_dentry()
226 vino.snap = sfh->snapid; in __snapfh_to_dentry()
251 req->r_args.lookupino.snapid = cpu_to_le64(vino.snap); in __snapfh_to_dentry()
501 le64_to_cpu(rde->inode.in->snapid)) { in __get_snap_name()
Dinode.c1553 tvino.snap = le64_to_cpu(rinfo->targeti.in->snapid); in ceph_fill_trace()
1641 dvino.snap = le64_to_cpu(rinfo->diri.in->snapid); in ceph_fill_trace()
1755 dvino.snap = le64_to_cpu(rinfo->diri.in->snapid); in ceph_fill_trace()
1758 tvino.snap = le64_to_cpu(rinfo->targeti.in->snapid); in ceph_fill_trace()
1787 vino.snap = le64_to_cpu(rde->inode.in->snapid); in readdir_prepopulate_inodes_only()
1939 tvino.snap = le64_to_cpu(rde->inode.in->snapid); in ceph_readdir_prepopulate()
Dfile.c648 in.snapid = cpu_to_le64(CEPH_NOSNAP); in ceph_finish_async_create()
Dmds_client.c3719 .snap = le64_to_cpu(rinfo->targeti.in->snapid) in handle_reply()
/linux-6.6.21/net/ceph/
Ddebugfs.c275 static void dump_snapid(struct seq_file *s, u64 snapid) in dump_snapid() argument
277 if (snapid == CEPH_NOSNAP) in dump_snapid()
279 else if (snapid == CEPH_SNAPDIR) in dump_snapid()
282 seq_printf(s, "%llx", snapid); in dump_snapid()
302 if (hoid->snapid == 0 && hoid->hash == 0 && !hoid->is_max && in dump_hoid()
318 dump_snapid(s, hoid->snapid); in dump_hoid()
Dosd_client.c1044 dst->copy_from.snapid = cpu_to_le64(src->copy_from.snapid); in osd_req_encode_op()
1833 if (lhs->snapid < rhs->snapid) in hoid_compare()
1835 if (lhs->snapid > rhs->snapid) in hoid_compare()
1879 ceph_decode_64_safe(p, end, hoid->snapid, e_inval); in decode_hoid()
1911 ceph_encode_64(p, hoid->snapid); in encode_hoid()
2019 hoid->snapid = CEPH_NOSNAP; in hoid_fill_from_target()
5366 op->copy_from.snapid = src_snapid; in osd_req_op_copy_from_init()
/linux-6.6.21/include/linux/ceph/
Drados.h515 __le64 snapid; member
540 __le64 snapid; member
Dosd_client.h196 u64 snapid; member
373 u64 snapid; member
Dceph_fs.h463 __le64 snapid; member
578 __le64 snapid; member
/linux-6.6.21/drivers/block/
Drbd.c5454 __le64 snapid = cpu_to_le64(snap_id); in _rbd_dev_v2_snap_size() local
5463 &snapid, sizeof(snapid), in _rbd_dev_v2_snap_size()
5576 __le64 snapid = cpu_to_le64(rbd_dev->spec->snap_id); in rbd_dev_v2_get_flags() local
5582 &snapid, sizeof(snapid), in rbd_dev_v2_get_flags()
6131 __le64 snapid; in rbd_dev_v2_snap_name() local
6142 snapid = cpu_to_le64(snap_id); in rbd_dev_v2_snap_name()
6145 &snapid, sizeof(snapid), reply_buf, size); in rbd_dev_v2_snap_name()