/src/sys/rump/net/lib/libnpf/ |
npf_component.c | 22 devmajor_t bmajor = NODEVMAJOR, cmajor = NODEVMAJOR; local in function:RUMP_COMPONENT 25 error = devsw_attach("npf", NULL, &bmajor, &npf_cdevsw, &cmajor);
|
/src/sys/rump/net/lib/libaltq/ |
altq_component.c | 49 devmajor_t bmajor = NODEVMAJOR, cmajor = NODEVMAJOR; local in function:create_altq_devs 52 error = devsw_attach("altq", NULL, &bmajor,
|
/src/sys/modules/examples/ping/ |
ping.c | 115 int cmajor = 351, bmajor = -1; local in function:ping_modcmd 119 if (devsw_attach("ping", NULL, &bmajor, &ping_cdevsw, &cmajor))
|
/src/sys/external/bsd/drm2/drm/ |
drm_module.c | 184 devmajor_t bmajor = NODEVMAJOR, cmajor = NODEVMAJOR; local in function:drmkms_modcmd 198 error = devsw_attach("drm", NULL, &bmajor,
|
/src/sys/dev/ata/ |
ata_raid_subr.c | 65 int bmajor, error = 0; local in function:ata_raid_disk_vnode_find 77 bmajor = devsw_name2blk(device_xname(adi->adi_dev), NULL, 0); 78 dev = MAKEDISKDEV(bmajor, device_unit(adi->adi_dev), RAW_PART);
|
ata_raid_promise.c | 72 int bmajor, error, count; local in function:ata_raid_read_config_promise 81 bmajor = devsw_name2blk(dksc->sc_xname, NULL, 0); 84 dev = MAKEDISKDEV(bmajor, device_unit(dksc->sc_dev), RAW_PART);
|
ata_raid_adaptec.c | 73 int bmajor, error; local in function:ata_raid_read_config_adaptec 81 bmajor = devsw_name2blk(dksc->sc_xname, NULL, 0); 84 dev = MAKEDISKDEV(bmajor, device_unit(dksc->sc_dev), RAW_PART);
|
ata_raid_nvidia.c | 127 int bmajor, error, count; local in function:ata_raid_read_config_nvidia 140 bmajor = devsw_name2blk(dksc->sc_xname, NULL, 0); 143 dev = MAKEDISKDEV(bmajor, device_unit(dksc->sc_dev), RAW_PART);
|
ata_raid_jmicron.c | 129 int bmajor, error, count, disk, total_disks; local in function:ata_raid_read_config_jmicron 134 bmajor = devsw_name2blk(dksc->sc_xname, NULL, 0); 137 dev = MAKEDISKDEV(bmajor, device_unit(dksc->sc_dev), RAW_PART);
|
ata_raid_via.c | 119 int bmajor, error; local in function:ata_raid_read_config_via 129 bmajor = devsw_name2blk(dksc->sc_xname, NULL, 0); 132 dev = MAKEDISKDEV(bmajor, device_unit(dksc->sc_dev), RAW_PART);
|
/src/sys/dev/ |
nullcons_subr.c | 158 int bmajor = -1, cmajor = -1; local in function:nullcons_newdev 166 error = devsw_attach("nullcn", NULL, &bmajor, &nullcn_devsw, &cmajor);
|
ld.c | 756 devmajor_t bmajor, cmajor; 763 bmajor = cmajor = -1; symbol 764 error = devsw_attach(ld_cd.cd_name, &ld_bdevsw, &bmajor,
|
clockctl.c | 156 int bmajor, cmajor; local in function:clockctl_modcmd 169 bmajor = cmajor = -1; 170 error = devsw_attach("clockctl", NULL, &bmajor,
|
/src/sys/kern/ |
subr_disk_open.c | 45 devmajor_t bmajor; local in function:opendisk 54 bmajor = devsw_name2blk(device_xname(dv), NULL, 0); 55 if (bmajor == -1) 63 dev = device_is_a(dv, "dk") ? makedev(bmajor, unit) : 64 MAKEDISKDEV(bmajor, unit, RAW_PART);
|
/src/sys/modules/examples/mapper/ |
mapper.c | 124 int cmajor = 351, bmajor = -1; local in function:mapper_modcmd 128 if (devsw_attach("mapper", NULL, &bmajor, &mapper_cdevsw,
|
/src/sys/modules/examples/panic_string/ |
panic_string.c | 176 int cmajor = 351, bmajor = -1; local in function:panic_string_modcmd 181 if (devsw_attach("panic", NULL, &bmajor, &panic_string_cdevsw,
|
/src/sys/modules/examples/ping_block/ |
ping.c | 123 int bmajor = 351, cmajor = -1; local in function:ping_modcmd 127 if (devsw_attach("ping", &ping_bdevsw, &bmajor, &ping_cdevsw, &cmajor))
|
/src/sys/arch/landisk/landisk/ |
autoconf.c | 86 int bmajor; local in function:match_bootdisk 99 bmajor = devsw_name2blk(device_xname(dv), NULL, 0); 100 if (bmajor == -1) 107 if (bdevvp(MAKEDISKDEV(bmajor, device_unit(dv), RAW_PART), &tmpvn))
|
/src/sys/modules/examples/luareadhappy/ |
luareadhappy.c | 192 int cmajor = 351, bmajor = -1; local in function:happy_modcmd 196 if (devsw_attach("happy", NULL, &bmajor, &happy_cdevsw,
|
/src/sys/modules/examples/fopsmapper/ |
fopsmapper.c | 175 int cmajor = 351, bmajor = -1; local in function:fopsmapper_modcmd 179 if (devsw_attach("fopsmapper", NULL, &bmajor,
|
/src/sys/dev/pud/ |
pud.c | 179 devmajor_t cmajor, bmajor; local in function:pudconf_reg 191 bmajor = cmajor; 194 bmajor = NODEVMAJOR; 198 error = devsw_attach(pcr->pm_devname, bsw, &bmajor, 392 devmajor_t bmajor = NODEVMAJOR, cmajor = NODEVMAJOR; local in function:pud_modcmd 397 return devsw_attach("pud", NULL, &bmajor,
|
/src/sys/dev/sysmon/ |
sysmon.c | 326 devmajor_t bmajor, cmajor; local in function:sysmon_init 334 bmajor = cmajor = -1; 335 error = devsw_attach("sysmon", NULL, &bmajor,
|
/src/sys/modules/examples/readhappy/ |
readhappy.c | 178 int cmajor = 210, bmajor = -1; local in function:happy_modcmd 182 if (devsw_attach("happy", NULL, &bmajor, &happy_cdevsw,
|
/src/sys/modules/examples/readhappy_mpsafe/ |
readhappy_mpsafe.c | 222 int cmajor = 351, bmajor = -1; local in function:happy_mpsafe_modcmd 226 if (devsw_attach("happy_mpsafe", NULL, &bmajor, &happy_cdevsw,
|
/src/sys/fs/autofs/ |
autofs_vfsops.c | 470 devmajor_t bmajor = NODEVMAJOR, cmajor = NODEVMAJOR; local in function:autofs_modcmd 480 error = devsw_attach("autofs", NULL, &bmajor, &autofs_cdevsw,
|