Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/sched/
Dcputime.c150 p->gtime += cputime; in account_guest_time()
695 vtime->gtime += get_vtime_delta(vtime); in vtime_account_guest()
696 if (vtime->gtime >= TICK_NSEC) { in vtime_account_guest()
697 account_guest_time(tsk, vtime->gtime); in vtime_account_guest()
698 vtime->gtime = 0; in vtime_account_guest()
828 u64 gtime; in task_gtime() local
831 return t->gtime; in task_gtime()
836 gtime = t->gtime; in task_gtime()
838 gtime += vtime->gtime + vtime_delta(vtime); in task_gtime()
842 return gtime; in task_gtime()
[all …]
/linux-6.6.21/arch/ia64/kernel/
Dtime.c77 if (ti->gtime) in vtime_flush()
78 account_guest_time(tsk, cycle_to_nsec(ti->gtime)); in vtime_flush()
99 ti->gtime = 0; in vtime_flush()
144 ti->gtime += stime; in vtime_account_kernel()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c58 u64 gtime, timeout; in i40e_acquire_nvm() local
68 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_acquire_nvm()
71 hw->nvm.hw_semaphore_timeout = I40E_MS_TO_GTIME(time_left) + gtime; in i40e_acquire_nvm()
80 timeout = I40E_MS_TO_GTIME(I40E_MAX_NVM_TIMEOUT) + gtime; in i40e_acquire_nvm()
81 while ((gtime < timeout) && time_left) { in i40e_acquire_nvm()
83 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_acquire_nvm()
90 I40E_MS_TO_GTIME(time_left) + gtime; in i40e_acquire_nvm()
1192 u32 gtime; in i40e_nvmupd_state_writing() local
1194 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_nvmupd_state_writing()
1195 if (gtime >= hw->nvm.hw_semaphore_timeout) { in i40e_nvmupd_state_writing()
[all …]
/linux-6.6.21/fs/proc/
Darray.c483 u64 cgtime, gtime; in do_task_stat() local
515 cgtime = gtime = 0; in do_task_stat()
543 gtime += task_gtime(t); in do_task_stat()
548 gtime += sig->gtime; in do_task_stat()
570 gtime = task_gtime(task); in do_task_stat()
639 seq_put_decimal_ull(m, " ", nsec_to_clock_t(gtime)); in do_task_stat()
/linux-6.6.21/arch/powerpc/include/asm/
Daccounting.h18 unsigned long gtime; member
/linux-6.6.21/arch/powerpc/kernel/
Dtime.c251 acct->gtime += stime; in vtime_account_kernel()
326 if (acct->gtime) in vtime_flush()
327 account_guest_time(tsk, cputime_to_nsecs(acct->gtime)); in vtime_flush()
351 acct->gtime = 0; in vtime_flush()
/linux-6.6.21/include/linux/sched/
Dcputime.h26 return t->gtime; in task_gtime()
Dsignal.h187 u64 gtime; member
/linux-6.6.21/arch/ia64/include/asm/
Dthread_info.h34 __u64 gtime; member
/linux-6.6.21/include/linux/
Dsched.h353 u64 gtime; member
1025 u64 gtime; member
/linux-6.6.21/kernel/
Dexit.c189 sig->gtime += task_gtime(tsk); in __exit_signal()
1164 psig->cgtime += task_gtime(p) + sig->gtime + sig->cgtime; in wait_task_zombie()
Dfork.c2393 p->utime = p->stime = p->gtime = 0; in copy_process()
/linux-6.6.21/Documentation/filesystems/
Dproc.rst377 gtime guest time of the task in jiffies