Home
last modified time | relevance | path

Searched refs:cd_length (Results 1 – 2 of 2) sorted by relevance

/freebsd-11-stable/sys/geom/raid/
HDmd_ddf.c252 printf("Controller Data %u:%u\n", GET32(meta, hdr->cd_section), GET32(meta, hdr->cd_length)); in g_raid_md_ddf_print()
602 SET32(meta, hdr->cd_length, in ddf_meta_create()
603 howmany(GET32(sample, hdr->cd_length) * in ddf_meta_create()
641 SET32(meta, hdr->cd_length, in ddf_meta_create()
662 pos += GET32(meta, hdr->cd_length); in ddf_meta_create()
688 size = GET32(meta, hdr->cd_length) * ss; in ddf_meta_create()
766 dst->cdr = malloc(GET32(src, hdr->cd_length) * ss, M_MD_DDF, M_WAITOK); in ddf_meta_copy()
767 memcpy(dst->cdr, src->cdr, GET32(src, hdr->cd_length) * ss); in ddf_meta_copy()
854 meta->cdr = malloc(GET32(sample, hdr->cd_length) * ss, M_MD_DDF, M_WAITOK); in ddf_vol_meta_create()
855 memcpy(meta->cdr, sample->cdr, GET32(sample, hdr->cd_length) * ss); in ddf_vol_meta_create()
[all …]
HDmd_ddf.h69 uint32_t cd_length; /* Controller_Data_Section_Length */ member