Lines Matching defs:GUID
426 ddf_meta_find_pd(struct ddf_meta *meta, uint8_t *GUID, uint32_t PD_Reference)
431 if (GUID != NULL) {
432 if (memcmp(meta->pdr->entry[i].PD_GUID, GUID, 24) == 0)
441 if (GUID == NULL && PD_Reference == 0xffffffff) {
451 ddf_meta_find_vd(struct ddf_meta *meta, uint8_t *GUID)
456 if (GUID != NULL) {
457 if (memcmp(meta->vdr->entry[i].VD_GUID, GUID, 24) == 0)
463 if (GUID == NULL) {
473 ddf_meta_find_vdc(struct ddf_meta *meta, uint8_t *GUID)
481 if (GUID != NULL) {
483 memcmp(vdc->VD_GUID, GUID, 24) == 0)
494 ddf_meta_count_vdc(struct ddf_meta *meta, uint8_t *GUID)
505 if (GUID == NULL || memcmp(vdc->VD_GUID, GUID, 24) == 0)
873 uint8_t *GUID, int started)
882 vde = &src->vdr->entry[ddf_meta_find_vd(src, GUID)];
883 vdc = ddf_meta_find_vdc(src, GUID);
1380 g_raid_md_ddf_get_volume(struct g_raid_softc *sc, uint8_t *GUID)
1387 if (memcmp(pv->pv_meta.vde->VD_GUID, GUID, 24) == 0)
1394 g_raid_md_ddf_get_disk(struct g_raid_softc *sc, uint8_t *GUID, uint32_t id)
1403 if (GUID != NULL) {
1404 if (memcmp(meta->pdd->PD_GUID, GUID, 24) == 0)