Home
last modified time | relevance | path

Searched refs:ceph_snap (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/fs/ceph/
Dexport.c42 u64 snapid = ceph_snap(inode); in ceph_encode_snapfh()
61 if (ceph_snap(dir) != CEPH_SNAPDIR) { in ceph_encode_snapfh()
95 if (ceph_snap(inode) != CEPH_NOSNAP) in ceph_encode_fh()
269 } else if (ceph_snap(inode) == vino.snap) { in __snapfh_to_dentry()
368 if (ceph_snap(inode) != CEPH_NOSNAP) { in ceph_get_parent()
383 if (ceph_snap(inode) != CEPH_SNAPDIR) { in ceph_get_parent()
450 if (ceph_snap(inode) == CEPH_SNAPDIR) { in __get_snap_name()
451 if (ceph_snap(dir) == CEPH_NOSNAP) { in __get_snap_name()
457 if (ceph_snap(dir) != CEPH_SNAPDIR) in __get_snap_name()
500 if (ceph_snap(inode) == in __get_snap_name()
[all …]
Ddir.c357 ceph_snap(inode) != CEPH_SNAPDIR && in ceph_readdir()
375 int op = ceph_snap(inode) == CEPH_SNAPDIR ? in ceph_readdir()
710 if (ceph_snap(parent) == CEPH_NOSNAP && in ceph_handle_snapdir()
823 op = ceph_snap(dir) == CEPH_SNAPDIR ? in ceph_lookup()
892 if (ceph_snap(dir) != CEPH_NOSNAP) in ceph_mknod()
1001 if (ceph_snap(dir) != CEPH_NOSNAP) in ceph_symlink()
1076 if (ceph_snap(dir) == CEPH_SNAPDIR) { in ceph_mkdir()
1081 } else if (ceph_snap(dir) == CEPH_NOSNAP) { in ceph_mkdir()
1157 if (ceph_snap(dir) != CEPH_NOSNAP) in ceph_link()
1301 if (ceph_snap(dir) == CEPH_SNAPDIR) { in ceph_unlink()
[all …]
Dinode.c98 if (ceph_snap(dir) != CEPH_SNAPDIR) { in ceph_new_inode()
703 if (ceph_snap(inode) == CEPH_NOSNAP) { in ceph_evict_inode()
965 if (info_caps && ceph_snap(inode) == CEPH_NOSNAP) { in ceph_fill_inode()
987 if (ceph_snap(inode) != CEPH_NOSNAP && !ci->i_snapid_map) in ceph_fill_inode()
988 ci->i_snapid_map = ceph_get_snapid_map(mdsc, ceph_snap(inode)); in ceph_fill_inode()
1226 if (ceph_snap(inode) == CEPH_NOSNAP) { in ceph_fill_inode()
1325 if (ceph_snap(dir) != CEPH_NOSNAP) in __update_dentry_lease()
1577 ceph_snap(d_inode(dn)) != tvino.snap)) { in ceph_fill_trace()
1644 BUG_ON(ceph_snap(dir) != dvino.snap); in ceph_fill_trace()
1743 BUG_ON(ceph_snap(dir) != CEPH_SNAPDIR); in ceph_fill_trace()
[all …]
Dquota.c222 if (ceph_snap(inode) != CEPH_NOSNAP) in get_quota_realm()
331 if (ceph_snap(inode) != CEPH_NOSNAP) in check_quota_exceeded()
Dcrypto.c276 if ((ceph_snap(dir) == CEPH_SNAPDIR) && (name_len > 0) && in ceph_encode_encrypted_dname()
393 if ((ceph_snap(dir) == CEPH_SNAPDIR) && (name_len > 0) && in ceph_fname_to_usr()
Dfile.c383 if (ceph_snap(inode) != CEPH_NOSNAP && (file->f_mode & FMODE_WRITE)) in ceph_open()
387 if (ceph_snap(inode) == CEPH_SNAPDIR) { in ceph_open()
411 ceph_snap(inode) != CEPH_SNAPDIR) in ceph_open()
415 } else if (ceph_snap(inode) != CEPH_NOSNAP && in ceph_open()
1405 if (write && ceph_snap(file_inode(file)) != CEPH_NOSNAP) in ceph_direct_read_write()
1625 if (ceph_snap(file_inode(file)) != CEPH_NOSNAP) in ceph_sync_write()
2245 if (ceph_snap(inode) != CEPH_NOSNAP) in ceph_write_iter()
2580 if (ceph_snap(inode) != CEPH_NOSNAP) { in ceph_fallocate()
2865 if (ceph_snap(dst_inode) != CEPH_NOSNAP) in __ceph_copy_file_range()
Dacl.c99 if (ceph_snap(inode) != CEPH_NOSNAP) { in ceph_set_acl()
Dmds_client.c1253 if (!inode || ceph_snap(inode) == CEPH_NOSNAP) in get_nonsnap_parent()
1302 if (ceph_snap(req->r_inode) != CEPH_SNAPDIR) { in __choose_mds()
1326 } else if (ceph_snap(dir) != CEPH_NOSNAP) { in __choose_mds()
2637 if (inode && ceph_snap(inode) == CEPH_SNAPDIR) { in ceph_mdsc_build_path()
2643 ceph_snap(inode) == CEPH_NOSNAP) { in ceph_mdsc_build_path()
2738 if (dir && parent_locked && ceph_snap(dir) == CEPH_NOSNAP && in build_dentry_path()
2762 if (ceph_snap(inode) == CEPH_NOSNAP) { in build_inode_path()
2791 ceph_snap(rinode)); in set_request_path_attr()
5024 lease->first = lease->last = cpu_to_le64(ceph_snap(dir)); in ceph_mdsc_lease_send_msg()
Dsuper.h544 static inline u64 ceph_snap(struct inode *inode) in ceph_snap() function
Dxattr.c1182 if (ceph_snap(inode) != CEPH_NOSNAP) in __ceph_setxattr()
Dcaps.c4415 inode, ceph_ino(inode), ceph_snap(inode), in ceph_handle_caps()