/illumos-gate/usr/src/cmd/truss/ |
H A D | print.c | 1966 default: (void) snprintf(pri->code_buf, CBSIZE, in sol_optname() 1980 used = snprintf(s, CBSIZE, "|0x%lx", val2); in sol_optname() 2051 default: (void) snprintf(pri->code_buf, in tcp_optname() 2085 default: (void) snprintf(pri->code_buf, in sctp_optname() 2104 default: (void) snprintf(pri->code_buf, in udp_optname() 2165 default: (void) snprintf(pri->code_buf, in ip_optname() 2214 default: (void) snprintf(pri->code_buf, in ipv6_optname() 2227 default: (void) snprintf(pri->code_buf, in icmpv6_optname() 2472 (void) snprintf(s, CBSIZE, "0x%lx", val); in prt_ffg() 2494 (void) snprintf(s + 1, CBSIZE-1, "0x%lx", val); in prt_ffg() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/tests/rpcsec_gss_conn/ |
H A D | rpcsec_gss_conn.c | 90 (void) snprintf(svc_name, sizeof (svc_name), "nfs@%s", host); in main()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/tests/test_svc_tp_create/ |
H A D | test_svc_tp_create.c | 107 snprintf(port_str, sizeof (port_str), "%u", in test_svc_tp_create() 252 snprintf(sysbuf, sizeof (sysbuf), in main() 259 snprintf(sysbuf, sizeof (sysbuf), in main() 265 snprintf(sysbuf, sizeof (sysbuf), in main()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_server.c | 1189 (void) snprintf(pu->u_psargs, sizeof (pu->u_psargs), in smb_server_proc_main()
|
/illumos-gate/usr/src/cmd/smbsrv/smbadm/ |
H A D | smbinfo.c | 380 (void) snprintf(buf, buflen, "%s\\%s", ui->ui_domain, in fmt_user() 385 (void) snprintf(buf, buflen, "%u", ui->ui_posix_uid); in fmt_user() 449 (void) snprintf(buf, buflen, "%" PRIu32, nc->ci_id); in fmt_tree() 486 (void) snprintf(buf, buflen, "%" PRIu16, fi->fi_fid); in fmt_netfileinfo() 489 (void) snprintf(buf, buflen, "%" PRIu32, fi->fi_uniqid); in fmt_netfileinfo() 576 (void) snprintf(buf, buflen, fmt, val); in print_u32() 585 (void) snprintf(buf, buflen, "%" PRId64, (int64_t)amt); in print_age() 603 int n = snprintf(buf, buflen, "%" PRIu32 " days%s", in print_age() 622 (void) snprintf(buf, buflen, "%" PRId64, (int64_t)when); in print_time() 638 (void) snprintf(buf, buflen, "%" PRIx32, val); in print_flags() [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | misc_link.c | 314 (void) snprintf(path, sizeof (path), "%s:%s", in parallel() 322 (void) snprintf(path, sizeof (path), "mcpp%s", buf); in parallel() 343 (void) snprintf(p_path, sizeof (p_path), "%s:%s", devfspath, in ses_callback() 354 (void) snprintf(l_path, sizeof (l_path), "es/ses%s", buf); in ses_callback() 430 (void) snprintf(buf, sizeof (buf), "%s%s", "wifi/", mn); in wifi_minor_name() 508 (void) snprintf(path, sizeof (path), "%s:%s", buf, mn); in printer_create() 515 (void) snprintf(path, sizeof (path), "printers/%s", buf); in printer_create() 591 (void) snprintf(l_path, sizeof (l_path), "%s%s", "gpio", buf); in gpio() 627 (void) snprintf(path, sizeof (path), "%s:%s", buf, minor_str); in av_create() 634 (void) snprintf(path, sizeof (path), "av/%s/%s", buf, minor_str); in av_create() [all …]
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | cpuid.c | 3203 (void) snprintf(destbuf, sizeof (destbuf), in cpuid_patch_retpolines() 3205 (void) snprintf(sourcebuf, sizeof (sourcebuf), in cpuid_patch_retpolines() 5628 (void) snprintf(cpi->cpi_brandstr, sizeof (cpi->cpi_brandstr), in fabricate_brandstr() 6106 return (snprintf(s, n, "%s", cpu->cpu_m.mcpu_cpi->cpi_brandstr)); in cpuid_getbrandstr() 6169 return (snprintf(s, n, fmt_ht, cpi->cpi_chipid, in cpuid_getidstr() 6173 return (snprintf(s, n, fmt, in cpuid_getidstr() 6831 if (snprintf(buf, sizeof (buf), "%s-%s", label, type) < sizeof (buf)) in add_cache_prop()
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-library.man3c.inc | 1189 link path=usr/share/man/man3c/snprintf.3c target=printf.3c
|
/illumos-gate/usr/src/man/man3c/ |
H A D | Makefile | 1251 snprintf.3c \ 2157 snprintf.3c := LINKSRC = printf.3c
|
/illumos-gate/usr/src/lib/libc/port/ |
H A D | mapfile-vers | 1683 snprintf;
|
/illumos-gate/usr/src/test/util-tests/tests/smbios/ |
H A D | smbios.c | 684 (void) snprintf(fname, sizeof (fname), "%s.smbios", in smbios_test_run_one()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_solaris.c | 1546 (void) snprintf((caddr_t)port->spn, in emlxs_fca_bind_port() 1656 (void) snprintf(linkspeed, sizeof (linkspeed), in emlxs_fca_bind_port() 1781 (void) snprintf(port_info->pi_attrs.firmware_version, in emlxs_fca_bind_port() 1795 (void) snprintf(port_info->pi_attrs.driver_version, in emlxs_fca_bind_port() 1928 (void) snprintf(port_info->pi_attrs.hardware_version, in emlxs_fca_bind_port() 4178 (void) snprintf(buffer, (sizeof (buffer)-1), in emlxs_fca_port_manage() 4204 (void) snprintf(buffer, (sizeof (buffer)-1), in emlxs_fca_port_manage() 4740 (void) snprintf(pm->pm_stat_buf, pm->pm_stat_len, in emlxs_fca_port_manage() 5609 (void) snprintf((char *)rnid->global_id, in emlxs_fca_port_manage() 6749 (void) snprintf(string, sizeof (string), in emlxs_mode_init_masks() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_ioctl.c | 3958 if (snprintf(namebuf, sizeof (namebuf), "%s/%s", in zfs_ioc_destroy() 4199 (void) snprintf(fullname, sizeof (fullname), "%s@%s", fsname, snapname); in recursive_unmount()
|
H A D | spa_misc.c | 1549 (void) snprintf(type, sizeof (type), "bswap %s %s", in snprintf_blkptr() 1564 SNPRINTF_BLKPTR(snprintf, ' ', buf, buflen, bp, type, checksum, in snprintf_blkptr()
|
/illumos-gate/usr/src/uts/intel/pcbe/ |
H A D | opteron_pcbe.c | 606 (void) snprintf(amd_pcbe_impl_name, sizeof (amd_pcbe_impl_name), in opt_pcbe_init() 609 (void) snprintf(amd_pcbe_impl_name, sizeof (amd_pcbe_impl_name), in opt_pcbe_init()
|
/illumos-gate/usr/src/uts/intel/io/amdzen/ |
H A D | amdzen.c | 2302 if (snprintf(buf, sizeof (buf), "%d", acd->acd_addr) >= in amdzen_bus_ctl()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/zen/ |
H A D | topo_zen.c | 543 if (snprintf(name, sizeof (name), "cpu_info%d", cpu_id) >= in topo_zen_map_common_chip_info()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | biosdisk.c | 735 snprintf(line, sizeof (line), in bd_print_common() 758 snprintf(line, sizeof (line), " %s%d", in bd_print_common()
|
H A D | comconsole.c | 243 snprintf(name, sizeof (name), "%s-mode", cp->c_name); in comc_probe() 256 snprintf(name, sizeof (name), "%s-ignore-cd", cp->c_name); in comc_probe() 265 snprintf(value, sizeof (value), "%s", in comc_probe() 270 snprintf(name, sizeof (name), "%s-rts-dtr-off", cp->c_name); in comc_probe() 279 snprintf(value, sizeof (value), "%s", in comc_probe() 284 snprintf(name, sizeof (name), "%s-pcidev", cp->c_name); in comc_probe() 481 snprintf(name, sizeof (name), "%s-spcr-mode", cp->c_name); in comc_mode_set()
|
/illumos-gate/usr/src/lib/libnvme/common/ |
H A D | libnvme_wdc.c | 70 (void) snprintf(msg, msglen, "field %s (%s) value 0x%" PRIx64 in nvme_wdc_e6_field_valid_offset()
|
/illumos-gate/usr/src/common/nvme/ |
H A D | nvme_log.c | 73 (void) snprintf(msg, msglen, "controller does not support field %s " in nvme_log_field_supported_offset() 87 (void) snprintf(msg, msglen, "%s (%s) value 0x%" PRIx64 " is " in nvme_log_field_valid_offset() 112 (void) snprintf(msg, msglen, "%s (%s) value 0x%" PRIx64 " is " in nvme_log_field_valid_size()
|
/illumos-gate/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm.c | 697 (void) snprintf(name, sizeof (name), "%s%d", di_driver_name(di), in nvmeadm_ctrl_disc_cb()
|
H A D | nvmeadm_ofmt.c | 91 ret = snprintf(buf, buflen, "%u.%u", vers->v_major, in nvmeadm_list_common_ofmt_cb() 157 ret = snprintf(buf, buflen, "%u", nvme_ns_info_nsid(ns)); in nvmeadm_list_nsid_ofmt_cb() 169 ret = snprintf(buf, buflen, "%" PRIu64, val); in nvmeadm_list_nsid_ofmt_cb() 177 ret = snprintf(buf, buflen, "%" PRIu64, val); in nvmeadm_list_nsid_ofmt_cb() 185 ret = snprintf(buf, buflen, "%" PRIu64, val); in nvmeadm_list_nsid_ofmt_cb() 301 ret = snprintf(buf, buflen, "unknown (0x%x)", in nvmeadm_list_logs_ofmt_cb() 322 ret = snprintf(buf, buflen, "%" PRIu64, alloc); in nvmeadm_list_logs_ofmt_cb() 345 ret = snprintf(buf, buflen, "unknown (0x%x)", in nvmeadm_list_logs_ofmt_cb() 466 ret = snprintf(buf, buflen, "unknown (0x%x)", in nvmeadm_list_features_ofmt_cb() 504 ret = snprintf(buf, buflen, "%" PRIu64, in nvmeadm_list_features_ofmt_cb() [all …]
|
/illumos-gate/usr/src/lib/libnwam/common/ |
H A D | libnwam_values.c | 913 (void) snprintf(string, NWAM_MAX_VALUE_LEN, in nwam_condition_to_condition_string() 924 (void) snprintf(string, NWAM_MAX_VALUE_LEN, in nwam_condition_to_condition_string()
|
/illumos-gate/usr/src/cmd/fm/fmdump/common/ |
H A D | fmdump.c | 145 (void) snprintf(buf, len, "0x%llx", rp->rec_sec); in fmdump_date() 156 (void) snprintf(buf + sz, len - sz, ".%4.4llu", in fmdump_date() 170 (void) snprintf(buf, len, "0x%llx", rp->rec_sec); in fmdump_year() 608 (void) snprintf(str, len, "%s/%s", dirname, logname); in addlink() 1176 (void) snprintf(logpath, PATH_MAX, in aggregate() 1487 (void) snprintf(ifile, PATH_MAX, "%s/var/fm/fmd/%slog%s", in main()
|