Lines Matching refs:bbmlog_length
259 …"BBM Log %u:%u\n", GET32(meta, hdr->bbmlog_section), GET32(meta, hdr->bbmlog_length)); in g_raid_md_ddf_print()
619 SET32(meta, hdr->bbmlog_length, in ddf_meta_create()
620 howmany(GET32(sample, hdr->bbmlog_length) * in ddf_meta_create()
623 howmany(GET32(sample, hdr->bbmlog_length) * in ddf_meta_create()
626 howmany(GET32(sample, hdr->bbmlog_length) * in ddf_meta_create()
658 SET32(meta, hdr->bbmlog_length, 0); in ddf_meta_create()
674 GET32(meta, hdr->bbmlog_length) != 0 ? pos : 0xffffffff); in ddf_meta_create()
675 pos += GET32(meta, hdr->bbmlog_length); in ddf_meta_create()
747 if (GET32(meta, hdr->bbmlog_length) != 0) { in ddf_meta_create()
748 size = GET32(meta, hdr->bbmlog_length) * ss; in ddf_meta_create()
777 dst->bbm = malloc(GET32(src, hdr->bbmlog_length) * ss, M_MD_DDF, M_WAITOK); in ddf_meta_copy()
778 memcpy(dst->bbm, src->bbm, GET32(src, hdr->bbmlog_length) * ss); in ddf_meta_copy()
1147 len = max(len, val + GET32(meta, hdr->bbmlog_length)); in ddf_meta_read()
1168 GET32(meta, hdr->bbmlog_length) * ss >= maxphys) { in ddf_meta_read()
1253 GET32(meta, hdr->bbmlog_length) != 0) { in ddf_meta_read()
1255 GET32(meta, hdr->bbmlog_length) * ss, &error); in ddf_meta_read()
1258 meta->bbm = malloc(GET32(meta, hdr->bbmlog_length) * ss, M_MD_DDF, M_WAITOK); in ddf_meta_read()
1259 memcpy(meta->bbm, buf, GET32(meta, hdr->bbmlog_length) * ss); in ddf_meta_read()
1349 if (GET32(meta, hdr->bbmlog_length) != 0) { in ddf_meta_write()
1350 size = GET32(meta, hdr->bbmlog_length) * ss; in ddf_meta_write()