Searched refs:i_snap_realm (Results 1 – 7 of 7) sorted by relevance
498 ceph_get_snap_context(ci->i_snap_realm->cached_context); in ceph_queue_cap_snap()836 if (!ci->i_snap_realm) in ceph_handle_snap()845 if (ci->i_snap_realm->created > in ceph_handle_snap()848 inode, ci->i_snap_realm->ino, in ceph_handle_snap()849 ci->i_snap_realm); in ceph_handle_snap()861 oldrealm = ci->i_snap_realm; in ceph_handle_snap()862 ci->i_snap_realm = realm; in ceph_handle_snap()
87 snapc = ceph_get_snap_context(ci->i_snap_realm->cached_context); in ceph_set_page_dirty()932 BUG_ON(!ci->i_snap_realm); in ceph_update_writeable_page()934 BUG_ON(!ci->i_snap_realm->cached_context); in ceph_update_writeable_page()
574 if (!ci->i_snap_realm) { in ceph_add_cap()583 ci->i_snap_realm = realm; in ceph_add_cap()906 if (!__ceph_is_any_caps(ci) && ci->i_snap_realm) { in __ceph_remove_cap()907 struct ceph_snap_realm *realm = ci->i_snap_realm; in __ceph_remove_cap()911 ci->i_snap_realm = NULL; in __ceph_remove_cap()1353 ci->i_snap_realm->cached_context); in __ceph_mark_dirty_caps()
369 ci->i_snap_realm = NULL; in ceph_alloc_inode()404 if (ci->i_snap_realm) { in ceph_destroy_inode()407 struct ceph_snap_realm *realm = ci->i_snap_realm; in ceph_destroy_inode()
306 struct ceph_snap_realm *i_snap_realm; /* snap realm (if caps) */ member
517 ci->i_snap_realm->cached_context, in ceph_sync_write()
2405 rec.v2.snaprealm = cpu_to_le64(ci->i_snap_realm->ino); in encode_caps_cb()2416 rec.v1.snaprealm = cpu_to_le64(ci->i_snap_realm->ino); in encode_caps_cb()