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()
1849 ax25_info.t1 = ax25->t1 / HZ; in ax25_ioctl()
1850 ax25_info.t2 = ax25->t2 / HZ; in ax25_ioctl()
1851 ax25_info.t3 = ax25->t3 / HZ; in ax25_ioctl()
1852 ax25_info.idle = ax25->idle / (60 * HZ); in ax25_ioctl()
1854 ax25_info.t1timer = ax25_display_timer(&ax25->t1timer) / HZ; in ax25_ioctl()
1855 ax25_info.t2timer = ax25_display_timer(&ax25->t2timer) / HZ; in ax25_ioctl()
1856 ax25_info.t3timer = ax25_display_timer(&ax25->t3timer) / HZ; in ax25_ioctl()
1857 ax25_info.idletimer = ax25_display_timer(&ax25->idletimer) / (60 * HZ); in ax25_ioctl()
1977 ax25_display_timer(&ax25->t1timer) / HZ, ax25->t1 / HZ, in ax25_info_show()
1978 ax25_display_timer(&ax25->t2timer) / HZ, ax25->t2 / HZ, in ax25_info_show()
1979 ax25_display_timer(&ax25->t3timer) / HZ, ax25->t3 / HZ, in ax25_info_show()
1980 ax25_display_timer(&ax25->idletimer) / (60 * HZ), in ax25_info_show()
1981 ax25->idle / (60 * HZ), in ax25_info_show()
1983 ax25->rtt / HZ, in ax25_info_show()