Searched defs:mn (Results 1 - 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/cmd/devfsadm/
H A Dzfs_link.c56 char mn[MAXNAMELEN + 1]; local
58 (void) strcpy(mn, di_minor_name(minor));
60 if (strcmp(mn, ZFS_DRIVER) == 0) {
H A Dfssnap_link.c59 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 Dlofi_link.c82 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 Dsmp_link.c69 char *mn; local
73 mn = di_minor_name(minor);
79 (void) strcat(l_path, mn);
H A Dtape_link.c67 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 Dmd_link.c102 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 Daudio_link.c153 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 Dsgen_link.c188 char *buf, *mn; local
196 mn = di_minor_name(minor);
203 (void) strcat(path, mn);
H A Dmisc_link.c264 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 Dcfg_link.c163 char *c_num = NULL, *devfs_path, *mn; local
170 mn = di_minor_name(minor);
177 (void) strcat(path, mn);
H A Dport_link.c321 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 Ddisk_link.c512 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 Dzalloc.c108 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 Dmisc_link_sparc.c87 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 Dmisc_link_i386.c204 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 Dcmd_mem.c197 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 Dmbuf.c230 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 Dmem_disc.c432 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 Dsppp.c153 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 Dzdump.c590 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 Dcfga_cvt.c117 "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 Dsubr_mchain.c331 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 Dcfga_sata.c1168 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 Ddt_cg.c1008 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 Daudio_client.c1186 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]);

Completed in 110 milliseconds

12