Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ceph/
Dexport.c94 if (ceph_snap(inode) != CEPH_NOSNAP) in ceph_encode_fh()
131 vino.snap = CEPH_NOSNAP; in __lookup_inode()
218 vino.snap = CEPH_NOSNAP; in __snapfh_to_dentry()
249 if (vino.snap < CEPH_NOSNAP) { in __snapfh_to_dentry()
336 .snap = CEPH_NOSNAP, in __get_parent()
367 if (ceph_snap(inode) != CEPH_NOSNAP) { in ceph_get_parent()
450 if (ceph_snap(dir) == CEPH_NOSNAP) { in __get_snap_name()
541 if (ceph_snap(inode) != CEPH_NOSNAP) in ceph_get_name()
Dquota.c64 vino.snap = CEPH_NOSNAP; in ceph_handle_quota()
221 if (ceph_snap(inode) != CEPH_NOSNAP) in get_quota_realm()
326 if (ceph_snap(inode) != CEPH_NOSNAP) in check_quota_exceeded()
Ddir.c686 if (ceph_snap(parent) == CEPH_NOSNAP && in ceph_handle_snapdir()
856 if (ceph_snap(dir) != CEPH_NOSNAP) in ceph_mknod()
922 if (ceph_snap(dir) != CEPH_NOSNAP) in ceph_symlink()
991 } else if (ceph_snap(dir) == CEPH_NOSNAP) { in ceph_mkdir()
1057 if (ceph_snap(dir) != CEPH_NOSNAP) in ceph_link()
1195 } else if (ceph_snap(dir) == CEPH_NOSNAP) { in ceph_unlink()
1286 if (ceph_snap(old_dir) != CEPH_NOSNAP) { in ceph_rename()
1774 if (ceph_snap(dir) != CEPH_NOSNAP) { in ceph_d_revalidate()
1859 if (ceph_snap(d_inode(dentry)) != CEPH_NOSNAP) in ceph_d_delete()
Dfile.c382 if (ceph_snap(inode) != CEPH_NOSNAP && (file->f_mode & FMODE_WRITE)) in ceph_open()
414 } else if (ceph_snap(inode) != CEPH_NOSNAP && in ceph_open()
619 .snap = CEPH_NOSNAP }; in ceph_finish_async_create()
642 in.snapid = cpu_to_le64(CEPH_NOSNAP); in ceph_finish_async_create()
1281 if (write && ceph_snap(file_inode(file)) != CEPH_NOSNAP) in ceph_direct_read_write()
1491 if (ceph_snap(file_inode(file)) != CEPH_NOSNAP) in ceph_sync_write()
1775 if (ceph_snap(inode) != CEPH_NOSNAP) in ceph_write_iter()
2107 if (ceph_snap(inode) != CEPH_NOSNAP) { in ceph_fallocate()
2387 if (ceph_snap(dst_inode) != CEPH_NOSNAP) in __ceph_copy_file_range()
Dacl.c98 if (ceph_snap(inode) != CEPH_NOSNAP) { in ceph_set_acl()
Dinode.c589 if (ceph_snap(inode) == CEPH_NOSNAP) { in ceph_evict_inode()
809 if (info_caps && ceph_snap(inode) == CEPH_NOSNAP) { in ceph_fill_inode()
831 if (ceph_snap(inode) != CEPH_NOSNAP && !ci->i_snapid_map) in ceph_fill_inode()
1017 if (ceph_snap(inode) == CEPH_NOSNAP) { in ceph_fill_inode()
1116 if (ceph_snap(dir) != CEPH_NOSNAP) in __update_dentry_lease()
2237 if (ceph_snap(inode) != CEPH_NOSNAP) in ceph_setattr()
2481 if (ceph_snap(inode) == CEPH_NOSNAP) in ceph_getattr()
Dxattr.c273 ci->i_vino.snap == CEPH_NOSNAP && in ceph_vxattrcb_quota_exists()
1149 if (ceph_snap(inode) != CEPH_NOSNAP) in __ceph_setxattr()
Dmds_client.c1094 if (!inode || ceph_snap(inode) == CEPH_NOSNAP) in get_nonsnap_parent()
1167 } else if (ceph_snap(dir) != CEPH_NOSNAP) { in __choose_mds()
2395 ceph_snap(inode) == CEPH_NOSNAP) { in ceph_mdsc_build_path()
2452 if (dir && parent_locked && ceph_snap(dir) == CEPH_NOSNAP) { in build_dentry_path()
2475 if (ceph_snap(inode) == CEPH_NOSNAP) { in build_inode_path()
4501 vino.snap = CEPH_NOSNAP; in handle_lease()
Dsnap.c1040 .snap = CEPH_NOSNAP, in ceph_handle_snap()
Dsuper.c1031 req->r_ino1.snap = CEPH_NOSNAP; in open_root_dentry()
Daddr.c1975 if (ci->i_vino.snap != CEPH_NOSNAP) { in ceph_pool_perm_check()
Dcaps.c4094 vino.snap = CEPH_NOSNAP; in ceph_handle_caps()
/linux-6.1.9/drivers/block/
Drbd.c520 return rbd_dev->spec->snap_id != CEPH_NOSNAP; in rbd_is_snap()
1165 if (snap_id == CEPH_NOSNAP) in rbd_snap_name()
1179 if (snap_id == CEPH_NOSNAP) { in rbd_snap_size()
1697 if (snap_id == CEPH_NOSNAP) in rbd_object_map_name()
1716 rbd_object_map_name(rbd_dev, CEPH_NOSNAP, &oid); in rbd_object_map_lock()
1769 rbd_object_map_name(rbd_dev, CEPH_NOSNAP, &oid); in rbd_object_map_unlock()
2044 if (snap_id == CEPH_NOSNAP) { in rbd_object_map_update()
2064 if (snap_id == CEPH_NOSNAP) { in rbd_object_map_update()
2943 return rbd_object_map_update(obj_req, CEPH_NOSNAP, new_state, NULL); in rbd_obj_write_pre_object_map()
3276 return rbd_object_map_update(obj_req, CEPH_NOSNAP, OBJECT_NONEXISTENT, in rbd_obj_write_post_object_map()
[all …]
/linux-6.1.9/include/linux/ceph/
Drados.h30 #define CEPH_NOSNAP ((__u64)(-2)) /* "head", "live" revision */ macro
/linux-6.1.9/net/ceph/
Ddebugfs.c277 if (snapid == CEPH_NOSNAP) in dump_snapid()
Dosd_client.c564 req->r_snapid = CEPH_NOSNAP; in ceph_osdc_alloc_request()
1939 hoid->snapid = CEPH_NOSNAP; in hoid_fill_from_target()
2090 WARN_ON(req->r_snapid != CEPH_NOSNAP); in encode_request_partial()