Lines Matching refs:ceph_snap_realm
64 struct ceph_snap_realm *realm) in ceph_get_snap_realm()
82 struct ceph_snap_realm *new) in __insert_snap_realm()
86 struct ceph_snap_realm *r = NULL; in __insert_snap_realm()
90 r = rb_entry(parent, struct ceph_snap_realm, node); in __insert_snap_realm()
108 static struct ceph_snap_realm *ceph_create_snap_realm( in ceph_create_snap_realm()
112 struct ceph_snap_realm *realm; in ceph_create_snap_realm()
136 static struct ceph_snap_realm *__lookup_snap_realm(struct ceph_mds_client *mdsc, in __lookup_snap_realm()
140 struct ceph_snap_realm *r; in __lookup_snap_realm()
143 r = rb_entry(n, struct ceph_snap_realm, node); in __lookup_snap_realm()
156 struct ceph_snap_realm *ceph_lookup_snap_realm(struct ceph_mds_client *mdsc, in ceph_lookup_snap_realm()
159 struct ceph_snap_realm *r; in ceph_lookup_snap_realm()
167 struct ceph_snap_realm *realm);
173 struct ceph_snap_realm *realm) in __destroy_snap_realm()
194 struct ceph_snap_realm *realm) in __put_snap_realm()
206 struct ceph_snap_realm *realm) in ceph_put_snap_realm()
232 struct ceph_snap_realm *realm; in __cleanup_empty_realms()
237 struct ceph_snap_realm, empty_item); in __cleanup_empty_realms()
262 struct ceph_snap_realm *realm, in adjust_snap_realm_parent()
265 struct ceph_snap_realm *parent; in adjust_snap_realm_parent()
303 static int build_snap_context(struct ceph_snap_realm *realm, in build_snap_context()
306 struct ceph_snap_realm *parent = realm->parent; in build_snap_context()
401 static void rebuild_snap_realms(struct ceph_snap_realm *realm, in rebuild_snap_realms()
404 struct ceph_snap_realm *child; in rebuild_snap_realms()
638 static void queue_realm_cap_snaps(struct ceph_snap_realm *realm) in queue_realm_cap_snaps()
671 struct ceph_snap_realm **realm_ret) in ceph_update_snap_trace()
676 struct ceph_snap_realm *realm; in ceph_update_snap_trace()
677 struct ceph_snap_realm *first_realm = NULL; in ceph_update_snap_trace()
678 struct ceph_snap_realm *realm_to_rebuild = NULL; in ceph_update_snap_trace()
773 realm = list_first_entry(&dirty_realms, struct ceph_snap_realm, in ceph_update_snap_trace()
853 struct ceph_snap_realm *realm = NULL; in ceph_handle_snap()
918 struct ceph_snap_realm *oldrealm; in ceph_handle_snap()
974 struct ceph_snap_realm *child = in ceph_handle_snap()