Searched refs:ceph_snap (Results 1 – 10 of 10) sorted by relevance
41 u64 snapid = ceph_snap(inode); in ceph_encode_snapfh()60 if (ceph_snap(dir) != CEPH_SNAPDIR) { in ceph_encode_snapfh()94 if (ceph_snap(inode) != CEPH_NOSNAP) in ceph_encode_fh()257 } else if (ceph_snap(inode) == vino.snap) { in __snapfh_to_dentry()355 if (ceph_snap(inode) != CEPH_NOSNAP) { in ceph_get_parent()370 if (ceph_snap(inode) != CEPH_SNAPDIR) { in ceph_get_parent()437 if (ceph_snap(inode) == CEPH_SNAPDIR) { in __get_snap_name()438 if (ceph_snap(dir) == CEPH_NOSNAP) { in __get_snap_name()444 if (ceph_snap(dir) != CEPH_SNAPDIR) in __get_snap_name()487 if (ceph_snap(inode) == in __get_snap_name()[all …]
350 ceph_snap(inode) != CEPH_SNAPDIR && in ceph_readdir()368 int op = ceph_snap(inode) == CEPH_SNAPDIR ? in ceph_readdir()676 ceph_snap(parent) == CEPH_NOSNAP && in ceph_handle_snapdir()776 op = ceph_snap(dir) == CEPH_SNAPDIR ? in ceph_lookup()834 if (ceph_snap(dir) != CEPH_NOSNAP) in ceph_mknod()895 if (ceph_snap(dir) != CEPH_NOSNAP) in ceph_symlink()948 if (ceph_snap(dir) == CEPH_SNAPDIR) { in ceph_mkdir()953 } else if (ceph_snap(dir) == CEPH_NOSNAP) { in ceph_mkdir()1013 if (ceph_snap(dir) != CEPH_NOSNAP) in ceph_link()1128 if (ceph_snap(dir) == CEPH_SNAPDIR) { in ceph_unlink()[all …]
569 if (ceph_snap(inode) == CEPH_NOSNAP) { in ceph_evict_inode()772 if (info_caps && ceph_snap(inode) == CEPH_NOSNAP) { in ceph_fill_inode()794 if (ceph_snap(inode) != CEPH_NOSNAP && !ci->i_snapid_map) in ceph_fill_inode()795 ci->i_snapid_map = ceph_get_snapid_map(mdsc, ceph_snap(inode)); in ceph_fill_inode()981 if (ceph_snap(inode) == CEPH_NOSNAP) { in ceph_fill_inode()1078 if (ceph_snap(dir) != CEPH_NOSNAP) in __update_dentry_lease()1305 ceph_snap(d_inode(dn)) != tvino.snap)) { in ceph_fill_trace()1376 BUG_ON(ceph_snap(dir) != dvino.snap); in ceph_fill_trace()1473 BUG_ON(ceph_snap(dir) != CEPH_SNAPDIR); in ceph_fill_trace()1700 ceph_snap(d_inode(dn)) != tvino.snap)) { in ceph_readdir_prepopulate()[all …]
364 if (ceph_snap(inode) != CEPH_NOSNAP && (file->f_mode & FMODE_WRITE)) in ceph_open()368 if (ceph_snap(inode) == CEPH_SNAPDIR) { in ceph_open()392 ceph_snap(inode) != CEPH_SNAPDIR) in ceph_open()396 } else if (ceph_snap(inode) != CEPH_NOSNAP && in ceph_open()1212 if (write && ceph_snap(file_inode(file)) != CEPH_NOSNAP) in ceph_direct_read_write()1420 if (ceph_snap(file_inode(file)) != CEPH_NOSNAP) in ceph_sync_write()1703 if (ceph_snap(inode) != CEPH_NOSNAP) in ceph_write_iter()2087 if (ceph_snap(inode) != CEPH_NOSNAP) { in ceph_fallocate()2315 if (ceph_snap(dst_inode) != CEPH_NOSNAP) in __ceph_copy_file_range()
217 if (ceph_snap(inode) != CEPH_NOSNAP) in get_quota_realm()323 if (ceph_snap(inode) != CEPH_NOSNAP) in check_quota_exceeded()
94 if (ceph_snap(inode) != CEPH_NOSNAP) { in ceph_set_acl()
984 if (!inode || ceph_snap(inode) == CEPH_NOSNAP) in get_nonsnap_parent()1033 if (ceph_snap(req->r_inode) != CEPH_SNAPDIR) { in __choose_mds()1057 } else if (ceph_snap(dir) != CEPH_NOSNAP) { in __choose_mds()2385 if (inode && ceph_snap(inode) == CEPH_SNAPDIR) { in ceph_mdsc_build_path()2389 ceph_snap(inode) == CEPH_NOSNAP) { in ceph_mdsc_build_path()2446 if (dir && parent_locked && ceph_snap(dir) == CEPH_NOSNAP) { in build_dentry_path()2469 if (ceph_snap(inode) == CEPH_NOSNAP) { in build_inode_path()2498 ceph_snap(rinode)); in set_request_path_attr()4358 lease->first = lease->last = cpu_to_le64(ceph_snap(dir)); in ceph_mdsc_lease_send_msg()
496 static inline u64 ceph_snap(struct inode *inode) in ceph_snap() function
1031 if (ceph_snap(inode) != CEPH_NOSNAP) in __ceph_setxattr()
4184 inode, ceph_ino(inode), ceph_snap(inode), in ceph_handle_caps()