Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/time/
Dtime.c623 #if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0 in jiffies_to_clock_t()
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()
630 return div_u64((u64)x * TICK_NSEC, NSEC_PER_SEC / USER_HZ); in jiffies_to_clock_t()
637 #if (HZ % USER_HZ)==0 in clock_t_to_jiffies()
638 if (x >= ~0UL / (HZ / USER_HZ)) in clock_t_to_jiffies()
640 return x * (HZ / USER_HZ); in clock_t_to_jiffies()
643 if (x >= ~0UL / HZ * USER_HZ) in clock_t_to_jiffies()
647 return div_u64((u64)x * HZ, USER_HZ); in clock_t_to_jiffies()
[all …]
Dntp.c264 second_length = (u64)(tick_usec * NSEC_PER_USEC * USER_HZ) in ntp_update_frequency()
Dtimekeeping.c2360 (txc->tick < 900000/USER_HZ || in timekeeping_validate_timex()
2361 txc->tick > 1100000/USER_HZ)) in timekeeping_validate_timex()
/linux-6.1.9/include/asm-generic/
Dparam.h9 # define USER_HZ 100 /* some user interfaces are */ macro
10 # define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */
/linux-6.1.9/arch/alpha/include/asm/
Dparam.h9 # define USER_HZ 1024 macro
10 # define CLOCKS_PER_SEC USER_HZ /* frequency at which times() counts */
/linux-6.1.9/tools/testing/selftests/bpf/progs/
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()
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-6.1.9/arch/ia64/include/asm/
Dparam.h16 # define USER_HZ HZ macro
/linux-6.1.9/include/linux/
Djiffies.h68 #define USER_TICK_USEC ((1000000UL + USER_HZ/2) / USER_HZ)
Dacct.h57 #define AHZ (USER_HZ)
/linux-6.1.9/include/scsi/
Dsg.h324 #define SG_DEFAULT_TIMEOUT_USER (60*USER_HZ) /* HZ == 'jiffies in 1 second' */
/linux-6.1.9/Documentation/admin-guide/cgroup-v1/
Dcpuacct.rst41 user and system are in USER_HZ unit.
/linux-6.1.9/drivers/scsi/
Dsg.c82 #define SG_DEFAULT_TIMEOUT mult_frac(SG_DEFAULT_TIMEOUT_USER, HZ, USER_HZ)
957 if (val >= mult_frac((s64)INT_MAX, USER_HZ, HZ)) in sg_ioctl_common()
958 val = min_t(s64, mult_frac((s64)INT_MAX, USER_HZ, HZ), in sg_ioctl_common()
961 sfp->timeout = mult_frac(val, HZ, USER_HZ); in sg_ioctl_common()
Dscsi_debug.c7770 jdelay = mult_frac(USER_HZ * jdelay, HZ, denom * USER_HZ); in scsi_debug_queuecommand()
/linux-6.1.9/Documentation/admin-guide/laptops/
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-6.1.9/kernel/
Dsysctl.c1202 if (USER_HZ < HZ && *lvalp > (LONG_MAX / HZ) * USER_HZ) in do_proc_dointvec_userhz_jiffies_conv()
/linux-6.1.9/net/ipv6/
Daddrconf.c2744 if (HZ > USER_HZ) in addrconf_prefix_rcv()
2747 rt_expires = addrconf_timeout_fixup(valid_lft, USER_HZ); in addrconf_prefix_rcv()
/linux-6.1.9/Documentation/filesystems/
Dproc.rst1460 different kinds of work. Time units are in USER_HZ (typically hundredths of a