Home
last modified time | relevance | path

Searched refs:dm_hash_table (Results 1 – 25 of 27) sorted by relevance

12

/dragonfly/contrib/lvm2/dist/libdm/datastruct/
H A Dhash.c27 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 Dlibdevmapper.h636 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 Dlibdevmapper.h636 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 Dtext_import.h25 const struct config_node *cn, struct dm_hash_table *pv_hash,
H A Dsegtype.h74 struct dm_hash_table * pv_hash);
/dragonfly/contrib/lvm2/dist/lib/format1/
H A Dimport-extents.c47 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 Dimport_vsn1.c32 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 Dtext_import.h25 const struct config_node *cn, struct dm_hash_table *pv_hash,
H A Dexport.c54 struct dm_hash_table *pv_names; /* dev_name -> pv_name (eg, pv1) */
/dragonfly/contrib/lvm2/dist/daemons/clvmd/
H A Dclvmd-command.c196 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 Dclvmd-gulm.c64 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 Dclvmd-openais.c81 static struct dm_hash_table *node_hash;
84 static struct dm_hash_table *lock_hash;
H A Dclvmd-cman.c66 static struct dm_hash_table *node_updown_hash;
H A Dtcp-comms.c60 struct dm_hash_table *sock_hash;
H A Dclvmd-corosync.c80 static struct dm_hash_table *node_hash;
H A Dlvm-functions.c59 static struct dm_hash_table *lv_hash = NULL;
/dragonfly/contrib/lvm2/dist/test/api/
H A Dtest.c97 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 Dunknown.c38 struct dm_hash_table *pv_hash) in _unknown_text_import()
/dragonfly/contrib/lvm2/dist/lib/cache/
H A Dlvmcache.c32 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 Dsegtype.h74 struct dm_hash_table * pv_hash);
/dragonfly/contrib/lvm2/dist/lib/striped/
H A Dstriped.c74 struct dm_hash_table *pv_hash) in _striped_text_import()
/dragonfly/contrib/lvm2/dist/lib/snapshot/
H A Dsnapshot.c37 struct dm_hash_table *pv_hash __attribute((unused))) in _snap_text_import()
/dragonfly/contrib/lvm2/dist/lib/filters/
H A Dfilter-persistent.c31 struct dm_hash_table *devices;
/dragonfly/contrib/lvm2/dist/lib/mirror/
H A Dmirrored.c91 struct dm_hash_table *pv_hash) in _mirrored_text_import()
/dragonfly/contrib/lvm2/dist/lib/device/
H A Ddev-cache.c46 struct dm_hash_table *names;

12