Home
last modified time | relevance | path

Searched refs:CEPH_NOSNAP (Results 1 – 17 of 17) sorted by relevance

/linux-6.6.21/fs/ceph/
Dexport.c95 if (ceph_snap(inode) != CEPH_NOSNAP) in ceph_encode_fh()
132 vino.snap = CEPH_NOSNAP; in __lookup_inode()
219 vino.snap = CEPH_NOSNAP; in __snapfh_to_dentry()
250 if (vino.snap < CEPH_NOSNAP) { in __snapfh_to_dentry()
337 .snap = CEPH_NOSNAP, in __get_parent()
368 if (ceph_snap(inode) != CEPH_NOSNAP) { in ceph_get_parent()
451 if (ceph_snap(dir) == CEPH_NOSNAP) { in __get_snap_name()
544 if (ceph_snap(inode) != CEPH_NOSNAP) in ceph_get_name()
Dquota.c62 vino.snap = CEPH_NOSNAP; in ceph_handle_quota()
222 if (ceph_snap(inode) != CEPH_NOSNAP) in get_quota_realm()
331 if (ceph_snap(inode) != CEPH_NOSNAP) in check_quota_exceeded()
Ddir.c710 if (ceph_snap(parent) == CEPH_NOSNAP && in ceph_handle_snapdir()
892 if (ceph_snap(dir) != CEPH_NOSNAP) in ceph_mknod()
1001 if (ceph_snap(dir) != CEPH_NOSNAP) in ceph_symlink()
1081 } else if (ceph_snap(dir) == CEPH_NOSNAP) { in ceph_mkdir()
1157 if (ceph_snap(dir) != CEPH_NOSNAP) in ceph_link()
1305 } else if (ceph_snap(dir) == CEPH_NOSNAP) { in ceph_unlink()
1396 if (ceph_snap(old_dir) != CEPH_NOSNAP) { in ceph_rename()
1894 if (ceph_snap(dir) != CEPH_NOSNAP) { in ceph_d_revalidate()
1979 if (ceph_snap(d_inode(dentry)) != CEPH_NOSNAP) in ceph_d_delete()
Dfile.c383 if (ceph_snap(inode) != CEPH_NOSNAP && (file->f_mode & FMODE_WRITE)) in ceph_open()
415 } else if (ceph_snap(inode) != CEPH_NOSNAP && in ceph_open()
629 .snap = CEPH_NOSNAP }; in ceph_finish_async_create()
648 in.snapid = cpu_to_le64(CEPH_NOSNAP); in ceph_finish_async_create()
812 .snap = CEPH_NOSNAP }; in ceph_atomic_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()
Dinode.c703 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()
1226 if (ceph_snap(inode) == CEPH_NOSNAP) { in ceph_fill_inode()
1325 if (ceph_snap(dir) != CEPH_NOSNAP) in __update_dentry_lease()
2746 if (ceph_snap(inode) != CEPH_NOSNAP) in ceph_setattr()
2998 if (ceph_snap(inode) == CEPH_NOSNAP) in ceph_getattr()
Dcrypto.c215 struct ceph_vino vino = { .snap = CEPH_NOSNAP }; in parse_longname()
Dxattr.c273 ci->i_vino.snap == CEPH_NOSNAP && in ceph_vxattrcb_quota_exists()
1182 if (ceph_snap(inode) != CEPH_NOSNAP) in __ceph_setxattr()
Dmds_client.c1253 if (!inode || ceph_snap(inode) == CEPH_NOSNAP) in get_nonsnap_parent()
1326 } else if (ceph_snap(dir) != CEPH_NOSNAP) { in __choose_mds()
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()
4916 vino.snap = CEPH_NOSNAP; in handle_lease()
Dsnap.c1069 .snap = CEPH_NOSNAP, in ceph_handle_snap()
Dsuper.c1065 req->r_ino1.snap = CEPH_NOSNAP; in open_root_dentry()
Daddr.c2162 if (ci->i_vino.snap != CEPH_NOSNAP) { in ceph_pool_perm_check()
Dcaps.c4261 vino.snap = CEPH_NOSNAP; in ceph_handle_caps()
/linux-6.6.21/drivers/block/
Drbd.c520 return rbd_dev->spec->snap_id != CEPH_NOSNAP; in rbd_is_snap()
1168 if (snap_id == CEPH_NOSNAP) in rbd_snap_name()
1182 if (snap_id == CEPH_NOSNAP) { in rbd_snap_size()
1720 if (snap_id == CEPH_NOSNAP) in rbd_object_map_name()
1739 rbd_object_map_name(rbd_dev, CEPH_NOSNAP, &oid); in rbd_object_map_lock()
1792 rbd_object_map_name(rbd_dev, CEPH_NOSNAP, &oid); in rbd_object_map_unlock()
2067 if (snap_id == CEPH_NOSNAP) { in rbd_object_map_update()
2087 if (snap_id == CEPH_NOSNAP) { in rbd_object_map_update()
2961 return rbd_object_map_update(obj_req, CEPH_NOSNAP, new_state, NULL); in rbd_obj_write_pre_object_map()
3293 return rbd_object_map_update(obj_req, CEPH_NOSNAP, OBJECT_NONEXISTENT, in rbd_obj_write_post_object_map()
[all …]
/linux-6.6.21/include/linux/ceph/
Drados.h30 #define CEPH_NOSNAP ((__u64)(-2)) /* "head", "live" revision */ macro
/linux-6.6.21/net/ceph/
Ddebugfs.c277 if (snapid == CEPH_NOSNAP) in dump_snapid()
Dosd_client.c591 req->r_snapid = CEPH_NOSNAP; in ceph_osdc_alloc_request()
2019 hoid->snapid = CEPH_NOSNAP; in hoid_fill_from_target()
2171 WARN_ON(req->r_snapid != CEPH_NOSNAP); in encode_request_partial()