/kernel/linux/linux-5.10/include/linux/ |
D | jiffies.h | 23 #if HZ >= 12 && HZ < 24 25 #elif HZ >= 24 && HZ < 48 27 #elif HZ >= 48 && HZ < 96 29 #elif HZ >= 96 && HZ < 192 31 #elif HZ >= 192 && HZ < 384 33 #elif HZ >= 384 && HZ < 768 35 #elif HZ >= 768 && HZ < 1536 37 #elif HZ >= 1536 && HZ < 3072 39 #elif HZ >= 3072 && HZ < 6144 41 #elif HZ >= 6144 && HZ < 12288 [all …]
|
D | n_r3964.h | 66 #define R3964_TO_QVZ ((550)*HZ/1000) 67 #define R3964_TO_ZVZ ((220)*HZ/1000) 68 #define R3964_TO_NO_BUF ((400)*HZ/1000) 69 #define R3964_NO_TX_ROOM ((100)*HZ/1000) 70 #define R3964_TO_RX_PANIC ((4000)*HZ/1000)
|
/kernel/linux/linux-5.10/kernel/time/ |
D | time.c | 376 #if HZ <= MSEC_PER_SEC && !(MSEC_PER_SEC % HZ) in jiffies_to_msecs() 377 return (MSEC_PER_SEC / HZ) * j; in jiffies_to_msecs() 378 #elif HZ > MSEC_PER_SEC && !(HZ % MSEC_PER_SEC) in jiffies_to_msecs() 379 return (j + (HZ / MSEC_PER_SEC) - 1)/(HZ / MSEC_PER_SEC); in jiffies_to_msecs() 397 BUILD_BUG_ON(HZ > USEC_PER_SEC); in jiffies_to_usecs() 399 #if !(USEC_PER_SEC % HZ) in jiffies_to_usecs() 400 return (USEC_PER_SEC / HZ) * j; in jiffies_to_usecs() 624 # if HZ < USER_HZ in jiffies_to_clock_t() 625 return x * (USER_HZ / HZ); in jiffies_to_clock_t() 627 return x / (HZ / USER_HZ); in jiffies_to_clock_t() [all …]
|
D | jiffies.c | 27 #if HZ < 34 29 #elif HZ < 67 108 cycles_per_tick = (cycles_per_second + HZ/2)/HZ; in register_refined_jiffies()
|
/kernel/linux/linux-5.10/fs/fscache/ |
D | histogram.c | 14 atomic_t fscache_obj_instantiate_histogram[HZ]; 15 atomic_t fscache_objs_histogram[HZ]; 16 atomic_t fscache_ops_histogram[HZ]; 17 atomic_t fscache_retrieval_delay_histogram[HZ]; 18 atomic_t fscache_retrieval_histogram[HZ]; 45 t = (index * 1000) / HZ; in fscache_histogram_show() 58 if ((unsigned long long)*_pos >= HZ + 2) in fscache_histogram_start() 71 return (unsigned long long)*pos > HZ + 2 ? in fscache_histogram_next()
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
D | delay.h | 36 #define __MAX_UDELAY (226050910UL/HZ) /* maximum udelay argument */ 37 #define __MAX_NDELAY (4294967295UL/HZ) /* maximum ndelay argument */ 65 __udelay((n) * (19 * HZ)); \ 67 __udelay((n) * (19 * HZ)); \ 77 __udelay((n) * HZ); \ 79 __udelay((n) * HZ); \
|
/kernel/linux/linux-5.10/arch/riscv/lib/ |
D | delay.c | 42 #define UDELAY_MULT (2147UL * HZ + 483648UL * HZ / 1000000UL) 45 #if HZ > MAX_UDELAY_HZ 65 #define NDELAY_MULT ((unsigned long long)(2199ULL * HZ + 23255550ULL * HZ / 1000000000ULL)) 68 #if HZ > MAX_NDELAY_HZ
|
/kernel/linux/linux-5.10/net/netrom/ |
D | sysctl_net_netrom.c | 18 static int min_t1[] = {5 * HZ}; 19 static int max_t1[] = {600 * HZ}; 21 static int min_t2[] = {1 * HZ}; 22 static int max_t2[] = {60 * HZ}; 23 static int min_t4[] = {1 * HZ}; 24 static int max_t4[] = {1000 * HZ}; 26 static int min_idle[] = {0 * HZ}; 27 static int max_idle[] = {65535 * HZ};
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_private_stp.h | 16 #define BR_MIN_HELLO_TIME (1*HZ) 17 #define BR_MAX_HELLO_TIME (10*HZ) 19 #define BR_MIN_FORWARD_DELAY (2*HZ) 20 #define BR_MAX_FORWARD_DELAY (30*HZ) 22 #define BR_MIN_MAX_AGE (6*HZ) 23 #define BR_MAX_MAX_AGE (40*HZ)
|
/kernel/linux/linux-5.10/arch/mips/sni/ |
D | time.c | 15 #define SNI_COUNTER0_DIV ((SNI_CLOCK_TICK_RATE / SNI_COUNTER2_DIV) / HZ) 76 #define SNI_8254_TCSAMP_COUNTER ((SNI_8254_TICK_RATE / HZ) + 255) 107 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample() 153 (int) (r4k_tick / (500000 / HZ)), in plat_time_init() 154 (int) (r4k_tick % (500000 / HZ))); in plat_time_init() 156 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
|
/kernel/linux/linux-5.10/fs/cachefiles/ |
D | proc.c | 13 atomic_t cachefiles_lookup_histogram[HZ]; 14 atomic_t cachefiles_mkdir_histogram[HZ]; 15 atomic_t cachefiles_create_histogram[HZ]; 40 t = (index * 1000) / HZ; in cachefiles_histogram_show() 52 if ((unsigned long long)*_pos >= HZ + 2) in cachefiles_histogram_start() 65 return (unsigned long long)*pos > HZ + 2 ? in cachefiles_histogram_next()
|
/kernel/linux/linux-5.10/net/rose/ |
D | sysctl_net_rose.c | 12 static int min_timer[] = {1 * HZ}; 13 static int max_timer[] = {300 * HZ}; 14 static int min_idle[] = {0 * HZ}; 15 static int max_idle[] = {65535 * HZ}; 17 static int min_ftimer[] = {60 * HZ}; 18 static int max_ftimer[] = {600 * HZ};
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
D | delay.h | 22 usecs *= (unsigned long)(((0x8000000000000000ULL / (500000 / HZ)) + in __udelay() 31 #if HZ >= 1000 33 #elif HZ <= 200 36 #define MAX_UDELAY_MS (1000 / HZ)
|
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/ |
D | ip22-time.c | 63 return (ct1 - ct0) / (500000/HZ) * (500000/HZ); in dosample() 109 (int) (r4k_tick / (500000 / HZ)), in plat_time_init() 110 (int) (r4k_tick % (500000 / HZ))); in plat_time_init() 112 mips_hpt_frequency = r4k_tick * HZ; in plat_time_init()
|
/kernel/linux/linux-5.10/include/scsi/ |
D | scsi.h | 18 SCSI_DEFAULT_EH_TIMEOUT = 10 * HZ, 196 #define FORMAT_UNIT_TIMEOUT (2 * 60 * 60 * HZ) 197 #define START_STOP_TIMEOUT (60 * HZ) 198 #define MOVE_MEDIUM_TIMEOUT (5 * 60 * HZ) 199 #define READ_ELEMENT_STATUS_TIMEOUT (5 * 60 * HZ) 200 #define READ_DEFECT_DATA_TIMEOUT (60 * HZ )
|
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
D | timer.c | 24 int next_tick = 2*HZ; in tulip_media_task() 46 next_tick = 60*HZ; in tulip_media_task() 104 next_tick = (24*HZ)/10; in tulip_media_task() 111 next_tick = 3*HZ; in tulip_media_task() 114 next_tick = 60*HZ; in tulip_media_task() 145 int next_tick = 60*HZ; in mxic_timer() 161 int next_tick = 2*HZ; in comet_timer()
|
D | pnic.c | 68 if (! tp->nwayset || time_after(jiffies, dev_trans_start(dev) + 1*HZ)) { in pnic_lnk_change() 92 int next_tick = 60*HZ; in pnic_timer() 106 next_tick = 3*HZ; in pnic_timer() 119 next_tick = 1*HZ; in pnic_timer() 123 next_tick = 60*HZ; in pnic_timer() 131 next_tick = 3*HZ; in pnic_timer() 134 next_tick = 1*HZ; in pnic_timer()
|
/kernel/linux/linux-5.10/arch/h8300/kernel/ |
D | setup.c | 137 (loops_per_jiffy*HZ)/500000, in show_cpuinfo() 138 ((loops_per_jiffy*HZ)/5000)%100, in show_cpuinfo() 139 (loops_per_jiffy*HZ)); in show_cpuinfo() 207 loops_per_jiffy = freq / HZ / (access_timing() * 2); in calibrate_delay() 209 loops_per_jiffy / (500000 / HZ), in calibrate_delay() 210 (loops_per_jiffy / (5000 / HZ)) % 100, loops_per_jiffy); in calibrate_delay()
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | param.h | 15 # define HZ CONFIG_HZ macro 16 # define USER_HZ HZ 17 # define CLOCKS_PER_SEC HZ /* frequency at which times() counts */
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
D | timers.c | 62 jiffies + REJECT_AFTER_TIME * 3 * HZ); in wg_expired_retransmit_handshake() 87 jiffies + KEEPALIVE_TIMEOUT * HZ); in wg_expired_send_keepalive() 149 jiffies + (KEEPALIVE_TIMEOUT + REKEY_TIMEOUT) * HZ + in wg_timers_data_sent() 159 jiffies + KEEPALIVE_TIMEOUT * HZ); in wg_timers_data_received() 185 jiffies + REKEY_TIMEOUT * HZ + in wg_timers_handshake_initiated() 206 jiffies + REJECT_AFTER_TIME * 3 * HZ); in wg_timers_session_derived() 216 jiffies + peer->persistent_keepalive_interval * HZ); in wg_timers_any_authenticated_packet_traversal()
|
/kernel/linux/linux-5.10/kernel/ |
D | Kconfig.hz | 16 environment leading to NR_CPUS * HZ number of timer interrupts 21 bool "100 HZ" 28 bool "250 HZ" 36 bool "300 HZ" 44 bool "1000 HZ" 51 config HZ config
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | delay.h | 24 #if HZ >= 1000 26 #elif HZ <= 200 29 #define MAX_UDELAY_MS (1000 / HZ)
|
/kernel/linux/linux-5.10/net/ax25/ |
D | af_ax25.c | 343 ax25->dtimer.expires = jiffies + 2 * HZ; in ax25_destroy_socket() 375 if (ax25_ctl.arg > ULONG_MAX / HZ && ax25_ctl.cmd != AX25_KILL) in ax25_ctl_ioctl() 414 if (ax25_ctl.arg < 1 || ax25_ctl.arg > ULONG_MAX / HZ) in ax25_ctl_ioctl() 416 ax25->rtt = (ax25_ctl.arg * HZ) / 2; in ax25_ctl_ioctl() 417 ax25->t1 = ax25_ctl.arg * HZ; in ax25_ctl_ioctl() 421 if (ax25_ctl.arg < 1 || ax25_ctl.arg > ULONG_MAX / HZ) in ax25_ctl_ioctl() 423 ax25->t2 = ax25_ctl.arg * HZ; in ax25_ctl_ioctl() 434 if (ax25_ctl.arg > ULONG_MAX / HZ) in ax25_ctl_ioctl() 436 ax25->t3 = ax25_ctl.arg * HZ; in ax25_ctl_ioctl() 440 if (ax25_ctl.arg > ULONG_MAX / (60 * HZ)) in ax25_ctl_ioctl() [all …]
|
/kernel/linux/linux-5.10/include/video/ |
D | udlfb.h | 78 #define GET_URB_TIMEOUT HZ 79 #define FREE_URB_TIMEOUT (HZ*2) 96 #define DL_DEFIO_WRITE_DELAY msecs_to_jiffies(HZ <= 300 ? 4 : 10) /* optimal value for 720p vide… 97 #define DL_DEFIO_WRITE_DISABLE (HZ*60) /* "disable" with long delay */
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_conntrack_proto_udp.c | 28 [UDP_CT_UNREPLIED] = 30*HZ, 29 [UDP_CT_REPLIED] = 120*HZ, 101 ct->proto.udp.stream_ts = 2 * HZ + jiffies; in nf_conntrack_udp_packet() 237 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDP_UNREPLIED])) * HZ; in udp_timeout_nlattr_to_obj() 241 ntohl(nla_get_be32(tb[CTA_TIMEOUT_UDP_REPLIED])) * HZ; in udp_timeout_nlattr_to_obj() 252 htonl(timeouts[UDP_CT_UNREPLIED] / HZ)) || in udp_timeout_obj_to_nlattr() 254 htonl(timeouts[UDP_CT_REPLIED] / HZ))) in udp_timeout_obj_to_nlattr()
|