Lines Matching refs:HZ

332 			ax25->dtimer.expires  = jiffies + 2 * HZ;  in ax25_destroy_socket()
367 if (ax25_ctl.arg > ULONG_MAX / HZ && ax25_ctl.cmd != AX25_KILL) in ax25_ctl_ioctl()
399 if (ax25_ctl.arg < 1 || ax25_ctl.arg > ULONG_MAX / HZ) in ax25_ctl_ioctl()
401 ax25->rtt = (ax25_ctl.arg * HZ) / 2; in ax25_ctl_ioctl()
402 ax25->t1 = ax25_ctl.arg * HZ; in ax25_ctl_ioctl()
406 if (ax25_ctl.arg < 1 || ax25_ctl.arg > ULONG_MAX / HZ) in ax25_ctl_ioctl()
408 ax25->t2 = ax25_ctl.arg * HZ; in ax25_ctl_ioctl()
419 if (ax25_ctl.arg > ULONG_MAX / HZ) in ax25_ctl_ioctl()
421 ax25->t3 = ax25_ctl.arg * HZ; in ax25_ctl_ioctl()
425 if (ax25_ctl.arg > ULONG_MAX / (60 * HZ)) in ax25_ctl_ioctl()
428 ax25->idle = ax25_ctl.arg * 60 * HZ; in ax25_ctl_ioctl()
574 if (opt < 1 || opt > ULONG_MAX / HZ) { in ax25_setsockopt()
578 ax25->rtt = (opt * HZ) >> 1; in ax25_setsockopt()
579 ax25->t1 = opt * HZ; in ax25_setsockopt()
583 if (opt < 1 || opt > ULONG_MAX / HZ) { in ax25_setsockopt()
587 ax25->t2 = opt * HZ; in ax25_setsockopt()
599 if (opt < 1 || opt > ULONG_MAX / HZ) { in ax25_setsockopt()
603 ax25->t3 = opt * HZ; in ax25_setsockopt()
607 if (opt > ULONG_MAX / (60 * HZ)) { in ax25_setsockopt()
611 ax25->idle = opt * 60 * HZ; in ax25_setsockopt()
709 val = ax25->t1 / HZ; in ax25_getsockopt()
713 val = ax25->t2 / HZ; in ax25_getsockopt()
721 val = ax25->t3 / HZ; in ax25_getsockopt()
725 val = ax25->idle / (60 * HZ); in ax25_getsockopt()
1772 ax25_info.t1 = ax25->t1 / HZ; in ax25_ioctl()
1773 ax25_info.t2 = ax25->t2 / HZ; in ax25_ioctl()
1774 ax25_info.t3 = ax25->t3 / HZ; in ax25_ioctl()
1775 ax25_info.idle = ax25->idle / (60 * HZ); in ax25_ioctl()
1777 ax25_info.t1timer = ax25_display_timer(&ax25->t1timer) / HZ; in ax25_ioctl()
1778 ax25_info.t2timer = ax25_display_timer(&ax25->t2timer) / HZ; in ax25_ioctl()
1779 ax25_info.t3timer = ax25_display_timer(&ax25->t3timer) / HZ; in ax25_ioctl()
1780 ax25_info.idletimer = ax25_display_timer(&ax25->idletimer) / (60 * HZ); in ax25_ioctl()
1900 ax25_display_timer(&ax25->t1timer) / HZ, ax25->t1 / HZ, in ax25_info_show()
1901 ax25_display_timer(&ax25->t2timer) / HZ, ax25->t2 / HZ, in ax25_info_show()
1902 ax25_display_timer(&ax25->t3timer) / HZ, ax25->t3 / HZ, in ax25_info_show()
1903 ax25_display_timer(&ax25->idletimer) / (60 * HZ), in ax25_info_show()
1904 ax25->idle / (60 * HZ), in ax25_info_show()
1906 ax25->rtt / HZ, in ax25_info_show()