Home
last modified time | relevance | path

Searched refs:nsecs_to_jiffies (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/linux/arch/s390/appldata/
H A Dappldata_os.c111 nsecs_to_jiffies(kcpustat_cpu(i).cpustat[CPUTIME_USER]); in appldata_get_os_data()
113 nsecs_to_jiffies(kcpustat_cpu(i).cpustat[CPUTIME_NICE]); in appldata_get_os_data()
115 nsecs_to_jiffies(kcpustat_cpu(i).cpustat[CPUTIME_SYSTEM]); in appldata_get_os_data()
117 nsecs_to_jiffies(kcpustat_cpu(i).cpustat[CPUTIME_IDLE]); in appldata_get_os_data()
119 nsecs_to_jiffies(kcpustat_cpu(i).cpustat[CPUTIME_IRQ]); in appldata_get_os_data()
121 nsecs_to_jiffies(kcpustat_cpu(i).cpustat[CPUTIME_SOFTIRQ]); in appldata_get_os_data()
123 nsecs_to_jiffies(kcpustat_cpu(i).cpustat[CPUTIME_IOWAIT]); in appldata_get_os_data()
125 nsecs_to_jiffies(kcpustat_cpu(i).cpustat[CPUTIME_STEAL]); in appldata_get_os_data()
/openbmc/linux/block/
H A Dblk-stat.h147 mod_timer(&cb->timer, jiffies + nsecs_to_jiffies(nsecs)); in blk_stat_activate_nsecs()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_wait.c266 if (ret == -ETIME && !nsecs_to_jiffies(args->timeout_ns)) in i915_gem_wait_ioctl()
/openbmc/linux/arch/alpha/kernel/
H A Dosf_sys.c1090 utime_jiffies = nsecs_to_jiffies(utime); in SYSCALL_DEFINE2()
1091 stime_jiffies = nsecs_to_jiffies(stime); in SYSCALL_DEFINE2()
1098 utime_jiffies = nsecs_to_jiffies(current->signal->cutime); in SYSCALL_DEFINE2()
1099 stime_jiffies = nsecs_to_jiffies(current->signal->cstime); in SYSCALL_DEFINE2()
/openbmc/linux/include/linux/
H A Djiffies.h594 extern unsigned long nsecs_to_jiffies(u64 n);
H A Dserial_core.h892 return max(nsecs_to_jiffies(fifo_timeout), 1UL); in uart_fifo_timeout()
/openbmc/linux/kernel/time/
H A Dtime.c829 unsigned long nsecs_to_jiffies(u64 n) in nsecs_to_jiffies() function
833 EXPORT_SYMBOL_GPL(nsecs_to_jiffies);
/openbmc/linux/kernel/sched/
H A Dpsi.c363 nonidle = nsecs_to_jiffies(times[PSI_NONIDLE]); in collect_percpu_times()
592 schedule_delayed_work(dwork, nsecs_to_jiffies( in psi_avgs_work()
716 nsecs_to_jiffies(group->rtpoll_next_update - now) + 1, in psi_rtpoll_work()
/openbmc/linux/lib/
H A Dtest_lockup.c345 schedule_timeout(secs * HZ + nsecs_to_jiffies(nsecs)); in test_wait()
/openbmc/linux/fs/btrfs/
H A Ddiscard.c423 &discard_ctl->work, nsecs_to_jiffies(delay)); in __btrfs_discard_schedule_work()
/openbmc/linux/net/rxrpc/
H A Dio_thread.c549 timeout = nsecs_to_jiffies(delay_ns); in rxrpc_io_thread()
H A Dcall_event.c220 resend_at = nsecs_to_jiffies(ktime_to_ns(ktime_sub(now, oldest))); in rxrpc_resend()
/openbmc/linux/sound/soc/mediatek/common/
H A Dmtk-btcvsd.c653 nsecs_to_jiffies(timeout_limit)); in wait_for_bt_irq()
657 nsecs_to_jiffies(timeout_limit)); in wait_for_bt_irq()
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_phc.c625 phc->aux_work_delay = nsecs_to_jiffies(delay); in ionic_lif_alloc_phc()
/openbmc/linux/drivers/siox/
H A Dsiox-core.c654 smaster->poll_interval = nsecs_to_jiffies(val); in poll_interval_ns_store()
/openbmc/linux/fs/afs/
H A Dflock.c62 duration_j = nsecs_to_jiffies(ktime_to_ns(duration)); in afs_schedule_lock_extension()
/openbmc/linux/drivers/net/phy/
H A Dbcm-phy-ptp.c581 schedule_delayed_work(&priv->pin_work, nsecs_to_jiffies(next)); in bcm_ptp_perout_work()
/openbmc/linux/net/sunrpc/
H A Dxprt.c650 jiffies - nsecs_to_jiffies(delta) : in xprt_abs_ktime_to_jiffies()
651 jiffies + nsecs_to_jiffies(-delta); in xprt_abs_ktime_to_jiffies()
/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_qp.c712 int j = nsecs_to_jiffies(4096ULL << attr->timeout); in rxe_qp_from_attr()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gem.c511 timeout_jiffies = nsecs_to_jiffies(ktime_to_ns(timeout)); in amdgpu_gem_timeout()
/openbmc/linux/arch/x86/kernel/
H A Dapm_32.c920 idle_percentage = nsecs_to_jiffies(stime - last_stime); in apm_cpu_idle()
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_gem.c401 timeout_expire = jiffies + nsecs_to_jiffies(timeout_ns); in vc4_wait_for_seqno()
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dcommand_submission.c2873 return nsecs_to_jiffies(U64_MAX); in hl_usecs64_to_jiffies()
2875 return nsecs_to_jiffies(usecs * NSEC_PER_USEC); in hl_usecs64_to_jiffies()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c306 clock->overflow_period = nsecs_to_jiffies(nsec); in mlxsw_sp1_ptp_clock_init()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c1797 attr.timeout = nsecs_to_jiffies(2 * STMMAC_TBS_LT_OFFSET); in stmmac_test_tbs()

12