Lines Matching refs:cdrom_sysctl_settings
2400 struct cdrom_sysctl_settings { struct
2407 } cdrom_sysctl_settings; variable
2414 char *info = cdrom_sysctl_settings.info; in cdrom_sysctl_info()
2543 if (valp == &cdrom_sysctl_settings.autoclose) in cdrom_sysctl_handler()
2544 autoclose = cdrom_sysctl_settings.autoclose; in cdrom_sysctl_handler()
2548 if (valp == &cdrom_sysctl_settings.autoeject) in cdrom_sysctl_handler()
2549 autoeject = cdrom_sysctl_settings.autoeject; in cdrom_sysctl_handler()
2553 if (valp == &cdrom_sysctl_settings.debug) in cdrom_sysctl_handler()
2554 debug = cdrom_sysctl_settings.debug; in cdrom_sysctl_handler()
2558 if (valp == &cdrom_sysctl_settings.lock) in cdrom_sysctl_handler()
2559 lockdoor = cdrom_sysctl_settings.lock; in cdrom_sysctl_handler()
2563 if (valp == &cdrom_sysctl_settings.check) in cdrom_sysctl_handler()
2564 check_media_type = cdrom_sysctl_settings.check; in cdrom_sysctl_handler()
2579 {DEV_CDROM_INFO, "info", &cdrom_sysctl_settings.info,
2581 {DEV_CDROM_AUTOCLOSE, "autoclose", &cdrom_sysctl_settings.autoclose,
2583 {DEV_CDROM_AUTOEJECT, "autoeject", &cdrom_sysctl_settings.autoeject,
2585 {DEV_CDROM_DEBUG, "debug", &cdrom_sysctl_settings.debug,
2587 {DEV_CDROM_LOCK, "lock", &cdrom_sysctl_settings.lock,
2589 {DEV_CDROM_CHECK_MEDIA, "check_media", &cdrom_sysctl_settings.check,
2617 cdrom_sysctl_settings.autoclose = autoclose; in cdrom_sysctl_register()
2618 cdrom_sysctl_settings.autoeject = autoeject; in cdrom_sysctl_register()
2619 cdrom_sysctl_settings.debug = debug; in cdrom_sysctl_register()
2620 cdrom_sysctl_settings.lock = lockdoor; in cdrom_sysctl_register()
2621 cdrom_sysctl_settings.check = check_media_type; in cdrom_sysctl_register()