Lines Matching refs:cr_length
179 #define GETCRNUM(m) (GET32((m), hdr->cr_length) / \
257 printf("Configuration Recs %u:%u\n", GET32(meta, hdr->cr_section), GET32(meta, hdr->cr_length)); in g_raid_md_ddf_print()
613 SET32(meta, hdr->cr_length, in ddf_meta_create()
614 howmany(GET32(sample, hdr->cr_length) * in ddf_meta_create()
653 SET32(meta, hdr->cr_length, in ddf_meta_create()
670 pos += GET32(meta, hdr->cr_length); in ddf_meta_create()
732 size = GET32(meta, hdr->cr_length) * ss; in ddf_meta_create()
772 dst->cr = malloc(GET32(src, hdr->cr_length) * ss, M_MD_DDF, M_WAITOK); in ddf_meta_copy()
773 memcpy(dst->cr, src->cr, GET32(src, hdr->cr_length) * ss); in ddf_meta_copy()
1144 len = max(len, GET32(meta, hdr->cr_section) + GET32(meta, hdr->cr_length)); in ddf_meta_read()
1166 GET32(meta, hdr->cr_length) * ss >= maxphys || in ddf_meta_read()
1230 GET32(meta, hdr->cr_length) * ss, &error); in ddf_meta_read()
1233 meta->cr = malloc(GET32(meta, hdr->cr_length) * ss, M_MD_DDF, M_WAITOK); in ddf_meta_read()
1234 memcpy(meta->cr, buf, GET32(meta, hdr->cr_length) * ss); in ddf_meta_read()