| /src/external/gpl2/lvm2/dist/test/api/ |
| test.c | 97 static struct dm_hash_table *_vgid_hash = NULL; variable in typeref:struct:dm_hash_table 113 _hash_destroy_single(&_vgid_hash); 131 if (!(_vgid_hash = dm_hash_create(128))) { 165 if (!(vg = dm_hash_lookup(_vgid_hash, argv[1])) && 215 if (!(vg = dm_hash_lookup(_vgid_hash, argv[1])) && 276 if (!(vg = dm_hash_lookup(_vgid_hash, argv[1])) && 306 if ((vg = dm_hash_lookup(_vgid_hash, argv[1])) || 322 dm_hash_insert(_vgid_hash, lvm_vg_get_uuid(vg), vg); 340 dm_hash_remove(_vgid_hash, lvm_vg_get_uuid(vg)); 343 if (!vg && (vg = dm_hash_lookup(_vgid_hash, vgname))) [all...] |
| /src/external/gpl2/lvm2/dist/lib/cache/ |
| lvmcache.c | 33 static struct dm_hash_table *_vgid_hash = NULL; variable in typeref:struct:dm_hash_table 49 if (!(_vgid_hash = dm_hash_create(128))) 380 if (!_vgid_hash || !vgid) 387 if (!(vginfo = dm_hash_lookup(_vgid_hash, id))) 744 if (*vginfo->vgid && _vgid_hash && 746 dm_hash_remove(_vgid_hash, vginfo->vgid); 820 dm_hash_remove(_vgid_hash, vginfo->vgid); 828 if (!dm_hash_insert(_vgid_hash, vginfo->vgid, vginfo)) { 1312 if (_vgid_hash) { 1313 dm_hash_destroy(_vgid_hash); [all...] |