Searched refs:autoclose (Results 1 – 4 of 4) sorted by relevance
283 static bool autoclose=1; variable291 module_param(autoclose, bool, 0);618 if (autoclose == 1 && CDROM_CAN(CDC_CLOSE_TRAY)) in register_cdrom()3419 int autoclose; /* close tray upon mount, etc */ member3569 if (autoclose && CDROM_CAN(CDC_CLOSE_TRAY)) in cdrom_update_settings()3571 else if (!autoclose) in cdrom_update_settings()3599 autoclose = !!cdrom_sysctl_settings.autoclose; in cdrom_sysctl_handler()3625 .data = &cdrom_sysctl_settings.autoclose,3671 cdrom_sysctl_settings.autoclose = autoclose; in cdrom_sysctl_register()
219 __u32 autoclose; member
2281 sp->autoclose = *optval; in sctp_setsockopt_autoclose()2282 if (sp->autoclose > net->sctp.max_autoclose) in sctp_setsockopt_autoclose()2283 sp->autoclose = net->sctp.max_autoclose; in sctp_setsockopt_autoclose()5058 sp->autoclose = 0; in sctp_init_sock()5180 info->sctpi_s_autoclose = sp->autoclose; in sctp_get_sctp_info()5623 if (put_user(sctp_sk(sk)->autoclose, (int __user *)optval)) in sctp_getsockopt_autoclose()
140 asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE] = sp->autoclose * HZ; in sctp_association_init()