Lines Matching refs:pdd_length
258 …printf("Physical Disk Recs %u:%u\n", GET32(meta, hdr->pdd_section), GET32(meta, hdr->pdd_length)… in g_raid_md_ddf_print()
616 SET32(meta, hdr->pdd_length, in ddf_meta_create()
617 howmany(GET32(sample, hdr->pdd_length) * in ddf_meta_create()
656 SET32(meta, hdr->pdd_length, in ddf_meta_create()
672 pos += GET32(meta, hdr->pdd_length); in ddf_meta_create()
737 size = GET32(meta, hdr->pdd_length) * ss; in ddf_meta_create()
774 dst->pdd = malloc(GET32(src, hdr->pdd_length) * ss, M_MD_DDF, M_WAITOK); in ddf_meta_copy()
775 memcpy(dst->pdd, src->pdd, GET32(src, hdr->pdd_length) * ss); in ddf_meta_copy()
1145 len = max(len, GET32(meta, hdr->pdd_section) + GET32(meta, hdr->pdd_length)); in ddf_meta_read()
1167 GET32(meta, hdr->pdd_length) * ss >= maxphys || in ddf_meta_read()
1239 GET32(meta, hdr->pdd_length) * ss, &error); in ddf_meta_read()
1242 meta->pdd = malloc(GET32(meta, hdr->pdd_length) * ss, M_MD_DDF, M_WAITOK); in ddf_meta_read()
1243 memcpy(meta->pdd, buf, GET32(meta, hdr->pdd_length) * ss); in ddf_meta_read()
1341 size = GET32(meta, hdr->pdd_length) * ss; in ddf_meta_write()