Lines Matching refs:hash_zones

274 struct hash_zones {  struct
315 static inline struct hash_zones *as_hash_zones(struct vdo_completion *completion) in as_hash_zones() argument
318 return container_of(completion, struct hash_zones, completion); in as_hash_zones()
2038 static void close_index(struct hash_zones *zones) in close_index()
2060 static void open_index(struct hash_zones *zones) in open_index()
2115 struct hash_zones *zones = as_hash_zones(completion); in change_dedupe_state()
2152 static void report_dedupe_timeouts(struct hash_zones *zones, unsigned int timeouts) in report_dedupe_timeouts()
2167 static int initialize_index(struct vdo *vdo, struct hash_zones *zones) in initialize_index()
2333 report_dedupe_timeouts(completion->vdo->hash_zones, timed_out); in timeout_index_operations_callback()
2347 static int __must_check initialize_zone(struct vdo *vdo, struct hash_zones *zones, in initialize_zone()
2396 struct hash_zones *zones = context; in get_thread_id_for_zone()
2409 int vdo_make_hash_zones(struct vdo *vdo, struct hash_zones **zones_ptr) in vdo_make_hash_zones()
2412 struct hash_zones *zones; in vdo_make_hash_zones()
2419 result = vdo_allocate_extended(struct hash_zones, zone_count, struct hash_zone, in vdo_make_hash_zones()
2453 void vdo_finish_dedupe_index(struct hash_zones *zones) in vdo_finish_dedupe_index()
2465 void vdo_free_hash_zones(struct hash_zones *zones) in vdo_free_hash_zones()
2491 struct hash_zones *zones = container_of(state, struct hash_zones, state); in initiate_suspend_index()
2517 struct hash_zones *zones = context; in suspend_index()
2542 struct hash_zones *zones = context; in drain_hash_zone()
2550 void vdo_drain_hash_zones(struct hash_zones *zones, struct vdo_completion *parent) in vdo_drain_hash_zones()
2556 static void launch_dedupe_state_change(struct hash_zones *zones) in launch_dedupe_state_change()
2580 struct hash_zones *zones = context; in resume_index()
2613 struct hash_zone *zone = &(((struct hash_zones *) context)->zones[zone_number]); in resume_hash_zone()
2623 void vdo_resume_hash_zones(struct hash_zones *zones, struct vdo_completion *parent) in vdo_resume_hash_zones()
2651 static void get_index_statistics(struct hash_zones *zones, in get_index_statistics()
2689 void vdo_get_dedupe_statistics(struct hash_zones *zones, struct vdo_statistics *stats) in vdo_get_dedupe_statistics()
2714 struct hash_zone *vdo_select_hash_zone(struct hash_zones *zones, in vdo_select_hash_zone()
2760 static const char *index_state_to_string(struct hash_zones *zones, in index_state_to_string()
2801 void vdo_dump_hash_zones(struct hash_zones *zones) in vdo_dump_hash_zones()
2915 if (!READ_ONCE(vdo->hash_zones->dedupe_flag)) { in query_index()
2922 atomic64_inc(&vdo->hash_zones->dedupe_context_busy); in query_index()
2941 static void set_target_state(struct hash_zones *zones, enum index_state target, in set_target_state()
2963 const char *vdo_get_dedupe_index_state_name(struct hash_zones *zones) in vdo_get_dedupe_index_state_name()
2975 int vdo_message_dedupe_index(struct hash_zones *zones, const char *name) in vdo_message_dedupe_index()
2994 void vdo_set_dedupe_state_normal(struct hash_zones *zones) in vdo_set_dedupe_state_normal()
3000 void vdo_start_dedupe_index(struct hash_zones *zones, bool create_flag) in vdo_start_dedupe_index()