Home
last modified time | relevance | path

Searched refs:dm_hash_lookup (Results 1 – 16 of 16) sorted by relevance

/dragonfly/contrib/lvm2/dist/test/api/
H A Dtest.c149 if (!(lv = dm_hash_lookup(_lvname_hash, name))) { in _lookup_lv_by_name()
165 if (!(vg = dm_hash_lookup(_vgid_hash, argv[1])) && in _lookup_vg_by_name()
166 !(vg = dm_hash_lookup(_vgname_hash, argv[1]))) { in _lookup_vg_by_name()
215 if (!(vg = dm_hash_lookup(_vgid_hash, argv[1])) && in _vg_reduce()
216 !(vg = dm_hash_lookup(_vgname_hash, argv[1]))) { in _vg_reduce()
276 if (!(vg = dm_hash_lookup(_vgid_hash, argv[1])) && in _vg_extend()
277 !(vg = dm_hash_lookup(_vgname_hash, argv[1]))) { in _vg_extend()
306 if ((vg = dm_hash_lookup(_vgid_hash, argv[1])) || in _vg_open()
307 (vg = dm_hash_lookup(_vgname_hash, argv[1]))) { in _vg_open()
339 if ((vg = dm_hash_lookup(_vgname_hash, vgname))) { in _lookup_and_remove_vg()
[all …]
/dragonfly/contrib/lvm2/dist/lib/cache/
H A Dlvmcache.c249 if (dm_hash_lookup(_lock_hash, vgname)) in lvmcache_lock_vgname()
267 return dm_hash_lookup(_lock_hash, vgname) ? 1 : 0; in vgname_is_locked()
272 if (!dm_hash_lookup(_lock_hash, vgname)) in lvmcache_unlock_vgname()
321 if (!(vginfo = dm_hash_lookup(_vgname_hash, vgname))) in vginfo_from_vgname()
387 if (!(vginfo = dm_hash_lookup(_vgid_hash, id))) in vginfo_from_vgid()
467 if (!(info = dm_hash_lookup(_pvid_hash, id))) in info_from_pvid()
794 if (((dm_hash_lookup(_pvid_hash, pvid)) == info) && in _lvmcache_update_pvid()
/dragonfly/contrib/lvm2/dist/lib/device/
H A Ddev-cache.c290 if (dm_hash_lookup(_cache.names, path)) in _insert_dev()
735 struct device *d = (struct device *) dm_hash_lookup(_cache.names, name); in dev_cache_get()
748 d = (struct device *) dm_hash_lookup(_cache.names, name); in dev_cache_get()
751 d = (struct device *) dm_hash_lookup(_cache.names, name); in dev_cache_get()
/dragonfly/contrib/lvm2/dist/libdm/
H A D.exported_symbols116 dm_hash_lookup
H A Dlibdm-deptree.c367 if ((node = dm_hash_lookup(dtree->uuids, uuid))) in _find_dm_tree_node_by_uuid()
373 return dm_hash_lookup(dtree->uuids, uuid + sizeof(UUID_PREFIX) - 1); in _find_dm_tree_node_by_uuid()
H A Dlibdevmapper.h645 void *dm_hash_lookup(struct dm_hash_table *t, const char *key);
/dragonfly/contrib/lvm2/dist/libdm/datastruct/
H A Dhash.c202 void *dm_hash_lookup(struct dm_hash_table *t, const char *key) in dm_hash_lookup() function
/dragonfly/contrib/lvm2/dist/daemons/clvmd/
H A Dclvmd-command.c226 lkid = (int)(long)dm_hash_lookup(lock_hash, lockname); in lock_vg()
H A Dlvm-functions.c170 lvi = dm_hash_lookup(lv_hash, resource); in lookup_info()
H A Dclvmd-openais.c554 linfo = dm_hash_lookup(lock_hash, resource); in _unlock_resource()
H A Dclvmd-gulm.c519 lwait = dm_hash_lookup(lock_hash, key); in lock_lock_state()
/dragonfly/contrib/lvm2/dist/lib/filters/
H A Dfilter-persistent.c275 void *l = dm_hash_lookup(pf->devices, dev_name(dev)); in _lookup_p()
/dragonfly/contrib/lvm2/dist/lib/format1/
H A Dimport-extents.c92 if (!(lvm = dm_hash_lookup(maps, strrchr((char *)ll->lvd.lv_name, '/') in _fill_lv_array()
/dragonfly/contrib/lvm2/dist/lib/format_text/
H A Dexport.c413 return dm_hash_lookup(f->pv_names, uuid); in _get_pv_name_from_uuid()
H A Dimport_vsn1.c409 if ((pv = dm_hash_lookup(pv_hash, cv->v.str))) { in text_import_areas()
/dragonfly/contrib/lvm2/dist/include/
H A Dlibdevmapper.h645 void *dm_hash_lookup(struct dm_hash_table *t, const char *key);