/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/dns-sd/ |
H A D | ClientCommon.h | 41 extern const char *GetNextLabel(const char *cstr, char label[64]);
|
H A D | ClientCommon.c | 46 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... 69 if (ptr >= label+64) { label[63] = 0; return(NULL); } // Illegal label more than 63 bytes 71 *ptr = 0; // Null-terminate label text 72 if (ptr == label) return(NULL); // Illegal empty label
|
/illumos-gate/usr/src/common/tsol/ |
H A D | blabel.c | 29 * 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 D | auto_sense.h | 44 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 D | label.c | 28 * 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) 91 register struct dk_label *label; 97 if (label->dkl_magic != DKL_MAGIC) 102 if (checksum(label, CK_CHECKSUM) != 0) 108 * This routine checks or calculates the label checksu 274 struct dk_label label; local 485 read_label(int fd, struct dk_label *label) argument 639 get_disk_info(int fd, struct efi_info *label, struct disk_info *disk_info) argument 668 read_efi_label(int fd, struct efi_info *label, struct disk_info *disk_info) argument 694 vtoc64_to_label(struct efi_info *label, struct dk_gpt *vtoc) argument 747 vtoc_to_label(struct dk_label *label, struct extvtoc *vtoc, struct dk_geom *geom, struct dk_cinfo *cinfo) argument 893 label_to_vtoc(struct extvtoc *vtoc, struct dk_label *label) argument [all...] |
H A D | auto_sense.c | 48 #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) argument 457 auto_label_init(struct dk_label *label) argument 609 new_direct_disk_type( int fd, char *disk_name, struct dk_label *label) argument 746 auto_direct_get_geom_label(int fd, struct dk_label *label) argument 770 auto_sense( int fd, int can_prompt, struct dk_label *label) argument 894 generic_disk_sense( int fd, int can_prompt, struct dk_label *label, struct scsi_inquiry *inquiry, struct scsi_capacity_16 *capacity, char *disk_name) argument 1378 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) argument 1445 build_default_partition( struct dk_label *label, int ctrl_type) argument 1694 find_scsi_disk_type( char *disk_name, struct dk_label *label) argument 1801 new_scsi_disk_type( int fd, char *disk_name, struct dk_label *label) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | setlabel.c | 42 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 D | getlabel.c | 29 * 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 D | llib-ltsol | 32 #include <tsol/label.h> 33 #include <sys/tsol/label.h>
|
H A D | hextob.c | 29 * 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.
|
H A D | btohex.c | 37 #include <tsol/label.h> 47 * h_alloc - Allocate data storage for a Hexadecimal label string. 49 * Entry id = Type of label to allocate storage for. 83 * h_free - Free a Hexadecimal label string. 85 * Entry hex = Hexadecimal label string. 104 * bsltoh_r - Convert a Sensitivity Label into a Hexadecimal label string. 106 * Entry label = Sensitivity Label to be translated. 107 * hex = Buffer to place converted label. 110 * Returns NULL, If invalid label type. 117 bsltoh_r(const m_label_t *label, cha argument 146 bsltoh(const m_label_t *label) argument [all...] |
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/ |
H A D | hl201.dts | 22 label = "ds1"; 28 label = "ds5";
|
H A D | sam9260ek.dts | 17 label = "ds1"; 23 label = "ds5";
|
/illumos-gate/usr/src/cmd/lp/lib/oam/ |
H A D | llib-llpoam | 37 void fmtmsg(char * label, int severity, char * text, char * action);
|
/illumos-gate/usr/src/uts/sun4u/vm/ |
H A D | mach_sfmmu.h | 85 * 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 D | ex_set.c | 50 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 D | getzonepath.c | 32 * 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 D | setlabel.c | 30 * 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 D | postreverse.h | 51 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 D | atohexlabel.c | 29 * 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 D | hextoalabel.c | 29 * 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 D | clonebylabel.sh | 30 # 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 D | getlabel.c | 30 * 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 D | lslabels.c | 29 * 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...] |
/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 [all...] |