Searched refs:label (Results 1 - 25 of 772) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dasm-inline.c9 asm goto ("g" :::: label);
10 asm volatile goto ("vg" :::: label);
11 asm inline goto ("ig" :::: label);
12 asm volatile inline goto ("vig" :::: label);
13 asm inline volatile goto ("ivg" :::: label);
15 asm goto volatile ("gv" :::: label);
16 asm goto inline ("gi" :::: label);
17 asm goto volatile inline ("gvi" :::: label);
18 asm goto inline volatile ("giv" :::: label);
19 asm volatile goto inline ("vgi" :::: label);
[all...]
H A Dlabel-expr.c6 r = ({ label: 1; });
11 * check-name: label-expr
H A Dasm-empty-clobber.c7 # define JUMP_LABEL(key, label) \
12 _ASM_PTR "1b, %l[" #label "], %c0 \n\t" \
14 : : "i" (key) : : label); \
H A Dcontext.c227 goto label;
228 label:
235 goto label;
238 label:
246 goto label;
249 label:
256 goto label;
259 label:
267 goto label;
270 label
[all...]
/illumos-gate/usr/src/tools/smatch/src/validation/linear/
H A Dunreachable-label0.c3 goto label;
6 label:
H A Dnon-const-case.c22 label:
26 goto label;
/illumos-gate/usr/src/contrib/mDNSResponder/Clients/
H A DClientCommon.h41 extern const char *GetNextLabel(const char *cstr, char label[64]);
H A DClientCommon.c46 const char *GetNextLabel(const char *cstr, char label[64]) argument
48 char *ptr = label;
49 while (*cstr && *cstr != '.') // While we have characters in the label...
70 if (ptr >= label+64) { label[63] = 0; return(NULL); } // Illegal label more than 63 bytes
72 *ptr = 0; // Null-terminate label text
73 if (ptr == label) return(NULL); // Illegal empty label
/illumos-gate/usr/src/tools/smatch/src/validation/mem2reg/
H A Dquadra01.c7 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/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) argument
63 return (BLTYPE(label, type));
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) argument
160 _blinrange(const m_label_t *label, const brange_t *range) argument
180 blinlset(const m_label_t *label, const blset_t lset) argument
248 bsllow(bslabel_t *label) argument
268 bslhigh(bslabel_t *label) argument
326 bslundef(bslabel_t *label) argument
373 setbltype(void *label, uint8_t type) argument
383 bisinvalid(const void *label) argument
[all...]
/illumos-gate/usr/src/cmd/format/
H A Dauto_sense.h44 struct dk_label *label);
48 struct efi_info *label);
51 struct dk_label *label,
56 struct disk_type *auto_direct_get_geom_label(int fd, struct dk_label *label);
H A Dlabel.c28 * This file contains the code relating to label manipulation.
42 #include "label.h"
70 * This routine checks the given label to see if it is valid.
73 checklabel(struct dk_label *label) argument
79 if (label->dkl_magic != DKL_MAGIC)
84 if (checksum(label, CK_CHECKSUM) != 0)
90 * This routine checks or calculates the label checksum, depending on
94 checksum(struct dk_label *label, int mode) argument
105 sp = (short *)label;
107 * Take the xor of all the half-words in the label
256 struct dk_label label; local
467 read_label(int fd, struct dk_label *label) argument
621 get_disk_info(int fd, struct efi_info *label, struct disk_info *disk_info) argument
650 read_efi_label(int fd, struct efi_info *label, struct disk_info *disk_info) argument
676 vtoc64_to_label(struct efi_info *label, struct dk_gpt *vtoc) argument
729 vtoc_to_label(struct dk_label *label, struct extvtoc *vtoc, struct dk_geom *geom, struct dk_cinfo *cinfo) argument
875 label_to_vtoc(struct extvtoc *vtoc, struct dk_label *label) argument
984 dump_label(struct dk_label *label) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dsetlabel.c42 setlabel(const char *label) argument
45 if (!label)
48 (void) strncpy(__pfmt_label, label, sizeof (__pfmt_label) - 1);
/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetlabel.c29 * String to binary label translations.
37 #include <tsol/label.h>
46 * getlabel(3TSOL) - get file label
52 getlabel(const char *path, bslabel_t *label) argument
54 return (syscall(SYS_labelsys, TSOL_GETLABEL, path, label));
58 * fgetlabel(3TSOL) - get file label
63 fgetlabel(int fd, bslabel_t *label) argument
65 return (syscall(SYS_labelsys, TSOL_FGETLABEL, fd, label));
H A Dhextob.c29 * hextob.c - Hexadecimal string to binary label conversion.
40 #include <tsol/label.h>
44 * htobsl - Convert a Hexadecimal label string to a Sensitivity Label.
46 * Entry s = Hexadecimal label string to be converted.
48 * Exit label = Sensitivity Label converted, if successful.
58 htobsl(const char *s, m_label_t *label) argument
66 *label = *l;
72 * htobclear - Convert a Hexadecimal label string to a Clearance.
74 * Entry s = Hexadecimal label string to be converted.
/illumos-gate/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) \
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) \
127 ba label; \
[all...]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_set.c50 int k, label; local
125 label =0;
128 label = 2;
131 if (label > 0)
135 label = 1;
138 if (label > 0)
142 label = 1;
145 if (label > 0)
149 label = 1;
152 if (label >
[all...]
/illumos-gate/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) argument
54 gettext("%s: bad string %s\n"), prog, label);
58 gettext("%s: bad previous label\n"), prog);
63 "\"%s\" at position %d\n"), prog, label, err);
76 m_label_t *label = NULL; local
92 "Usage: %s label\n"), prog);
96 if (str_to_label(argv[1], &label, MAC_LABEL, L_NO_CORRECTION,
101 if ((zone_root = getzonerootbylabel(label))
[all...]
/illumos-gate/usr/src/cmd/tsol/setlabel/
H A Dsetlabel.c30 * setlabel - sets a file label.
43 #include <tsol/label.h>
56 char *label; local
77 label = *argv;
81 if (set_label(*argv++, label) != 0)
89 set_label(char *filename, char *label) argument
108 gettext("%s: Current label is invalid\n"),
112 if (str_to_label(label, &blabel, MAC_LABEL, L_DEFAULT, &err) == -1) {
113 m_label_err(label, err);
123 setlabel(char *filename, bslabel_t *label) argument
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/postreverse/
H A Dpostreverse.h51 char *label; member in struct:_page
58 char *label; member in struct:_header
65 char *label; member in struct:_trailer
/illumos-gate/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"));
81 m_label_t *label = NULL; /* binary labels */ local
82 char ascii[PIPE_BUF]; /* human readable label */
83 char *hex = NULL; /* internal label to print */
84 int err = 0; /* label error */
108 gettext("usage: %s [-c] [human readable label]\n"),
115 /* use label on command line */
119 /* read label fro
[all...]
/illumos-gate/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"));
81 m_label_t *label = NULL; local
82 char hex[PIPE_BUF]; /* internal label */
83 char *ascii = NULL; /* human readable label to print */
84 int err = 0; /* label error */
107 gettext("usage: %s [-c] [hexadecimal label]\n"), argv[0]);
113 /* use label on command line */
117 /* read label fro
[all...]
/illumos-gate/usr/src/cmd/tsol/demo/
H A Dclonebylabel.sh30 # For each sensitivity label dominated by the clearance
35 # $1 is the label upper bound (clearance)
76 # Create missing zones for each label dominated by clearance
79 for label in `lslabels -h "$clearance"`; do
80 zonename=`/bin/grep $label: $ZONECFG | cut -d ":" -f1`
90 zonelabel=`hextoalabel $label`
92 echo or RETURN to skip this label:
97 echo $zonename is already used for another label.
99 echo "$zonename:$label:0::" >> $ZONECFG
/illumos-gate/usr/src/cmd/tsol/getlabel/
H A Dgetlabel.c30 * getlabel - gets file label.
39 #include <tsol/label.h>
49 char *label; local
63 if (label_to_str(fl, &label, M_LABEL, LONG_NAMES) != 0) {
65 "Sensitivity label"));
71 if (label_to_str(fl, &label, M_LABEL, SHORT_NAMES) != 0) {
73 "Sensitivity label"));
79 if (label_to_str(fl, &label, M_LABEL, DEF_NAMES) != 0) {
81 "Sensitivity label"));
87 (void) printf("%s\n", label);
[all...]
/illumos-gate/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) { argument
78 Compartments_t *comps = &label.compartments;
82 bitfinder(label, next_bit + 1);
85 if (label_to_str(&label, &labelstr, M_LABEL,
96 (void) label_to_str(&label,
104 bitfinder(label, next_bit + 1);
122 gettext("lslabels: bad previous label\n"));
141 m_label_t *label local
[all...]

Completed in 292 milliseconds

1234567891011>>