Home
last modified time | relevance | path

Searched refs:mdb_snprintf (Results 1 – 25 of 86) sorted by relevance

1234

/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dproc_ia32dep.c239 p += mdb_snprintf(p, (size_t)(end - p), "|IM"); in fpcw2str()
241 p += mdb_snprintf(p, (size_t)(end - p), "|DM"); in fpcw2str()
243 p += mdb_snprintf(p, (size_t)(end - p), "|ZM"); in fpcw2str()
245 p += mdb_snprintf(p, (size_t)(end - p), "|OM"); in fpcw2str()
247 p += mdb_snprintf(p, (size_t)(end - p), "|UM"); in fpcw2str()
249 p += mdb_snprintf(p, (size_t)(end - p), "|PM"); in fpcw2str()
285 p += mdb_snprintf(p, (size_t)(end - p), "|RD"); in fpcw2str()
289 p += mdb_snprintf(p, (size_t)(end - p), "|RU"); in fpcw2str()
319 p += mdb_snprintf(p, (size_t)(end - p), "|P"); in fpcw2str()
326 p += mdb_snprintf(p, (size_t)(end - p), "|A"); in fpcw2str()
[all …]
H A Dproc_amd64dep.c298 p += mdb_snprintf(p, (size_t)(end - p), "|IM"); in fpcw2str()
300 p += mdb_snprintf(p, (size_t)(end - p), "|DM"); in fpcw2str()
302 p += mdb_snprintf(p, (size_t)(end - p), "|ZM"); in fpcw2str()
304 p += mdb_snprintf(p, (size_t)(end - p), "|OM"); in fpcw2str()
306 p += mdb_snprintf(p, (size_t)(end - p), "|UM"); in fpcw2str()
308 p += mdb_snprintf(p, (size_t)(end - p), "|PM"); in fpcw2str()
344 p += mdb_snprintf(p, (size_t)(end - p), "|RD"); in fpcw2str()
348 p += mdb_snprintf(p, (size_t)(end - p), "|RU"); in fpcw2str()
378 p += mdb_snprintf(p, (size_t)(end - p), "|P"); in fpcw2str()
385 p += mdb_snprintf(p, (size_t)(end - p), "|A"); in fpcw2str()
[all …]
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/common/
H A Dintr_common.c237 (void) mdb_snprintf(ioapic_iline, 10, "- "); in apic_interrupt_dump()
241 (void) mdb_snprintf(ioapic_iline, 10, in apic_interrupt_dump()
247 (void) mdb_snprintf(ioapic_iline, 10, " "); in apic_interrupt_dump()
263 (void) mdb_snprintf(cpu_assigned, 4, "all"); in apic_interrupt_dump()
351 (void) mdb_snprintf(irq, 4, "- "); in apix_interrupt_dump()
352 (void) mdb_snprintf(ioapic_iline, 10, "- "); in apix_interrupt_dump()
363 (void) mdb_snprintf(ioapic_iline, 10, in apix_interrupt_dump()
378 (void) mdb_snprintf(cpu_vector, 10, "%d/0x%x", in apix_interrupt_dump()
436 (void) mdb_snprintf(ioapic_iline, 10, "- "); in apix_interrupt_ipi_dump()
443 mdb_snprintf(cpu_assigned, 4, "all"); in apix_interrupt_ipi_dump()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/emlxs/
H A Demlxs.c113 mdb_snprintf(buffer2, sizeof (buffer2), in emlxs_msgbuf()
117 mdb_snprintf(buffer2, sizeof (buffer2), in emlxs_msgbuf()
130 mdb_snprintf(buffer2, sizeof (buffer2), in emlxs_msgbuf()
143 mdb_snprintf(buffer2, sizeof (buffer2), in emlxs_msgbuf()
253 mdb_snprintf(merge, sizeof (merge), in emlxs_msgbuf()
265 mdb_snprintf(merge, sizeof (merge), in emlxs_msgbuf()
278 mdb_snprintf(merge, sizeof (merge), in emlxs_msgbuf()
290 mdb_snprintf(merge, sizeof (merge), in emlxs_msgbuf()
388 mdb_snprintf(buffer2, sizeof (buffer2), in emlxs_dump()
392 mdb_snprintf(buffer2, sizeof (buffer2), in emlxs_dump()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c89 (void) mdb_snprintf(plat, sizeof (plat), "<%p>", in topo_handle()
98 (void) mdb_snprintf(machine, sizeof (machine), "<%p>", in topo_handle()
104 (void) mdb_snprintf(product, sizeof (product), "<%p>", in topo_handle()
333 (void) mdb_snprintf(scheme, sizeof (scheme), "<%p>", in find_tree_root()
468 (void) mdb_snprintf(buf, sizeof (buf), "<%p>", in dump_tnode()
473 mdb_snprintf(pname, sizeof (pname), "%s", parent); in dump_tnode()
476 mdb_snprintf(pname, sizeof (pname), "%s/%s=%u", in dump_tnode()
485 mdb_snprintf(parent, sizeof (parent), "%s", pname); in dump_tnode()
491 mdb_snprintf(parent, sizeof (parent), "%s", old_pname); in dump_tnode()
547 (void) mdb_snprintf(product, sizeof (product), "<%p>", in fmtopo()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/s1394/
H A Ds1394.c155 (void) mdb_snprintf(tmp, sizeof (tmp), " %2d ", i); in print_node_info()
163 (void) mdb_snprintf(tmp, sizeof (tmp), "----"); in print_node_info()
178 (void) mdb_snprintf(str, sizeof (str), " %2d |", i); in print_node_info()
181 (void) mdb_snprintf(tmp, sizeof (tmp), " %3d", in print_node_info()
193 (void) mdb_snprintf(tmp, sizeof (tmp), in print_node_info()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_create.c72 len = mdb_snprintf(buf, sizeof (buf), "%s/usr/lib/mdb/disasm/%s", in mdb_create_loadable_disasms()
75 len = mdb_snprintf(buf, sizeof (buf), "%s/usr/lib/mdb/disasm", in mdb_create_loadable_disasms()
90 (void) mdb_snprintf(p, sizeof (buf) - len, "/%s", dp->d_name); in mdb_create_loadable_disasms()
H A Dmdb_string.c738 (void) mdb_snprintf(tempbuf, sizeof (tempbuf), "%x:", in convert2ascii()
760 (void) mdb_snprintf(buf, buflen, "%d.%d.%d.%d", in mdb_inet_ntop()
769 (void) mdb_snprintf(buf, buflen, "::ffff:%d.%d.%d.%d", in mdb_inet_ntop()
774 (void) mdb_snprintf(buf, buflen, "::%d.%d.%d.%d", in mdb_inet_ntop()
778 (void) mdb_snprintf(buf, buflen, "::"); in mdb_inet_ntop()
H A Dmdb_nm.c198 n = mdb_snprintf(buf, len, "%s (*)(", arg); in nm_func_signature()
200 n = mdb_snprintf(buf, len, "<%ld> (*)(", f.ctc_return); in nm_func_signature()
212 n = mdb_snprintf(buf, len, "%s%s", sep, arg); in nm_func_signature()
214 n = mdb_snprintf(buf, len, "%s<%ld>", sep, argv[i]); in nm_func_signature()
226 n = mdb_snprintf(buf, len, "%s...", sep); in nm_func_signature()
232 n = mdb_snprintf(buf, len, "void"); in nm_func_signature()
239 (void) mdb_snprintf(buf, len, ")"); in nm_func_signature()
H A Dmdb_disasm.c227 (void) mdb_snprintf(buf, sizeof (buf), "dt=%#x", in libdisasm_lookup()
234 (void) mdb_snprintf(buf, sizeof (buf), "dt=%#x", in libdisasm_lookup()
240 (void) mdb_snprintf(buf, buflen, "%a", (uintptr_t)addr); in libdisasm_lookup()
332 (void) mdb_snprintf(buf, len, in libdisasm_ins2str()
/illumos-gate/usr/src/cmd/mdb/common/modules/svc.configd/
H A Dconfigd.c54 mdb_snprintf(out, size, "? (%d)", val); in enum_lookup()
253 mdb_snprintf(durstr, sizeof (durstr), in request_log()
257 mdb_snprintf(durstr, sizeof (durstr), in request_log()
261 mdb_snprintf(durstr, sizeof (durstr), in request_log()
274 mdb_snprintf(stampstr, sizeof (stampstr), in request_log()
277 mdb_snprintf(stampstr, sizeof (stampstr), in request_log()
281 mdb_snprintf(stampstr, sizeof (stampstr), in request_log()
285 mdb_snprintf(stampstr, sizeof (stampstr), in request_log()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky_subr.c270 (void) mdb_snprintf(name, sizeof (name), "0x%p", addr); in leaky_modctl()
697 (void) mdb_snprintf(sz, sizeof (sz), "%ld", min); in leaky_subr_dump()
699 (void) mdb_snprintf(sz, sizeof (sz), "%ld-%ld", in leaky_subr_dump()
707 (void) mdb_snprintf(c, sizeof (c), in leaky_subr_dump()
710 (void) mdb_snprintf(c, sizeof (c), in leaky_subr_dump()
762 (void) mdb_snprintf(c, sizeof (c), "%a", caller); in leaky_subr_dump()
764 (void) mdb_snprintf(c, sizeof (c), in leaky_subr_dump()
814 (void) mdb_snprintf(c, sizeof (c), in leaky_subr_dump()
817 (void) mdb_snprintf(c, sizeof (c), in leaky_subr_dump()
H A Dthread.c337 mdb_snprintf(out, out_sz, "%s", tsp->ts_name); in thread_state_to_text()
341 mdb_snprintf(out, out_sz, "inval/%02x", state); in thread_state_to_text()
517 (void) mdb_snprintf(stbuf, 20, "%a", t.t_sobj_ops); in thread()
601 (void) mdb_snprintf(buf, bufsize, "tq:%s", tq.tq_name); in thread_getdesc()
603 mdb_snprintf(buf, bufsize, "%a()", t.t_startpc); in thread_getdesc()
631 (void) mdb_snprintf(buf, bufsize, "%s/%u [%s]", in thread_getdesc()
634 (void) mdb_snprintf(buf, bufsize, "%u [%s]", in thread_getdesc()
639 (void) mdb_snprintf(buf, bufsize, "%s/%u", in thread_getdesc()
642 (void) mdb_snprintf(buf, bufsize, "%u", t.t_tid); in thread_getdesc()
722 mdb_snprintf(cmd, sizeof (cmd), "<.$c%d", count); in threadlist()
H A Dirm.c150 mdb_snprintf(devname, sizeof (devname), "%s#%d", driver, in irmpools_dcmd()
153 mdb_snprintf(devname, sizeof (devname), "%s", driver); in irmpools_dcmd()
227 mdb_snprintf(devname, sizeof (devname), "%s#%d", driver, in irmreq_dcmd()
H A Dsobj.c60 mdb_snprintf(out, sz, "<none>"); in sobj_type_to_text()
67 mdb_snprintf(out, sz, "%s", in sobj_type_to_text()
72 mdb_snprintf(out, sz, "<unk:%02x>", type); in sobj_type_to_text()
81 mdb_snprintf(out, sz, "<none>"); in sobj_ops_to_text()
85 mdb_snprintf(out, sz, "??", ops.sobj_type); in sobj_ops_to_text()
523 mdb_snprintf(c, 20, "READERS=%ld", count); in rwlock()
H A Ddist.c221 (void) mdb_snprintf(range, sizeof (range), "%d", bb); in dist_print_bucket()
223 (void) mdb_snprintf(range, sizeof (range), "%d-%d", bb, be); in dist_print_bucket()
H A Dmodhash.c493 (void) mdb_snprintf(tbuf, sizeof (tbuf), "%p", in modhash()
521 (void) mdb_snprintf(keystr, keystrlen, "%?p ", key); in format_strhash()
531 (void) mdb_snprintf(keystr, keystrlen, "%?p ", key); in format_ptrhash()
540 (void) mdb_snprintf(keystr, keystrlen, "%?x", (uint_t)(uintptr_t)key); in format_idhash()
546 (void) mdb_snprintf(keystr, keystrlen, "%?p", key); in format_default()
H A Dndievents.c97 (void) mdb_snprintf(bp, buflen - strlen(path), "/%s", nodename); in dip_to_pathname()
99 (void) mdb_snprintf(bp, buflen - strlen(path), "/%s@%s", in dip_to_pathname()
/illumos-gate/usr/src/cmd/mdb/intel/modules/sata/
H A Dsata.c150 (void) mdb_snprintf(merge, sizeof (merge), in sata_dmsg_dump()
160 (void) mdb_snprintf(merge, sizeof (merge), in sata_dmsg_dump()
178 (void) mdb_snprintf(merge, sizeof (merge), in sata_dmsg_dump()
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_mdb.c427 (void) mdb_snprintf(name, sizeof (name), "<%p>", in module_ustat()
468 (void) mdb_snprintf(name, sizeof (name), "<%p>", in module_stat()
578 (void) mdb_snprintf(buf, sizeof (buf), "<%p>", in fmd_stat()
644 (void) mdb_snprintf(type, sizeof (type), "%u", ev.ev_type); in fmd_event()
661 (void) mdb_snprintf(name, sizeof (name), "%u", ev.ev_state); in fmd_event()
873 (void) mdb_snprintf(uuid, sizeof (uuid), "<%p>", ci.ci_uuid); in fmd_case()
895 (void) mdb_snprintf(name, sizeof (name), "%u", ci.ci_state); in fmd_case()
939 (void) mdb_snprintf(name, sizeof (name), "<%p>", b.buf_name); in fmd_buf()
1115 (void) mdb_snprintf(uuid, sizeof (uuid), "<%p>", a.al_uuid); in fmd_asru_link()
1117 (void) mdb_snprintf(name, sizeof (name), "<%p>", in fmd_asru_link()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c179 mdb_snprintf(typestr, sizeof (typestr), "%s:%#lx", in print_fdisk_part()
182 mdb_snprintf(typestr, sizeof (typestr), "%#lx", ip->systid); in print_fdisk_part()
185 mdb_snprintf(begchs, sizeof (begchs), "%hu/%hu/%hu", in print_fdisk_part()
188 mdb_snprintf(endchs, sizeof (endchs), "%hu/%hu/%hu", in print_fdisk_part()
693 w = mdb_snprintf(NULL, 0, "%u - %u", start, end); in cmd_vtoc()
751 mdb_snprintf(cyls, sizeof (cyls), "%-*u", in cmd_vtoc()
754 mdb_snprintf(cyls, sizeof (cyls), "%u - %u", in cmd_vtoc()
/illumos-gate/usr/src/cmd/mdb/common/modules/logindmux/
H A Dlogindmux.c56 (void) mdb_snprintf(buf, nbytes, "peer rq : %p\nlower wq : %p", in logdmux_uqinfo()
69 (void) mdb_snprintf(buf, nbytes, "peer wq : %p\nupper rq : %p", in logdmux_lqinfo()
/illumos-gate/usr/src/lib/libdisasm/common/
H A Dlinktest_stand.c33 void mdb_snprintf(void) {} in mdb_snprintf() function
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddtrace.c1010 (void) mdb_snprintf(name, sizeof (name), "%s:%s", in dtrace_dcmdprobe()
1451 (void) mdb_snprintf(where, sizeof (where), "next"); in dtrace_helptrace()
1455 (void) mdb_snprintf(where, sizeof (where), "done"); in dtrace_helptrace()
1459 (void) mdb_snprintf(where, sizeof (where), "err"); in dtrace_helptrace()
1463 (void) mdb_snprintf(where, sizeof (where), in dtrace_helptrace()
2489 (void) mdb_snprintf(buf, len, "%.2f%c", in dtrace_options_numtostr()
2492 (void) mdb_snprintf(buf, len, "%.1f%c", in dtrace_options_numtostr()
2502 (void) mdb_snprintf(buf, len, "%dhz", NANOSEC/num); in dtrace_options_numtohz()
2524 (void) mdb_snprintf(buf, len, "%s", policy); in dtrace_options_numtobufpolicy()
2531 (void) mdb_snprintf(buf, len, "%7s", "unbound"); in dtrace_options_numtocpu()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/
H A Dlibc.c51 (void) mdb_snprintf(buf, sizeof (buf), " 0x%x", sp->ss_flags); in stack_flags()
430 (void) mdb_snprintf(buf, sizeof (buffer[0]), "0x%016lx", addr); in prt_addr()
434 (void) mdb_snprintf(buf, sizeof (buffer[0]), "0x%08lx", addr); in prt_addr()
1200 mdb_snprintf(buff, sizeof (buff), in psinfo_raw()
1211 mdb_snprintf(buff, sizeof (buff), in psinfo_raw()
1251 mdb_snprintf(buff, sizeof (buff), "0x%lx", (ulong_t)psinfo.pr_envp); in psinfo_raw()
1306 mdb_snprintf(buff, sizeof (buff), "%ld.%d seconds", in psinfo_sum()
1317 mdb_snprintf(buff, sizeof (buff), "%ld.%d seconds", in psinfo_sum()
1324 mdb_snprintf(buff, sizeof (buff), "%s", psinfo.pr_fname); in psinfo_sum()

1234