/illumos-gate/usr/src/lib/libfru/libfrupicl/ |
H A D | frupicl.c | 137 char *label = NULL; local 146 /* get the label, if any */ 148 &label)) != PICL_SUCCESS) { 154 /* will have a label. */ 158 if (label == NULL) { 162 size_t buf_size = strlen(tmp_name) + strlen(label) + 167 free(label); 171 PICL_PROP_LABEL, label); 176 free(label);
|
/illumos-gate/usr/src/lib/libfru/libfrupicltree/ |
H A D | frupicltree.c | 149 char *label = NULL; local 158 /* get the label, if any */ 160 &label)) != PICL_SUCCESS) { 166 /* will have a label. */ 170 if (label == NULL) { 173 size_t buf_size = strlen(tmp_name) + strlen(label) + 178 free(label); 182 PICL_PROP_LABEL, label); 187 free(label);
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | unix.c | 618 gate_desc_dump(gate_desc_t *gate, const char *label, int header) argument 648 "%<u>%1s%</u> %<u>%3s%</u> %<u>%3s%</u>\n", strlen(label), 652 mdb_printf("%s", label); 709 char label[6]; local 718 (void) mdb_snprintf(label, sizeof (label), "%3d: ", i); 719 gate_desc_dump(&gate, label, i == 0);
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_vdev.c | 61 * 4. Call libzfs to label any whole disks with an EFI label. 158 * about to label it anyway. 354 * label, toggle the write cache on, etc.) as opposed to the full 363 struct dk_gpt *label; local 371 if (efi_alloc_and_init(fd, EFI_NUMPAR, &label) != 0) { 375 efi_free(label); 881 * If the disk was already labeled with an EFI label, we will have gotten the 883 * need to get the devid after we label the disk. 988 nvlist_t *label; local [all...] |
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | ctf.c | 732 * with a label provided by the caller. There are several cases, outlined 736 * 1. matchlbl == NULL - return the index of the most recent label. 737 * 2. matchlbl == "BASE" - return the index of the oldest label. 741 * the type index associated with the label. 755 char *label = sbuf + ctl->ctl_label; local 759 debug(3, "Resurrected label %s type idx %d\n", label, lastidx); 761 tdata_label_add(td, label, lastidx); 765 baselabel = label; 770 if (matchlbl != NULL && streq(label, matchlb 1169 ctf_parse(ctf_header_t *h, caddr_t buf, symit_data_t *si, char *label) argument 1236 ctf_load(char *file, caddr_t buf, size_t bufsz, symit_data_t *si, char *label) argument [all...] |
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_isoch_xmit.c | 527 bp->tb_jump.label = (ixl1394_command_t *) 594 * jump label and next_ixlp later. 616 bp->tb_jump.label = bp->tb_jump.next_ixlp = 625 bp->tb_jump.label = bp->tb_jump.next_ixlp = 649 * label and next_ixlp later. 671 ep->te_jump.label = ep->te_jump.next_ixlp = 713 bep->be_jump.label = (ixl1394_command_t *)&bp->tb_label; 888 itp->it_saved_label = old_jmp->label; 891 new_jmp.label = NULL; 940 * 2. restore the original jump label whic [all...] |
/illumos-gate/usr/src/cmd/praudit/ |
H A D | token.c | 66 #include <tsol/label.h> 137 * exit_token() : Process information label token and display contents 140 * NOTE: At the time of call, the label token id has been retrieved 2203 * label_token() : Process label token and display contents 2206 * NOTE: At the time of call, the label token id has been retrieved 2208 * Format of label token: 2209 * label token id adr_char 2210 * label ID adr_char 2211 * label compartment length adr_char 2212 * label classificatio 2220 static m_label_t *label = NULL; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_labels.c | 42 * Do a platform specific label lookup based on physical slot number. 73 "label=%s\n", __func__, i, ps.ps_label); 81 topo_mod_dprintf(mod, "%s: returning label=%s\n", 88 * Do a platform specific label lookup based on slot name. 92 const char *label, did_t *dp) 94 const char *rlabel = label; 116 if (strcmp(rw.srw_obp, label) == 0) { 142 topo_mod_dprintf(mod, "%s: returning label=%s\n", __func__, 148 * Do a platform specific label lookup based on bus, dev, etc. 185 "label 91 pci_label_slotname_lookup(topo_mod_t *mod, char *platform, const char *label, did_t *dp) argument [all...] |
/illumos-gate/usr/src/common/net/wanboot/ |
H A D | p12misc.c | 614 * The label is printed on one line. One or both dates are printed on 615 * the following line or two, each with it's own indented label in the 618 * label 625 * label - Label to use. If NULL, no line will be printed. 633 sunw_print_times(FILE *fp, prnt_actions_t dowhat, char *label, X509 *cert) argument 637 if (label != NULL) { 638 (void) fprintf(fp, "%s\n", label);
|
/illumos-gate/usr/src/cmd/fs.d/udfs/labelit/ |
H A D | labelit.c | 72 static void label(ud_handle_t, uint32_t); 221 label(udh, set_flags); 246 label(ud_handle_t udh, uint32_t set_flags) function 322 gettext("volume label in %s : %s\n"),
|
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | do_printer.c | 65 extern char *label; 196 if (label) 197 (void) printf(gettext("Printer %s: "), label);
|
/illumos-gate/usr/src/cmd/zinject/ |
H A D | zinject.c | 44 * For label faults, the -L option must be specified. This allows faults 668 err_type_t label = TYPE_INVAL; local 858 if ((label = name_to_type(optarg)) == TYPE_INVAL && 860 (void) fprintf(stderr, "invalid label type " 946 if (translate_device(pool, device, label, &record) != 0)
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | cstyle.pl | 790 my ($pre_tabs, $label, $rest) = ($1, $2, $3); 792 while ($label =~ s/^([^\t]*)(\t+)//) { 795 $_ .= ("\t" x (length($label) / 8)).$rest;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | zone.h | 37 #include <sys/tsol/label.h> 186 uint32_t doi; /* DOI for label */ 187 caddr32_t label; /* label associated with zone */ member in struct:__anon321 202 uint32_t doi; /* DOI for label */ 203 const bslabel_t *label; /* label associated with zone */ member in struct:__anon322 211 #define ZE_LABELINUSE 3 /* label is already in use by some other zone */ 299 #define ZF_HASHED_LABEL 0x2 /* zone has a unique label */ 540 ts_label_t *zone_slabel; /* zone sensitivity label */ [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cpuid.c | 3660 add_cache_prop(dev_info_t *devi, const char *label, const char *type, argument 3669 if (snprintf(buf, sizeof (buf), "%s-%s", label, type) < sizeof (buf)) 3977 add_amd_assoc(dev_info_t *devi, const char *label, uint_t assoc) argument 3983 add_cache_prop(devi, label, assoc_str, assoc); 3986 add_cache_prop(devi, label, fully_assoc, 1); 3992 add_amd_tlb(dev_info_t *devi, const char *label, uint_t assoc, uint_t size) argument 3996 add_cache_prop(devi, label, size_str, size); 3997 add_amd_assoc(devi, label, assoc); 4001 add_amd_cache(dev_info_t *devi, const char *label, argument 4006 add_amd_assoc(devi, label, asso 4020 add_amd_l2_assoc(dev_info_t *devi, const char *label, uint_t assoc) argument 4045 add_amd_l2_tlb(dev_info_t *devi, const char *label, uint_t assoc, uint_t size) argument 4054 add_amd_l2_cache(dev_info_t *devi, const char *label, uint_t size, uint_t assoc, uint_t lines_per_tag, uint_t line_size) argument [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | slice.c | 497 char label[EFI_PART_NAME_LEN + 1]; local 499 (void) snprintf(label, sizeof (label), "%.*s", 501 if (nvlist_add_string(attrs, DM_EFI_NAME, label) != 0) {
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | label.h | 30 #include <sys/tsol/label.h> 51 typedef struct label_set_identifier { /* valid label set identifier */ 56 struct name_fields { /* names for label builder fields */ 65 * The accreditation ranges as specified in the label encodings file. 71 * ACCREDITATION RANGE: section of the label encodings file. 110 #define VIEW_EXTERNAL 0x00400000 /* promote/demote label */ 112 #define NEW_LABEL 0x00000001 /* create a full new label */ 113 #define NO_CORRECTION 0x00000002 /* don't correct label errors */ 121 /* APIs shared with the kernel are in <sys/tsol/label.h */ 170 /* DIA label conversio [all...] |
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/cherrystone/common/ |
H A D | cherrystone.c | 736 char label[PICL_PROPNAMELEN_MAX]; local 764 PICL_PROP_NAME, label, PICL_PROPNAMELEN_MAX); 777 p = strchr(label, '_'); 787 log_printf("%s\t\t%3d\t\t%s\n", label, temp, state);
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | adt_xlate.h | 35 #include <tsol/label.h>
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vcosf.c | 89 #define PREPROCESS(N, index, label) \ 97 goto label; \ 107 goto label; \ 123 goto label; \
|
H A D | __vsinf.c | 89 #define PREPROCESS(N, index, label) \ 97 goto label; \ 107 goto label; \ 127 goto label; \
|
/illumos-gate/usr/src/cmd/vscan/vscanadm/ |
H A D | vscanadm.c | 898 char *label = NULL; local 901 label = ((vs_props_se_t *)props)->vep_engid; 917 if (label) 918 (void) fprintf(stdout, "%s:", label);
|
/illumos-gate/usr/src/cmd/oawk/ |
H A D | Makefile | 67 CERRWARN += -_gcc=-Wno-unused-label
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/frutree/ |
H A D | piclfrutree.c | 592 add_label_prop(picl_nodehdl_t nodeh, char *label) argument 598 if (label == NULL) 602 PICL_PTYPE_CHARSTRING, PICL_READ, strlen(label)+1, "Label", 607 err = ptree_create_and_add_prop(nodeh, &propinfo, label, &proph);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 551 {"label", TOK_LABEL, NEXTLABEL}, 552 {"outer-label", TOK_OLABEL, NEXTLABEL}, 553 {"implicit-label", TOK_IMPLABEL, NEXTLABEL}, 921 #include <tsol/label.h> 926 parselabel(int token, char *label) argument 933 err = str_to_label(label, &sl, MAC_LABEL, L_DEFAULT, NULL); 941 Bail("malloc parsed label"); 964 * Return a different return code for a bad label, but really, 1656 struct sadb_sens *label = NULL, *olabel = NULL; local 2598 label [all...] |