Lines Matching refs:pdr_length
255 …printf("Physical Disk %u:%u\n", GET32(meta, hdr->pdr_section), GET32(meta, hdr->pdr_length)… in g_raid_md_ddf_print()
607 SET32(meta, hdr->pdr_length, in ddf_meta_create()
608 howmany(GET32(sample, hdr->pdr_length) * in ddf_meta_create()
645 SET32(meta, hdr->pdr_length, in ddf_meta_create()
666 pos += GET32(meta, hdr->pdr_length); in ddf_meta_create()
698 size = GET32(meta, hdr->pdr_length) * ss; in ddf_meta_create()
768 dst->pdr = malloc(GET32(src, hdr->pdr_length) * ss, M_MD_DDF, M_WAITOK); in ddf_meta_copy()
769 memcpy(dst->pdr, src->pdr, GET32(src, hdr->pdr_length) * ss); in ddf_meta_copy()
1142 len = max(len, GET32(meta, hdr->pdr_section) + GET32(meta, hdr->pdr_length)); in ddf_meta_read()
1164 GET32(meta, hdr->pdr_length) * ss >= maxphys || in ddf_meta_read()
1186 GET32(meta, hdr->pdr_length) * ss, &error); in ddf_meta_read()
1189 meta->pdr = malloc(GET32(meta, hdr->pdr_length) * ss, M_MD_DDF, M_WAITOK); in ddf_meta_read()
1190 memcpy(meta->pdr, buf, GET32(meta, hdr->pdr_length) * ss); in ddf_meta_read()
1313 size = GET32(meta, hdr->pdr_length) * ss; in ddf_meta_write()
2937 GET32(&pd->pd_meta, hdr->pdr_length) * in g_raid_md_write_ddf()