Home
last modified time | relevance | path

Searched refs:snap (Results 1 – 18 of 18) sorted by relevance

/fs/ceph/
Dexport.c131 vino.snap = CEPH_NOSNAP; in __lookup_inode()
218 vino.snap = CEPH_NOSNAP; in __snapfh_to_dentry()
220 vino.snap = CEPH_SNAPDIR; in __snapfh_to_dentry()
222 vino.snap = sfh->snapid; in __snapfh_to_dentry()
225 vino.snap = sfh->snapid; in __snapfh_to_dentry()
249 if (vino.snap < CEPH_NOSNAP) { in __snapfh_to_dentry()
250 req->r_args.lookupino.snapid = cpu_to_le64(vino.snap); in __snapfh_to_dentry()
264 if (vino.snap == CEPH_SNAPDIR) { in __snapfh_to_dentry()
268 } else if (ceph_snap(inode) == vino.snap) { in __snapfh_to_dentry()
281 vino.ino, vino.snap, err); in __snapfh_to_dentry()
[all …]
Dsnap.c1066 .snap = CEPH_NOSNAP, in ceph_handle_snap()
1168 u64 snap) in ceph_get_snapid_map() argument
1179 if (snap > exist->snap) { in ceph_get_snapid_map()
1181 } else if (snap < exist->snap) { in ceph_get_snapid_map()
1193 exist->snap, exist->dev); in ceph_get_snapid_map()
1209 sm->snap = snap; in ceph_get_snapid_map()
1218 if (snap > exist->snap) in ceph_get_snapid_map()
1220 else if (snap < exist->snap) in ceph_get_snapid_map()
1238 exist->snap, exist->dev); in ceph_get_snapid_map()
1243 sm->snap, sm->dev); in ceph_get_snapid_map()
[all …]
DMakefile9 export.o caps.o snap.o xattr.o quota.o io.o \
Dsuper.h520 #define ceph_vinop(i) ceph_inode(i)->i_vino.ino, ceph_inode(i)->i_vino.snap
529 return ceph_inode(inode)->i_vino.snap; in ceph_snap()
559 ci->i_vino.snap == pvino->snap; in ceph_ino_compare()
977 u64 snap);
Dinode.c79 .snap = CEPH_SNAPDIR, in ceph_get_snapdir()
1323 tvino.snap = le64_to_cpu(rinfo->targeti.in->snapid); in ceph_fill_trace()
1341 ceph_snap(d_inode(dn)) != tvino.snap)) { in ceph_fill_trace()
1404 dvino.snap = le64_to_cpu(rinfo->diri.in->snapid); in ceph_fill_trace()
1407 BUG_ON(ceph_snap(dir) != dvino.snap); in ceph_fill_trace()
1518 dvino.snap = le64_to_cpu(rinfo->diri.in->snapid); in ceph_fill_trace()
1521 tvino.snap = le64_to_cpu(rinfo->targeti.in->snapid); in ceph_fill_trace()
1550 vino.snap = le64_to_cpu(rde->inode.in->snapid); in readdir_prepopulate_inodes_only()
1701 tvino.snap = le64_to_cpu(rde->inode.in->snapid); in ceph_readdir_prepopulate()
1731 ceph_snap(d_inode(dn)) != tvino.snap)) { in ceph_readdir_prepopulate()
Dmds_client.h358 u64 snap; member
Dquota.c62 vino.snap = CEPH_NOSNAP; in ceph_handle_quota()
Dfile.c619 .snap = CEPH_NOSNAP }; in ceph_finish_async_create()
2334 req = ceph_alloc_copyfrom_request(osdc, src_ci->i_vino.snap, in ceph_do_objects_copy()
Dsuper.c1031 req->r_ino1.snap = CEPH_NOSNAP; in open_root_dentry()
Dxattr.c273 ci->i_vino.snap == CEPH_NOSNAP && in ceph_vxattrcb_quota_exists()
Ddir.c1912 if (dir_ci->i_vino.snap == CEPH_SNAPDIR) in ceph_d_prune()
Daddr.c2037 if (ci->i_vino.snap != CEPH_NOSNAP) { in ceph_pool_perm_check()
Dcaps.c4114 vino.snap = CEPH_NOSNAP; in ceph_handle_caps()
4200 vino.snap, inode); in ceph_handle_caps()
Dmds_client.c3359 .snap = le64_to_cpu(rinfo->targeti.in->snapid) in handle_reply()
4556 vino.snap = CEPH_NOSNAP; in handle_lease()
/fs/btrfs/
Dtransaction.h157 struct btrfs_root *snap; member
Dtransaction.c1812 pending->snap = btrfs_get_new_fs_root(fs_info, objectid, pending->anon_dev); in create_pending_snapshot()
1813 if (IS_ERR(pending->snap)) { in create_pending_snapshot()
1814 ret = PTR_ERR(pending->snap); in create_pending_snapshot()
1815 pending->snap = NULL; in create_pending_snapshot()
Dioctl.c846 ret = btrfs_orphan_cleanup(pending_snapshot->snap); in create_snapshot()
861 if (ret && pending_snapshot->snap) in create_snapshot()
862 pending_snapshot->snap->anon_dev = 0; in create_snapshot()
863 btrfs_put_root(pending_snapshot->snap); in create_snapshot()
Drelocation.c4514 new_root = pending->snap; in btrfs_reloc_post_snapshot()