Searched refs:snap (Results 1 – 18 of 18) sorted by relevance
/fs/ceph/ |
D | export.c | 131 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 …]
|
D | snap.c | 1066 .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 …]
|
D | Makefile | 9 export.o caps.o snap.o xattr.o quota.o io.o \
|
D | super.h | 520 #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);
|
D | inode.c | 79 .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()
|
D | mds_client.h | 358 u64 snap; member
|
D | quota.c | 62 vino.snap = CEPH_NOSNAP; in ceph_handle_quota()
|
D | file.c | 619 .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()
|
D | super.c | 1031 req->r_ino1.snap = CEPH_NOSNAP; in open_root_dentry()
|
D | xattr.c | 273 ci->i_vino.snap == CEPH_NOSNAP && in ceph_vxattrcb_quota_exists()
|
D | dir.c | 1912 if (dir_ci->i_vino.snap == CEPH_SNAPDIR) in ceph_d_prune()
|
D | addr.c | 2037 if (ci->i_vino.snap != CEPH_NOSNAP) { in ceph_pool_perm_check()
|
D | caps.c | 4114 vino.snap = CEPH_NOSNAP; in ceph_handle_caps() 4200 vino.snap, inode); in ceph_handle_caps()
|
D | mds_client.c | 3359 .snap = le64_to_cpu(rinfo->targeti.in->snapid) in handle_reply() 4556 vino.snap = CEPH_NOSNAP; in handle_lease()
|
/fs/btrfs/ |
D | transaction.h | 157 struct btrfs_root *snap; member
|
D | transaction.c | 1812 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()
|
D | ioctl.c | 846 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()
|
D | relocation.c | 4514 new_root = pending->snap; in btrfs_reloc_post_snapshot()
|