Home
last modified time | relevance | path

Searched refs:rtime (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/kernel/sched/
Dcputime.c530 static u64 scale_stime(u64 stime, u64 rtime, u64 total) in scale_stime() argument
536 if (stime > rtime) in scale_stime()
537 swap(rtime, stime); in scale_stime()
544 if (!(rtime >> 32)) in scale_stime()
553 rtime >>= 1; in scale_stime()
558 rtime >>= 1; in scale_stime()
566 scaled = div_u64((u64) (u32) stime * (u64) (u32) rtime, (u32)total); in scale_stime()
593 u64 rtime, stime, utime; in cputime_adjust() local
598 rtime = curr->sum_exec_runtime; in cputime_adjust()
608 if (prev->stime + prev->utime >= rtime) in cputime_adjust()
[all …]
/Linux-v4.19/net/ipv6/
Dndisc.c1344 unsigned long rtime = ntohl(ra_msg->retrans_timer); in ndisc_router_discovery() local
1346 if (rtime && rtime/1000 < MAX_SCHEDULE_TIMEOUT/HZ) { in ndisc_router_discovery()
1347 rtime = (rtime*HZ)/1000; in ndisc_router_discovery()
1348 if (rtime < HZ/10) in ndisc_router_discovery()
1349 rtime = HZ/10; in ndisc_router_discovery()
1350 NEIGH_VAR_SET(in6_dev->nd_parms, RETRANS_TIME, rtime); in ndisc_router_discovery()
1355 rtime = ntohl(ra_msg->reachable_time); in ndisc_router_discovery()
1356 if (rtime && rtime/1000 < MAX_SCHEDULE_TIMEOUT/(3*HZ)) { in ndisc_router_discovery()
1357 rtime = (rtime*HZ)/1000; in ndisc_router_discovery()
1359 if (rtime < HZ/10) in ndisc_router_discovery()
[all …]
/Linux-v4.19/include/rdma/
Dib_mad.h343 u8 rtime) in ib_set_cpi_resp_time() argument
348 cpu_to_be32(rtime & IB_CLASS_PORT_INFO_RESP_TIME_MASK); in ib_set_cpi_resp_time()
523 static inline void ib_set_rmpp_resptime(struct ib_rmpp_hdr *rmpp_hdr, u8 rtime) in ib_set_rmpp_resptime() argument
525 rmpp_hdr->rmpp_rtime_flags = ib_get_rmpp_flags(rmpp_hdr) | (rtime << 3); in ib_set_rmpp_resptime()
/Linux-v4.19/drivers/input/serio/
Dhp_sdc.c196 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-v4.19/include/linux/
Dhp_sdc.h284 ktime_t rtime; /* Time when current read started */ member
/Linux-v4.19/include/trace/events/
Dwbt.h27 __field(s64, rtime)
/Linux-v4.19/fs/btrfs/
Dioctl.c63 struct btrfs_ioctl_timespec_32 rtime; /* out */ member
2659 subvol_info->rtime.sec = btrfs_stack_timespec_sec(&root_item->rtime); in btrfs_ioctl_get_subvol_info()
2660 subvol_info->rtime.nsec = btrfs_stack_timespec_nsec(&root_item->rtime); in btrfs_ioctl_get_subvol_info()
5442 sa->rtime.sec = ct.tv_sec; in _btrfs_ioctl_set_received_subvol()
5443 sa->rtime.nsec = ct.tv_nsec; in _btrfs_ioctl_set_received_subvol()
5463 btrfs_set_stack_timespec_sec(&root_item->rtime, sa->rtime.sec); in _btrfs_ioctl_set_received_subvol()
5464 btrfs_set_stack_timespec_nsec(&root_item->rtime, sa->rtime.nsec); in _btrfs_ioctl_set_received_subvol()
5512 args64->rtime.sec = args32->rtime.sec; in btrfs_ioctl_set_received_subvol_32()
5513 args64->rtime.nsec = args32->rtime.nsec; in btrfs_ioctl_set_received_subvol_32()
5525 args32->rtime.sec = args64->rtime.sec; in btrfs_ioctl_set_received_subvol_32()
[all …]
Dtransaction.c1531 memset(&new_root_item->rtime, 0, sizeof(new_root_item->rtime)); in create_pending_snapshot()
/Linux-v4.19/include/uapi/linux/
Dbtrfs.h704 struct btrfs_ioctl_timespec rtime; /* out */ member
797 struct btrfs_ioctl_timespec rtime; member
Dbtrfs_tree.h644 struct btrfs_timespec rtime; member
/Linux-v4.19/drivers/uio/
DKconfig154 git clone git://rtime.felk.cvut.cz/mf6xx.git
/Linux-v4.19/block/
Dblk-throttle.c1753 unsigned long rtime = jiffies, wtime = jiffies; in __tg_last_low_overflow_time() local
1756 rtime = tg->last_low_overflow_time[READ]; in __tg_last_low_overflow_time()
1759 return min(rtime, wtime); in __tg_last_low_overflow_time()
/Linux-v4.19/drivers/md/bcache/
Dsuper.c1049 uint32_t rtime = cpu_to_le32((u32)ktime_get_real_seconds()); in bch_cached_dev_attach() local
1123 u->first_reg = u->last_reg = rtime; in bch_cached_dev_attach()
1132 u->last_reg = rtime; in bch_cached_dev_attach()