/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | zfs_link.c | 56 char mn[MAXNAMELEN + 1]; local 58 (void) strcpy(mn, di_minor_name(minor)); 60 if (strcmp(mn, ZFS_DRIVER) == 0) {
|
H A D | fssnap_link.c | 59 char mn[MAXNAMELEN + 1]; local 64 (void) strcpy(mn, di_minor_name(minor)); 66 if (strcmp(mn, "ctl") == 0) { 75 if (strcmp(mn, blkname) == 0) { 78 } else if (strcmp(mn, rawname) == 0) {
|
H A D | lofi_link.c | 82 char mn[MAXNAMELEN + 1]; local 85 (void) strcpy(mn, di_minor_name(minor)); 87 if (strcmp(mn, "ctl") == 0) { 92 if (strcmp(mn, LOFI_BLOCK_NODE) == 0) { 95 } else if (strcmp(mn, LOFI_CHAR_NODE) == 0) {
|
H A D | smp_link.c | 69 char *mn; local 73 mn = di_minor_name(minor); 79 (void) strcat(l_path, mn);
|
H A D | tape_link.c | 67 char *mn; local 71 mn = di_minor_name(minor); 74 if ((mn != NULL) && (*mn >= '0') && (*mn <= '9')) { 86 (void) strcat(l_path, mn); 100 (void) strcat(l_path, mn);
|
H A D | md_link.c | 102 char mn[MAXNAMELEN + 1]; local 121 (void) strcpy(mn, di_minor_name(minor)); 129 if (strcmp(mn, "admin") == 0) { 145 ret = sscanf(mn, "%d,", &set); 146 if (ret == 1 && (type = strrchr(mn, ',')) != NULL) {
|
H A D | audio_link.c | 153 char *mn; local 155 mn = di_minor_name(minor); 161 if (strcmp(mn, "sound,sndstat0") == 0) { 181 char *mn; local 198 mn = di_minor_name(minor); 203 (void) snprintf(devpath, sizeof (devpath), "%s:%s", tmp, mn); 206 if (strncmp(mn, "sound,", sizeof ("sound,") - 1) != 0) { 208 "can't find match for'%s'\n", mn); 213 (void) strlcpy(base, mn + 6, sizeof (base)); 214 mn [all...] |
H A D | sgen_link.c | 188 char *buf, *mn; local 196 mn = di_minor_name(minor); 203 (void) strcat(path, mn);
|
H A D | misc_link.c | 264 char *mn = di_minor_name(minor); local 268 (void) strcat(l_path, mn); 394 char *mn = di_minor_name(minor); local 396 (void) devfsadm_mklink(mn, node, minor, 0); 397 if (strcmp(mn, "icmp") == 0) { 400 if (strcmp(mn, "icmp6") == 0) { 403 if (strcmp(mn, "ipf") == 0) { 416 char *mn = di_minor_name(minor); local 418 (void) snprintf(buf, sizeof (buf), "%s%s", "wifi/", mn); 482 char *mn; local 522 char *mn; local 637 char *mn = di_minor_name(minor); local [all...] |
H A D | cfg_link.c | 163 char *c_num = NULL, *devfs_path, *mn; local 170 mn = di_minor_name(minor); 177 (void) strcat(path, mn);
|
H A D | port_link.c | 321 char *devfspath, *buf, *mn; local 329 if ((mn = di_minor_name(minor)) == NULL) { 336 if (!is_dialout(mn)) { 338 modname, devfspath, mn); 345 (void) strcat(p_path, mn); 526 char *devfspath, *buf, *mn; local 534 if ((mn = di_minor_name(minor)) == NULL) { 544 if (!is_dialout(mn)) { 546 modname, devfspath, mn); 553 (void) strcat(p_path, mn); [all...] |
H A D | disk_link.c | 512 char *mn; local 523 mn = di_minor_name(minor); 524 if (strstr(mn, ",raw")) { 527 (void) strncpy(mn_copy, mn, 4); 533 part = mn; 553 if ((mn[0] == 'p') && (part_num >= 5)) { 558 if (mn[0] < 'q') { 559 (void) sprintf(slice, "s%d", mn[0] - 'a'); 560 } else if (strncmp(mn, MN_EFI, 2) != 0) { 561 (void) sprintf(slice, "p%d", mn[ 659 char *buf, *mn; local 788 char *mn = di_minor_name(minor); local [all...] |
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | zalloc.c | 108 MemNode *mn; local 110 for (pmn = &mp->mp_First; (mn=*pmn) != NULL; pmn = &mn->mr_Next) { 111 if (bytes > mn->mr_Bytes) 120 char *ptr = (char *)mn; 122 if (mn->mr_Bytes == bytes) { 123 *pmn = mn->mr_Next; 125 mn = (MemNode *)((char *)mn + bytes); 126 mn 174 MemNode *mn; local 289 MemNode *mn; local [all...] |
/illumos-gate/usr/src/cmd/devfsadm/sparc/ |
H A D | misc_link_sparc.c | 87 char *mn = di_minor_name(minor); local 93 (void) strcat(path, mn); 107 char *mn = di_minor_name(minor); local 112 if (strcmp(mn, "c") == 0) { 116 } else if (strcmp(mn, "c,raw") == 0) { 206 char *mn; local 209 mn = di_minor_name(minor); 210 (void) devfsadm_mklink(mn, node, minor, 0);
|
/illumos-gate/usr/src/cmd/devfsadm/i386/ |
H A D | misc_link_i386.c | 204 char *mn = di_minor_name(minor); local 210 if (strcmp(mn, "c") == 0) { 212 } else if (strcmp(mn, "c,raw") == 0) { 221 if (strcmp(mn, "c") == 0) { 226 } else if (strcmp(mn, "c,raw") == 0) { 294 char *mn = di_minor_name(minor); local 298 (void) strcat(link, mn); 301 if (strcmp(mn, "a") == 0) { 304 } else if (strcmp(mn, "b") == 0) { 307 } else if (strcmp(mn, " 325 char *mn = di_minor_name(minor); local 607 char *mn; local 626 char *mn; local [all...] |
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/ |
H A D | cmd_mem.c | 197 mem_name_t mn; local 204 mn.m_addr = afar; 205 mn.m_synd = synd; 206 mn.m_type[0] = afsr; 207 mn.m_type[1] = 0; 208 mn.m_namelen = 100; 211 mn.m_name = fmd_hdl_alloc(hdl, mn.m_namelen, FMD_SLEEP); 213 if (ioctl(fd, MEM_NAME, &mn) == 0) 216 fmd_hdl_free(hdl, mn [all...] |
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | mbuf.c | 230 struct mbuf *m, *mn; local 235 if ((error = m_get(size, &mn)) != 0) 237 mbp->mb_pos = mtod(mn, char *); 238 mbp->mb_cur = m->m_next = mn; 239 m = mn;
|
/illumos-gate/usr/src/cmd/fm/schemes/mem/sparc/ |
H A D | mem_disc.c | 432 mem_name_t mn; local 446 bzero(&mn, sizeof (mn)); 449 mn.m_namelen = strlen(dimms[i]) + 1; 450 mn.m_sidlen = MEM_SERID_MAXLEN; 452 mn.m_name = fmd_fmri_alloc(mn.m_namelen); 453 mn.m_sid = fmd_fmri_alloc(mn.m_sidlen); 455 (void) strcpy(mn [all...] |
/illumos-gate/usr/src/uts/common/io/ppp/sppp/ |
H A D | sppp.c | 153 minor_t mn; local 169 mn = 0; 172 if (sps->sps_mn_id != mn) { 175 ++mn; 181 sps->sps_mn_id = mn; /* save minor id for this stream */ 197 *devp = makedevice(getmajor(*devp), mn);
|
/illumos-gate/usr/src/cmd/zdump/ |
H A D | zdump.c | 590 register const char *mn; local 609 mn = "???"; 610 else mn = mon_name[timeptr->tm_mon]; 612 wn, mn,
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_cvt.c | 117 "m", "mb", "mbn", "mn", 206 char *drv, *mn, *log; local 214 mn = di_minor_name(minor); 219 if (mn != NULL && drv != NULL && inst != -1 && log != NULL) { 221 if (snprintf(log, loglen, "%s%d:%s", drv, inst, mn) < loglen) {
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | subr_mchain.c | 331 mblk_t *m, *mn; local 340 mn = m_getblk(size, 1); 341 if (mn == NULL) 343 mbp->mb_cur = m->b_cont = mn; 344 m = mn;
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/ |
H A D | cfga_sata.c | 1168 char *mn; local 1171 mn = di_minor_name(minor); 1172 if (mn == NULL) 1175 if (strcmp(mn, chkp->c_minor) != 0)
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_cg.c | 1008 dt_node_t *mnp, dn, mn; local 1021 dn.dn_right = &mn; 1023 bzero(&mn, sizeof (dt_node_t)); 1024 mn.dn_kind = DT_NODE_IDENT; 1025 mn.dn_op = DT_TOK_IDENT;
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_client.c | 1186 minor_t mn = getminor(dev); local 1195 if ((c->c_major == mj) && (c->c_minor == mn)) { 1574 auclnt_get_dev_minor_data(audio_dev_t *d, minor_t mn) argument 1576 ASSERT(mn < (1U << AUDIO_MN_TYPE_NBITS)); 1577 return (d->d_minor_data[mn]); 1581 auclnt_get_minor_data(audio_client_t *c, minor_t mn) argument 1583 ASSERT(mn < (1U << AUDIO_MN_TYPE_NBITS)); 1584 return (c->c_dev->d_minor_data[mn]);
|