Searched refs:i_snap_realm (Results 1 – 5 of 5) sorted by relevance
471 new_snapc = ci->i_snap_realm->cached_context; in ceph_queue_cap_snap()908 if (!ci->i_snap_realm) in ceph_handle_snap()917 if (ci->i_snap_realm->created > in ceph_handle_snap()920 inode, ci->i_snap_realm->ino, in ceph_handle_snap()921 ci->i_snap_realm); in ceph_handle_snap()933 oldrealm = ci->i_snap_realm; in ceph_handle_snap()934 ci->i_snap_realm = realm; in ceph_handle_snap()
578 if (!ci->i_snap_realm) { in ceph_add_cap()586 ci->i_snap_realm = realm; in ceph_add_cap()910 struct ceph_snap_realm *realm = ci->i_snap_realm; in drop_inode_snap_realm()914 ci->i_snap_realm = NULL; in drop_inode_snap_realm()983 if (!__ceph_is_any_caps(ci) && ci->i_wr_ref == 0 && ci->i_snap_realm) in __ceph_remove_cap()1434 ci->i_snap_realm->cached_context); in __ceph_mark_dirty_caps()2286 ci->i_snap_realm->cached_context); in __take_cap_refs()2692 if (!__ceph_is_any_caps(ci) && ci->i_snap_realm) in ceph_put_cap_refs()
507 ci->i_snap_realm = NULL; in ceph_alloc_inode()545 if (ci->i_snap_realm) { in ceph_destroy_inode()548 struct ceph_snap_realm *realm = ci->i_snap_realm; in ceph_destroy_inode()
348 struct ceph_snap_realm *i_snap_realm; /* snap realm (if caps) */ member
2829 rec.v2.snaprealm = cpu_to_le64(ci->i_snap_realm->ino); in encode_caps_cb()2839 rec.v1.snaprealm = cpu_to_le64(ci->i_snap_realm->ino); in encode_caps_cb()