/linux-2.6.39/kernel/ |
D | time.c | 580 #if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0 in jiffies_to_clock_t() 581 # if HZ < USER_HZ in jiffies_to_clock_t() 582 return x * (USER_HZ / HZ); in jiffies_to_clock_t() 584 return x / (HZ / USER_HZ); in jiffies_to_clock_t() 587 return div_u64((u64)x * TICK_NSEC, NSEC_PER_SEC / USER_HZ); in jiffies_to_clock_t() 594 #if (HZ % USER_HZ)==0 in clock_t_to_jiffies() 595 if (x >= ~0UL / (HZ / USER_HZ)) in clock_t_to_jiffies() 597 return x * (HZ / USER_HZ); in clock_t_to_jiffies() 600 if (x >= ~0UL / HZ * USER_HZ) in clock_t_to_jiffies() 604 return div_u64((u64)x * HZ, USER_HZ); in clock_t_to_jiffies() [all …]
|
D | sysctl.c | 2635 if (USER_HZ < HZ && *lvalp > (LONG_MAX / HZ) * USER_HZ) in do_proc_dointvec_userhz_jiffies_conv()
|
/linux-2.6.39/arch/um/include/asm/ |
D | param.h | 14 #define USER_HZ 100 /* .. some user interfaces are in "ticks" */ macro 15 #define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
|
/linux-2.6.39/arch/arm/include/asm/ |
D | param.h | 15 # define USER_HZ 100 /* User interfaces are in "ticks" */ macro 16 # define CLOCKS_PER_SEC (USER_HZ) /* like times() */
|
/linux-2.6.39/arch/avr32/include/asm/ |
D | param.h | 6 # define USER_HZ 100 /* User interfaces are in "ticks" */ macro 7 # define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
|
/linux-2.6.39/arch/m32r/include/asm/ |
D | param.h | 6 # define USER_HZ 100 /* .. some user interfaces are in "ticks" */ macro 7 # define CLOCKS_PER_SEC (USER_HZ) /* like times() */
|
/linux-2.6.39/arch/frv/include/asm/ |
D | param.h | 6 #define USER_HZ 100 /* .. some user interfaces are in "ticks" */ macro 7 #define CLOCKS_PER_SEC (USER_HZ) /* like times() */
|
/linux-2.6.39/arch/h8300/include/asm/ |
D | param.h | 6 #define USER_HZ HZ macro 7 #define CLOCKS_PER_SEC (USER_HZ)
|
/linux-2.6.39/arch/xtensa/include/asm/ |
D | param.h | 16 # define USER_HZ 100 /* for user interfaces in "ticks" */ macro 17 # define CLOCKS_PER_SEC (USER_HZ) /* frequnzy at which times() counts */
|
/linux-2.6.39/arch/mn10300/include/asm/ |
D | param.h | 16 #define USER_HZ 100 /* .. some user interfaces are in macro 18 #define CLOCKS_PER_SEC (USER_HZ) /* like times() */
|
/linux-2.6.39/include/asm-generic/ |
D | param.h | 6 # define USER_HZ 100 /* some user interfaces are */ macro 7 # define CLOCKS_PER_SEC (USER_HZ) /* in "ticks" like times() */
|
/linux-2.6.39/arch/s390/include/asm/ |
D | cputime.h | 163 return cputime_div(cputime, 4096000000ULL / USER_HZ); in cputime_to_clock_t() 169 return (cputime_t) x * (4096000000ULL / USER_HZ); in clock_t_to_cputime() 178 return cputime_div(cputime, 4096000000ULL / USER_HZ); in cputime64_to_clock_t()
|
/linux-2.6.39/include/linux/ |
D | jiffies.h | 64 #define TICK_USEC ((1000000UL + USER_HZ/2) / USER_HZ) 68 #define TICK_USEC_TO_NSEC(TUSEC) (SH_DIV (TUSEC * USER_HZ * 1000, ACTHZ, 8))
|
D | acct.h | 159 #define AHZ (USER_HZ)
|
/linux-2.6.39/arch/powerpc/include/asm/ |
D | cputime.h | 232 ct = clk % USER_HZ; in clock_t_to_cputime() 233 sec = clk / USER_HZ; in clock_t_to_cputime() 236 do_div(ct, USER_HZ); in clock_t_to_cputime()
|
/linux-2.6.39/arch/ia64/include/asm/ |
D | cputime.h | 101 #define cputime_to_clock_t(__ct) ((__ct) / (NSEC_PER_SEC / USER_HZ)) 102 #define clock_t_to_cputime(__x) ((__x) * (NSEC_PER_SEC / USER_HZ))
|
D | param.h | 23 # define USER_HZ HZ macro
|
/linux-2.6.39/arch/alpha/include/asm/ |
D | param.h | 10 #define USER_HZ HZ macro
|
/linux-2.6.39/include/scsi/ |
D | sg.h | 302 #define SG_DEFAULT_TIMEOUT_USER (60*USER_HZ) /* HZ == 'jiffies in 1 second' */
|
/linux-2.6.39/kernel/time/ |
D | ntp.c | 249 second_length = (u64)(tick_usec * NSEC_PER_USEC * USER_HZ) in ntp_update_frequency() 643 (txc->tick < 900000/USER_HZ || in do_adjtimex() 644 txc->tick > 1100000/USER_HZ)) in do_adjtimex()
|
/linux-2.6.39/Documentation/cgroups/ |
D | cpuacct.txt | 41 user and system are in USER_HZ unit.
|
/linux-2.6.39/drivers/scsi/ |
D | sg.c | 86 #define SG_DEFAULT_TIMEOUT MULDIV(SG_DEFAULT_TIMEOUT_USER, HZ, USER_HZ) 832 if (val >= MULDIV (INT_MAX, USER_HZ, HZ)) in sg_ioctl() 833 val = MULDIV (INT_MAX, USER_HZ, HZ); in sg_ioctl() 835 sfp->timeout = MULDIV (val, HZ, USER_HZ); in sg_ioctl()
|
/linux-2.6.39/Documentation/laptops/ |
D | laptop-mode.txt | 283 # needs# some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for 405 # some fixes. On 2.6 kernels, XFS uses USER_HZ instead of HZ for external 573 # not USER_HZ, so we have to use $AGE, not $XFS_AGE.
|
/linux-2.6.39/arch/powerpc/kernel/ |
D | time.c | 199 div128_by_32(USER_HZ, 0, tb_ticks_per_sec, &res); in calc_cputime_factors()
|
/linux-2.6.39/net/ipv6/ |
D | addrconf.c | 1836 if (HZ > USER_HZ) in addrconf_prefix_rcv() 1839 rt_expires = addrconf_timeout_fixup(valid_lft, USER_HZ); in addrconf_prefix_rcv()
|