Searched refs:USER_HZ (Results 1 – 18 of 18) sorted by relevance
/linux-6.1.9/kernel/time/ |
D | time.c | 623 #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 …]
|
D | ntp.c | 264 second_length = (u64)(tick_usec * NSEC_PER_USEC * USER_HZ) in ntp_update_frequency()
|
D | timekeeping.c | 2360 (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/ |
D | param.h | 9 # 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/ |
D | param.h | 9 # 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/ |
D | bpf_iter_tcp4.c | 22 #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()
|
D | bpf_iter_tcp6.c | 22 #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/ |
D | param.h | 16 # define USER_HZ HZ macro
|
/linux-6.1.9/include/linux/ |
D | jiffies.h | 68 #define USER_TICK_USEC ((1000000UL + USER_HZ/2) / USER_HZ)
|
D | acct.h | 57 #define AHZ (USER_HZ)
|
/linux-6.1.9/include/scsi/ |
D | sg.h | 324 #define SG_DEFAULT_TIMEOUT_USER (60*USER_HZ) /* HZ == 'jiffies in 1 second' */
|
/linux-6.1.9/Documentation/admin-guide/cgroup-v1/ |
D | cpuacct.rst | 41 user and system are in USER_HZ unit.
|
/linux-6.1.9/drivers/scsi/ |
D | sg.c | 82 #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()
|
D | scsi_debug.c | 7770 jdelay = mult_frac(USER_HZ * jdelay, HZ, denom * USER_HZ); in scsi_debug_queuecommand()
|
/linux-6.1.9/Documentation/admin-guide/laptops/ |
D | laptop-mode.rst | 275 # 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/ |
D | sysctl.c | 1202 if (USER_HZ < HZ && *lvalp > (LONG_MAX / HZ) * USER_HZ) in do_proc_dointvec_userhz_jiffies_conv()
|
/linux-6.1.9/net/ipv6/ |
D | addrconf.c | 2744 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/ |
D | proc.rst | 1460 different kinds of work. Time units are in USER_HZ (typically hundredths of a
|