Home
last modified time | relevance | path

Searched refs:cdevsw_add (Results 1 – 21 of 21) sorted by relevance

/xnu-8020.140.41/bsd/kern/
H A Dbsd_stubs.c229 cdevsw_add(int index, const struct cdevsw * csw) in cdevsw_add() function
275 index = cdevsw_add(index, csw); in cdevsw_add_with_bdev()
H A Dtty_ptmx.c205 if ((ptmx_major = cdevsw_add(-15, &ptmx_cdev)) == -1) { in ptmx_init()
215 if ((ptsd_major = cdevsw_add(-15, &ptsd_cdev)) == -1) { in ptmx_init()
/xnu-8020.140.41/bsd/dev/random/
H A Drandomdev.c104 ret = cdevsw_add(RANDOM_MAJOR, &random_cdevsw); in random_init()
/xnu-8020.140.41/bsd/sys/
H A Dconf.h304 int cdevsw_add(int, const struct cdevsw *);
/xnu-8020.140.41/bsd/dev/dtrace/
H A Dlockstat.c285 int majdevno = cdevsw_add(-1, &lockstat_cdevsw); in lockstat_init()
H A Dlockprof.c410 int majorno = cdevsw_add(-1, &lockprof_cdevsw); in lockprof_init()
H A Dfbt.c610 int majdevno = cdevsw_add(FBT_MAJOR, &fbt_cdevsw); in fbt_init()
H A Dprofile_prvd.c732 int majdevno = cdevsw_add(PROFILE_MAJOR, &profile_cdevsw); in profile_init()
H A Dsdt.c700 int majdevno = cdevsw_add(SDT_MAJOR, &sdt_cdevsw); in sdt_init()
H A Dsystrace.c990 int majdevno = cdevsw_add(SYSTRACE_MAJOR, &systrace_cdevsw); in systrace_init()
H A Dfasttrap.c2754 int majdevno = cdevsw_add(FASTTRAP_MAJOR, &fasttrap_cdevsw); in fasttrap_init()
H A Ddtrace.c19141 helper_majdevno = cdevsw_add(HELPER_MAJOR, &helper_cdevsw); in helper_init()
19280 gMajDevNo = cdevsw_add(DTRACE_MAJOR, &dtrace_cdevsw); in dtrace_init()
/xnu-8020.140.41/bsd/dev/
H A Ddev_perfmon.c329 int dmaj = cdevsw_add(-1, &perfmon_cdevsw); in perfmon_dev_init()
H A Dmonotonic.c101 mt_dev_major = cdevsw_add(-1 /* allocate a major number */, &mt_cdevsw); in mt_dev_init()
/xnu-8020.140.41/san/coverage/
H A Dkcov_ksancov.c743 dev_major = cdevsw_add(-1, &ksancov_cdev); in ksancov_init_dev()
/xnu-8020.140.41/bsd/security/audit/
H A Daudit_pipe.c1089 audit_pipe_major = cdevsw_add(-1, &audit_pipe_cdevsw); in audit_pipe_init()
H A Daudit_session.c2043 audit_sdev_major = cdevsw_add(-1, &audit_sdev_cdevsw); in audit_sdev_init()
/xnu-8020.140.41/bsd/net/
H A Dbpf.c3795 maj = cdevsw_add(CDEV_MAJOR, &bpf_cdevsw); in bpf_init()
3807 cdevsw_add(&bpf_cdevsw); in bpf_init()
H A Dpf_ioctl.c498 maj = cdevsw_add(PF_CDEV_MAJOR, &pf_cdevsw); in pfinit()
/xnu-8020.140.41/bsd/vfs/
H A Dvfs_fsevents.c2598 ret = cdevsw_add(-1, &fsevents_cdevsw); in fsevents_init()
/xnu-8020.140.41/bsd/nfs/
H A Dnfs_vfsops.c6040 ret = cdevsw_add(-1, &nfsclnt_cdevsw); in nfsclnt_device_add()