Lines Matching refs:hash_cell
41 struct hash_cell { struct
84 static struct hash_cell *__get_name_cell(const char *str) in __get_name_cell()
89 struct hash_cell *hc = container_of(n, struct hash_cell, name_node); in __get_name_cell()
101 static struct hash_cell *__get_uuid_cell(const char *str) in __get_uuid_cell()
106 struct hash_cell *hc = container_of(n, struct hash_cell, uuid_node); in __get_uuid_cell()
118 static void __unlink_name(struct hash_cell *hc) in __unlink_name()
126 static void __unlink_uuid(struct hash_cell *hc) in __unlink_uuid()
134 static void __link_name(struct hash_cell *new_hc) in __link_name()
146 struct hash_cell *hc = container_of(*n, struct hash_cell, name_node); in __link_name()
157 static void __link_uuid(struct hash_cell *new_hc) in __link_uuid()
169 struct hash_cell *hc = container_of(*n, struct hash_cell, uuid_node); in __link_uuid()
180 static struct hash_cell *__get_dev_cell(uint64_t dev) in __get_dev_cell()
183 struct hash_cell *hc; in __get_dev_cell()
201 static struct hash_cell *alloc_cell(const char *name, const char *uuid, in alloc_cell()
204 struct hash_cell *hc; in alloc_cell()
234 static void free_cell(struct hash_cell *hc) in free_cell()
249 struct hash_cell *cell, *hc; in dm_hash_insert()
293 static struct dm_table *__hash_remove(struct hash_cell *hc) in __hash_remove()
323 struct hash_cell *hc; in dm_hash_remove_all()
333 hc = container_of(n, struct hash_cell, name_node); in dm_hash_remove_all()
377 static void __set_cell_uuid(struct hash_cell *hc, char *new_uuid) in __set_cell_uuid()
390 static char *__change_cell_name(struct hash_cell *hc, char *new_name) in __change_cell_name()
413 struct hash_cell *hc; in dm_hash_rename()
549 static bool filter_device(struct hash_cell *hc, const char *pfx_name, const char *pfx_uuid) in filter_device()
576 struct hash_cell *hc; in list_devices()
589 hc = container_of(n, struct hash_cell, name_node); in list_devices()
615 hc = container_of(n, struct hash_cell, name_node); in list_devices()
767 struct hash_cell *hc; in dm_get_inactive_table()
889 static struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param) in __find_device_hash_cell()
891 struct hash_cell *hc = NULL; in __find_device_hash_cell()
940 struct hash_cell *hc; in find_device()
954 struct hash_cell *hc; in dev_remove()
1129 struct hash_cell *hc; in do_resume()
1429 struct hash_cell *hc; in table_load()
1515 struct hash_cell *hc; in table_clear()
2124 struct hash_cell *hc; in dm_copy_name_and_uuid()