Searched refs:cdevsw (Results 1 - 25 of 34) sorted by relevance

12

/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dbsd_stubs.c116 struct cdevsw nocdev = NO_CDEVICE;
205 struct cdevsw *devsw;
212 devsw = &cdevsw[index];
216 sizeof(struct cdevsw)) == 0)
220 devsw = &cdevsw[index];
224 sizeof(struct cdevsw)) != 0)) {
245 cdevsw_add(int index, struct cdevsw * csw)
251 cdevsw[index] = *csw;
259 cdevsw_remove(int index, struct cdevsw * csw)
261 struct cdevsw *devs
[all...]
H A Dtty_ptmx.c65 * (Actually two drivers, requiring two entries in 'cdevsw')
119 static struct cdevsw ptmx_cdev = {
127 static struct cdevsw ptsd_cdev = {
222 panic("Failed to set flags on ptmx cdevsw entry.");
233 panic("Failed to set flags on ptmx cdevsw entry.");
618 if (cdevsw[major(dev)].d_open != ptsopen) {
H A Dtty.c442 (*cdevsw[major(tp->t_dev)].d_ioctl)
1193 (*cdevsw[major(constty->t_dev)].d_ioctl)
1196 (*cdevsw[major(tp->t_dev)].d_ioctl)
1584 * cdevsw. It relies on a proper xxxdevtotty routine.
1592 struct tty *tp = cdevsw[major(dev)].d_ttys[minor(dev)];
1682 (*cdevsw[major(tp->t_dev)].d_stop)(tp, rw);
H A Dtty_dev.c1003 if (cdevsw[major(dev)].d_open == ptcopen) {
/macosx-10.10/xnu-2782.1.97/bsd/dev/i386/
H A Dcons.c67 * cdevsw[] entries for the console device driver
89 return ((*cdevsw[major(dev)].d_open)(dev, flag, devtype, pp));
97 return ((*cdevsw[major(dev)].d_close)(dev, flag, mode, pp));
105 return ((*cdevsw[major(dev)].d_read)(dev, uio, ioflag));
113 return ((*cdevsw[major(dev)].d_write)(dev, uio, ioflag));
140 return ((*cdevsw[major(dev)].d_ioctl)(dev, cmd, addr, flag, p));
148 return ((*cdevsw[major(dev)].d_select)(dev, flag, wql, p));
H A Dconf.c183 struct cdevsw cdevsw[] = variable in typeref:struct:cdevsw
288 int nchrdev = sizeof (cdevsw) / sizeof (cdevsw[0]);
290 uint64_t cdevsw_flags[sizeof (cdevsw) / sizeof (cdevsw[0])];
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dconf.h183 struct cdevsw { struct
220 * Contents of empty cdevsw slot.
297 extern struct cdevsw cdevsw[];
298 extern int cdevsw_setkqueueok(int, struct cdevsw*, int);
310 int cdevsw_add(int, struct cdevsw *);
311 int cdevsw_add_with_bdev(int index, struct cdevsw * csw, int bdev);
312 int cdevsw_remove(int, struct cdevsw *);
/macosx-10.10/xnu-2782.1.97/bsd/dev/random/
H A Drandomdev.c62 static struct cdevsw random_cdevsw =
/macosx-10.10/xnu-2782.1.97/bsd/miscfs/specfs/
H A Dspec_vnops.c327 error = (*cdevsw[maj].d_open)(dev, ap->a_mode, S_IFCHR, p);
335 if (error == 0 && cdevsw[maj].d_type == D_DISK && !vp->v_un.vu_specinfo->si_initted) {
465 if (cdevsw[major(vp->v_rdev)].d_type == D_DISK && vp->v_un.vu_specinfo->si_throttleable) {
471 error = (*cdevsw[major(vp->v_rdev)].d_read)
557 if (cdevsw[major(vp->v_rdev)].d_type == D_DISK && vp->v_un.vu_specinfo->si_throttleable) {
566 error = (*cdevsw[major(vp->v_rdev)].d_write)
669 retval = (*cdevsw[major(dev)].d_ioctl)(dev, ap->a_command, ap->a_data,
714 return (*cdevsw[major(dev)].d_select)(dev, ap->a_which, ap->a_wql, p);
2189 error = cdevsw[major(dev)].d_close(dev, flags, S_IFCHR, p);
/macosx-10.10/IOSerialFamily-74/IOSerialFamily.kmodproj/
H A DIOSerialBSDClient.h76 static struct cdevsw devsw;
/macosx-10.10/xnu-2782.1.97/bsd/dev/dtrace/
H A Dfbt.c438 static struct cdevsw fbt_cdevsw =
H A Dlockstat.c375 static struct cdevsw lockstat_cdevsw =
H A Dprofile_prvd.c599 static struct cdevsw profile_cdevsw =
H A Dsdt.c402 static struct cdevsw sdt_cdevsw =
H A Dsystrace.c921 static struct cdevsw systrace_cdevsw =
/macosx-10.10/autofs-246/autofs_kext/
H A Dauto_vfsops.c1228 static struct cdevsw autofs_cdevsw = {
1398 static struct cdevsw autofs_nowait_cdevsw = {
1586 static struct cdevsw autofs_notrigger_cdevsw = {
1784 static struct cdevsw autofs_homedirmounter_cdevsw = {
2106 static struct cdevsw autofs_control_cdevsw = {
2430 panic("auto_module_start: can't remove autofs control device from cdevsw");
2436 panic("auto_module_start: can't remove autofs nowait device from cdevsw");
2442 panic("auto_module_start: can't remove autofs notrigger device from cdevsw");
2448 panic("auto_module_start: can't remove autofs homedirmounter device from cdevsw");
2454 panic("auto_module_start: can't remove autofs device from cdevsw");
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/dev/
H A Dmemdev.c126 * cdevsw
141 static struct cdevsw mdevcdevsw = {
/macosx-10.10/IOStorageFamily-182.1.1/
H A DIOMediaBSDClient.cpp91 struct cdevsw cdevswFunctions =
333 // Create bdevsw and cdevsw nodes for the new media object.
493 // Create bdevsw and cdevsw nodes for the given media object.
3528 static int devsw_add(int index, struct bdevsw * bsw, struct cdevsw * csw)
3554 static int devsw_remove(int index, struct bdevsw * bsw, struct cdevsw * csw)
/macosx-10.10/Security-57031.1.35/Security/tlsnke/tlsnke/
H A Dtlsnke.c1040 static struct cdevsw tlsnkedev_cdevsw =
/macosx-10.10/smb-759.0/kernel/netsmb/
H A Dsmb_dev.c84 static struct cdevsw nsmb_cdevsw = {
/macosx-10.10/xnu-2782.1.97/bsd/security/audit/
H A Daudit_pipe.c231 static struct cdevsw audit_pipe_cdevsw = {
H A Daudit_session.c336 static struct cdevsw audit_sdev_cdevsw = {
/macosx-10.10/xnu-2782.1.97/tools/lldbmacros/
H A Dmemory.py1466 elif unsigned(kern.globals.cdevsw[devnode_major].d_open) == unsigned(kern.GetLoadAddressForSymbol('ptmx_open')):
1469 elif unsigned(kern.globals.cdevsw[devnode_major].d_open) == unsigned(kern.GetLoadAddressForSymbol('ptsd_open')):
/macosx-10.10/ppp-786.1.1/Family/
H A Dppp_serial.c698 (*cdevsw[major(tp->t_dev)].d_stop)(tp, 0);
/macosx-10.10/xnu-2782.1.97/bsd/dev/vn/
H A Dvn.c139 * cdevsw
154 static struct cdevsw vn_cdevsw = {

Completed in 402 milliseconds

12