Searched refs:autoclose (Results 1 – 4 of 4) sorted by relevance
292 static bool autoclose=1; variable300 module_param(autoclose, bool, 0);620 if (autoclose == 1 && CDROM_CAN(CDC_CLOSE_TRAY)) in register_cdrom()3462 int autoclose; /* close tray upon mount, etc */ member3612 if (autoclose && CDROM_CAN(CDC_CLOSE_TRAY)) in cdrom_update_settings()3614 else if (!autoclose) in cdrom_update_settings()3642 autoclose = !!cdrom_sysctl_settings.autoclose; in cdrom_sysctl_handler()3668 .data = &cdrom_sysctl_settings.autoclose,3736 cdrom_sysctl_settings.autoclose = autoclose; in cdrom_sysctl_register()
215 __u32 autoclose; member
2271 sp->autoclose = *optval; in sctp_setsockopt_autoclose()2272 if (sp->autoclose > net->sctp.max_autoclose) in sctp_setsockopt_autoclose()2273 sp->autoclose = net->sctp.max_autoclose; in sctp_setsockopt_autoclose()4928 sp->autoclose = 0; in sctp_init_sock()5050 info->sctpi_s_autoclose = sp->autoclose; in sctp_get_sctp_info()5484 if (put_user(sctp_sk(sk)->autoclose, (int __user *)optval)) in sctp_getsockopt_autoclose()
137 asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE] = sp->autoclose * HZ; in sctp_association_init()