Lines Matching refs:hash_cell

44 struct hash_cell {  struct
89 static struct hash_cell *__get_name_cell(const char *str) in __get_name_cell()
94 struct hash_cell *hc = container_of(n, struct hash_cell, name_node); in __get_name_cell()
108 static struct hash_cell *__get_uuid_cell(const char *str) in __get_uuid_cell()
113 struct hash_cell *hc = container_of(n, struct hash_cell, uuid_node); in __get_uuid_cell()
127 static void __unlink_name(struct hash_cell *hc) in __unlink_name()
135 static void __unlink_uuid(struct hash_cell *hc) in __unlink_uuid()
143 static void __link_name(struct hash_cell *new_hc) in __link_name()
155 struct hash_cell *hc = container_of(*n, struct hash_cell, name_node); in __link_name()
168 static void __link_uuid(struct hash_cell *new_hc) in __link_uuid()
180 struct hash_cell *hc = container_of(*n, struct hash_cell, uuid_node); in __link_uuid()
193 static struct hash_cell *__get_dev_cell(uint64_t dev) in __get_dev_cell()
196 struct hash_cell *hc; in __get_dev_cell()
216 static struct hash_cell *alloc_cell(const char *name, const char *uuid, in alloc_cell()
219 struct hash_cell *hc; in alloc_cell()
249 static void free_cell(struct hash_cell *hc) in free_cell()
264 struct hash_cell *cell, *hc; in dm_hash_insert()
308 static struct dm_table *__hash_remove(struct hash_cell *hc) in __hash_remove()
340 struct hash_cell *hc; in dm_hash_remove_all()
350 hc = container_of(n, struct hash_cell, name_node); in dm_hash_remove_all()
394 static void __set_cell_uuid(struct hash_cell *hc, char *new_uuid) in __set_cell_uuid()
407 static char *__change_cell_name(struct hash_cell *hc, char *new_name) in __change_cell_name()
430 struct hash_cell *hc; in dm_hash_rename()
567 static bool filter_device(struct hash_cell *hc, const char *pfx_name, const char *pfx_uuid) in filter_device()
594 struct hash_cell *hc; in list_devices()
607 hc = container_of(n, struct hash_cell, name_node); in list_devices()
634 hc = container_of(n, struct hash_cell, name_node); in list_devices()
791 struct hash_cell *hc; in dm_get_inactive_table()
914 static struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param) in __find_device_hash_cell()
916 struct hash_cell *hc = NULL; in __find_device_hash_cell()
965 struct hash_cell *hc; in find_device()
979 struct hash_cell *hc; in dev_remove()
1153 struct hash_cell *hc; in do_resume()
1499 struct hash_cell *hc; in table_load()
1585 struct hash_cell *hc; in table_clear()
2207 struct hash_cell *hc; in dm_copy_name_and_uuid()