Searched refs:umem_error_buffer (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libumem/common/
H A Dmisc.c54 static char umem_error_buffer[ERR_SIZE] = ""; variable
59 umem_error_buffer[(var)++] = (value); \
79 umem_error_buffer[umem_error_end] = 0;
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c262 char *umem_error_buffer; local
270 if (umem_lookup_by_name("umem_error_buffer", &sym) == -1) {
271 mdb_warn("unable to look up umem_error_buffer");
277 umem_error_buffer = mdb_alloc(bufsize+1, UM_SLEEP | UM_GC);
279 if (mdb_vread(umem_error_buffer, bufsize, (uintptr_t)sym.st_value)
281 mdb_warn("unable to read umem_error_buffer");
285 umem_error_buffer[bufsize] = 0;
288 mdb_printf("%s\n", umem_error_buffer);
290 umem_error_buffer[(umem_error_begin % bufsize) - 1] = 0;
292 &umem_error_buffer[umem_error_begi
[all...]

Completed in 64 milliseconds