Symbol: GET32
sys/geom/raid/md_ddf.c
1078
val = GET32(meta, hdr->CRC);
sys/geom/raid/md_ddf.c
1119
val = GET32(meta, hdr->CRC);
sys/geom/raid/md_ddf.c
1141
len = max(len, GET32(meta, hdr->cd_section) + GET32(meta, hdr->cd_length));
sys/geom/raid/md_ddf.c
1142
len = max(len, GET32(meta, hdr->pdr_section) + GET32(meta, hdr->pdr_length));
sys/geom/raid/md_ddf.c
1143
len = max(len, GET32(meta, hdr->vdr_section) + GET32(meta, hdr->vdr_length));
sys/geom/raid/md_ddf.c
1144
len = max(len, GET32(meta, hdr->cr_section) + GET32(meta, hdr->cr_length));
sys/geom/raid/md_ddf.c
1145
len = max(len, GET32(meta, hdr->pdd_section) + GET32(meta, hdr->pdd_length));
sys/geom/raid/md_ddf.c
1146
if ((val = GET32(meta, hdr->bbmlog_section)) != 0xffffffff)
sys/geom/raid/md_ddf.c
1147
len = max(len, val + GET32(meta, hdr->bbmlog_length));
sys/geom/raid/md_ddf.c
1148
if ((val = GET32(meta, hdr->Diagnostic_Space)) != 0xffffffff)
sys/geom/raid/md_ddf.c
1149
len = max(len, val + GET32(meta, hdr->Diagnostic_Space_Length));
sys/geom/raid/md_ddf.c
1150
if ((val = GET32(meta, hdr->Vendor_Specific_Logs)) != 0xffffffff)
sys/geom/raid/md_ddf.c
1151
len = max(len, val + GET32(meta, hdr->Vendor_Specific_Logs_Length));
sys/geom/raid/md_ddf.c
1163
if (GET32(meta, hdr->cd_length) * ss >= maxphys ||
sys/geom/raid/md_ddf.c
1164
GET32(meta, hdr->pdr_length) * ss >= maxphys ||
sys/geom/raid/md_ddf.c
1165
GET32(meta, hdr->vdr_length) * ss >= maxphys ||
sys/geom/raid/md_ddf.c
1166
GET32(meta, hdr->cr_length) * ss >= maxphys ||
sys/geom/raid/md_ddf.c
1167
GET32(meta, hdr->pdd_length) * ss >= maxphys ||
sys/geom/raid/md_ddf.c
1168
GET32(meta, hdr->bbmlog_length) * ss >= maxphys) {
sys/geom/raid/md_ddf.c
1174
buf = g_read_data(cp, (lba + GET32(meta, hdr->cd_section)) * ss,
sys/geom/raid/md_ddf.c
1175
GET32(meta, hdr->cd_length) * ss, &error);
sys/geom/raid/md_ddf.c
1178
meta->cdr = malloc(GET32(meta, hdr->cd_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
1179
memcpy(meta->cdr, buf, GET32(meta, hdr->cd_length) * ss);
sys/geom/raid/md_ddf.c
1181
if (GET32(meta, cdr->Signature) != DDF_CONTROLLER_DATA_SIGNATURE)
sys/geom/raid/md_ddf.c
1185
buf = g_read_data(cp, (lba + GET32(meta, hdr->pdr_section)) * ss,
sys/geom/raid/md_ddf.c
1186
GET32(meta, hdr->pdr_length) * ss, &error);
sys/geom/raid/md_ddf.c
1189
meta->pdr = malloc(GET32(meta, hdr->pdr_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
1190
memcpy(meta->pdr, buf, GET32(meta, hdr->pdr_length) * ss);
sys/geom/raid/md_ddf.c
1192
if (GET32(meta, pdr->Signature) != DDF_PDR_SIGNATURE)
sys/geom/raid/md_ddf.c
1202
if (GET32(meta, pdr->entry[i].PD_Reference) ==
sys/geom/raid/md_ddf.c
1218
buf = g_read_data(cp, (lba + GET32(meta, hdr->vdr_section)) * ss,
sys/geom/raid/md_ddf.c
1219
GET32(meta, hdr->vdr_length) * ss, &error);
sys/geom/raid/md_ddf.c
1222
meta->vdr = malloc(GET32(meta, hdr->vdr_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
1223
memcpy(meta->vdr, buf, GET32(meta, hdr->vdr_length) * ss);
sys/geom/raid/md_ddf.c
1225
if (GET32(meta, vdr->Signature) != DDF_VD_RECORD_SIGNATURE)
sys/geom/raid/md_ddf.c
1229
buf = g_read_data(cp, (lba + GET32(meta, hdr->cr_section)) * ss,
sys/geom/raid/md_ddf.c
1230
GET32(meta, hdr->cr_length) * ss, &error);
sys/geom/raid/md_ddf.c
1233
meta->cr = malloc(GET32(meta, hdr->cr_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
1234
memcpy(meta->cr, buf, GET32(meta, hdr->cr_length) * ss);
sys/geom/raid/md_ddf.c
1238
buf = g_read_data(cp, (lba + GET32(meta, hdr->pdd_section)) * ss,
sys/geom/raid/md_ddf.c
1239
GET32(meta, hdr->pdd_length) * ss, &error);
sys/geom/raid/md_ddf.c
1242
meta->pdd = malloc(GET32(meta, hdr->pdd_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
1243
memcpy(meta->pdd, buf, GET32(meta, hdr->pdd_length) * ss);
sys/geom/raid/md_ddf.c
1245
if (GET32(meta, pdd->Signature) != DDF_PDD_SIGNATURE)
sys/geom/raid/md_ddf.c
1247
i = ddf_meta_find_pd(meta, NULL, GET32(meta, pdd->PD_Reference));
sys/geom/raid/md_ddf.c
1252
if (GET32(meta, hdr->bbmlog_section) != 0xffffffff &&
sys/geom/raid/md_ddf.c
1253
GET32(meta, hdr->bbmlog_length) != 0) {
sys/geom/raid/md_ddf.c
1254
buf = g_read_data(cp, (lba + GET32(meta, hdr->bbmlog_section)) * ss,
sys/geom/raid/md_ddf.c
1255
GET32(meta, hdr->bbmlog_length) * ss, &error);
sys/geom/raid/md_ddf.c
1258
meta->bbm = malloc(GET32(meta, hdr->bbmlog_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
1259
memcpy(meta->bbm, buf, GET32(meta, hdr->bbmlog_length) * ss);
sys/geom/raid/md_ddf.c
1261
if (GET32(meta, bbm->Signature) != DDF_BBML_SIGNATURE)
sys/geom/raid/md_ddf.c
1305
size = GET32(meta, hdr->cd_length) * ss;
sys/geom/raid/md_ddf.c
1308
error = g_write_data(cp, (lba + GET32(meta, hdr->cd_section)) * ss,
sys/geom/raid/md_ddf.c
1313
size = GET32(meta, hdr->pdr_length) * ss;
sys/geom/raid/md_ddf.c
1316
error = g_write_data(cp, (lba + GET32(meta, hdr->pdr_section)) * ss,
sys/geom/raid/md_ddf.c
1321
size = GET32(meta, hdr->vdr_length) * ss;
sys/geom/raid/md_ddf.c
1324
error = g_write_data(cp, (lba + GET32(meta, hdr->vdr_section)) * ss,
sys/geom/raid/md_ddf.c
1336
error = g_write_data(cp, (lba + GET32(meta, hdr->cr_section)) * ss,
sys/geom/raid/md_ddf.c
1341
size = GET32(meta, hdr->pdd_length) * ss;
sys/geom/raid/md_ddf.c
1344
error = g_write_data(cp, (lba + GET32(meta, hdr->pdd_section)) * ss,
sys/geom/raid/md_ddf.c
1349
if (GET32(meta, hdr->bbmlog_length) != 0) {
sys/geom/raid/md_ddf.c
1350
size = GET32(meta, hdr->bbmlog_length) * ss;
sys/geom/raid/md_ddf.c
1354
(lba + GET32(meta, hdr->bbmlog_section)) * ss,
sys/geom/raid/md_ddf.c
1416
if (GET32(meta, pdd->PD_Reference) == id)
sys/geom/raid/md_ddf.c
1630
reference = GET32(&pd->pd_meta, pdd->PD_Reference);
sys/geom/raid/md_ddf.c
179
#define GETCRNUM(m) (GET32((m), hdr->cr_length) / \
sys/geom/raid/md_ddf.c
2044
val = GET32(vmeta, bvdc[k]->Physical_Disk_Sequence[i]);
sys/geom/raid/md_ddf.c
240
printf("Sequence_Number 0x%08x\n", GET32(meta, hdr->Sequence_Number));
sys/geom/raid/md_ddf.c
241
printf("TimeStamp 0x%08x\n", GET32(meta, hdr->TimeStamp));
sys/geom/raid/md_ddf.c
247
printf("WorkSpace_Length %u\n", GET32(meta, hdr->WorkSpace_Length));
sys/geom/raid/md_ddf.c
254
printf("Controller Data %u:%u\n", GET32(meta, hdr->cd_section), GET32(meta, hdr->cd_length));
sys/geom/raid/md_ddf.c
255
printf("Physical Disk %u:%u\n", GET32(meta, hdr->pdr_section), GET32(meta, hdr->pdr_length));
sys/geom/raid/md_ddf.c
256
printf("Virtual Disk %u:%u\n", GET32(meta, hdr->vdr_section), GET32(meta, hdr->vdr_length));
sys/geom/raid/md_ddf.c
257
printf("Configuration Recs %u:%u\n", GET32(meta, hdr->cr_section), GET32(meta, hdr->cr_length));
sys/geom/raid/md_ddf.c
258
printf("Physical Disk Recs %u:%u\n", GET32(meta, hdr->pdd_section), GET32(meta, hdr->pdd_length));
sys/geom/raid/md_ddf.c
259
printf("BBM Log %u:%u\n", GET32(meta, hdr->bbmlog_section), GET32(meta, hdr->bbmlog_length));
sys/geom/raid/md_ddf.c
260
printf("Diagnostic Space %u:%u\n", GET32(meta, hdr->Diagnostic_Space), GET32(meta, hdr->Diagnostic_Space_Length));
sys/geom/raid/md_ddf.c
261
printf("Vendor_Specific_Logs %u:%u\n", GET32(meta, hdr->Vendor_Specific_Logs), GET32(meta, hdr->Vendor_Specific_Logs_Length));
sys/geom/raid/md_ddf.c
2772
GET32(vmeta, vdc->Sequence_Number) + 1);
sys/geom/raid/md_ddf.c
278
if (GET32(meta, pdr->entry[j].PD_Reference) == 0xffffffff)
sys/geom/raid/md_ddf.c
284
GET32(meta, pdr->entry[j].PD_Reference));
sys/geom/raid/md_ddf.c
2847
GET32(&pd->pd_meta, pdd->PD_Reference));
sys/geom/raid/md_ddf.c
2857
GET32(vmeta, bvdc[bvd]->Physical_Disk_Sequence[pos]));
sys/geom/raid/md_ddf.c
2886
GET32(&pd->pd_meta, pdd->PD_Reference));
sys/geom/raid/md_ddf.c
2921
NULL, GET32(gmeta, pdr->entry[i].PD_Reference)) != NULL)
sys/geom/raid/md_ddf.c
2937
GET32(&pd->pd_meta, hdr->pdr_length) *
sys/geom/raid/md_ddf.c
3015
i = ddf_meta_find_pd(&pd->pd_meta, NULL, GET32(&pd->pd_meta, pdd->PD_Reference));
sys/geom/raid/md_ddf.c
420
GET32(meta, pdd->PD_Reference));
sys/geom/raid/md_ddf.c
437
if (GET32(meta, pdr->entry[i].PD_Reference) == PD_Reference)
sys/geom/raid/md_ddf.c
527
if (GET32(vmeta, bvdc[bvd]->Physical_Disk_Sequence[pos]) ==
sys/geom/raid/md_ddf.c
598
howmany(GET32(sample, hdr->WorkSpace_Length) *
sys/geom/raid/md_ddf.c
605
howmany(GET32(sample, hdr->cd_length) *
sys/geom/raid/md_ddf.c
608
howmany(GET32(sample, hdr->pdr_length) *
sys/geom/raid/md_ddf.c
611
howmany(GET32(sample, hdr->vdr_length) *
sys/geom/raid/md_ddf.c
614
howmany(GET32(sample, hdr->cr_length) *
sys/geom/raid/md_ddf.c
617
howmany(GET32(sample, hdr->pdd_length) *
sys/geom/raid/md_ddf.c
620
howmany(GET32(sample, hdr->bbmlog_length) *
sys/geom/raid/md_ddf.c
623
howmany(GET32(sample, hdr->bbmlog_length) *
sys/geom/raid/md_ddf.c
626
howmany(GET32(sample, hdr->bbmlog_length) *
sys/geom/raid/md_ddf.c
664
pos += GET32(meta, hdr->cd_length);
sys/geom/raid/md_ddf.c
666
pos += GET32(meta, hdr->pdr_length);
sys/geom/raid/md_ddf.c
668
pos += GET32(meta, hdr->vdr_length);
sys/geom/raid/md_ddf.c
670
pos += GET32(meta, hdr->cr_length);
sys/geom/raid/md_ddf.c
672
pos += GET32(meta, hdr->pdd_length);
sys/geom/raid/md_ddf.c
674
GET32(meta, hdr->bbmlog_length) != 0 ? pos : 0xffffffff);
sys/geom/raid/md_ddf.c
675
pos += GET32(meta, hdr->bbmlog_length);
sys/geom/raid/md_ddf.c
677
GET32(meta, hdr->Diagnostic_Space_Length) != 0 ? pos : 0xffffffff);
sys/geom/raid/md_ddf.c
678
pos += GET32(meta, hdr->Diagnostic_Space_Length);
sys/geom/raid/md_ddf.c
680
GET32(meta, hdr->Vendor_Specific_Logs_Length) != 0 ? pos : 0xffffffff);
sys/geom/raid/md_ddf.c
681
pos += min(GET32(meta, hdr->Vendor_Specific_Logs_Length), 1);
sys/geom/raid/md_ddf.c
690
size = GET32(meta, hdr->cd_length) * ss;
sys/geom/raid/md_ddf.c
698
size = GET32(meta, hdr->pdr_length) * ss;
sys/geom/raid/md_ddf.c
723
size = GET32(meta, hdr->vdr_length) * ss;
sys/geom/raid/md_ddf.c
732
size = GET32(meta, hdr->cr_length) * ss;
sys/geom/raid/md_ddf.c
737
size = GET32(meta, hdr->pdd_length) * ss;
sys/geom/raid/md_ddf.c
747
if (GET32(meta, hdr->bbmlog_length) != 0) {
sys/geom/raid/md_ddf.c
748
size = GET32(meta, hdr->bbmlog_length) * ss;
sys/geom/raid/md_ddf.c
766
dst->cdr = malloc(GET32(src, hdr->cd_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
767
memcpy(dst->cdr, src->cdr, GET32(src, hdr->cd_length) * ss);
sys/geom/raid/md_ddf.c
768
dst->pdr = malloc(GET32(src, hdr->pdr_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
769
memcpy(dst->pdr, src->pdr, GET32(src, hdr->pdr_length) * ss);
sys/geom/raid/md_ddf.c
770
dst->vdr = malloc(GET32(src, hdr->vdr_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
771
memcpy(dst->vdr, src->vdr, GET32(src, hdr->vdr_length) * ss);
sys/geom/raid/md_ddf.c
772
dst->cr = malloc(GET32(src, hdr->cr_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
773
memcpy(dst->cr, src->cr, GET32(src, hdr->cr_length) * ss);
sys/geom/raid/md_ddf.c
774
dst->pdd = malloc(GET32(src, hdr->pdd_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
775
memcpy(dst->pdd, src->pdd, GET32(src, hdr->pdd_length) * ss);
sys/geom/raid/md_ddf.c
777
dst->bbm = malloc(GET32(src, hdr->bbmlog_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
778
memcpy(dst->bbm, src->bbm, GET32(src, hdr->bbmlog_length) * ss);
sys/geom/raid/md_ddf.c
793
GET32(src, pdr->entry[i].PD_Reference));
sys/geom/raid/md_ddf.c
852
meta->cdr = malloc(GET32(sample, hdr->cd_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
853
memcpy(meta->cdr, sample->cdr, GET32(sample, hdr->cd_length) * ss);
sys/geom/raid/md_ddf.c
888
GET32(dst, vdc->Sequence_Number))) > 0))
sys/geom/raid/md_ddf.c
895
GET32(dst, bvdc[bvd]->Sequence_Number))) > 0))
sys/geom/raid/md_ddf.c
909
dst->cdr = malloc(GET32(src, hdr->cd_length) * ss, M_MD_DDF, M_WAITOK);
sys/geom/raid/md_ddf.c
910
memcpy(dst->cdr, src->cdr, GET32(src, hdr->cd_length) * ss);
sys/geom/raid/md_ddf.c
968
ref = GET32(meta, pdd->PD_Reference);