REPORT_LEN
char *report = kmem_alloc(REPORT_LEN, KM_SLEEP);
len = snprintf(report, REPORT_LEN,
kmem_free(report, REPORT_LEN);
len += snprintf(report + len, REPORT_LEN - len,
len += snprintf(report + len, REPORT_LEN - len,
len += snprintf(report + len, REPORT_LEN - len,
len += snprintf(report + len, REPORT_LEN - len,
len += snprintf(report + len, REPORT_LEN - len,
len += snprintf(report + len, REPORT_LEN - len,
kmem_free(report, REPORT_LEN);