Home
last modified time | relevance | path

Searched refs:label (Results 1 – 25 of 739) sorted by relevance

12345678910>>...30

/titanic_51/usr/src/cmd/format/
H A Dlabel.c28 * This file contains the code relating to label manipulation.
42 #include "label.h"
63 static int vtoc_to_label(struct dk_label *label, struct extvtoc *vtoc,
83 static void dump_label(struct dk_label *label);
87 * This routine checks the given label to see if it is valid.
90 checklabel(label) in checklabel() argument
91 register struct dk_label *label; in checklabel()
97 if (label->dkl_magic != DKL_MAGIC)
102 if (checksum(label, CK_CHECKSUM) != 0)
108 * This routine checks or calculates the label checksu
112 checksum(label,mode) checksum() argument
274 struct dk_label label; write_label() local
485 read_label(int fd,struct dk_label * label) read_label() argument
639 get_disk_info(int fd,struct efi_info * label,struct disk_info * disk_info) get_disk_info() argument
668 read_efi_label(int fd,struct efi_info * label,struct disk_info * disk_info) read_efi_label() argument
694 vtoc64_to_label(struct efi_info * label,struct dk_gpt * vtoc) vtoc64_to_label() argument
747 vtoc_to_label(struct dk_label * label,struct extvtoc * vtoc,struct dk_geom * geom,struct dk_cinfo * cinfo) vtoc_to_label() argument
893 label_to_vtoc(struct extvtoc * vtoc,struct dk_label * label) label_to_vtoc() argument
1091 dump_label(label) dump_label() argument
[all...]
H A Dauto_sense.c48 #include "label.h"
183 struct dk_label *label,
190 struct dk_label *label,
194 int build_default_partition(struct dk_label *label,
198 struct dk_label *label);
207 struct dk_label *label);
212 struct dk_label *label);
215 static int auto_label_init(struct dk_label *label);
243 * label type
246 auto_efi_sense(int fd, struct efi_info *label) in auto_efi_sense() argument
457 auto_label_init(struct dk_label * label) auto_label_init() argument
612 new_direct_disk_type(int fd,char * disk_name,struct dk_label * label) new_direct_disk_type() argument
746 auto_direct_get_geom_label(int fd,struct dk_label * label) auto_direct_get_geom_label() argument
773 auto_sense(int fd,int can_prompt,struct dk_label * label) auto_sense() argument
897 generic_disk_sense(int fd,int can_prompt,struct dk_label * label,struct scsi_inquiry * inquiry,struct scsi_capacity_16 * capacity,char * disk_name) generic_disk_sense() argument
1381 use_existing_disk_type(int fd,int can_prompt,struct dk_label * label,struct scsi_inquiry * inquiry,struct disk_type * disk_type,struct scsi_capacity_16 * capacity) use_existing_disk_type() argument
1446 build_default_partition(struct dk_label * label,int ctrl_type) global() argument
1696 find_scsi_disk_type(char * disk_name,struct dk_label * label) global() argument
1804 new_scsi_disk_type(int fd,char * disk_name,struct dk_label * label) global() argument
[all...]
H A Dmenu_command.c55 #include "label.h"
314 err_print("Reading the primary EFI GPT label "); in c_disk()
315 err_print("failed. Using backup label.\n"); in c_disk()
317 err_print("the primary label.\n"); in c_disk()
331 * If the label of the disk is marked dirty, in c_disk()
332 * see if they'd like to label the disk now. in c_disk()
337 err_print("Write label failed\n"); in c_disk()
365 struct dk_label label; in c_type() local
431 if ((tptr = auto_sense(cur_file, 1, &label)) == NULL) { in c_type()
584 err_print("Write label faile in c_type()
1561 struct dk_label label; c_label() local
1860 struct dk_label label; c_backup() local
2106 struct dk_label p_label, b_label, *label; c_verify() local
[all...]
/titanic_51/usr/src/uts/sun4u/vm/
H A Dmach_sfmmu.h85 * label: used as local branch targets
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 TTETOPFN(tte,vaddr,label,scr1,scr2,scr3) global() argument
281 TTE_SET_REF_ML(tte,ttepa,tsbarea,tmp1,tmp2,label) global() argument
330 TTE_SET_REFMOD_ML(tte,ttepa,tsbarea,tmp1,tmp2,label,exitlabel) global() argument
387 MAKE_TSBREG(tsbreg,tsbinfo,vabase,tmp1,tmp2,label) global() argument
412 MAKE_TSBREG_SECTSB(tsbreg,tsb1,tsb2,tmp1,tmp2,tmp3,label) global() argument
475 RESV_OFFSET(tsbinfo,resva,tmp1,label) global() argument
504 GET_1ST_TSBE_PTR(tsbp8k,tsbe_ptr,tmp,label) global() argument
533 GET_2ND_TSB_BASE(tsbp8k,tsbbase,tmp,label) global() argument
573 GET_2ND_TSBE_PTR(tagacc,tsbp8k,tsbe_ptr,tmp1,tmp2,label) global() argument
626 PROBE_TSB(tsbe_ptr,tag,tsbtag,label) global() argument
655 PROBE_1ST_DTSB(tsbe_ptr,vpg_4m,label) global() argument
664 PROBE_2ND_DTSB(tsbe_ptr,vpg_4m,label) global() argument
674 PROBE_1ST_ITSB(tsbe_ptr,vpg_4m,label) global() argument
686 PROBE_2ND_ITSB(tsbe_ptr,vpg_4m,label) global() argument
732 PROBE_SHCTX_DTSB(tsbe_ptr,vpg_4m,label) global() argument
743 PROBE_3RD_DTSB(tsbe_ptr,vpg_4m,label) global() argument
748 PROBE_4TH_DTSB(tsbe_ptr,vpg_4m,label) global() argument
753 PROBE_SHCTX_ITSB(tsbe_ptr,vpg_4m,label) global() argument
766 PROBE_3RD_ITSB(tsbe_ptr,vpg_4m,label) global() argument
771 PROBE_4TH_ITSB(tsbe_ptr,vpg_4m,label) global() argument
783 SAVE_CTX1(traptype,tmp1,tmp2,label) global() argument
[all...]
/titanic_51/usr/src/common/tsol/
H A Dblabel.c29 * bl.c - Binary label operations for kernel and user.
35 #include <sys/tsol/label.h>
40 * bltype - Check the type of a label structure.
42 * Entry label = Address of the label to check.
53 * Returns True if the label is the type requested,
60 bltype(const void *label, uint8_t type) in bltype() argument
63 return (BLTYPE(label, type)); in bltype()
71 * Entry label1, label2 = label levels to compare.
134 * blinrange - Compare a label'
149 blinrange(const m_label_t * label,const m_range_t * range) blinrange() argument
160 _blinrange(const m_label_t * label,const brange_t * range) _blinrange() argument
180 blinlset(const m_label_t * label,const blset_t lset) blinlset() argument
248 bsllow(bslabel_t * label) bsllow() argument
268 bslhigh(bslabel_t * label) bslhigh() argument
326 bslundef(bslabel_t * label) bslundef() argument
373 setbltype(void * label,uint8_t type) setbltype() argument
383 bisinvalid(const void * label) bisinvalid() argument
[all...]
/titanic_51/usr/src/cmd/vi/port/
H A Dex_set.c50 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 > in set()
[all...]
/titanic_51/usr/src/cmd/auditrecord/
H A Daudit_record_attr.txt66 token=label:mandatory_label
94 # is represented by a label and a format.
96 # label=record_id like AUE_ACCEPT
99 # there is no end line; a new label= end the preceding definition
125 # label <= 43
143 label=AUE_ACCEPT
200 label=AUE_ACCESS
223 label=AUE_ACCT
232 label=AUE_ACLSET
239 label
[all...]
H A Dauditrecord.pl132 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 (sor
[all...]
/titanic_51/usr/src/uts/sun4v/vm/
H A Dmach_sfmmu.h75 #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:
323 * label = temporary label
326 #define TTE_SET_REF_ML(tte, ttepa, tsbarea, tmp1, tmp2, label) \ argument
330 bnz,pt %xcc, label/**/
358 TTE_SET_REFMOD_ML(tte,ttepa,tsbarea,tmp1,tmp2,label,exitlabel) global() argument
431 PROBE_1ST_DTSB(tsbe_ptr,vpg_4m,label) global() argument
451 PROBE_1ST_ITSB(tsbe_ptr,vpg_4m,label) global() argument
477 PROBE_2ND_DTSB(tsbe_ptr,vpg_4m,label) global() argument
522 SAVE_CTX1(traptype,ctx1,tmp,label) global() argument
[all...]
/titanic_51/usr/src/cmd/perl/contrib/Sun/Solaris/BSM/
H A D_BSMparse.pm104 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
[all...]
/titanic_51/usr/src/lib/libadm/common/
H A Dgetvol.c48 #define WLABEL_MSG ",\\n\\ \\ or [w] to write a new label on the %s"
49 #define OLABEL_MSG ",\\n\\ \\ or [o] to use the current label anyway"
71 * 0 - okay, label matches
75 * 4 - label does not match
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()
179 ckilabel(char * label,int flag) ckilabel() argument
242 wilabel(char * label) wilabel() argument
287 insert(char * device,char * label,int options,char * prompt) insert() argument
[all...]
/titanic_51/usr/src/cmd/tsol/lslabels/
H A Dlslabels.c29 * lslabels - Display all labels dominating the specified label.
43 #include <tsol/label.h>
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()
122 gettext("lslabels: bad previous label\n")); in label_error()
141 m_label_t *label in main() local
[all...]
/titanic_51/usr/src/uts/sun4v/sys/
H A Dmachclock.h55 #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; \
144 * read the %tick counter. Note the label-less branches.
167 #define RD_TICKCMPR(out, scr1, scr2, label) \ argument
178 WR_TICKCMPR(in,scr1,scr2,label) global() argument
184 GET_NATIVE_TIME(out,scr1,scr2,label) global() argument
228 GET_HRESTIME(hrestsec,hrestnsec,adj,nslt,nano,scr,hrlock,gnt1,gnt2,label) global() argument
254 GET_HRTIME(base,now,nslt,scale,scr,hrlock,gnt1,gnt2,label) global() argument
[all...]
/titanic_51/usr/src/lib/fm/topo/maps/i86pc/
H A Dfan-hc-topology.xmlgen52 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
[all...]
/titanic_51/usr/src/lib/libtsol/common/
H A Dmisc.c28 * Miscellaneous user interfaces to trusted label functions.
39 #include <tsol/label.h>
56 * blinset - Check in a label set.
58 * Entry label = Sensitivity Label to check.
63 * Returns -1, If label set unavailable, or server failure.
64 * 0, If label not in label set.
65 * 1, If label is in the label set.
73 blinset(const bslabel_t *label, cons argument
136 bslvalid(const bslabel_t * label) bslvalid() argument
341 bltocolor_r(const blevel_t * label,size_t size,char * color_name) bltocolor_r() argument
391 bltocolor(const blevel_t * label) bltocolor() argument
[all...]
/titanic_51/usr/src/cmd/tsol/setlabel/
H A Dsetlabel.c30 * setlabel - sets a file label.
43 #include <tsol/label.h>
56 char *label; in main() local
77 label = *argv; in main()
81 if (set_label(*argv++, label) != 0) in main()
89 set_label(char *filename, char *label) in set_label() argument
108 gettext("%s: Current label is invalid\n"), in set_label()
112 if (str_to_label(label, &blabel, MAC_LABEL, L_DEFAULT, &err) == -1) { in set_label()
113 m_label_err(label, err); in set_label()
123 setlabel(char *filename, bslabel_t *label) in setlabel() argument
[all...]
/titanic_51/usr/src/cmd/tsol/getzonepath/
H A Dgetzonepath.c32 * Description: Get the zone pathname associated with a label.
43 #include <tsol/label.h>
48 label_error(const char *label, const int err) in label_error() argument
54 gettext("%s: bad string %s\n"), prog, label); in label_error()
58 gettext("%s: bad previous label\n"), prog); in label_error()
63 "\"%s\" at position %d\n"), prog, label, err); in label_error()
76 m_label_t *label = NULL; in main() local
92 "Usage: %s label\n"), prog); in main()
96 if (str_to_label(argv[1], &label, MAC_LABEL, L_NO_CORRECTION, in main()
101 if ((zone_root = getzonerootbylabel(label)) in main()
[all...]
/titanic_51/usr/src/cmd/tsol/atohexlabel/
H A Datohexlabel.c29 * atohexlabel - Convert a human readable label to its internal
44 #include <tsol/label.h>
61 gettext("atohexlabel: bad previous label\n")); in label_error()
81 m_label_t *label = NULL; /* binary labels */ in main() local
82 char ascii[PIPE_BUF]; /* human readable label */ in main()
83 char *hex = NULL; /* internal label to print */ in main()
84 int err = 0; /* label error */ in main()
108 gettext("usage: %s [-c] [human readable label]\n"), in main()
115 /* use label on command line */ in main()
119 /* read label fro in main()
[all...]
/titanic_51/usr/src/cmd/tsol/hextoalabel/
H A Dhextoalabel.c29 * hextoalabel - Convert an internal label to its human readable
44 #include <tsol/label.h>
61 gettext("hextoalabel: bad previous label\n")); in label_error()
81 m_label_t *label = NULL; in main() local
82 char hex[PIPE_BUF]; /* internal label */ in main()
83 char *ascii = NULL; /* human readable label to print */ in main()
84 int err = 0; /* label error */ in main()
107 gettext("usage: %s [-c] [hexadecimal label]\n"), argv[0]); in main()
113 /* use label on command line */ in main()
117 /* read label fro in main()
[all...]
/titanic_51/usr/src/tools/ndrgen/
H A Dndr_print.c52 switch (np->label) { in print_node()
81 (void) printf("<<lab=%d>>", np->label); in print_node()
85 switch (np->label) { in print_node()
208 if (arg->label != IDENTIFIER) in print_field_attr()
209 fatal_error("invalid label %d", arg->label); in print_field_attr()
215 if (arg->label == IDENTIFIER) { in print_field_attr()
231 if (arg->label == INTEGER) { in print_field_attr()
252 (np->n_m_type->label == IDENTIFIER || in print_declaration()
253 np->n_m_type->label in print_declaration()
[all...]
/titanic_51/usr/src/cmd/cmd-crypto/pktool/
H A Dimport.c116 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 pk_import_pk12_pk11(KMF_HANDLE_T kmfhandle,KMF_CREDENTIAL * p12cred,KMF_CREDENTIAL * tokencred,char * label,char * token_spec,char * filename) pk_import_pk12_pk11() argument
614 pk_import_keys(KMF_HANDLE_T kmfhandle,KMF_KEYSTORE_TYPE kstype,char * token_spec,KMF_CREDENTIAL * cred,char * filename,char * label,char * senstr,char * extstr) pk_import_keys() argument
701 pk_import_rawkey(KMF_HANDLE_T kmfhandle,KMF_KEYSTORE_TYPE kstype,char * token,KMF_CREDENTIAL * cred,char * filename,char * label,KMF_KEY_ALG keyAlg,char * senstr,char * extstr) pk_import_rawkey() argument
805 char *label = NULL; pk_import() local
[all...]
/titanic_51/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dslk.c55 * Flag for initialisation soft label keys once setupterm() has been called.
164 * These label start columns assume 80 columns in order to
307 char *label; in slk_label() local
310 label = NULL; in slk_label()
312 label = __m_screen->_slk._labels[index-1]; in slk_label()
314 return (label); in slk_label()
318 slk_set(int index, const char *label, int justify) in slk_set() argument
323 if ((label == NULL) || *label == '\0') in slk_set()
324 label in slk_set()
332 slk_wset(int index,const wchar_t * label,int justify) slk_wset() argument
[all...]
/titanic_51/usr/src/lib/libshell/common/tests/
H A Dcomvar.sh93 label="Table Viewer"
99 label="Table Viewer Preferences"
109 type=coord var=vieworigin val="0 0" label="Window Position"
112 type=coord var=viewsize val="400 400" label="Window Size"
116 label="Window Colors"
120 label="Window Font Name"
123 type=fontsize var=viewfontsize val=14 label="Window Font Size"
127 type=yesno var=showheader val=no label="Show Header"
130 type=text var=header val="" label="Header"
134 type=yesno var=showfooter val=no label="Show Footer"
[all …]
/titanic_51/usr/src/uts/sun4u/sys/
H A Dfpras_impl.h137 * label: free local numeric label
140 #define FPRAS_INTERVAL(operation, blk, doex, tmp1, tmp2, tmp3, tmp4, label) \ argument
143 brlz,pn tmp1, label/**/f /* not initialized? */ ;\
150 bnz,a,pn %icc, label/**/f /* disabled for this op? */ ;\
156 brz,pn tmp2, label/**/f /* early in startup? */ ;\
166 blu,a,pn %xcc, label/**/f ;\
178 label:
195 * label1: free local numeric label
196 * [label2: free local numeric label]
212 FPRAS_REWRITE_TYPE1(blk,doex,fpq,tmp1,label) global() argument
312 FPRAS_CHECK(operation,doex,label) global() argument
[all...]
/titanic_51/usr/src/cmd/cmd-inet/usr.bin/dns-sd/
H A DClientCommon.c46 const char *GetNextLabel(const char *cstr, char label[64]) in GetNextLabel()
48 char *ptr = label; in GetNextLabel()
49 while (*cstr && *cstr != '.') // While we have characters in the label... in GetNextLabel()
69 if (ptr >= label+64) { label[63] = 0; return(NULL); } // Illegal label more than 63 bytes in GetNextLabel()
71 *ptr = 0; // Null-terminate label text in GetNextLabel()
72 if (ptr == label) return(NULL); // Illegal empty label in GetNextLabel()

12345678910>>...30