Home
last modified time | relevance | path

Searched refs:USER_HZ (Results 1 – 16 of 16) sorted by relevance

/linux/kernel/time/
H A Dtime.c664 #if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0 in jiffies_to_clock_t()
665 # if HZ < USER_HZ in jiffies_to_clock_t()
666 return x * (USER_HZ / HZ); in jiffies_to_clock_t()
668 return x / (HZ / USER_HZ); in jiffies_to_clock_t()
671 return div_u64((u64)x * TICK_NSEC, NSEC_PER_SEC / USER_HZ); in jiffies_to_clock_t()
684 #if (HZ % USER_HZ)==0 in clock_t_to_jiffies()
685 if (x >= ~0UL / (HZ / USER_HZ)) in clock_t_to_jiffies()
687 return x * (HZ / USER_HZ); in clock_t_to_jiffies()
690 if (x >= ~0UL / HZ * USER_HZ) in clock_t_to_jiffies()
694 return div_u64((u64)x * HZ, USER_HZ); in clock_t_to_jiffies()
[all …]
H A Dntp.c264 second_length = (u64)(tick_usec * NSEC_PER_USEC * USER_HZ) in ntp_update_frequency()
H A Dtimekeeping.c2489 (txc->tick < 900000/USER_HZ || in timekeeping_validate_timex()
2490 txc->tick > 1100000/USER_HZ)) in timekeeping_validate_timex()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_tcp4.c22 #define USER_HZ 100 macro
30 u64 user_hz_nsec = NSEC_PER_SEC / USER_HZ; in jiffies_to_clock_t()
33 if (CONFIG_HZ < USER_HZ) in jiffies_to_clock_t()
34 return x * (USER_HZ / CONFIG_HZ); in jiffies_to_clock_t()
36 return x / (CONFIG_HZ / USER_HZ); in jiffies_to_clock_t()
H A Dbpf_iter_tcp6.c22 #define USER_HZ 100 macro
30 u64 user_hz_nsec = NSEC_PER_SEC / USER_HZ; in jiffies_to_clock_t()
33 if (CONFIG_HZ < USER_HZ) in jiffies_to_clock_t()
34 return x * (USER_HZ / CONFIG_HZ); in jiffies_to_clock_t()
36 return x / (CONFIG_HZ / USER_HZ); in jiffies_to_clock_t()
/linux/include/asm-generic/
H A Dparam.h9 # define USER_HZ 100 /* some user interfaces are */ macro
10 # define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */
/linux/arch/alpha/include/asm/
H A Dparam.h9 # define USER_HZ 1024 macro
10 # define CLOCKS_PER_SEC USER_HZ /* frequency at which times() counts */
/linux/include/linux/
H A Djiffies.h68 #define USER_TICK_USEC ((1000000UL + USER_HZ/2) / USER_HZ)
H A Dacct.h57 #define AHZ (USER_HZ)
/linux/include/scsi/
H A Dsg.h324 #define SG_DEFAULT_TIMEOUT_USER (60*USER_HZ) /* HZ == 'jiffies in 1 second' */
/linux/Documentation/admin-guide/cgroup-v1/
H A Dcpuacct.rst41 user and system are in USER_HZ unit.
/linux/Documentation/admin-guide/laptops/
H A Dlaptop-mode.rst275 # needs# some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for
396 # some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for external
564 # not USER_HZ, so we have to use $AGE, not $XFS_AGE.
/linux/kernel/
H A Dsysctl.c1180 if (USER_HZ < HZ && *lvalp > (LONG_MAX / HZ) * USER_HZ) in do_proc_dointvec_userhz_jiffies_conv()
/linux/net/ipv6/
H A Daddrconf.c2817 if (HZ > USER_HZ) in addrconf_prefix_rcv()
2820 rt_expires = addrconf_timeout_fixup(valid_lft, USER_HZ); in addrconf_prefix_rcv()
/linux/drivers/scsi/
H A Dscsi_debug.c8689 jdelay = mult_frac(USER_HZ * jdelay, HZ, denom * USER_HZ); in scsi_debug_queuecommand()
/linux/Documentation/filesystems/
H A Dproc.rst1528 different kinds of work. Time units are in USER_HZ (typically hundredths of a