/kernel/ |
D | time.c | 312 struct timeval x; in getnstimeofday() local 314 do_gettimeofday(&x); in getnstimeofday() 315 tv->tv_sec = x.tv_sec; in getnstimeofday() 316 tv->tv_nsec = x.tv_usec * NSEC_PER_USEC; in getnstimeofday() 589 clock_t jiffies_to_clock_t(long x) in jiffies_to_clock_t() argument 593 return x * (USER_HZ / HZ); in jiffies_to_clock_t() 595 return x / (HZ / USER_HZ); in jiffies_to_clock_t() 598 return div_u64((u64)x * TICK_NSEC, NSEC_PER_SEC / USER_HZ); in jiffies_to_clock_t() 603 unsigned long clock_t_to_jiffies(unsigned long x) in clock_t_to_jiffies() argument 606 if (x >= ~0UL / (HZ / USER_HZ)) in clock_t_to_jiffies() [all …]
|
D | sched_debug.c | 23 #define SEQ_printf(m, x...) \ argument 26 seq_printf(m, x); \ 28 printk(x); \ 54 #define SPLIT_NS(x) nsec_high(x), nsec_low(x) argument 235 #define P(x) \ in print_rt_rq() argument 236 SEQ_printf(m, " .%-30s: %Ld\n", #x, (long long)(rt_rq->x)) in print_rt_rq() 237 #define PN(x) \ in print_rt_rq() argument 238 SEQ_printf(m, " .%-30s: %Ld.%06ld\n", #x, SPLIT_NS(rt_rq->x)) in print_rt_rq() 264 #define P(x) \ in print_cpu() argument 265 SEQ_printf(m, " .%-30s: %Ld\n", #x, (long long)(rq->x)) in print_cpu() [all …]
|
D | cpu.c | 482 #define MASK_DECLARE_1(x) [x+1][0] = 1UL << (x) argument 483 #define MASK_DECLARE_2(x) MASK_DECLARE_1(x), MASK_DECLARE_1(x+1) argument 484 #define MASK_DECLARE_4(x) MASK_DECLARE_2(x), MASK_DECLARE_2(x+2) argument 485 #define MASK_DECLARE_8(x) MASK_DECLARE_4(x), MASK_DECLARE_4(x+4) argument
|
D | sched_clock.c | 93 static inline u64 wrap_min(u64 x, u64 y) in wrap_min() argument 95 return (s64)(x - y) < 0 ? x : y; in wrap_min() 98 static inline u64 wrap_max(u64 x, u64 y) in wrap_max() argument 100 return (s64)(x - y) > 0 ? x : y; in wrap_max()
|
D | timeconst.pl | 163 my($x) = @_; 164 return Math::BigInt->new($x); 210 my($x) = @_; 211 my $s = $x->as_hex();
|
D | rtmutex-debug.c | 32 # define TRACE_WARN_ON(x) WARN_ON(x) argument 33 # define TRACE_BUG_ON(x) BUG_ON(x) argument
|
D | sched.c | 816 #define sched_feat(x) (sysctl_sched_features & (1UL << __SCHED_FEAT_##x)) argument 1273 #define SRR(x, y) (((x) + (1UL << ((y) - 1))) >> (y)) argument 4833 void complete(struct completion *x) in complete() argument 4837 spin_lock_irqsave(&x->wait.lock, flags); in complete() 4838 x->done++; in complete() 4839 __wake_up_common(&x->wait, TASK_NORMAL, 1, 0, NULL); in complete() 4840 spin_unlock_irqrestore(&x->wait.lock, flags); in complete() 4850 void complete_all(struct completion *x) in complete_all() argument 4854 spin_lock_irqsave(&x->wait.lock, flags); in complete_all() 4855 x->done += UINT_MAX/2; in complete_all() [all …]
|
D | sys.c | 1512 struct rlimit x; in SYSCALL_DEFINE2() local 1517 x = current->signal->rlim[resource]; in SYSCALL_DEFINE2() 1519 if (x.rlim_cur > 0x7FFFFFFF) in SYSCALL_DEFINE2() 1520 x.rlim_cur = 0x7FFFFFFF; in SYSCALL_DEFINE2() 1521 if (x.rlim_max > 0x7FFFFFFF) in SYSCALL_DEFINE2() 1522 x.rlim_max = 0x7FFFFFFF; in SYSCALL_DEFINE2() 1523 return copy_to_user(rlim, &x, sizeof(x))?-EFAULT:0; in SYSCALL_DEFINE2()
|
D | resource.c | 813 int x = reserved; in reserve_setup() local 819 if (x < MAXRESERVE) { in reserve_setup() 820 struct resource *res = reserve + x; in reserve_setup() 827 reserved = x+1; in reserve_setup()
|
D | signal.c | 151 unsigned long i, *s, *m, x; in next_signal() local 159 if ((x = *s &~ *m) != 0) { in next_signal() 160 sig = ffz(~x) + i*_NSIG_BPW + 1; in next_signal() 165 case 2: if ((x = s[0] &~ m[0]) != 0) in next_signal() 167 else if ((x = s[1] &~ m[1]) != 0) in next_signal() 171 sig += ffz(~x); in next_signal() 174 case 1: if ((x = *s &~ *m) != 0) in next_signal() 175 sig = ffz(~x) + 1; in next_signal()
|
D | acct.c | 101 static void acct_timeout(unsigned long x) in acct_timeout() argument 103 struct bsd_acct_struct *acct = (struct bsd_acct_struct *)x; in acct_timeout()
|
D | posix-cpu-timers.c | 1189 cputime_t x; in check_process_timers() local 1208 x = secs_to_cputime(sig->rlim[RLIMIT_CPU].rlim_cur); in check_process_timers() 1210 cputime_lt(x, prof_expires)) { in check_process_timers() 1211 prof_expires = x; in check_process_timers()
|
D | compat.c | 213 static compat_clock_t clock_t_to_compat_clock_t(clock_t x) in clock_t_to_compat_clock_t() argument 215 return compat_jiffies_to_clock_t(clock_t_to_jiffies(x)); in clock_t_to_compat_clock_t()
|
D | auditsc.c | 251 #define ACC_MODE(x) ("\004\002\006\006"[(x)&O_ACCMODE]) argument
|
/kernel/time/ |
D | timer_list.c | 31 #define SEQ_printf(m, x...) \ argument 34 seq_printf(m, x); \ 36 printk(x); \ 142 #define P(x) \ in print_cpu() argument 143 SEQ_printf(m, " .%-15s: %Lu\n", #x, \ in print_cpu() 144 (unsigned long long)(cpu_base->x)) in print_cpu() 145 #define P_ns(x) \ in print_cpu() argument 146 SEQ_printf(m, " .%-15s: %Lu nsecs\n", #x, \ in print_cpu() 147 (unsigned long long)(ktime_to_ns(cpu_base->x))) in print_cpu() 158 # define P(x) \ in print_cpu() argument [all …]
|
/kernel/trace/ |
D | trace_selftest.c | 102 #define __STR(x) #x argument 103 #define STR(x) __STR(x) argument 454 struct completion *x = data; in trace_wakeup_test_thread() local 459 complete(x); in trace_wakeup_test_thread()
|
D | trace.c | 2197 #define SEQ_PUT_FIELD_RET(s, x) \ argument 2199 if (!trace_seq_putmem(s, &(x), sizeof(x))) \ 2203 #define SEQ_PUT_HEX_FIELD_RET(s, x) \ argument 2205 BUILD_BUG_ON(sizeof(x) > MAX_MEMHEX_BYTES); \ 2206 if (!trace_seq_putmem_hex(s, &(x), sizeof(x))) \
|