Lines Matching refs:hash_cell

40 struct hash_cell {  struct
83 static struct hash_cell *__get_name_cell(const char *str) in __get_name_cell()
88 struct hash_cell *hc = container_of(n, struct hash_cell, name_node); in __get_name_cell()
100 static struct hash_cell *__get_uuid_cell(const char *str) in __get_uuid_cell()
105 struct hash_cell *hc = container_of(n, struct hash_cell, uuid_node); in __get_uuid_cell()
117 static void __unlink_name(struct hash_cell *hc) in __unlink_name()
125 static void __unlink_uuid(struct hash_cell *hc) in __unlink_uuid()
133 static void __link_name(struct hash_cell *new_hc) in __link_name()
145 struct hash_cell *hc = container_of(*n, struct hash_cell, name_node); in __link_name()
156 static void __link_uuid(struct hash_cell *new_hc) in __link_uuid()
168 struct hash_cell *hc = container_of(*n, struct hash_cell, uuid_node); in __link_uuid()
179 static struct hash_cell *__get_dev_cell(uint64_t dev) in __get_dev_cell()
182 struct hash_cell *hc; in __get_dev_cell()
200 static struct hash_cell *alloc_cell(const char *name, const char *uuid, in alloc_cell()
203 struct hash_cell *hc; in alloc_cell()
233 static void free_cell(struct hash_cell *hc) in free_cell()
248 struct hash_cell *cell, *hc; in dm_hash_insert()
292 static struct dm_table *__hash_remove(struct hash_cell *hc) in __hash_remove()
322 struct hash_cell *hc; in dm_hash_remove_all()
332 hc = container_of(n, struct hash_cell, name_node); in dm_hash_remove_all()
376 static void __set_cell_uuid(struct hash_cell *hc, char *new_uuid) in __set_cell_uuid()
389 static char *__change_cell_name(struct hash_cell *hc, char *new_name) in __change_cell_name()
412 struct hash_cell *hc; in dm_hash_rename()
548 static bool filter_device(struct hash_cell *hc, const char *pfx_name, const char *pfx_uuid) in filter_device()
575 struct hash_cell *hc; in list_devices()
588 hc = container_of(n, struct hash_cell, name_node); in list_devices()
614 hc = container_of(n, struct hash_cell, name_node); in list_devices()
766 struct hash_cell *hc; in dm_get_inactive_table()
888 static struct hash_cell *__find_device_hash_cell(struct dm_ioctl *param) in __find_device_hash_cell()
890 struct hash_cell *hc = NULL; in __find_device_hash_cell()
933 struct hash_cell *hc; in find_device()
947 struct hash_cell *hc; in dev_remove()
1122 struct hash_cell *hc; in do_resume()
1422 struct hash_cell *hc; in table_load()
1508 struct hash_cell *hc; in table_clear()
2113 struct hash_cell *hc; in dm_copy_name_and_uuid()