Lines Matching refs:time_limit
83 void alloc_dtl_buffers(unsigned long *time_limit) in alloc_dtl_buffers() argument
108 if (time_limit && time_after(jiffies, *time_limit)) { in alloc_dtl_buffers()
110 *time_limit = jiffies + HZ; in alloc_dtl_buffers()
181 static void free_dtl_buffers(unsigned long *time_limit) in free_dtl_buffers() argument
197 if (time_limit && time_after(jiffies, *time_limit)) { in free_dtl_buffers()
199 *time_limit = jiffies + HZ; in free_dtl_buffers()
460 static int dtl_worker_enable(unsigned long *time_limit) in dtl_worker_enable() argument
472 alloc_dtl_buffers(time_limit); in dtl_worker_enable()
478 free_dtl_buffers(time_limit); in dtl_worker_enable()
490 static void dtl_worker_disable(unsigned long *time_limit) in dtl_worker_disable() argument
493 free_dtl_buffers(time_limit); in dtl_worker_disable()
501 unsigned long time_limit = jiffies + HZ; in vcpudispatch_stats_write() local
536 rc = dtl_worker_enable(&time_limit); in vcpudispatch_stats_write()
542 dtl_worker_disable(&time_limit); in vcpudispatch_stats_write()