/illumos-gate/usr/src/cmd/format/ |
H A D | label.c | 73 checklabel(struct dk_label *label) in checklabel() argument 79 if (label->dkl_magic != DKL_MAGIC) in checklabel() 84 if (checksum(label, CK_CHECKSUM) != 0) in checklabel() 94 checksum(struct dk_label *label, int mode) in checksum() argument 105 sp = (short *)label; in checksum() 122 label->dkl_cksum = sum; in checksum() 256 struct dk_label label; in write_label() local 299 (void) memset((char *)&label, 0, sizeof (struct dk_label)); in write_label() 302 label.dkl_pcyl = pcyl; in write_label() 303 label.dkl_ncyl = ncyl; in write_label() [all …]
|
H A D | auto_sense.c | 178 struct dk_label *label, 185 struct dk_label *label, 189 int build_default_partition(struct dk_label *label, 193 struct dk_label *label); 202 struct dk_label *label); 207 struct dk_label *label); 210 static int auto_label_init(struct dk_label *label); 241 auto_efi_sense(int fd, struct efi_info *label) in auto_efi_sense() argument 277 if (get_disk_info(fd, label, disk_info) == -1) { in auto_efi_sense() 288 label->e_parts = vtoc; in auto_efi_sense() [all …]
|
/illumos-gate/usr/src/uts/sun4u/vm/ |
H A D | mach_sfmmu.h | 87 #define SET_SECCTX(cnum, is_shctx, tmp1, tmp2, label) \ argument 89 brnz,pn is_shctx, label##1 ;\ 96 brz,pt tmp1, label##3 ;\ 98 ba,pt %xcc, label##2 ;\ 99 label##1: ;\ 107 label##2: ;\ 111 label##3: 120 #define TSTAT_CHECK_TL1(label, scr1, scr2) \ argument 127 ba label; \ 239 #define TTETOPFN(tte, vaddr, label, scr1, scr2, scr3) \ argument [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/ |
H A D | asm-inline.c | 9 asm goto ("g" :::: label); in foo() 10 asm volatile goto ("vg" :::: label); in foo() 11 asm inline goto ("ig" :::: label); in foo() 12 asm volatile inline goto ("vig" :::: label); in foo() 13 asm inline volatile goto ("ivg" :::: label); in foo() 15 asm goto volatile ("gv" :::: label); in foo() 16 asm goto inline ("gi" :::: label); in foo() 17 asm goto volatile inline ("gvi" :::: label); in foo() 18 asm goto inline volatile ("giv" :::: label); in foo() 19 asm volatile goto inline ("vgi" :::: label); in foo() [all …]
|
H A D | context.c | 227 goto label; in good_goto1() 228 label: in good_goto1() 235 goto label; in good_goto2() 238 label: in good_goto2() 246 goto label; in good_goto3() 249 label: in good_goto3() 256 goto label; in good_goto4() 259 label: in good_goto4() 267 goto label; in good_goto5() 270 label: in good_goto5() [all …]
|
/illumos-gate/usr/src/common/tsol/ |
H A D | blabel.c | 58 bltype(const void *label, uint8_t type) in bltype() argument 61 return (BLTYPE(label, type)); in bltype() 147 blinrange(const m_label_t *label, const m_range_t *range) in blinrange() argument 149 return (BLDOMINATES((label), ((range)->lower_bound)) && in blinrange() 150 BLDOMINATES(((range)->upper_bound), (label))); in blinrange() 158 _blinrange(const m_label_t *label, const brange_t *range) in _blinrange() argument 160 return (BLINRANGE(label, range)); in _blinrange() 178 blinlset(const m_label_t *label, const blset_t lset) in blinlset() argument 185 if (BLEQUAL(label, &lset[i])) in blinlset() 246 bsllow(bslabel_t *label) in bsllow() argument [all …]
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_set.c | 50 int k, label; in set() local 125 label =0; in set() 128 label = 2; in set() 131 if (label > 0) in set() 135 label = 1; in set() 138 if (label > 0) in set() 142 label = 1; in set() 145 if (label > 0) in set() 149 label = 1; in set() 152 if (label > 0) in set() [all …]
|
/illumos-gate/usr/src/cmd/auditrecord/ |
H A D | audit_record_attr.txt | 68 token=label:mandatory_label 96 # is represented by a label and a format. 98 # label=record_id like AUE_ACCEPT 101 # there is no end line; a new label= end the preceding definition 127 # label <= 43 145 label=AUE_ACCEPT 202 label=AUE_ACCESS 225 label=AUE_ACCT 234 label=AUE_ACLSET 241 label=AUE_ADJTIME [all …]
|
H A D | auditrecord.pl | 132 my $label; 136 foreach $label (sort(keys(%event))) { 140 my ($id, $class, $eventDescription) = @{$event{$label}}; 144 my ($skipThisClass, $mask) = classToMask($class, $label); 151 getAttributes($label, $eventDescription); 183 $col3 = $label; 207 printf STDERR ("$errString\n", $label); 223 getFormatLine($item, $label, 256 my $label; 277 foreach $label (sort(keys(%event))) { [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | ktest.h | 228 #define KT_ASSERTG_IMPL(LEFT, OP, RIGHT, TYPE, ctx, label) do { \ argument 238 goto label; \ 242 #define KT_ASSERT3SG(l, op, r, ctx, label) \ argument 243 KT_ASSERTG_IMPL(l, op, r, int64_t, ctx, label) 245 #define KT_ASSERT3UG(l, op, r, ctx, label) \ argument 246 KT_ASSERTG_IMPL(l, op, r, uint64_t, ctx, label) 248 #define KT_ASSERT3PG(l, op, r, ctx, label) \ argument 249 KT_ASSERTG_IMPL(l, op, r, uintptr_t, ctx, label) 251 #define KT_ASSERTG(exp, ctx, label) \ argument 252 KT_ASSERTG_IMPL(exp, ==, B_TRUE, boolean_t, ctx, label) [all …]
|
/illumos-gate/usr/src/uts/sun4v/vm/ |
H A D | mach_sfmmu.h | 75 #define SET_SECCTX(cnum, is_shctx, tmp1, tmp2, label) \ argument 87 #define TSTAT_CHECK_TL1(label, scr1, scr2) \ argument 95 ba label; \ 293 #define TTETOPFN(tte, vaddr, label, scr1, scr2, scr3) \ argument 300 brz,pt scr2, label##1; \ 311 label##1: 326 #define TTE_SET_REF_ML(tte, ttepa, tsbarea, tmp1, tmp2, label) \ argument 330 bnz,pt %xcc, label##2; /* if ref bit set-skip ahead */ \ 333 label##1: \ 337 bne,a,pn %xcc, label##1; \ [all …]
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/BSM/ |
H A D | _BSMparse.pm | 104 my $label; 194 if (/^\s*label\s*=\s*(.*)/i) { 205 $callName = $obj->filterCallName($label, 209 if ($obj->filterLabel($label)) { 210 $attr{$label} = 221 $label = $newLabel; 263 $callName = $obj->filterCallName($label, $callName); 265 if ($obj->filterLabel($label)) { 266 $attr{$label} = [$callName, $description, $title, $skip, 312 my $label = $2; [all …]
|
/illumos-gate/usr/src/tools/smatch/src/validation/mem2reg/ |
H A D | quadra01.c | 7 void *label; \ 9 w##n: label = def(); goto *label; \ 10 x##n: label = def(); goto *label; \ 11 y##n: label = def(); goto *label; \ 12 z##n: label = def(); goto *label; \
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | getvol.c | 94 getvol(char *device, char *label, int options, char *prompt) in getvol() argument 96 return (_getvol(device, label, options, prompt, NULL)); in getvol() 100 _getvol(char *device, char *label, int options, char *prompt, char *norewind) in _getvol() argument 122 if (label) { in _getvol() 123 (void) strncpy(origfsname, label, LABELSIZ); in _getvol() 128 if (pt = strchr(label, ',')) { in _getvol() 138 n = insert(device, label, options, prompt); in _getvol() 160 if (label) { in _getvol() 165 if (ckilabel(label, override)) { in _getvol() 179 ckilabel(char *label, int flag) in ckilabel() argument [all …]
|
/illumos-gate/usr/src/cmd/tsol/lslabels/ |
H A D | lslabels.c | 75 bitfinder(m_label_t label, int next_bit) { in bitfinder() argument 78 Compartments_t *comps = &label.compartments; in bitfinder() 82 bitfinder(label, next_bit + 1); in bitfinder() 85 if (label_to_str(&label, &labelstr, M_LABEL, in bitfinder() 96 (void) label_to_str(&label, in bitfinder() 104 bitfinder(label, next_bit + 1); in bitfinder() 141 m_label_t *label = NULL; /* binary labels */ in main() local 200 if (str_to_label(ascii, &label, MAC_LABEL, L_NO_CORRECTION, in main() 204 if (label_to_str(label, &labelstr, mode, in main() 209 level = &label->classification.class_u.class_chunk; in main() [all …]
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | machclock.h | 55 #define RD_STICK(out, scr1, scr2, label) \ argument 56 .rd_stick.label: \ 63 brnz,pn scr2, .rd_stick.label; \ 79 #define RD_CLOCK_TICK(out, scr1, scr2, label) \ argument 81 RD_STICK(out,scr1,scr2,label) 103 #define RD_TICK(out, scr1, scr2, label) \ argument 104 .rd_tick.label: \ 111 brnz,pn scr2, .rd_tick.label; \ 167 #define RD_TICKCMPR(out, scr1, scr2, label) \ argument 168 .rd_stickcmpr.label: \ [all …]
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | misc.c | 73 blinset(const bslabel_t *label, const set_id *id) in blinset() argument 83 if (BLTYPE(label, SUN_SL_ID) && in blinset() 84 (BLEQUAL(label, &slow) || BLEQUAL(label, &shigh))) in blinset() 96 incall.label = *label; in blinset() 136 bslvalid(const bslabel_t *label) in bslvalid() argument 150 if (BLTYPE(label, SUN_SL_ID) && in bslvalid() 151 (BLEQUAL(label, &slow) || BLEQUAL(label, &shigh))) { in bslvalid() 157 slvcall.label = *label; in bslvalid() 341 bltocolor_r(const blevel_t *label, size_t size, char *color_name) in bltocolor_r() argument 350 ccall.label = *label; in bltocolor_r() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/maps/i86pc/ |
H A D | fan-hc-topology.xmlgen | 52 label => "FT %d", 59 label => "FT %d FM %d", 80 label => "FT %d", 116 label => "FANBD%d", 119 label => "FANBD%d FM%d", 153 label => "FT %d", 174 label => "FANBD%d", 179 label => "FANBD%d FM%d", 207 label => "FANBD%d", 211 label => "FANBD%d FM%d", [all …]
|
/illumos-gate/usr/src/cmd/tsol/setlabel/ |
H A D | setlabel.c | 54 char *label; in main() local 75 label = *argv; in main() 79 if (set_label(*argv++, label) != 0) in main() 87 set_label(char *filename, char *label) in set_label() argument 110 if (str_to_label(label, &blabel, MAC_LABEL, L_DEFAULT, &err) == -1) { in set_label() 111 m_label_err(label, err); in set_label() 121 setlabel(char *filename, bslabel_t *label) in setlabel() argument 125 rval = setflabel(filename, label); in setlabel()
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | import.c | 116 if (certs[i].kmf_private.label != NULL) { in pk_import_pk12_files() 119 certs[i].kmf_private.label, in pk_import_pk12_files() 120 strlen(certs[i].kmf_private.label)); in pk_import_pk12_files() 313 if (certs[i].kmf_private.label != NULL) { in pk_import_pk12_nss() 316 certs[i].kmf_private.label, in pk_import_pk12_nss() 317 strlen(certs[i].kmf_private.label)); in pk_import_pk12_nss() 362 char *label, char *token_spec, char *filename, in pk_import_cert() argument 386 if (label != NULL) { in pk_import_cert() 388 label, strlen(label)); in pk_import_cert() 490 char *label, char *token_spec, in pk_import_pk12_pk11() argument [all …]
|
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | ndr_print.c | 56 switch (np->label) { in print_node() 86 (void) printf("<<lab=%d>>", np->label); in print_node() 90 switch (np->label) { in print_node() 214 if (arg->label != IDENTIFIER) in print_field_attr() 215 fatal_error("invalid label %d", arg->label); in print_field_attr() 221 if (arg->label == IDENTIFIER) { in print_field_attr() 237 if (arg->label == INTEGER) { in print_field_attr() 258 (np->n_m_type->label == IDENTIFIER || in print_declaration() 259 np->n_m_type->label == TYPENAME)) { in print_declaration() 265 if (dnp && dnp->label == STAR) { in print_declaration() [all …]
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | slk.c | 305 char *label; in slk_label() local 308 label = NULL; in slk_label() 310 label = __m_screen->_slk._labels[index-1]; in slk_label() 312 return (label); in slk_label() 316 slk_set(int index, const char *label, int justify) in slk_set() argument 321 if ((label == NULL) || *label == '\0') in slk_set() 322 label = " "; in slk_set() 323 if (mbstowcs(wcs, label, sizeof (wcs)) != (size_t)-1) in slk_set() 330 slk_wset(int index, const wchar_t *label, int justify) in slk_wset() argument 346 if (label == NULL) in slk_wset() [all …]
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | fpras_impl.h | 138 #define FPRAS_INTERVAL(operation, blk, doex, tmp1, tmp2, tmp3, tmp4, label) \ argument 141 brlz,pn tmp1, label##f /* not initialized? */ ;\ 148 bnz,a,pn %icc, label##f /* disabled for this op? */ ;\ 154 brz,pn tmp2, label##f /* early in startup? */ ;\ 164 blu,a,pn %xcc, label##f ;\ 176 label: 210 #define FPRAS_REWRITE_TYPE1(blk, doex, fpq, tmp1, label) \ argument 211 brz,pn doex, label##f ;\ 219 label: 310 #define FPRAS_CHECK(operation, doex, label) \ argument [all …]
|
/illumos-gate/usr/src/cmd/tsol/atohexlabel/ |
H A D | atohexlabel.c | 81 m_label_t *label = NULL; /* binary labels */ in main() local 138 if (str_to_label(ascii, &label, USER_CLEAR, L_NO_CORRECTION, in main() 142 if (label_to_str(label, &hex, M_INTERNAL, DEF_NAMES) != 0) { in main() 147 m_label_free(label); in main() 150 if (str_to_label(ascii, &label, MAC_LABEL, L_NO_CORRECTION, in main() 154 if (label_to_str(label, &hex, M_INTERNAL, DEF_NAMES) != 0) { in main() 159 m_label_free(label); in main()
|
/illumos-gate/usr/src/cmd/tsol/hextoalabel/ |
H A D | hextoalabel.c | 81 m_label_t *label = NULL; in main() local 138 if (str_to_label(hex, &label, USER_CLEAR, L_NO_CORRECTION, in main() 142 if (label_to_str(label, &ascii, M_LABEL, DEF_NAMES) != 0) { in main() 147 m_label_free(label); in main() 150 if (str_to_label(hex, &label, MAC_LABEL, L_NO_CORRECTION, in main() 154 if (label_to_str(label, &ascii, M_LABEL, DEF_NAMES) != 0) { in main() 159 m_label_free(label); in main()
|