Home
last modified time | relevance | path

Searched refs:label (Results 76 – 100 of 623) sorted by relevance

12345678910>>...25

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpfmt_print.c95 char label[MAXLABEL]; in __pfmt_print() local
100 (void) strlcpy(label, __pfmt_label, MAXLABEL); in __pfmt_print()
105 if (label[0] != '\0' && stream) { in __pfmt_print()
106 if ((status = fputs(label, stream)) < 0) in __pfmt_print()
/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dfaulty.c170 char *label; member
439 if (np->label) in merge_name_list()
440 free(np->label); in merge_name_list()
500 nlp->label = NULL; in alloc_name_list()
754 char *label; in extract_record_info() local
770 nlp->label = strdup(label); in extract_record_info()
805 nlp->label = strdup(label); in extract_record_info()
934 label = padding; in print_line()
965 if (list->label) { in print_name()
1082 l = strlen(label); in print_name_list()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_smbios.c534 char *label = NULL; in chip_label_smbios_get() local
550 TOPO_PROP_LABEL, &label, &err) == -1) in chip_label_smbios_get()
554 if (label != NULL) in chip_label_smbios_get()
555 label = (char *)chip_cleanup_smbios_str(mod, in chip_label_smbios_get()
556 label, LABEL); in chip_label_smbios_get()
580 if (label != NULL && lsmbios_label != NULL) in chip_label_smbios_get()
583 bufsz += chip_strlen(label) + chip_strlen(delim) + in chip_label_smbios_get()
589 if (label != NULL) { in chip_label_smbios_get()
590 (void) strlcpy(buf, label, bufsz); in chip_label_smbios_get()
614 topo_mod_strfree(mod, label); in chip_label_smbios_get()
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus_hba.c263 char *propstrpm, *propstrlabel, *pm, *label; in pci_receptacle_instantiate() local
283 label = propstrlabel; in pci_receptacle_instantiate()
302 if (label) { in pci_receptacle_instantiate()
303 if (topo_node_label_set(recep, label, &err) < 0) { in pci_receptacle_instantiate()
310 label = label + strlen(label) + 1; in pci_receptacle_instantiate()
312 label = NULL; in pci_receptacle_instantiate()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dfmtmsglib.c201 fmtmsg(long classification, const char* label, int severity, const char* text, const char* action, …
243 if (s = (char*)label)
292 if ((mask & MM_label) && label)
300 if ((mask & MM_action) && action || (mask & MM_tag) && (label || tag))
307 if ((mask & MM_tag) && (label || tag))
310 if (!tag || label && !strchr(tag, ':'))
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpreauth.c394 char *label = sc->sam_challenge_label.data; in handle_sam_labels() local
409 label = "Challenge for Enigma Logic mechanism"; in handle_sam_labels()
413 label = "Challenge for Digital Pathways mechanism"; in handle_sam_labels()
417 label = "Challenge for Activcard mechanism"; in handle_sam_labels()
420 label = "Challenge for Enhanced S/Key mechanism"; in handle_sam_labels()
423 label = "Challenge for Traditional S/Key mechanism"; in handle_sam_labels()
426 label = "Challenge for Security Dynamics mechanism"; in handle_sam_labels()
429 label = "Challenge for Security Dynamics mechanism"; in handle_sam_labels()
433 label_len = strlen(label); in handle_sam_labels()
447 strncpy(p, label, label_len); p += label_len; in handle_sam_labels()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcpolicy/
H A Dpsvcpolicy.c314 char label[32]; in check_temp() local
413 temp, label); in check_temp()
430 temp, label); in check_temp()
447 temp, label); in check_temp()
464 temp, label); in check_temp()
535 char label[32]; in psvc_fan_enable_disable_policy_0() local
637 label); in psvc_fan_enable_disable_policy_0()
827 char label[32]; in psvc_hotplug_notifier_policy_0() local
902 char label[32]; in psvc_fan_hotplug_policy_0() local
1072 char label[32]; in psvc_ps_overcurrent_check_policy_0() local
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_ev.c486 uint32_t label; in ef10_ev_rx() local
508 label = EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_QLABEL); in ef10_ev_rx()
538 eersp = &eep->ee_rxq_state[label]; in ef10_ev_rx()
652 uint32_t label; in ef10_ev_tx() local
668 label = EFX_QWORD_FIELD(*eqp, ESF_DZ_TX_QLABEL); in ef10_ev_tx()
670 EFSYS_PROBE2(tx_complete, uint32_t, label, uint32_t, id); in ef10_ev_tx()
673 should_abort = eecp->eec_tx(arg, label, id); in ef10_ev_tx()
956 __in unsigned int label) in ef10_ev_rxlabel_init() argument
961 eersp = &eep->ee_rxq_state[label]; in ef10_ev_rxlabel_init()
972 __in unsigned int label) in ef10_ev_rxlabel_fini() argument
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dbitset.c139 bitset_print(bitset_t *bs, char *label, int width) in bitset_print() argument
154 mdb_printf("%s: empty-set", label); in bitset_print()
158 label_width = strlen(label) + 1; in bitset_print()
184 mdb_printf("%s:", label); in bitset_print()
/illumos-gate/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c81 char *label = NULL; in set_fstyp_properties() local
97 label = rtrim_copy(label_orig, 0); in set_fstyp_properties()
100 if ((label != NULL) && (label[0] != '\0') && in set_fstyp_properties()
101 (u8_validate(label, strlen(label), (char **)NULL, in set_fstyp_properties()
103 libhal_changeset_set_property_string (cs, "volume.label", label); in set_fstyp_properties()
104 libhal_changeset_set_property_string (cs, "info.product", label); in set_fstyp_properties()
110 free(label); in set_fstyp_properties()
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_subr.c1137 impl_scsi_log(dev, label, CE_WARN, buf); in scsi_generic_errmsg()
1153 impl_scsi_log(dev, label, CE_CONT, buf); in scsi_generic_errmsg()
1168 impl_scsi_log(dev, label, CE_CONT, "%s\n", buf); in scsi_generic_errmsg()
1181 impl_scsi_log(dev, label, CE_CONT, buf); in scsi_generic_errmsg()
1205 label, CE_CONT, "%s\n", buf1); in scsi_generic_errmsg()
1207 label, CE_CONT, "FRU: 0x%x (%s)\n", in scsi_generic_errmsg()
1257 v_scsi_log(dev, label, level, fmt, ap); in scsi_log()
1272 v_scsi_log(dev, label, level, fmt, ap); in impl_scsi_log()
1296 label, ddi_get_instance(dev)); in v_scsi_log()
1299 "%s%d:", label, ddi_get_instance(dev)); in v_scsi_log()
[all …]
/illumos-gate/usr/src/uts/common/io/urf/
H A Durf_usbgem.c76 #define CHECK_AND_JUMP(err, label) if (err != USB_SUCCESS) goto label argument
143 #define OUTB(dp, p, v, errp, label) \ argument
151 /* value */ (v))) != USB_SUCCESS) goto label
153 #define OUTW(dp, p, v, errp, label) \ argument
161 /* value */ (v))) != USB_SUCCESS) goto label
164 #define OUTS(dp, p, buf, len, errp, label) \ argument
173 /* size */ (len))) != USB_SUCCESS) goto label
176 #define IN(dp, p, vp, errp, label) \ argument
184 /* valuep */ (vp))) != USB_SUCCESS) goto label
186 #define INS(dp, p, buf, len, errp, label) \ argument
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/
H A Dpsvcpolicy.c412 char label[32]; in psvc_check_temperature_policy_0() local
443 status = psvc_get_attr(hdlp, id, PSVC_LABEL_ATTR, label); in psvc_check_temperature_policy_0()
470 syslog(LOG_ERR, LOWTEMP_CRITICAL_MSG, temp, label); in psvc_check_temperature_policy_0()
474 syslog(LOG_ERR, LOWTEMP_WARNING_MSG, temp, label); in psvc_check_temperature_policy_0()
478 syslog(LOG_ERR, HIGHTEMP_CRITICAL_MSG, temp, label); in psvc_check_temperature_policy_0()
482 syslog(LOG_ERR, HIGHTEMP_WARNING_MSG, temp, label); in psvc_check_temperature_policy_0()
534 char label[32]; in psvc_ps_hotplug_policy_0() local
582 syslog(LOG_ERR, DEVICE_INSERTED_MSG, label); in psvc_ps_hotplug_policy_0()
603 syslog(LOG_ERR, PS_TYPE_MSG, label); in psvc_ps_hotplug_policy_0()
636 syslog(LOG_ERR, DEVICE_REMOVED_MSG, label); in psvc_ps_hotplug_policy_0()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_download.c645 file->label, in emlxs_be_verify_phy()
657 file->label, in emlxs_be_verify_phy()
1054 sizeof (file->label)); in emlxs_be2_validate_image()
1060 sizeof (file->label)); in emlxs_be2_validate_image()
1066 sizeof (file->label)); in emlxs_be2_validate_image()
1072 sizeof (file->label)); in emlxs_be2_validate_image()
1078 sizeof (file->label)); in emlxs_be2_validate_image()
1084 sizeof (file->label)); in emlxs_be2_validate_image()
4253 emlxs_decode_version(file->version, file->label, sizeof (file->label)); in emlxs_validate_version()
4422 fw_image->awc.label, in emlxs_verify_image()
[all …]
H A Demlxs_event.c229 "%s: Unable to allocate event entry.", evt->label); in emlxs_event()
286 "%s[%d]: bp=%p size=%d cnt=%d", entry->evt->label, in emlxs_event()
413 emlxs_vportrscn_event.label); in emlxs_log_vportrscn_event()
492 "%s: Unable to allocate buffer.", emlxs_ct_event.label); in emlxs_log_ct_event()
680 emlxs_dump_event.label); in emlxs_log_dump_event()
1160 emlxs_sd_els_event.label); in emlxs_log_sd_prlo_event()
1198 emlxs_sd_els_event.label); in emlxs_log_sd_lsrjt_event()
1238 emlxs_sd_fabric_event.label); in emlxs_log_sd_fc_bsy_event()
1281 emlxs_sd_fabric_event.label); in emlxs_log_sd_fc_rdchk_event()
1322 emlxs_sd_scsi_event.label); in emlxs_log_sd_scsi_event()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvcobj.c139 char *label; member
224 char *label; member
260 if (strncmp(start, label, strlen(label)) == 0) in find_label()
278 char label[64]; in i_psvc_value() local
294 snprintf(label, sizeof (label), "%s=", attr_str_tab[attr_id]); in i_psvc_value()
295 val = find_label(buf, label); in i_psvc_value()
309 snprintf(label, sizeof (label), "%s=", attr_str_tab[attr_id]); in i_psvc_value()
310 val = find_label(buf, label); in i_psvc_value()
323 snprintf(label, sizeof (label), "%s=", attr_str_tab[attr_id]); in i_psvc_value()
330 label_size = strlen(label); in i_psvc_value()
[all …]
/illumos-gate/usr/src/cmd/ctstat/
H A Dctstat.c181 const char *label; /* field label */ member
449 for (i = 0; common[i].label; i++) in print_verbose()
450 if ((tmp = strlen(common[i].label)) > maxwidth) in print_verbose()
453 for (i = 0; spec[i].label; i++) in print_verbose()
454 if ((tmp = strlen(spec[i].label)) > maxwidth) in print_verbose()
461 for (i = 0; common[i].label; i++) { in print_verbose()
462 tmp = printf("\t%s", common[i].label); in print_verbose()
469 for (i = 0; spec[i].label; i++) { in print_verbose()
470 (void) printf("\t%s%n", spec[i].label, &tmp); in print_verbose()
/illumos-gate/usr/src/tools/smatch/src/validation/linear/
H A Dunreachable-label0.c3 goto label; in foo()
6 label: in foo()
H A Dnon-const-case.c22 label: in bar()
26 goto label; in bar()
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/
H A Dds_util.c51 ddump(const char *label, const void *data, size_t length) in ddump() argument
64 if (label != NULL) in ddump()
65 dprintf("%s\n", label); in ddump()
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_log.c106 const char *label = fmd_log_label(lp); in inj_logfile_read() local
109 if (strcmp(label, "error") != 0) in inj_logfile_read()
110 die("cannot use '%s' log as injector input\n", label); in inj_logfile_read()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSSL.c192 P_MD5(S1, L_S1, label, labellen, rand1, rand1len, rand2, rand2len, in soft_tls_prf()
196 P_SHA1(S2, L_S2, label, labellen, rand1, rand1len, rand2, rand2len, in soft_tls_prf()
240 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, label, labellen); in P_MD5()
261 SOFT_MAC_UPDATE(MD5, &md5_hmac_ctx, label, labellen); in P_MD5()
320 SOFT_MAC_UPDATE(SHA1, &sha1_hmac_ctx, label, labellen); in P_SHA1()
342 SOFT_MAC_UPDATE(SHA1, &sha1_hmac_ctx, label, labellen); in P_SHA1()
1065 uchar_t *label; in soft_ssl_weaken_key() local
1076 label = TLS_CLIENT_KEY_LABEL; in soft_ssl_weaken_key()
1078 soft_tls_prf(secret, secretlen, label, labellen, in soft_ssl_weaken_key()
1081 label = TLS_SERVER_KEY_LABEL; in soft_ssl_weaken_key()
[all …]
/illumos-gate/usr/src/uts/common/io/upf/
H A Dupf_usbgem.c78 #define CHECK_AND_JUMP(val, label) \ argument
79 if ((val) != USB_SUCCESS) { goto label; }
149 #define OUTB(dp, p, v, errp, label) \ argument
158 /* size */ 0)) != USB_SUCCESS) goto label;
160 #define OUTW(dp, p, v, errp, label) \ argument
168 /* value */ (v))) != USB_SUCCESS) goto label
170 #define OUTS(dp, p, buf, len, errp, label) \ argument
179 /* size */ (len))) != USB_SUCCESS) goto label
181 #define INB(dp, p, vp, errp, label) \ argument
191 #define INW(dp, p, vp, errp, label) \ argument
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_name.c215 u_char *label, *bp, *eom; in ns_name_pton2() local
222 label = bp++; in ns_name_pton2()
232 &label, &bp, eom)) in ns_name_pton2()
238 label = bp++; in ns_name_pton2()
272 c = (bp - label - 1); in ns_name_pton2()
277 if (label >= eom) { in ns_name_pton2()
281 *label = c; in ns_name_pton2()
303 label = bp++; in ns_name_pton2()
312 c = (bp - label - 1); in ns_name_pton2()
318 if (label >= eom) { in ns_name_pton2()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_enum.c345 char label[64]; in ipmi_check_entity() local
434 (void) snprintf(label, sizeof (label), "%s ", edp->ed_label); in ipmi_check_entity()
436 label[0] = '\0'; in ipmi_check_entity()
462 len = strlen(label); in ipmi_check_entity()
463 (void) snprintf(label + len, sizeof (label) - len, "%s %d", in ipmi_check_entity()
469 if (topo_node_label_set(tn, label, &err) != 0) { in ipmi_check_entity()
576 cdata.ed_label = label; in ipmi_check_entity()

12345678910>>...25