Searched refs:resched (Results 1 - 64 of 64) sorted by relevance

/linux-4.4.14/tools/testing/selftests/powerpc/tm/
H A DMakefile1 TEST_PROGS := tm-resched-dscr tm-syscall
/linux-4.4.14/arch/x86/include/asm/
H A Dpreempt.h45 * need to resched (the bit is cleared) and can resched (no preempt count).
88 * Returns true when we need to resched and can (barring IRQ state).
/linux-4.4.14/arch/mips/sgi-ip27/
H A Dip27-irq.c193 int resched, call; install_ipi() local
195 resched = CPU_RESCHED_A_IRQ + slice; install_ipi()
196 __set_bit(resched, hub->irq_alloc_mask); install_ipi()
197 __set_bit(resched, si->irq_enable_mask); install_ipi()
198 LOCAL_HUB_CLR_INTR(resched); install_ipi()
/linux-4.4.14/arch/sparc/kernel/
H A Dsun4d_smp.c186 int resched; member in struct:sun4d_ipi_work
201 work->single = work->msk = work->resched = 0; for_each_possible_cpu()
217 if (work->resched) { sun4d_ipi_interrupt()
218 work->resched = 0; sun4d_ipi_interrupt()
263 work->resched = 1; sun4d_ipi_resched()
265 /* Generate IRQ on the CPU (any IRQ will cause resched) */ sun4d_ipi_resched()
394 .resched = sun4d_ipi_resched,
H A Dleon_smp.c265 int resched; member in struct:leon_ipi_work
300 work->single = work->msk = work->resched = 0; for_each_possible_cpu()
338 work->resched = 1; leon_ipi_resched()
340 /* Generate IRQ on the CPU (any IRQ will cause resched) */ leon_ipi_resched()
356 if (work->resched) { leonsmp_ipi_interrupt()
357 work->resched = 0; leonsmp_ipi_interrupt()
458 .resched = leon_ipi_resched,
H A Dsun4m_smp.c264 .resched = sun4m_ipi_resched,
H A Drtrap_64.S120 * the tests, later the signal/resched event arrives but we do
122 * take until the next local IRQ before the signal/resched
H A Dsmp_32.c131 sparc32_ipi_ops->resched(cpu); smp_send_reschedule()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgk20a.c137 goto resched; gk20a_pmu_dvfs_work()
142 goto resched; gk20a_pmu_dvfs_work()
156 goto resched; gk20a_pmu_dvfs_work()
164 resched: gk20a_pmu_dvfs_work()
/linux-4.4.14/drivers/net/
H A Difb.c75 goto resched; ifb_ri_tasklet()
98 goto resched; ifb_ri_tasklet()
121 goto resched; ifb_ri_tasklet()
125 resched: ifb_ri_tasklet()
/linux-4.4.14/include/asm-generic/
H A Dpreempt.h72 * Returns true when we need to resched and can (barring IRQ state).
/linux-4.4.14/arch/mips/pmcs-msp71xx/
H A Dmsp_smp.c26 #define MIPS_CPU_IPI_RESCHED_IRQ 0 /* SW int 0 for resched */
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
H A Dmac80211_if.h81 bool resched; /* dpc needs to be and is rescheduled */ member in struct:brcms_info
H A Dmac80211_if.c968 if (wl->resched) { brcms_dpc()
976 wl->resched = brcms_c_dpc(wl->wlc, true); brcms_dpc()
984 if (wl->resched) brcms_dpc()
1337 wl->resched = false; brcms_reset()
H A Dmain.c7855 /* it isn't done and needs to be resched if macintstatus is non-zero */ brcms_c_dpc()
/linux-4.4.14/arch/sparc/include/asm/
H A Dsmp_32.h62 void (*resched)(int cpu); member in struct:sparc32_ipi_ops
/linux-4.4.14/arch/mips/mti-malta/
H A Dmalta-int.c195 #define MIPS_CPU_IPI_RESCHED_IRQ 0 /* SW int 0 for resched */
197 #define MIPS_CPU_IPI_CALL_IRQ 1 /* SW int 1 for resched */
/linux-4.4.14/drivers/mailbox/
H A Dmailbox.c119 bool txdone, resched = false; txdone_hrtimer() local
130 resched = true; txdone_hrtimer()
134 if (resched) { txdone_hrtimer()
/linux-4.4.14/drivers/net/usb/
H A Drtl8150.c400 goto resched; read_bulk_callback()
419 goto resched; read_bulk_callback()
430 goto resched; read_bulk_callback()
436 resched: read_bulk_callback()
H A Dusbnet.c1145 int resched = 1; usbnet_deferred_kevent()
1159 resched = 0; usbnet_deferred_kevent()
1162 if (resched) usbnet_deferred_kevent()
1144 int resched = 1; usbnet_deferred_kevent() local
/linux-4.4.14/arch/m68k/68360/
H A Dentry.S89 jeq Luser_return /* if so, skip resched, signals*/
/linux-4.4.14/arch/m68k/kernel/
H A Dentry.S217 bnes 1b | if so, skip resched, signals
230 bnes 1f | if so, skip resched, signals
/linux-4.4.14/drivers/usb/host/
H A Dehci-timer.c85 bool resched) ehci_enable_event()
89 if (resched) ehci_enable_event()
84 ehci_enable_event(struct ehci_hcd *ehci, unsigned event, bool resched) ehci_enable_event() argument
H A Dfotg210-hcd.c1078 bool resched) fotg210_enable_event()
1082 if (resched) fotg210_enable_event()
4279 fotg210_dbg(fotg210, "iso resched full %p (now %d max %d)\n", iso_stream_schedule()
1077 fotg210_enable_event(struct fotg210_hcd *fotg210, unsigned event, bool resched) fotg210_enable_event() argument
/linux-4.4.14/arch/nios2/kernel/
H A Dentry.S225 /* if so, skip resched, signals */
372 ldw r4, TI_FLAGS(r1) /* ? Need resched set */
/linux-4.4.14/drivers/s390/cio/
H A Dqdio_debug.c211 "Inbound tasklet resched",
/linux-4.4.14/arch/tile/kernel/
H A Dsmp.c216 .name = "resched",
/linux-4.4.14/arch/m68k/68000/
H A Dentry.S93 jeq Luser_return /* if so, skip resched, signals*/
/linux-4.4.14/arch/m68k/coldfire/
H A Dentry.S109 jeq Luser_return /* if so, skip resched, signals */
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_sdma.c274 goto resched; sdma_abort_task()
338 resched: sdma_abort_task()
H A Dipath_driver.c2728 ipath_dbg("link's up, don't resched timer\n"); ipath_hol_event()
/linux-4.4.14/net/ipv4/
H A Dtcp_timer.c614 goto resched; tcp_keepalive_timer()
647 resched: tcp_keepalive_timer()
/linux-4.4.14/kernel/trace/
H A Dring_buffer_benchmark.c275 * Do a cond resched at the same frequency we would wake up ring_buffer_producer()
H A Dtrace_functions_graph.c1247 seq_printf(s, "#%.*s / _----=> need-resched \n", size, spaces); print_lat_header()
H A Dtrace.c2560 "# | / _----=> need-resched \n" print_lat_help_header()
2590 "# / _----=> need-resched\n" print_func_help_header_irq()
/linux-4.4.14/arch/microblaze/kernel/
H A Dentry.S389 /* See if returning to kernel mode, if so, skip resched &c. */
574 /* ... if so, skip resched &c. */
738 bnei r5, preempt /* if non zero jump to resched */
/linux-4.4.14/net/netfilter/ipvs/
H A Dip_vs_core.c1761 bool uses_ct = false, resched = false; ip_vs_in() local
1765 resched = true; ip_vs_in()
1770 resched = true; ip_vs_in()
1776 resched = !uses_ct; ip_vs_in()
1780 if (resched) { ip_vs_in()
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8187/
H A Ddev.c1077 goto resched; rtl8187_beacon_work()
1082 goto resched; rtl8187_beacon_work()
1096 resched: rtl8187_beacon_work()
/linux-4.4.14/kernel/sched/
H A Drt.c1965 bool resched = false; pull_rt_task() local
2034 resched = true; pull_rt_task()
2050 if (resched) pull_rt_task()
2172 /* For UP simply resched on drop of prio */ prio_changed_rt()
H A Ddeadline.c1584 bool resched = false; pull_dl_task() local
1644 resched = true; pull_dl_task()
1657 if (resched) pull_dl_task()
H A Dcore.c1831 * however a fair share of IPIs are still resched only so this would scheduler_ipi()
1832 * somewhat pessimize the simple resched case. scheduler_ipi()
4636 int resched = should_resched(PREEMPT_LOCK_OFFSET); __cond_resched_lock() local
4641 if (spin_needbreak(lock) || resched) { __cond_resched_lock()
4643 if (resched) __cond_resched_lock()
H A Dfair.c3480 * if we're unable to extend our runtime we resched so that the active __account_cfs_rq_runtime()
5145 * enqueue of curr) will have resulted in resched being set. This check_preempt_wakeup()
/linux-4.4.14/arch/ia64/kernel/
H A Dirq_ia64.c599 .name = "resched"
H A Dentry.S1159 tbit.z p6,p0=r31,TIF_NEED_RESCHED // is resched not needed?
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_device.c1776 int resched; radeon_gpu_reset() local
1789 resched = ttm_bo_lock_delayed_workqueue(&rdev->mman.bdev); radeon_gpu_reset()
1848 ttm_bo_unlock_delayed_workqueue(&rdev->mman.bdev, resched); radeon_gpu_reset()
H A Dradeon_pm.c1787 int resched; radeon_dynpm_idle_work_handler() local
1791 resched = ttm_bo_lock_delayed_workqueue(&rdev->mman.bdev); radeon_dynpm_idle_work_handler()
1842 ttm_bo_unlock_delayed_workqueue(&rdev->mman.bdev, resched); radeon_dynpm_idle_work_handler()
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8180/
H A Ddev.c1288 goto resched; rtl8180_beacon_work()
1293 goto resched; rtl8180_beacon_work()
1307 resched: rtl8180_beacon_work()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_device.c1822 int resched; amdgpu_gpu_reset() local
1827 resched = ttm_bo_lock_delayed_workqueue(&adev->mman.bdev); amdgpu_gpu_reset()
1881 ttm_bo_unlock_delayed_workqueue(&adev->mman.bdev, resched); amdgpu_gpu_reset()
/linux-4.4.14/drivers/irqchip/
H A Dirq-mips-gic.c606 .name = "IPI resched"
/linux-4.4.14/drivers/net/caif/
H A Dcaif_virtio.c634 debugfs_create_u32("rx-napi-resched", S_IRUSR, cfv->debugfs, debugfs_init()
/linux-4.4.14/arch/x86/xen/
H A Dsmp.c167 resched_name = kasprintf(GFP_KERNEL, "resched%d", cpu); xen_smp_intr_init()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
H A Dcl_page.c139 * \param resched If not NULL, then we give up before hogging CPU for too
140 * long and set *resched = 1, in that case caller should implement a retry
/linux-4.4.14/drivers/gpu/drm/ttm/
H A Dttm_bo.c651 void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, int resched) ttm_bo_unlock_delayed_workqueue() argument
653 if (resched) ttm_bo_unlock_delayed_workqueue()
/linux-4.4.14/drivers/isdn/i4l/
H A Disdn_tty.c121 int resched = 0; isdn_tty_readmodem() local
159 resched = 1; isdn_tty_readmodem()
163 if (!resched) isdn_tty_readmodem()
/linux-4.4.14/net/xfrm/
H A Dxfrm_state.c419 goto resched; xfrm_timer_handler()
444 resched: xfrm_timer_handler()
/linux-4.4.14/arch/cris/arch-v10/kernel/
H A Dentry.S94 ;; check for resched if preemptive kernel or if we're going back to user-mode
/linux-4.4.14/arch/cris/arch-v32/kernel/
H A Dentry.S104 ;; Check for resched if preemptive kernel, or if we're going back to
/linux-4.4.14/kernel/rcu/
H A Dtree.h524 unsigned long jiffies_resched; /* Time at which to resched */
/linux-4.4.14/include/drm/ttm/
H A Dttm_bo_api.h402 int resched);
/linux-4.4.14/arch/s390/kernel/
H A Dentry.S613 jo .Lio_work_user # yes -> do resched & signal
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/
H A Dehea_main.c370 goto resched; ehea_update_stats()
389 resched: ehea_update_stats()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
H A Dsdio.c457 uint rxbound; /* Rx frames to read before resched */
458 uint txbound; /* Tx frames to send before resched */
2601 uint txlimit = bus->txbound; /* Tx frames to send before resched */ brcmf_sdio_dpc()
/linux-4.4.14/mm/
H A Dzsmalloc.c1768 * If there is no more space in dst_page, resched __zs_compact()
/linux-4.4.14/arch/parisc/kernel/
H A Dentry.S1981 b syscall_check_resched /* if resched, we start over again */

Completed in 2694 milliseconds