Home
last modified time | relevance | path

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

12

/linux-6.6.21/arch/s390/appldata/
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()
/linux-6.6.21/block/
Dblk-stat.h147 mod_timer(&cb->timer, jiffies + nsecs_to_jiffies(nsecs)); in blk_stat_activate_nsecs()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_wait.c266 if (ret == -ETIME && !nsecs_to_jiffies(args->timeout_ns)) in i915_gem_wait_ioctl()
/linux-6.6.21/arch/alpha/kernel/
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()
/linux-6.6.21/include/linux/
Djiffies.h594 extern unsigned long nsecs_to_jiffies(u64 n);
Dserial_core.h873 return max(nsecs_to_jiffies(fifo_timeout), 1UL); in uart_fifo_timeout()
/linux-6.6.21/kernel/time/
Dtime.c829 unsigned long nsecs_to_jiffies(u64 n) in nsecs_to_jiffies() function
833 EXPORT_SYMBOL_GPL(nsecs_to_jiffies);
/linux-6.6.21/kernel/sched/
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()
/linux-6.6.21/lib/
Dtest_lockup.c345 schedule_timeout(secs * HZ + nsecs_to_jiffies(nsecs)); in test_wait()
/linux-6.6.21/net/rxrpc/
Dio_thread.c543 timeout = nsecs_to_jiffies(delay_ns); in rxrpc_io_thread()
Dcall_event.c220 resend_at = nsecs_to_jiffies(ktime_to_ns(ktime_sub(now, oldest))); in rxrpc_resend()
/linux-6.6.21/fs/btrfs/
Ddiscard.c423 &discard_ctl->work, nsecs_to_jiffies(delay)); in __btrfs_discard_schedule_work()
/linux-6.6.21/sound/soc/mediatek/common/
Dmtk-btcvsd.c653 nsecs_to_jiffies(timeout_limit)); in wait_for_bt_irq()
657 nsecs_to_jiffies(timeout_limit)); in wait_for_bt_irq()
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/
Dionic_phc.c625 phc->aux_work_delay = nsecs_to_jiffies(delay); in ionic_lif_alloc_phc()
/linux-6.6.21/drivers/siox/
Dsiox-core.c654 smaster->poll_interval = nsecs_to_jiffies(val); in poll_interval_ns_store()
/linux-6.6.21/drivers/net/phy/
Dbcm-phy-ptp.c581 schedule_delayed_work(&priv->pin_work, nsecs_to_jiffies(next)); in bcm_ptp_perout_work()
/linux-6.6.21/fs/afs/
Dflock.c62 duration_j = nsecs_to_jiffies(ktime_to_ns(duration)); in afs_schedule_lock_extension()
/linux-6.6.21/net/sunrpc/
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()
/linux-6.6.21/drivers/infiniband/sw/rxe/
Drxe_qp.c712 int j = nsecs_to_jiffies(4096ULL << attr->timeout); in rxe_qp_from_attr()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.c511 timeout_jiffies = nsecs_to_jiffies(ktime_to_ns(timeout)); in amdgpu_gem_timeout()
/linux-6.6.21/arch/x86/kernel/
Dapm_32.c920 idle_percentage = nsecs_to_jiffies(stime - last_stime); in apm_cpu_idle()
/linux-6.6.21/drivers/gpu/drm/vc4/
Dvc4_gem.c401 timeout_expire = jiffies + nsecs_to_jiffies(timeout_ns); in vc4_wait_for_seqno()
/linux-6.6.21/drivers/accel/habanalabs/common/
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()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c305 clock->overflow_period = nsecs_to_jiffies(nsec); in mlxsw_sp1_ptp_clock_init()
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c1797 attr.timeout = nsecs_to_jiffies(2 * STMMAC_TBS_LT_OFFSET); in stmmac_test_tbs()

12