Lines Matching refs:HZ

347 			ax25->dtimer.expires  = jiffies + 2 * HZ;  in ax25_destroy_socket()
379 if (ax25_ctl.arg > ULONG_MAX / HZ && ax25_ctl.cmd != AX25_KILL) in ax25_ctl_ioctl()
418 if (ax25_ctl.arg < 1 || ax25_ctl.arg > ULONG_MAX / HZ) in ax25_ctl_ioctl()
420 ax25->rtt = (ax25_ctl.arg * HZ) / 2; in ax25_ctl_ioctl()
421 ax25->t1 = ax25_ctl.arg * HZ; in ax25_ctl_ioctl()
425 if (ax25_ctl.arg < 1 || ax25_ctl.arg > ULONG_MAX / HZ) in ax25_ctl_ioctl()
427 ax25->t2 = ax25_ctl.arg * HZ; in ax25_ctl_ioctl()
438 if (ax25_ctl.arg > ULONG_MAX / HZ) in ax25_ctl_ioctl()
440 ax25->t3 = ax25_ctl.arg * HZ; in ax25_ctl_ioctl()
444 if (ax25_ctl.arg > ULONG_MAX / (60 * HZ)) in ax25_ctl_ioctl()
447 ax25->idle = ax25_ctl.arg * 60 * HZ; in ax25_ctl_ioctl()
594 if (opt < 1 || opt > UINT_MAX / HZ) { in ax25_setsockopt()
598 ax25->rtt = (opt * HZ) >> 1; in ax25_setsockopt()
599 ax25->t1 = opt * HZ; in ax25_setsockopt()
603 if (opt < 1 || opt > UINT_MAX / HZ) { in ax25_setsockopt()
607 ax25->t2 = opt * HZ; in ax25_setsockopt()
619 if (opt < 1 || opt > UINT_MAX / HZ) { in ax25_setsockopt()
623 ax25->t3 = opt * HZ; in ax25_setsockopt()
627 if (opt > UINT_MAX / (60 * HZ)) { in ax25_setsockopt()
631 ax25->idle = opt * 60 * HZ; in ax25_setsockopt()
738 val = ax25->t1 / HZ; in ax25_getsockopt()
742 val = ax25->t2 / HZ; in ax25_getsockopt()
750 val = ax25->t3 / HZ; in ax25_getsockopt()
754 val = ax25->idle / (60 * HZ); in ax25_getsockopt()
1843 ax25_info.t1 = ax25->t1 / HZ; in ax25_ioctl()
1844 ax25_info.t2 = ax25->t2 / HZ; in ax25_ioctl()
1845 ax25_info.t3 = ax25->t3 / HZ; in ax25_ioctl()
1846 ax25_info.idle = ax25->idle / (60 * HZ); in ax25_ioctl()
1848 ax25_info.t1timer = ax25_display_timer(&ax25->t1timer) / HZ; in ax25_ioctl()
1849 ax25_info.t2timer = ax25_display_timer(&ax25->t2timer) / HZ; in ax25_ioctl()
1850 ax25_info.t3timer = ax25_display_timer(&ax25->t3timer) / HZ; in ax25_ioctl()
1851 ax25_info.idletimer = ax25_display_timer(&ax25->idletimer) / (60 * HZ); in ax25_ioctl()
1971 ax25_display_timer(&ax25->t1timer) / HZ, ax25->t1 / HZ, in ax25_info_show()
1972 ax25_display_timer(&ax25->t2timer) / HZ, ax25->t2 / HZ, in ax25_info_show()
1973 ax25_display_timer(&ax25->t3timer) / HZ, ax25->t3 / HZ, in ax25_info_show()
1974 ax25_display_timer(&ax25->idletimer) / (60 * HZ), in ax25_info_show()
1975 ax25->idle / (60 * HZ), in ax25_info_show()
1977 ax25->rtt / HZ, in ax25_info_show()