LBFSZ
bf = malloc(LBFSZ, M_TEMP, M_WAITOK);
len = snprintf(bf, LBFSZ,
bf = malloc(LBFSZ, M_TEMP, M_WAITOK);
offset += snprintf(&bf[offset], LBFSZ - offset, "Character devices:\n");
if (offset >= LBFSZ)
offset += snprintf(&bf[offset], LBFSZ - offset,
if (offset >= LBFSZ) {
offset += snprintf(&bf[offset], LBFSZ - offset, "\nBlock devices:\n");
if (offset >= LBFSZ) {
offset += snprintf(&bf[offset], LBFSZ - offset,
if (offset >= LBFSZ) {
bf = malloc(LBFSZ, M_TEMP, M_WAITOK);
len = snprintf(bf, LBFSZ,
len += snprintf(&bf[len], LBFSZ - len,
if (len >= LBFSZ)
len += snprintf(&bf[len], LBFSZ - len,
if (len >= LBFSZ)
bf = malloc(LBFSZ, M_TEMP, M_WAITOK);
len = snprintf(bf, LBFSZ,
bf = malloc(LBFSZ, M_TEMP, M_WAITOK);
len = snprintf(bf, LBFSZ,
bf = malloc(LBFSZ, M_TEMP, M_WAITOK);
len = snprintf(bf, LBFSZ,
size_t len = LBFSZ;
bf = malloc(LBFSZ, M_TEMP, M_WAITOK);
len = snprintf(bf, LBFSZ,
bf = malloc(LBFSZ, M_TEMP, M_WAITOK);
root |= procfs_format_sfs(&mtab, &mtabsz, bf, LBFSZ,
(void)procfs_format_sfs(&mtab, &mtabsz, bf, LBFSZ,
bf = malloc(LBFSZ, M_TEMP, M_WAITOK);
len = snprintf(bf, LBFSZ,
bf = malloc(LBFSZ, M_TEMP, M_WAITOK);
offset += snprintf(bf, LBFSZ,
if (offset >= LBFSZ)
offset += snprintf(&bf[offset], LBFSZ - offset,
if (offset >= LBFSZ)
bf = malloc(LBFSZ, M_TEMP, M_WAITOK);
offset += snprintf(bf, LBFSZ,
if (offset >= LBFSZ)
offset += snprintf(&bf[offset], LBFSZ - offset,
if (offset >= LBFSZ)
bf = malloc(LBFSZ, M_TEMP, M_WAITOK);
offset += snprintf(bf, LBFSZ,
if (offset >= LBFSZ)
offset += snprintf(&bf[offset], LBFSZ - offset,
if (offset >= LBFSZ)
bf = malloc(LBFSZ, M_TEMP, M_WAITOK);
offset += snprintf(bf, LBFSZ, "%u\n", value);
if (offset >= LBFSZ)