Home
last modified time | relevance | path

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

12

/linux-2.6.39/kernel/
Dtime.c580 #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 …]
Dsysctl.c2635 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/
Dparam.h14 #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/
Dparam.h15 # 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/
Dparam.h6 # 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/
Dparam.h6 # 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/
Dparam.h6 #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/
Dparam.h6 #define USER_HZ HZ macro
7 #define CLOCKS_PER_SEC (USER_HZ)
/linux-2.6.39/arch/xtensa/include/asm/
Dparam.h16 # 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/
Dparam.h16 #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/
Dparam.h6 # 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/
Dcputime.h163 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/
Djiffies.h64 #define TICK_USEC ((1000000UL + USER_HZ/2) / USER_HZ)
68 #define TICK_USEC_TO_NSEC(TUSEC) (SH_DIV (TUSEC * USER_HZ * 1000, ACTHZ, 8))
Dacct.h159 #define AHZ (USER_HZ)
/linux-2.6.39/arch/powerpc/include/asm/
Dcputime.h232 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/
Dcputime.h101 #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))
Dparam.h23 # define USER_HZ HZ macro
/linux-2.6.39/arch/alpha/include/asm/
Dparam.h10 #define USER_HZ HZ macro
/linux-2.6.39/include/scsi/
Dsg.h302 #define SG_DEFAULT_TIMEOUT_USER (60*USER_HZ) /* HZ == 'jiffies in 1 second' */
/linux-2.6.39/kernel/time/
Dntp.c249 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/
Dcpuacct.txt41 user and system are in USER_HZ unit.
/linux-2.6.39/drivers/scsi/
Dsg.c86 #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/
Dlaptop-mode.txt283 # 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/
Dtime.c199 div128_by_32(USER_HZ, 0, tb_ticks_per_sec, &res); in calc_cputime_factors()
/linux-2.6.39/net/ipv6/
Daddrconf.c1836 if (HZ > USER_HZ) in addrconf_prefix_rcv()
1839 rt_expires = addrconf_timeout_fixup(valid_lft, USER_HZ); in addrconf_prefix_rcv()

12