/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_label.c | 42 #define BUFSZ 128 macro 117 char *fmtstr, buf[BUFSZ]; in simple_dimm_label() 141 (void) snprintf(buf, BUFSZ, fmtstr, in simple_dimm_label() 178 char *fmtstr, *order, buf[BUFSZ]; in simple_dimm_label_mp() 209 topo_mod_free(mod, order, BUFSZ); in simple_dimm_label_mp() 218 (void) snprintf(buf, BUFSZ, fmtstr, topo_node_instance(chip), in simple_dimm_label_mp() 222 (void) snprintf(buf, BUFSZ, fmtstr, topo_node_instance(chip), in simple_dimm_label_mp() 227 topo_mod_free(mod, order, BUFSZ); in simple_dimm_label_mp() 233 topo_mod_free(mod, order, BUFSZ); in simple_dimm_label_mp() 264 char *fmtstr, *order, buf[BUFSZ]; in seq_dimm_label() [all …]
|
H A D | chip_serial.c | 42 #define BUFSZ 128 macro
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/psvcplugin/ |
H A D | psvcplugin.c | 52 #define BUFSZ 512 macro 113 char buf[BUFSZ]; in count_records() 118 while ((ret = fgets(buf, BUFSZ, fp)) != NULL) { in count_records() 143 char buf[BUFSZ]; in find_file_section() 148 while ((ret = fgets(buf, BUFSZ, fd)) != NULL) { in find_file_section() 307 char buf[BUFSZ]; in load_projected_properties() 321 fgets(buf, BUFSZ, fp); in load_projected_properties()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/ |
H A D | psvcplugin.c | 55 #define BUFSZ 512 macro 590 char buf[BUFSZ]; in get_timeout() 596 cp = fgets(buf, BUFSZ, fp); in get_timeout() 614 char buf[BUFSZ]; in load_interval() 626 cp = fgets(buf, BUFSZ, fp); in load_interval() 658 (void) fgets(buf, BUFSZ, fp); in load_interval() 691 (void) fgets(buf, BUFSZ, fp); /* reads newline on data line */ in load_interval() 692 (void) fgets(buf, BUFSZ, fp); in load_interval() 702 (void) fgets(buf, BUFSZ, fp); in load_interval() 845 char buf[BUFSZ]; in count_records() [all …]
|
/illumos-gate/usr/src/cmd/dispadmin/ |
H A D | dispadmin.c | 58 #define BUFSZ (PATH_MAX + 80) macro 259 char buf[BUFSZ]; in read_default_file() 262 for (line = 1; fgets(buf, BUFSZ, fp) != NULL; line++) { in read_default_file() 263 char name[BUFSZ], value[BUFSZ]; in read_default_file()
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | wordexp.c | 66 #define BUFSZ 256 /* allocation unit of the line buffer */ macro 313 cp = line = malloc(BUFSZ); in wordexp() 320 eob = line + BUFSZ; in wordexp() 336 if ((nl = realloc(line, bs + BUFSZ)) == NULL) { in wordexp() 342 eob = cp + BUFSZ; in wordexp()
|
/illumos-gate/usr/src/uts/sun4v/io/n2rng/ |
H A D | n2rng_kcf.c | 123 #define BUFSZ 64 in ext_info() macro 125 char buf[BUFSZ]; in ext_info() 154 (void) snprintf(buf, BUFSZ, "%s/%d SUNW_N2_RNG", in ext_info() 169 buf[BUFSZ - 1] = '\000'; in ext_info() 173 #undef BUFSZ in ext_info()
|
/illumos-gate/usr/src/cmd/lp/model/ |
H A D | drain.output.c | 52 #define LONG_ENOUGH(BUFSZ,CPS) (1 + ((250 * BUFSZ) / CPS) / 1000) argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/ |
H A D | ipmi_methods.c | 36 #define BUFSZ 128 macro 130 char *fmtstr, buf[BUFSZ]; in ipmi_fru_label() 154 (void) snprintf(buf, BUFSZ, fmtstr, in ipmi_fru_label()
|
/illumos-gate/usr/src/cmd/file/ |
H A D | elf_read.h | 29 #define BUFSZ 128 macro 39 char cap_str[BUFSZ]; /* hw/sw capabilities */
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/ |
H A D | psvcobj.c | 64 #define BUFSZ 512 macro 385 char buf[BUFSZ]; in i_psvc_count_records() 390 while ((ret = fgets(buf, BUFSZ, fp)) != NULL) { in i_psvc_count_records() 412 char buf[BUFSZ]; in i_psvc_count_tables_associations() 417 while ((ret = fgets(buf, BUFSZ, fp)) != NULL) { in i_psvc_count_tables_associations() 436 char string[BUFSZ]; in i_psvc_count_table_records() 2705 char buf[BUFSZ]; in i_psvc_find_file_section() 2710 while ((ret = fgets(buf, BUFSZ, fd)) != NULL) { in i_psvc_find_file_section() 2792 char buf[BUFSZ]; in i_psvc_get_obj() 2816 fgets(buf, BUFSZ, hp->fp); in i_psvc_get_obj() [all …]
|
/illumos-gate/usr/src/test/crypto-tests/tests/common/ |
H A D | testfuncs.c | 29 #define BUFSZ 128 macro 182 char errbuf[BUFSZ] = { 0 }; in test_multi() 183 char sizebuf[BUFSZ] = { 0 }; in test_multi() 271 char errbuf[BUFSZ] = { 0 }; in test_single()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | str_conf.c | 78 #define BUFSZ 512 macro 94 char buf[BUFSZ + 1]; in i_fmodsw_dprintf() 102 (void) vsnprintf(ptr, buf + BUFSZ - ptr, fmt, alist); in i_fmodsw_dprintf()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/ |
H A D | fac_prov_ipmi.c | 45 #define BUFSZ 128 macro 472 char **entity_refs, reading_str[BUFSZ]; in ipmi_sensor_reading() 558 (void) snprintf(reading_str, BUFSZ, "%f", conv_reading); in ipmi_sensor_reading() 1855 char **fmtarr, **entity_refs, buf[BUFSZ]; in ipmi_entity() 1899 (void) snprintf(buf, BUFSZ, fmtarr[i], in ipmi_entity() 1907 (void) snprintf(buf, BUFSZ, fmtarr[i], inst1, inst2); in ipmi_entity() 1940 char **fmtarr, **entity_refs, buf[BUFSZ]; in dimm_ipmi_entity() 1976 (void) snprintf(buf, BUFSZ, fmtarr[i], topo_node_instance(chip), in dimm_ipmi_entity() 2003 char **fmtarr, **entity_refs, buf[BUFSZ]; in cs_ipmi_entity() 2048 (void) snprintf(buf, BUFSZ, fmtarr[i], topo_node_instance(chip), in cs_ipmi_entity()
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_debug.h | 112 #define BUFSZ 256 macro
|
H A D | e1000g_debug.c | 69 auto char buf[BUFSZ]; in e1000g_log()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_sg.c | 740 #define BUFSZ 1024 macro 785 char linebuf[BUFSZ]; /* XXXms make that dynamic */ in ilbadm_export_a_srv() 786 int sz = BUFSZ; in ilbadm_export_a_srv()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.func.c | 80 #define BUFSZ 1028 macro 1497 char buf[BUFSZ]; in plim() 1512 buf[BUFSZ - 1] = '\0'; in plim() 1513 pbuf = ulltostr((limit / lp->limdiv), &buf[BUFSZ - 1]); in plim()
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.h | 193 #define BUFSZ 512 /* default buffer size for archive I/O */ macro
|
H A D | cpio.c | 499 int Bufsize = BUFSZ; /* Default block size */
|
/illumos-gate/usr/src/uts/common/io/efe/ |
H A D | efe.h | 67 #define BUFSZ 1536 macro
|
H A D | efe.c | 1181 efe_buf_t *bp = efe_buf_alloc(dip, BUFSZ); in efe_ring_alloc()
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_define.c | 225 #define BUFSZ 128 in msg() macro 230 char buf[BUFSZ]; in msg() 234 count = vsnprintf(buf, BUFSZ, msg, args); in msg() 239 count = BUFSZ - 1; in msg()
|
/illumos-gate/usr/src/uts/common/io/tpm/ |
H A D | tpm.c | 2067 #undef BUFSZ in tpmrng_ext_info()
|