/illumos-gate/usr/src/cmd/mdb/common/modules/libc/ |
H A D | libc.c | 52 (void) mdb_snprintf(buf, sizeof (buf), " 0x%x", sp->ss_flags); in stack_flags() 431 (void) mdb_snprintf(buf, sizeof (buffer[0]), "0x%016lx", addr); in prt_addr() 435 (void) mdb_snprintf(buf, sizeof (buffer[0]), "0x%08lx", addr); in prt_addr() 1241 mdb_snprintf(buff, sizeof (buff), in psinfo_raw() 1252 mdb_snprintf(buff, sizeof (buff), in psinfo_raw() 1292 mdb_snprintf(buff, sizeof (buff), "0x%lx", (ulong_t)psinfo.pr_envp); in psinfo_raw() 1347 mdb_snprintf(buff, sizeof (buff), "%ld.%d seconds", in psinfo_sum() 1358 mdb_snprintf(buff, sizeof (buff), "%ld.%d seconds", in psinfo_sum() 1365 mdb_snprintf(buff, sizeof (buff), "%s", psinfo.pr_fname); in psinfo_sum() 1468 mdb_snprintf(buf, sizeof (buf), "0x%p", addr); in d_mutex_walk() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | eft_mdb.c | 235 (void) mdb_snprintf(buf, (size_t)sizeof (buf), "<%p>", in ipath_node() 298 (void) mdb_snprintf(buf, (size_t)sizeof (buf), "<%p>", in eft_count() 387 (void) mdb_snprintf(buf, (size_t)sizeof (buf), "<%p>", in eft_node() 399 (void) mdb_snprintf(buf, (size_t)sizeof (buf), "<%p>", in eft_node() 439 (void) mdb_snprintf(buf, (size_t)sizeof (buf), "<%p>", in eft_node() 500 (void) mdb_snprintf(buf, (size_t)sizeof (buf), "<%p>", in eft_node() 508 (void) mdb_snprintf(buf, (size_t)sizeof (buf), "<%p>", in eft_node()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/ |
H A D | ip.c | 757 mdb_snprintf(ill_name, sizeof (ill_name), "--"); in nce_format() 936 mdb_snprintf(ill_name, sizeof (ill_name), "--"); in ire_format() 1369 mdb_snprintf(exp_csum, 8, "%u", csum); in iphdr() 1371 mdb_snprintf(exp_csum, 8, "<n/a>"); in iphdr() 2219 mdb_snprintf(flagsbuf, sizeof (flagsbuf), "%hb", in ncec_format() 2625 mdb_snprintf(sbuf, sizeof (sbuf), "%*s %3s", in ill_format() 2900 mdb_snprintf(buf, LIFNAMSIZ, "%s:%d", in ipif_format() 2903 mdb_snprintf(buf, LIFNAMSIZ, "%s", ill_name); in ipif_format() 2917 mdb_snprintf(addrstr, sizeof (addrstr), "%N", in ipif_format() 2921 mdb_snprintf(addrstr, sizeof (addrstr), "%I", in ipif_format() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | cyclic.c | 150 (void) mdb_snprintf(&c[depth][x - 1], n, " %d", me); in cyclic_dump_node() 152 (void) mdb_snprintf(&c[depth][x - 1], n, "%3d", me); in cyclic_dump_node() 154 (void) mdb_snprintf(&c[depth][x - 1], n, "%s%2d%s", in cyclic_dump_node() 173 (void) mdb_snprintf(&c[++depth][x - 1], n, "L%d", in cyclic_dump_node() 179 (void) mdb_snprintf(&c[++depth][x - 1], n, "R%d", in cyclic_dump_node()
|
H A D | sysevent.c | 65 if (mdb_snprintf(ev_class, CLASS_FIELD_MAX, "%s", in sysevent_buf() 69 if (mdb_snprintf(ev_subclass, SUBCLASS_FIELD_MAX, "%s", in sysevent_buf()
|
H A D | lgrp.c | 45 count = mdb_snprintf(&tmp, 1, format, start); in print_range() 49 count = mdb_snprintf(&tmp, 1, format, start, end); in print_range()
|
/illumos-gate/usr/src/cmd/mdb/intel/modules/i40e/ |
H A D | i40e.c | 85 size_t s = mdb_snprintf(NULL, 0, "Unknown type (%d)", in i40e_switch_rsrcs_dcmd() 88 (void) mdb_snprintf(buf, s + 1, "Unknown type (%d)", in i40e_switch_rsrcs_dcmd()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_tab.c | 638 (void) mdb_snprintf(buf, len, "%s ", in mdb_tab_typename() 646 (void) mdb_snprintf(buf, len, "%s %s", in mdb_tab_typename() 652 (void) mdb_snprintf(buf, len, "%s", argv[0].a_un.a_str); in mdb_tab_typename()
|
H A D | mdb_linkerset.c | 107 if (mdb_snprintf(symname, sizeof (symname), "%s%s", prefix, name) > in ldset_get_sym() 369 (void) mdb_snprintf(buf, sizeof (buf), "%#r", in linkersets_walk_cb()
|
H A D | mdb_print.c | 180 (void) mdb_snprintf(buf, len, "%s %s", in args_to_typename() 186 (void) mdb_snprintf(buf, len, "%s", argv[0].a_un.a_str); in args_to_typename() 563 (void) mdb_snprintf(tn2, sizeof (tn2), "enum %s", type); in cmd_enum() 1510 (void) mdb_snprintf(type, sizeof (type), "unsigned"); in print_hole() 1512 (void) mdb_snprintf(type, sizeof (type), "uint%d_t", bits); in print_hole() 2028 (void) mdb_snprintf(member, end - start + 1, "%s", in parse_member() 2106 (void) mdb_snprintf(member, end - start + 1, "%s", start); in parse_member() 2176 (void) mdb_snprintf(member, sizeof (member), "%s", start); in cmd_print_tab_common() 2229 (void) mdb_snprintf(member, end - start + 1, start); in cmd_print_tab_common() 2472 (void) mdb_snprintf(buf, sizeof (buf), in cmd_print() [all …]
|
H A D | mdb_ctf.c | 249 (void) mdb_snprintf(buf, sizeof (buf), "%s", cname); in name_to_type() 981 n = mdb_snprintf(*mbc->mbc_bufp, *mbc->mbc_lenp, "%s", name); in offset_to_name_cb() 1045 n = mdb_snprintf(buf, len, "[%u]", index); in mdb_ctf_offset_to_name() 1235 (void) mdb_snprintf(tgtname, sizeof (tgtname), in member_cb() 1283 (void) mdb_snprintf(typename, sizeof (typename), in vread_helper() 1288 (void) mdb_snprintf(mdbtypename, sizeof (mdbtypename), in vread_helper()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/sppp/ |
H A D | sppp.c | 280 (void) mdb_snprintf(buf, nbytes, "minor %d", in sppp_qinfo() 283 (void) mdb_snprintf(buf, nbytes, "sppp%d", in sppp_qinfo() 618 mdb_snprintf(buf, nbytes, "sppp%d client %04X", in sppptun_qinfo() 621 mdb_snprintf(buf, nbytes, "%s", ts.tll.tll_name); in sppptun_qinfo()
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_stubs.c | 56 (void) mdb_snprintf(errnostr, sizeof (errnostr), "Error %d", errnum); in strerror()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dof.c | 278 (void) mdb_snprintf(kind, sizeof (kind), "0x%x", t->dtdt_kind); in dis_typestr() 282 (void) mdb_snprintf(buf, len, in dis_typestr() 286 (void) mdb_snprintf(buf, len, "%s (size %lu)", in dis_typestr() 467 (void) mdb_snprintf(kind, sizeof (kind), in difo() 482 (void) mdb_snprintf(scope, sizeof (scope), in difo() 487 (void) mdb_snprintf(flags, sizeof (flags), "/0x%x", in difo()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | libumem.c | 162 (void) mdb_snprintf(walk, sizeof (walk), "umem_ptc_%d", in umastat_lwp_cache() 242 (void) mdb_snprintf(walk, sizeof (walk), in umastat_cache() 251 (void) mdb_snprintf(buf, sizeof (buf), "%d", nptc); in umastat_cache()
|
H A D | leaky_subr.c | 939 (void) mdb_snprintf(sz, sizeof (sz), "%ld", min); in leaky_subr_dump() 941 (void) mdb_snprintf(sz, sizeof (sz), "%ld-%ld", in leaky_subr_dump() 997 (void) mdb_snprintf(c, sizeof (c), "%a", caller); in leaky_subr_dump() 999 (void) mdb_snprintf(c, sizeof (c), "%s", in leaky_subr_dump()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ufs/ |
H A D | ufs.c | 299 mdb_snprintf(buf, sizeof (buf), "%Y", inode.i_mtime.tv_sec); in inode() 484 len = mdb_snprintf(entry, sizeof (entry), "%d", i); in pbits() 489 len += mdb_snprintf(entry + len, in pbits()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/nfs/ |
H A D | nfs_stat.c | 441 mdb_snprintf(&kstat_line[NFS_STAT_NUM_CLMNS * i], in prt_nfs_stats() 466 mdb_snprintf(val_str, 24, "%ld ", in kstat_prtout()
|
/illumos-gate/usr/src/cmd/mdb/intel/modules/generic_cpu/ |
H A D | gcpu.c | 410 (void) mdb_snprintf(cpuidstr, sizeof (cpuidstr), "%d", in cmihdl_disp() 413 (void) mdb_snprintf(cpuidstr, sizeof (cpuidstr), "-"); in cmihdl_disp() 416 (void) mdb_snprintf(hwidstr, sizeof (hwidstr), "%d/%d/%d", in cmihdl_disp()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mac/ |
H A D | mac.c | 128 mdb_snprintf(buf, len, "0.%03u", kbps); in mac_flow_bw2str() 130 mdb_snprintf(buf, len, "%5u", mbps); in mac_flow_bw2str() 295 mdb_snprintf(flow_flags, 2 * FLOW_MAX_FLAGS, "%hb", in mac_flow_dcmd_output() 297 mdb_snprintf(flow_type, 2 * FLOW_MAX_TYPE, "%hb", in mac_flow_dcmd_output()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mr_sas/ |
H A D | mr_sas.c | 55 mdb_snprintf(result+strlen(result), in construct_path()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/klmmod/ |
H A D | klmmod.c | 64 mdb_snprintf(buf, bufsz, "%I/%d", in nlm_netbuf_str() 71 mdb_snprintf(buf, bufsz, "%N/%d", in nlm_netbuf_str() 108 mdb_snprintf(obuf, size, "? (%d)", val); in get_enum()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/smartpqi/ |
H A D | smartpqi.c | 117 (void) mdb_snprintf(tmpstr, tmplen, "BAD ACTION <0x%x>", in cmd_action_str() 142 (void) mdb_snprintf(tmpstr, tmplen, "<undecoded cmd 0x%x>", scsi_cmd); in mdb_cdb_to_str()
|
/illumos-gate/usr/src/cmd/mdb/ |
H A D | Makefile.mdb | 151 inet_ntop.o := CPPFLAGS += -Dsnprintf=mdb_snprintf
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/ |
H A D | mdb_ks.c | 920 (void) mdb_snprintf(buf, nbytes, "???"); in mdb_qname() 1378 (void) mdb_snprintf(map.map_name, in asmap_step() 1385 (void) mdb_snprintf(map.map_name, MDB_TGT_MAPSZ, in asmap_step() 1717 slen = mdb_snprintf(buf, buflen, "%02x", *addr++); in mdb_mac_addr()
|