Home
last modified time | relevance | path

Searched refs:NODEV (Results 1 – 25 of 72) sorted by relevance

123

/titanic_44/usr/src/lib/libc/port/gen/
H A Dmkdev.c48 return ((o_dev_t)NODEV); in __makedev()
57 return (NODEV); in __makedev()
63 return (NODEV); in __makedev()
67 mindev)) == NODEV) { in __makedev()
69 return (NODEV); in __makedev()
75 return (NODEV); in __makedev()
92 if (devnum == NODEV || maj > OMAXMAJ) { in __major()
94 return ((major_t)NODEV); in __major()
100 if (devnum == NODEV) { in __major()
102 return ((major_t)NODEV); in __major()
[all …]
H A Dpt.c86 return (NODEV); in ptsdev()
97 if ((dev = ptsdev(fd)) == NODEV) in ptsname()
144 if (ptsdev(fd) == NODEV) in grantpt()
H A Dttyname.c152 static dev_t ptcdev = NODEV;
153 static dev_t ptsldev = NODEV;
392 if (ptsldev == NODEV && stat64("/dev/ttyp0", &stb) == 0) in ispty()
403 if (ptcdev == NODEV && stat64("/dev/ptyp0", &stb) == 0) in ispty()
/titanic_44/usr/src/uts/common/io/
H A Dconsconfig_dacf.c504 if ((dev = ddi_pathname_to_dev_t(sp->cons_fb_path)) == NODEV) in consconfig_tem_supported()
656 stdoutdev = NODEV; in consconfig_state_init()
900 if (dev == NODEV) { in cons_build_upper_layer()
981 if (stdindev == NODEV) { in consconfig_load_drivers()
1051 if (fbdev == NODEV) { in consconfig_init_framebuffer()
1281 } else if ((stdindev != NODEV) && (stdindev == stdoutdev)) { in cons_get_input_type()
1302 cons_final_dev = NODEV; in consconfig_init_input()
1320 if (kbddev == NODEV) { in consconfig_init_input()
1449 ASSERT(cons_final_dev != NODEV); in consconfig_init_input()
1488 stdindev = NODEV; in dynamic_console_config()
[all …]
H A Dgentty.c206 if (sp->s_dev == NODEV) { in syopen()
268 if (sp->s_dev == NODEV) { in syread()
289 if (sp->s_dev == NODEV) { in sywrite()
324 if (sp->s_dev == NODEV) { in syioctl()
348 if (sp->s_dev == NODEV) { in sypoll()
/titanic_44/usr/src/uts/common/os/
H A Dspace.c212 dev_t kbddev = NODEV;
213 dev_t mousedev = NODEV;
214 dev_t stdindev = NODEV;
217 dev_t fbdev = NODEV;
226 dev_t uconsdev = NODEV;
H A Dsession.c60 NODEV, /* s_dev */
114 ASSERT(sp->s_dev == NODEV); in sess_rele()
227 sp->s_dev = NODEV; in sess_create()
262 sp->s_dev = NODEV; in sess_ctty_clear()
692 ASSERT(sp->s_dev == NODEV); in cttydev()
694 ASSERT(sp->s_dev != NODEV); in cttydev()
H A Dbio.c543 bflush(NODEV); in bio_busy()
671 nbp->b_dev = (o_dev_t)NODEV; in getblk_common()
672 nbp->b_edev = NODEV; in getblk_common()
760 bp->b_dev = (o_dev_t)NODEV; in ngeteblk()
761 bp->b_edev = NODEV; in ngeteblk()
894 if (dev == NODEV || bp->b_edev == dev) { in bflush()
914 if ((dev != bp->b_edev && dev != NODEV) || in bflush()
1614 dp->b_dev = (o_dev_t)NODEV; in bio_bhdr_alloc()
1615 dp->b_edev = NODEV; in bio_bhdr_alloc()
1645 ASSERT(bp->b_dev == (o_dev_t)NODEV); in bio_bhdr_free()
[all …]
H A Dsubr.c147 if (dev == NODEV) { in cmpldev()
175 return (NODEV); in expldev()
/titanic_44/usr/src/uts/common/syscall/
H A Dmknod.c87 if (dev == NODEV || (getemajor(dev)) == (major_t)NODEV) in mknodat()
/titanic_44/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/
H A Dttymux_dacf.c536 return (NODEV); in fs_devtype()
554 return (NODEV); in di_devtype()
682 ASSERT(cn && cn->sm_dev != NODEV); in enable_aconsole()
713 (cn->sm_dev = fs_devtype(cn->sm_path)) == NODEV) || in enable_all_consoles()
714 (cn->sm_dev = di_devtype(cn->sm_path)) == NODEV) { in enable_all_consoles()
806 if (*dev == NODEV || *dip == NULL || strcmp(dname, TTYMUX_DRVNAME) != 0) in validate_reservation()
864 ms->sm_cons_links[i].sm_dev = NODEV; in ttymux_config()
866 ms->sm_cons_stdin.sm_dev = ms->sm_cons_stdout.sm_dev = NODEV; in ttymux_config()
/titanic_44/usr/src/uts/common/sys/
H A Dsysmacros.h166 NODEV : (((unsigned int)(x) >> O_BITSMINOR) & O_MAXMAJ)
176 NODEV : (((dev_t)(x) >> L_BITSMINOR) & L_MAXMAJ))
196 (((x) == NODEV32) ? NODEV : \
205 ((x) & L_MAXMIN) > O_MAXMIN) ? NODEV : \
H A Dparam.h268 #ifndef NODEV
269 #define NODEV (dev_t)(-1l) macro
H A Dtypes.h613 #ifndef NODEV
614 #define NODEV (dev_t)(-1l) macro
/titanic_44/usr/src/uts/sun/io/ttymux/
H A Dttymux_ioctl.c478 if (dev == NODEV) in sm_di_path()
501 if (assoc->ttymux_ldev == NODEV && *assoc->ttymux_path != '/') { in console_cmd()
503 if (lqi == 0 || lqi->sm_dev == NODEV) { in console_cmd()
522 if (assoc->ttymux_ldev != NODEV && assoc->ttymux_ldev == in console_cmd()
548 if (assoc->ttymux_ldev != NODEV) in console_cmd()
589 if (assoc->ttymux_ldev != NODEV) { in console_cmd()
626 a->ttymux_ldev = NODEV; in get_unconfigured_consoles()
780 if (assoc.ttymux_udev == NODEV) in ttymux_link_ioctl()
798 cidev = codev = NODEV; in ttymux_link_ioctl()
1215 if (ldev != NODEV && lqi == 0) { in ttymux_abort_ioctl()
[all …]
/titanic_44/usr/src/cmd/rcm_daemon/common/
H A Dttymux_rcm.c68 static dev_t cn_dev = NODEV;
452 if (link->user->dev == NODEV || link->used->dev == NODEV) { in mux_connect()
525 if (as.ttymux_udev != NODEV) { in mux_connect()
666 *devt = NODEV; in get_devpath()
801 if (asp->ttymux_ldev == NODEV) { in probe_dependencies()
855 if (rsrc->dev == NODEV) { in rsrc_available()
865 if (rsrc->dev == NODEV) { in rsrc_available()
1163 cn_dev = NODEV; in find_mux_nodes()
1176 if (cn_dev != NODEV) in find_mux_nodes()
/titanic_44/usr/src/cmd/backup/dump/
H A Dpartial.c67 if (st.st_dev == NODEV && in partial_check()
104 return (NODEV);
/titanic_44/usr/src/lib/libbc/libc/sys/common/
H A Ds5sysmacros.h42 ((x)&L_MAXMIN) > O_MAXMIN) ? NODEV : \
/titanic_44/usr/src/cmd/acct/lib/
H A Dlintodev.c47 return((dev_t)NODEV);
/titanic_44/usr/src/ucbhead/sys/
H A Dtypes.h433 #ifndef NODEV
434 #define NODEV (dev_t)(-1) macro
H A Dparam.h131 #define NODEV (dev_t)(-1) macro
/titanic_44/usr/src/lib/libdevid/
H A Ddeviceid.c143 dev = NODEV; in nmlist_add()
334 rl->dev = NODEV; in devid_deviceid_to_nmlist()
/titanic_44/usr/src/uts/common/contract/
H A Ddevice.c672 dev = NODEV; in ctmpl_device_create()
674 dev == NODEV || dev == DDI_DEV_T_ANY || dev == DDI_DEV_T_NONE || in ctmpl_device_create()
758 ctd->cond_devt != DDI_DEV_T_NONE && ctd->cond_devt != NODEV); in contract_device_free()
1208 ASSERT(dev != NODEV && dev != DDI_DEV_T_ANY && dev != DDI_DEV_T_NONE); in contract_device_create()
1429 ASSERT(dev != NODEV && dev != DDI_DEV_T_NONE); in wait_for_acks()
1600 ASSERT(dev != NODEV && dev != DDI_DEV_T_NONE); in contract_device_publish()
2044 ASSERT(dev != NODEV); in contract_device_negotiate()
2075 ASSERT(dev != NODEV); in contract_device_finalize()
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Dparam.h110 #define NODEV (dev_t)(-1) macro
/titanic_44/usr/src/uts/common/klm/
H A Dnlm_impl.c174 { NC_TPI_CLTS, NC_INET, NC_UDP, NODEV },
179 { NC_TPI_COTS_ORD, NC_INET, NC_TCP, NODEV },
184 { NC_TPI_CLTS, NC_INET6, NC_UDP, NODEV },
189 { NC_TPI_COTS_ORD, NC_INET6, NC_TCP, NODEV },
194 { NC_TPI_CLTS, NC_LOOPBACK, NC_NOPROTO, NODEV },
199 { NC_TPI_COTS_ORD, NC_LOOPBACK, NC_NOPROTO, NODEV },
2650 if (netid != NULL && rdev == NODEV) { in nlm_knc_to_netid()
2652 if (nc->n_knc.knc_rdev == NODEV) in nlm_knc_to_netid()
2676 nknc->n_knc.knc_rdev != NODEV) { in nlm_knc_from_netid()

123