/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | wpa_enc.c | 169 char *label, unsigned char *data, unsigned int data_len, 175 size_t label_len = strlen(label); 180 addr[0] = (uint8_t *)label; 168 sha1_prf(unsigned char *key, unsigned int key_len, char *label, unsigned char *data, unsigned int data_len, unsigned char *buf, size_t buf_len) argument
|
/illumos-gate/usr/src/cmd/fs.d/ufs/labelit/ |
H A D | labelit.c | 67 static void label(char *, char *, char *); 122 label(special, fsname, volume); 136 label(char *special, char *fsname, char *volume) function 199 gettext("insufficient superblock space for file system label\n"));
|
/illumos-gate/usr/src/cmd/svr4pkg/hdrs/ |
H A D | libadm.h | 79 extern CKMENU *allocmenu __P((char *label, int attr)); 221 extern int getvol __P((char *device, char *label, int options, 223 extern int _getvol __P((char *device, char *label, int options,
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_ev.c | 454 __in uint32_t label, 472 EFSYS_PROBE2(frm_trunc, uint32_t, label, uint32_t, id); 549 uint32_t label; local 566 label = EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_Q_LABEL); 636 ignore = siena_ev_rx_not_ok(eep, eqp, label, id, &flags); 638 EFSYS_PROBE4(rx_complete, uint32_t, label, uint32_t, id, 685 EFSYS_PROBE4(rx_complete, uint32_t, label, uint32_t, id, 689 should_abort = eecp->eec_rx(arg, label, id, size, flags); 702 uint32_t label; local 713 label 451 siena_ev_rx_not_ok( __in efx_evq_t *eep, __in efx_qword_t *eqp, __in uint32_t label, __in uint32_t id, __inout uint16_t *flagsp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/urf/ |
H A D | urf_usbgem.c | 76 #define CHECK_AND_JUMP(err, label) if (err != USB_SUCCESS) goto label 143 #define OUTB(dp, p, v, errp, label) \ 151 /* value */ (v))) != USB_SUCCESS) goto label 153 #define OUTW(dp, p, v, errp, label) \ 161 /* value */ (v))) != USB_SUCCESS) goto label 164 #define OUTS(dp, p, buf, len, errp, label) \ 173 /* size */ (len))) != USB_SUCCESS) goto label 176 #define IN(dp, p, vp, errp, label) \ 184 /* valuep */ (vp))) != USB_SUCCESS) goto label [all...] |
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | sysfiles.c | 62 static int namematch(const char *label, char *line, const char *name); 288 * given a label (e.g., "service=", "device="), a name ("cu", "uucico"), 289 * and a line: if line begins with the label and if the name appears 290 * in a colon-separated list of names following the label, return true; 294 namematch(const char *label, char *line, const char *name) argument 298 if (strncmp(label, line, strlen(label)) != SAME) 300 line += strlen(label); 379 "unrecognized label %s", *line);
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | sysfiles.c | 264 * given a label (e.g., "service=", "device="), a name ("cu", "uucico"), 265 * and a line: if line begins with the label and if the name appears 266 * in a colon-separated list of names following the label, return true; 270 namematch(label, line, name) 271 char *label, *line, *name; 274 if (strncmp(label, line, strlen(label)) != SAME) { 277 line += strlen(label); 352 (void)sprintf(errformat,"unrecognized label %s",*line);
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckitem.c | 99 allocmenu(char *label, int attr) argument 105 pt->label = label; 457 if (menup->label) { 458 (void) puttext(stderr, menup->label, 0, 0);
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/cpuboard/ |
H A D | cpuboard.c | 313 char *label = NULL; local 324 label = topo_mod_alloc(mod, len); 325 (void) snprintf(label, len, "%s%s%d", plabel, cpuboard_label, n); 328 if (label != NULL) { 330 TOPO_PROP_LABEL, TOPO_PROP_IMMUTABLE, label, 332 topo_mod_strfree(mod, label); 336 topo_mod_free(mod, label, len);
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | io.c | 365 char *label; local 383 label = "FFB"; 386 label = "AFB"; 398 (void) sprintf(card.name, "%s", label); 403 "%s, Double Buffered", label); 406 "%s, Single Buffered", label); 471 log_printf("%s Hardware Configuration:\n", label, 0);
|
/illumos-gate/usr/src/cmd/zonestat/zonestat/ |
H A D | zonestat.c | 851 /* Get the label for the current report type */ 879 char *label; local 887 label = zonestat_get_plabel(report_fmt); 888 (void) printf("%s:%s:[%s]:%s:%s:%s:%s\n", label, 986 char *label; local 1016 label = zonestat_get_plabel(report_fmt); 1018 label, ZONESTAT_SUMMARY, name, str_cused, str_ppart, 1037 char *label; local 1046 label = zonestat_get_plabel(report_fmt); 1047 (void) printf("%s:%s:%s:[%s]:%s\n", label, re 1069 char *label; local 1580 char *label; local 1628 char *label; local 1893 char *label; local 1912 char *label; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | fd.c | 721 /* didn't find label (couldn't read anything) */ 756 * fdgetlabel - read the SunOS label off the diskette 757 * if it can read a valid label it does so, else it will use a 766 struct dk_label *label; local 784 * get some space to play with the label 786 label = kmem_zalloc(sizeof (struct dk_label), KM_SLEEP); 789 unit, (void *)label, (size_t)sizeof (struct dk_label))); 792 * read block 0 (0/0/1) to find the label 815 (caddr_t)label, 820 (caddr_t)label, 1286 struct dk_label *label; local [all...] |
/illumos-gate/usr/src/cmd/ptools/pmadvise/ |
H A D | pmadvise.c | 239 char label[PATH_MAX]; member in struct:mapnode_struct 572 newmap->label[0] = '\0'; 585 newmap->label, sizeof (newmap->label)); 593 lname = anon_name(newmap->label, Psp, stacks, nstacks, 847 mflags(pmapnode->pmp->pr_mflags), pmapnode->label, 853 mflags(pmapnode->pmp->pr_mflags), pmapnode->label);
|
/illumos-gate/usr/src/cmd/format/ |
H A D | startup.c | 50 #include "label.h" 1732 * read the label early on to see whether the device 1888 * Attempt to read the primary label. 1890 * ioctl, then converted from vtoc to label.) 1898 * If reading the label failed, and this is a SCSI 1914 * a valid label for the disk. Mark 1915 * the disk as needing the label flushed. 1927 * a valid label for the disk. 1941 * If we didn't successfully read the label, or the label [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/bsc/ |
H A D | picllom.c | 738 * (as defined by its label). On the other hand, PICL does promise 743 * label. Then we request LED entries from the LOM and compare their 752 strcmp(led_data.label, led_labels[index]) != 0) { 770 strcmp(led_data.label, led_labels[index]) != 0) { 779 strcmp(led_data.label, led_labels[index]) == 910 * for the benefit of prtdiag, add a label of 1015 (led_state->label[0] == '\0')) { 1019 err = ptree_create_node(led_state->label, PICL_CLASS_LED, &ledh); 1050 PICL_PTYPE_CHARSTRING, PICL_READ, strlen(led_state->label) + 1, 1051 led_state->label, [all...] |
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | ndr_anal.c | 61 static ndr_node_t *find_advice(ndr_node_t *advice_list, int label); 549 if (np->label == IDENTIFIER) { 553 if (np->label == LP) 584 proto_ti.type_op = np->label; 587 switch (np->label) { 801 ti->type_op = construct->label; 1009 find_advice(ndr_node_t *advice_list, int label) argument 1014 if (np->label == label) 1026 if (np->label [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip_intel.c | 177 char *label = NULL; local 204 (void) nvpair_value_string(nvp, &label); 265 * We will use a full absolute parent/child label 267 label = (char *)chip_label_smbios_get(mod, 268 pnode, smbid, label); 271 (void) topo_node_label_set(dnode, label, &err); 274 topo_mod_strfree(mod, label);
|
/illumos-gate/usr/src/cmd/sendmail/db/lock/ |
H A D | lock_region.c | 571 int label; local 623 label = 1; 629 if (label) { 632 label = 0; 638 if (label) { 641 label = 0;
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_miscapi.c | 778 match_ext_info(kcf_provider_desc_t *pd, char *label, char *manuf, char *serial, argument 789 label, strlen(label), CRYPTO_EXT_SIZE_LABEL)) 809 * Find a provider based on its label, manufacturer ID, and serial number. 812 crypto_get_provider(char *label, char *manuf, char *serial) argument 820 if (label == NULL) 834 if (match_ext_info(pd, label, manuf, serial, ext_info)) {
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_disk.c | 827 * Given the root disk device devid or pathname, read the label from 834 vdev_label_t *label; local 842 * Read the device label and build the nvlist. 862 label = kmem_alloc(sizeof (vdev_label_t), KM_SLEEP); 868 /* read vdev label */ 870 if (vdev_disk_ldi_physio(vd_lh, (caddr_t)label, 874 if (nvlist_unpack(label->vl_vdev_phys.vp_nvlist, 875 sizeof (label->vl_vdev_phys.vp_nvlist), config, 0) != 0) { 897 kmem_free(label, sizeof (vdev_label_t));
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | strptime.c | 86 label: 134 goto label; 140 goto label;
|
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/ |
H A D | nb5000_init.c | 684 (void) snprintf(dimmp->label, 685 sizeof (dimmp->label), "%s", md.smbmd_dloc); 731 x8450_dimm_label(int dimm, char *label, int label_sz) argument 736 (void) snprintf(label, label_sz, "D%d", (dimm * 4) + channel); 750 cp3250_dimm_label(int dimm, char *label, int label_sz) argument 755 (void) snprintf(label, label_sz, "%c%d", channel == 0 ? 'A' : 'B', 819 dimmpp[j]->label, 820 sizeof (dimmpp[j]->label)); 882 dimmpp[j]->label, 883 sizeof (dimmpp[j]->label)); [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 33 * ZFS label of each device. If we successfully read the label, then we 36 * pool guid -> toplevel vdev guid -> label txg 39 * examined every device, we pick the best label txg config for each toplevel 248 * it means we have a half-initialized label. In vdev_label_init() 249 * we write a label with txg == 0 so that we can identify the device 251 * create the pool, we'll be left with a label in this state 805 * Restore the original information read from the actual label. 852 * Return the offset of the given label. 863 * Given a file descriptor, read the label informatio 871 vdev_label_t *label; local 1094 vdev_label_t *label; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_subr.c | 442 * Set the label for a topo node. 445 x86pi_set_label(topo_mod_t *mod, const char *label, const char *name, argument 456 * Set the label for this topology node. 457 * Note that a NULL label will inherit the label from topology 460 result = topo_node_label_set(t_node, (char *)label, &err); 463 topo_mod_dprintf(mod, "x86pi_set_label: failed with label %s " 464 "on %s node: %s\n", (label == NULL ? "NULL" : label),
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgmount.c | 47 extern int getvol(char *device, char *label, int options, char *prompt);
|