/linux/kernel/sched/ |
H A D | cputime.c | 548 u64 rtime, stime, utime; in cputime_adjust() local 553 rtime = curr->sum_exec_runtime; in cputime_adjust() 563 if (prev->stime + prev->utime >= rtime) in cputime_adjust() 575 utime = rtime; in cputime_adjust() 580 stime = rtime; in cputime_adjust() 584 stime = mul_u64_u64_div_u64(stime, rtime, stime + utime); in cputime_adjust() 589 if (unlikely(stime > rtime)) in cputime_adjust() 590 stime = rtime; in cputime_adjust() 604 utime = rtime - stime; in cputime_adjust() 612 stime = rtime - utime; in cputime_adjust()
|
H A D | fair.c | 12959 u64 rtime = se->sum_exec_runtime - se->prev_sum_exec_runtime; in __entity_slice_used() local 12962 return (rtime * min_nr_tasks > slice); in __entity_slice_used()
|
/linux/net/ipv6/ |
H A D | ndisc.c | 1448 unsigned long rtime = ntohl(ra_msg->retrans_timer); in ndisc_router_discovery() local 1450 if (rtime && rtime/1000 < MAX_SCHEDULE_TIMEOUT/HZ) { in ndisc_router_discovery() 1451 rtime = (rtime*HZ)/1000; in ndisc_router_discovery() 1452 if (rtime < HZ/100) in ndisc_router_discovery() 1453 rtime = HZ/100; in ndisc_router_discovery() 1454 NEIGH_VAR_SET(in6_dev->nd_parms, RETRANS_TIME, rtime); in ndisc_router_discovery() 1459 rtime = ntohl(ra_msg->reachable_time); in ndisc_router_discovery() 1460 if (rtime && rtime/1000 < MAX_SCHEDULE_TIMEOUT/(3*HZ)) { in ndisc_router_discovery() 1461 rtime = (rtime*HZ)/1000; in ndisc_router_discovery() 1463 if (rtime < HZ/10) in ndisc_router_discovery() [all …]
|
/linux/include/rdma/ |
H A D | ib_mad.h | 329 u8 rtime) in ib_set_cpi_resp_time() argument 334 cpu_to_be32(rtime & IB_CLASS_PORT_INFO_RESP_TIME_MASK); in ib_set_cpi_resp_time() 509 static inline void ib_set_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr, u8 rtime) in ib_set_rmpp_resptime() argument 511 rmpp_hdr->rmpp_rtime_flags = ib_get_rmpp_flags(rmpp_hdr) | (rtime << 3); in ib_set_rmpp_resptime()
|
/linux/kernel/time/ |
H A D | posix-cpu-timers.c | 214 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument 218 samples[CPUCLOCK_SCHED] = rtime; in store_samples() 232 u64 stime, utime, rtime; in proc_sample_cputime_atomic() local 236 rtime = atomic64_read(&at->sum_exec_runtime); in proc_sample_cputime_atomic() 237 store_samples(samples, stime, utime, rtime); in proc_sample_cputime_atomic()
|
/linux/fs/btrfs/ |
H A D | ioctl.c | 78 struct btrfs_ioctl_timespec_32 rtime; /* out */ member 2217 subvol_info->rtime.sec = btrfs_stack_timespec_sec(&root_item->rtime); in btrfs_ioctl_get_subvol_info() 2218 subvol_info->rtime.nsec = btrfs_stack_timespec_nsec(&root_item->rtime); in btrfs_ioctl_get_subvol_info() 4110 sa->rtime.sec = ct.tv_sec; in _btrfs_ioctl_set_received_subvol() 4111 sa->rtime.nsec = ct.tv_nsec; in _btrfs_ioctl_set_received_subvol() 4131 btrfs_set_stack_timespec_sec(&root_item->rtime, sa->rtime.sec); in _btrfs_ioctl_set_received_subvol() 4132 btrfs_set_stack_timespec_nsec(&root_item->rtime, sa->rtime.nsec); in _btrfs_ioctl_set_received_subvol() 4180 args64->rtime.sec = args32->rtime.sec; in btrfs_ioctl_set_received_subvol_32() 4181 args64->rtime.nsec = args32->rtime.nsec; in btrfs_ioctl_set_received_subvol_32() 4193 args32->rtime.sec = args64->rtime.sec; in btrfs_ioctl_set_received_subvol_32() [all …]
|
H A D | transaction.c | 1773 memset(&new_root_item->rtime, 0, sizeof(new_root_item->rtime)); in create_pending_snapshot()
|
/linux/drivers/input/serio/ |
H A D | hp_sdc.c | 196 hp_sdc.rtime = ktime_get(); in hp_sdc_take() 311 if (ktime_after(now, ktime_add_us(hp_sdc.rtime, in hp_sdc_tasklet() 322 ktime_us_delta(now, hp_sdc.rtime)); in hp_sdc_tasklet() 551 hp_sdc.rtime = ktime_get(); in hp_sdc_put()
|
/linux/include/linux/ |
H A D | hp_sdc.h | 284 ktime_t rtime; /* Time when current read started */ member
|
/linux/include/trace/events/ |
H A D | wbt.h | 27 __field(s64, rtime)
|
/linux/kernel/ |
H A D | audit.c | 1892 long rtime = stime; in audit_log_start() local 1899 stime = schedule_timeout(rtime); in audit_log_start() 1900 atomic_add(rtime - stime, &audit_backlog_wait_time_actual); in audit_log_start()
|
/linux/include/uapi/linux/ |
H A D | btrfs_tree.h | 961 struct btrfs_timespec rtime; member
|
/linux/drivers/md/bcache/ |
H A D | super.c | 1191 uint32_t rtime = cpu_to_le32((u32)ktime_get_real_seconds()); in bch_cached_dev_attach() local 1262 u->first_reg = u->last_reg = rtime; in bch_cached_dev_attach() 1271 u->last_reg = rtime; in bch_cached_dev_attach()
|
/linux/tools/power/pm-graph/ |
H A D | sleepgraph.py | 1876 rtime = (self.end - self.tResumed) * 1000000 1878 hwr = self.hwend - timedelta(microseconds=rtime)
|