/dragonfly/contrib/lvm2/dist/libdm/datastruct/ |
H A D | hash.c | 27 struct dm_hash_table { struct 91 struct dm_hash_table *dm_hash_create(unsigned size_hint) in dm_hash_create() 95 struct dm_hash_table *hc = dm_malloc(sizeof(*hc)); in dm_hash_create() 123 static void _free_nodes(struct dm_hash_table *t) in _free_nodes() 135 void dm_hash_destroy(struct dm_hash_table *t) in dm_hash_destroy() 202 void *dm_hash_lookup(struct dm_hash_table *t, const char *key) in dm_hash_lookup() 212 void dm_hash_remove(struct dm_hash_table *t, const char *key) in dm_hash_remove() 217 unsigned dm_hash_get_num_entries(struct dm_hash_table *t) in dm_hash_get_num_entries() 222 void dm_hash_iter(struct dm_hash_table *t, dm_hash_iterate_fn f) in dm_hash_iter() 234 void dm_hash_wipe(struct dm_hash_table *t) in dm_hash_wipe() [all …]
|
/dragonfly/contrib/lvm2/dist/libdm/ |
H A D | libdevmapper.h | 636 struct dm_hash_table; 641 struct dm_hash_table *dm_hash_create(unsigned size_hint); 642 void dm_hash_destroy(struct dm_hash_table *t); 643 void dm_hash_wipe(struct dm_hash_table *t); 645 void *dm_hash_lookup(struct dm_hash_table *t, const char *key); 647 void dm_hash_remove(struct dm_hash_table *t, const char *key); 654 unsigned dm_hash_get_num_entries(struct dm_hash_table *t); 655 void dm_hash_iter(struct dm_hash_table *t, dm_hash_iterate_fn f); 657 char *dm_hash_get_key(struct dm_hash_table *t, struct dm_hash_node *n); 658 void *dm_hash_get_data(struct dm_hash_table *t, struct dm_hash_node *n); [all …]
|
/dragonfly/contrib/lvm2/dist/include/ |
H A D | libdevmapper.h | 636 struct dm_hash_table; 641 struct dm_hash_table *dm_hash_create(unsigned size_hint); 642 void dm_hash_destroy(struct dm_hash_table *t); 643 void dm_hash_wipe(struct dm_hash_table *t); 645 void *dm_hash_lookup(struct dm_hash_table *t, const char *key); 647 void dm_hash_remove(struct dm_hash_table *t, const char *key); 654 unsigned dm_hash_get_num_entries(struct dm_hash_table *t); 655 void dm_hash_iter(struct dm_hash_table *t, dm_hash_iterate_fn f); 657 char *dm_hash_get_key(struct dm_hash_table *t, struct dm_hash_node *n); 658 void *dm_hash_get_data(struct dm_hash_table *t, struct dm_hash_node *n); [all …]
|
H A D | text_import.h | 25 const struct config_node *cn, struct dm_hash_table *pv_hash,
|
H A D | segtype.h | 74 struct dm_hash_table * pv_hash);
|
/dragonfly/contrib/lvm2/dist/lib/format1/ |
H A D | import-extents.c | 47 static struct dm_hash_table *_create_lv_maps(struct dm_pool *mem, in _create_lv_maps() 50 struct dm_hash_table *maps = dm_hash_create(32); in _create_lv_maps() 84 struct dm_hash_table *maps, struct disk_list *dl) in _fill_lv_array() 109 static int _fill_maps(struct dm_hash_table *maps, struct volume_group *vg, in _fill_maps() 184 static int _check_maps_are_complete(struct dm_hash_table *maps) in _check_maps_are_complete() 326 static int _build_all_segments(struct cmd_context *cmd, struct dm_hash_table *maps) in _build_all_segments() 345 struct dm_hash_table *maps; in import_extents()
|
/dragonfly/contrib/lvm2/dist/lib/format_text/ |
H A D | import_vsn1.c | 32 struct dm_hash_table * pv_hash); 158 struct dm_hash_table *pv_hash) in _read_pv() 294 struct dm_hash_table *pv_hash) in _read_segment() 376 const struct config_node *cn, struct dm_hash_table *pv_hash, in text_import_areas() 441 struct dm_hash_table *pv_hash) in _read_segments() 495 struct dm_hash_table *pv_hash __attribute((unused))) in _read_lvnames() 561 struct dm_hash_table *pv_hash) in _read_lvsegs() 614 struct dm_hash_table *pv_hash, int optional) in _read_sections() 640 struct dm_hash_table *pv_hash = NULL; in _read_vg()
|
H A D | text_import.h | 25 const struct config_node *cn, struct dm_hash_table *pv_hash,
|
H A D | export.c | 54 struct dm_hash_table *pv_names; /* dev_name -> pv_name (eg, pv1) */
|
/dragonfly/contrib/lvm2/dist/daemons/clvmd/ |
H A D | clvmd-command.c | 196 struct dm_hash_table *lock_hash; in lock_vg() 210 lock_hash = (struct dm_hash_table *)client->bits.localsock.private; in lock_vg() 344 struct dm_hash_table *lock_hash = in cmd_client_cleanup() 345 (struct dm_hash_table *)client->bits.localsock.private; in cmd_client_cleanup()
|
H A D | clvmd-gulm.c | 64 static struct dm_hash_table *node_hash; 67 static struct dm_hash_table *lock_hash; 105 extern struct dm_hash_table *sock_hash;
|
H A D | clvmd-openais.c | 81 static struct dm_hash_table *node_hash; 84 static struct dm_hash_table *lock_hash;
|
H A D | clvmd-cman.c | 66 static struct dm_hash_table *node_updown_hash;
|
H A D | tcp-comms.c | 60 struct dm_hash_table *sock_hash;
|
H A D | clvmd-corosync.c | 80 static struct dm_hash_table *node_hash;
|
H A D | lvm-functions.c | 59 static struct dm_hash_table *lv_hash = NULL;
|
/dragonfly/contrib/lvm2/dist/test/api/ |
H A D | test.c | 97 static struct dm_hash_table *_vgid_hash = NULL; 98 static struct dm_hash_table *_vgname_hash = NULL; 99 static struct dm_hash_table *_pvname_hash = NULL; 100 static struct dm_hash_table *_lvname_hash = NULL; 102 static void _hash_destroy_single(struct dm_hash_table **htable) in _hash_destroy_single()
|
/dragonfly/contrib/lvm2/dist/lib/unknown/ |
H A D | unknown.c | 38 struct dm_hash_table *pv_hash) in _unknown_text_import()
|
/dragonfly/contrib/lvm2/dist/lib/cache/ |
H A D | lvmcache.c | 32 static struct dm_hash_table *_pvid_hash = NULL; 33 static struct dm_hash_table *_vgid_hash = NULL; 34 static struct dm_hash_table *_vgname_hash = NULL; 35 static struct dm_hash_table *_lock_hash = NULL;
|
/dragonfly/contrib/lvm2/dist/lib/metadata/ |
H A D | segtype.h | 74 struct dm_hash_table * pv_hash);
|
/dragonfly/contrib/lvm2/dist/lib/striped/ |
H A D | striped.c | 74 struct dm_hash_table *pv_hash) in _striped_text_import()
|
/dragonfly/contrib/lvm2/dist/lib/snapshot/ |
H A D | snapshot.c | 37 struct dm_hash_table *pv_hash __attribute((unused))) in _snap_text_import()
|
/dragonfly/contrib/lvm2/dist/lib/filters/ |
H A D | filter-persistent.c | 31 struct dm_hash_table *devices;
|
/dragonfly/contrib/lvm2/dist/lib/mirror/ |
H A D | mirrored.c | 91 struct dm_hash_table *pv_hash) in _mirrored_text_import()
|
/dragonfly/contrib/lvm2/dist/lib/device/ |
H A D | dev-cache.c | 46 struct dm_hash_table *names;
|