/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | proc_x86util.c | 62 p += mdb_snprintf(p, (size_t)(end - p), "|IM"); in fpcw2str() 64 p += mdb_snprintf(p, (size_t)(end - p), "|DM"); in fpcw2str() 66 p += mdb_snprintf(p, (size_t)(end - p), "|ZM"); in fpcw2str() 68 p += mdb_snprintf(p, (size_t)(end - p), "|OM"); in fpcw2str() 70 p += mdb_snprintf(p, (size_t)(end - p), "|UM"); in fpcw2str() 72 p += mdb_snprintf(p, (size_t)(end - p), "|PM"); in fpcw2str() 108 p += mdb_snprintf(p, (size_t)(end - p), "|RD"); in fpcw2str() 112 p += mdb_snprintf(p, (size_t)(end - p), "|RU"); in fpcw2str() 142 p += mdb_snprintf(p, (size_t)(end - p), "|P"); in fpcw2str() 149 p += mdb_snprintf(p, (size_t)(end - p), "|A"); in fpcw2str() [all …]
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/common/ |
H A D | intr_common.c | 236 (void) mdb_snprintf(ioapic_iline, 10, "- "); in apic_interrupt_dump() 240 (void) mdb_snprintf(ioapic_iline, 10, in apic_interrupt_dump() 246 (void) mdb_snprintf(ioapic_iline, 10, " "); in apic_interrupt_dump() 262 (void) mdb_snprintf(cpu_assigned, 4, "all"); in apic_interrupt_dump() 350 (void) mdb_snprintf(irq, 4, "- "); in apix_interrupt_dump() 351 (void) mdb_snprintf(ioapic_iline, 10, "- "); in apix_interrupt_dump() 362 (void) mdb_snprintf(ioapic_iline, 10, in apix_interrupt_dump() 377 (void) mdb_snprintf(cpu_vector, 10, "%d/0x%x", in apix_interrupt_dump() 435 (void) mdb_snprintf(ioapic_iline, 10, "- "); in apix_interrupt_ipi_dump() 442 mdb_snprintf(cpu_assigned, 4, "all"); in apix_interrupt_ipi_dump() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/emlxs/ |
H A D | emlxs.c | 113 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/nfs/ |
H A D | common.c | 92 sz = 1 + mdb_snprintf(NULL, 0, fmt, lp->m_spin.m_spinlock, in common_mutex() 95 (void) mdb_snprintf(s, sz, fmt, lp->m_spin.m_spinlock, in common_mutex() 107 sz = 1 + mdb_snprintf(NULL, 0, fmt, MUTEX_OWNER(lp), in common_mutex() 110 (void) mdb_snprintf(s, sz, fmt, MUTEX_OWNER(lp), in common_mutex() 130 sz = 1 + mdb_snprintf(NULL, 0, "owner %p%s%s%s", o, hw, ww, wl); in common_rwlock() 132 (void) mdb_snprintf(s, sz, "owner %p%s%s%s", o, hw, ww, wl); in common_rwlock() 158 sz = 1 + mdb_snprintf(NULL, 0, "%I:%d", in->sin_addr.s_addr, in common_netbuf_str() 161 (void) mdb_snprintf(s, sz, "%I:%d", in->sin_addr.s_addr, in common_netbuf_str() 174 sz = 1 + mdb_snprintf(NULL, 0, "[%N]:%d", in common_netbuf_str() 177 (void) mdb_snprintf(s, sz, "[%N]:%d", in6->sin6_addr.s6_addr, in common_netbuf_str()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/ |
H A D | libtopo.c | 89 (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 D | s1394.c | 155 (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 D | mdb_create.c | 72 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 D | mdb_string.c | 738 (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 D | mdb_nm.c | 198 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 D | mdb_modapi.c | 77 return (mdb_snprintf(buf, len, "%u.%0*u", whole, frac_digits, frac)); in mdb_snprintfrac() 95 (void) mdb_snprintf(buf, MDB_NICENUM_BUFLEN, "%llu", in mdb_nicenum() 106 (void) mdb_snprintf(buf, MDB_NICENUM_BUFLEN, "%llu%s", in mdb_nicenum() 122 (void) mdb_snprintf(buf, buflen, "0ns"); in mdb_nicetime() 136 (void) mdb_snprintf(buf, buflen, "t%s%lld%cs", in mdb_nicetime() 158 (void) mdb_snprintf(daybuf, sizeof (daybuf), "%llud ", days); in mdb_nicetime() 161 (void) mdb_snprintf(fracbuf, sizeof (fracbuf), ".%llu", frac); in mdb_nicetime() 163 (void) mdb_snprintf(buf, buflen, "t%s%s%02llu:%02llu:%02llu%s", in mdb_nicetime() 389 mdb_snprintf(char *buf, size_t nbytes, const char *format, ...) in mdb_snprintf() function
|
H A D | mdb_disasm.c | 227 (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() 331 (void) mdb_snprintf(buf, len, in libdisasm_ins2str()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/svc.configd/ |
H A D | configd.c | 54 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 D | leaky_subr.c | 270 (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 D | thread.c | 337 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 D | irm.c | 150 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 D | sobj.c | 60 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 D | dist.c | 219 (void) mdb_snprintf(range, sizeof (range), "%d", bb); in dist_print_bucket() 221 (void) mdb_snprintf(range, sizeof (range), "%d-%d", bb, be); in dist_print_bucket()
|
H A D | modhash.c | 493 (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 D | ndievents.c | 97 (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 D | sata.c | 150 (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 D | fmd_mdb.c | 427 (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 D | disk_label.c | 179 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 D | logindmux.c | 54 (void) mdb_snprintf(buf, nbytes, "peer rq : %p\nlower wq : %p", in logdmux_uqinfo() 67 (void) mdb_snprintf(buf, nbytes, "peer wq : %p\nupper rq : %p", in logdmux_lqinfo()
|
/illumos-gate/usr/src/lib/libdisasm/common/ |
H A D | linktest_stand.c | 33 void mdb_snprintf(void) {} in mdb_snprintf() function
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dtrace.c | 1010 (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 …]
|