Searched refs:restart (Results 1 - 200 of 1524) sorted by relevance

12345678

/linux-4.4.14/arch/alpha/include/asm/
H A Demergency-restart.h4 #include <asm-generic/emergency-restart.h>
/linux-4.4.14/arch/s390/include/asm/
H A Demergency-restart.h4 #include <asm-generic/emergency-restart.h>
/linux-4.4.14/arch/score/include/asm/
H A Demergency-restart.h4 #include <asm-generic/emergency-restart.h>
/linux-4.4.14/arch/frv/include/asm/
H A Demergency-restart.h4 #include <asm-generic/emergency-restart.h>
/linux-4.4.14/arch/ia64/include/asm/
H A Demergency-restart.h4 #include <asm-generic/emergency-restart.h>
/linux-4.4.14/arch/m32r/include/asm/
H A Demergency-restart.h4 #include <asm-generic/emergency-restart.h>
/linux-4.4.14/arch/arm/mach-efm32/
H A Ddtmachine.c14 .restart = armv7m_restart,
/linux-4.4.14/fs/ntfs/
H A Dlogfile.c41 * @vi: $LogFile inode to which the restart page header belongs
42 * @rp: restart page header to check
43 * @pos: position in @vi at which the restart page header resides
45 * Check the restart page header @rp for consistency and return 'true' if it is
49 * require the full restart page.
74 * We must be either at !pos (1st restart page) or at pos = system page ntfs_check_restart_page_header()
75 * size (2nd restart page). ntfs_check_restart_page_header()
78 ntfs_error(vi->i_sb, "Found restart area in incorrect " ntfs_check_restart_page_header()
92 * If chkdsk has been run the restart page may not be protected by an ntfs_check_restart_page_header()
102 ntfs_error(vi->i_sb, "$LogFile restart page specifies " ntfs_check_restart_page_header()
111 ntfs_error(vi->i_sb, "$LogFile restart page specifies " ntfs_check_restart_page_header()
117 * Verify the position of the restart area. It must be: ntfs_check_restart_page_header()
126 ntfs_error(vi->i_sb, "$LogFile restart page specifies " ntfs_check_restart_page_header()
127 "inconsistent restart area offset."); ntfs_check_restart_page_header()
131 * Only restart pages modified by chkdsk are allowed to have chkdsk_lsn ntfs_check_restart_page_header()
135 ntfs_error(vi->i_sb, "$LogFile restart page is not modified " ntfs_check_restart_page_header()
144 * ntfs_check_restart_area - check the restart area for consistency
145 * @vi: $LogFile inode to which the restart page belongs
146 * @rp: restart page whose restart area to check
148 * Check the restart area of the restart page @rp for consistency and return
151 * This function assumes that the restart page header has already been
155 * require the full restart page.
174 ntfs_error(vi->i_sb, "$LogFile restart area specifies " ntfs_check_restart_area()
182 * restart area elements safely. Also, the client array offset must be ntfs_check_restart_area()
188 ntfs_error(vi->i_sb, "$LogFile restart area specifies " ntfs_check_restart_area()
193 * The restart area must end within the system page size both when ntfs_check_restart_area()
203 ntfs_error(vi->i_sb, "$LogFile restart area is out of bounds " ntfs_check_restart_area()
205 "restart page header and/or the specified " ntfs_check_restart_area()
206 "restart area length is inconsistent."); ntfs_check_restart_area()
220 ntfs_error(vi->i_sb, "$LogFile restart area specifies " ntfs_check_restart_area()
235 ntfs_error(vi->i_sb, "$LogFile restart area specifies " ntfs_check_restart_area()
242 ntfs_error(vi->i_sb, "$LogFile restart area specifies " ntfs_check_restart_area()
249 ntfs_error(vi->i_sb, "$LogFile restart area specifies " ntfs_check_restart_area()
259 * @vi: $LogFile inode to which the restart page belongs
260 * @rp: restart page whose log client array to check
262 * Check the log client array of the restart page @rp for consistency and
265 * This function assumes that the restart page header and the restart area have
270 * restart page and the page must be multi sector transfer deprotected.
323 * ntfs_check_and_load_restart_page - check the restart page for consistency
324 * @vi: $LogFile inode to which the restart page belongs
325 * @rp: restart page to check
326 * @pos: position in @vi at which the restart page resides
327 * @wrp: [OUT] copy of the multi sector transfer deprotected restart page
330 * Check the restart page @rp for consistency and return 0 if it is consistent
331 * and -errno otherwise. The restart page may have been modified by chkdsk in
335 * require the full restart page.
342 * logfile lsn according to this restart page. On failure, *@lsn is undefined.
345 * -EINVAL - The restart page is inconsistent.
346 * -ENOMEM - Not enough memory to load the restart page.
358 /* Check the restart page header for consistency. */ ntfs_check_and_load_restart_page()
363 /* Check the restart area for consistency. */ ntfs_check_and_load_restart_page()
370 * Allocate a buffer to store the whole restart page so we can multi ntfs_check_and_load_restart_page()
376 "restart page buffer."); ntfs_check_and_load_restart_page()
380 * Read the whole of the restart page into the buffer. If it fits ntfs_check_and_load_restart_page()
419 * restart page is protected. ntfs_check_and_load_restart_page()
426 * abort if the restart page contents exceed the multi sector ntfs_check_and_load_restart_page()
433 "detected in $LogFile restart page."); ntfs_check_and_load_restart_page()
439 * If the restart page is modified by chkdsk or there are no active ntfs_check_and_load_restart_page()
470 * @rp: [OUT] on success this is a copy of the current restart page
473 * consistent and 'false' if not. On success, the current restart page is
476 * At present we only check the two restart pages and ignore the log record
525 * Ensure the log file is big enough to store at least the two restart ntfs_check_logfile()
534 * Read through the file looking for a restart page. Since the restart ntfs_check_logfile()
564 * A log record page means there cannot be a restart page after ntfs_check_logfile()
569 /* If not a (modified by chkdsk) restart page, continue. */ ntfs_check_logfile()
577 * Check the (modified by chkdsk) restart page for consistency ntfs_check_logfile()
579 * deprotected restart page. ntfs_check_logfile()
588 * restart page, continue looking for the second one. ntfs_check_logfile()
596 * restart page, so we can stop looking. ntfs_check_logfile()
602 * not abort if the restart page was invalid as we might still ntfs_check_logfile()
623 ntfs_error(vol->sb, "Did not find any restart pages in " ntfs_check_logfile()
627 /* If both restart pages were found, use the more recent one. */ ntfs_check_logfile()
630 * If the second restart area is more recent, switch to it. ntfs_check_logfile()
634 ntfs_debug("Using second restart page as it is more " ntfs_check_logfile()
640 ntfs_debug("Using first restart page as it is more " ntfs_check_logfile()
662 * @rp: copy of the current restart page
667 * At present we only look at the two restart pages and ignore the log record
702 * have the RESTART_VOLUME_IS_CLEAN bit set in the restart area flags, ntfs_is_logfile_clean()
H A Dlogfile.h37 * Two restart areas present in the first two pages (restart pages, one restart
54 * exception is if the journal is clean as marked by the two restart pages
65 * Log file restart page header (begins the restart area).
122 * Log file restart area record. The offset of this record is found by adding
129 when the restart area was last written.
136 restart area. Must be 1. */
192 /* 20*/ le16 restart_area_length;/* Length of the restart area including the
203 after this restart area structure, aligned
233 store the two restart pages and 48 (0x30)
268 /* 8*/ leLSN client_restart_lsn;/* LSN at which this client needs to restart
271 should = current_lsn in restart area but it
/linux-4.4.14/arch/arm/mach-omap2/
H A Dam33xx-restart.c2 * am33xx-restart.c - Code common to all AM33xx machines.
15 * am3xx_restart - trigger a software restart of the SoC
H A Domap4-restart.c2 * omap4-restart.c - Common to OMAP4 and OMAP5
16 * omap44xx_restart - trigger a software restart of the SoC
H A Dboard-generic.c51 .restart = omap2xxx_restart,
68 .restart = omap2xxx_restart,
87 .restart = omap3xxx_restart,
105 .restart = omap3xxx_restart,
122 .restart = omap3xxx_restart,
139 .restart = omap3xxx_restart,
155 .restart = omap3xxx_restart,
174 .restart = ti81xx_restart,
191 .restart = ti81xx_restart,
209 .restart = am33xx_restart,
234 .restart = omap44xx_restart,
259 .restart = omap44xx_restart,
281 .restart = omap44xx_restart,
307 .restart = omap44xx_restart,
329 .restart = omap44xx_restart,
H A Domap3-restart.c2 * omap3-restart.c - Code common to all OMAP3xxx machines.
24 * omap3xxx_restart - trigger a software restart of the SoC
H A Domap2-restart.c2 * omap2-restart.c - code common to all OMAP2xxx machines.
47 * omap2xxx_common_look_up_clks_for_reset - look up clocks needed for restart
49 * Some clocks need to be looked up in advance for the SoC restart
H A DMakefile56 obj-$(CONFIG_SOC_OMAP2420) += omap2-restart.o
57 obj-$(CONFIG_SOC_OMAP2430) += omap2-restart.o
58 obj-$(CONFIG_SOC_TI81XX) += ti81xx-restart.o
59 obj-$(CONFIG_SOC_AM33XX) += am33xx-restart.o
60 obj-$(CONFIG_SOC_AM43XX) += omap4-restart.o
61 obj-$(CONFIG_ARCH_OMAP3) += omap3-restart.o
62 obj-$(CONFIG_ARCH_OMAP4) += omap4-restart.o
63 obj-$(CONFIG_SOC_OMAP5) += omap4-restart.o
64 obj-$(CONFIG_SOC_DRA7XX) += omap4-restart.o
H A Dti81xx-restart.c19 * ti81xx_restart - trigger a software restart of the SoC
H A Dboard-rx51.c140 .restart = omap3xxx_restart,
/linux-4.4.14/arch/arm/mach-spear/
H A Drestart.c2 * arch/arm/plat-spear/restart.c
4 * SPEAr platform specific restart functions
H A DMakefile8 obj-y := restart.o time.o
H A Dspear1340.c37 .restart = spear_restart,
H A Dspear1310.c65 .restart = spear_restart,
/linux-4.4.14/drivers/power/reset/
H A Drestart-poweroff.c48 { .compatible = "restart-poweroff", },
56 .name = "poweroff-restart",
63 MODULE_DESCRIPTION("restart poweroff driver");
65 MODULE_ALIAS("platform:poweroff-restart");
H A Dgpio-restart.c2 * Toggles a GPIO pin to restart a device
106 dev_err(&pdev->dev, "%s: cannot register restart handler, %d\n", gpio_restart_probe()
122 "%s: cannot unregister restart handler, %d\n", gpio_restart_remove()
131 { .compatible = "gpio-restart", },
139 .name = "restart-gpio",
147 MODULE_DESCRIPTION("GPIO restart driver");
H A Dst-poweroff.c102 .compatible = "st,stih415-restart",
105 .compatible = "st,stih416-restart",
108 .compatible = "st,stih407-restart",
111 .compatible = "st,stid127-restart",
H A Dzx-reboot.c31 pr_emerg("Unable to restart system\n"); zx_restart_handler()
62 dev_err(&pdev->dev, "Register restart handler failed(err=%d)\n", zx_reboot_probe()
H A Dsyscon-reboot.c46 pr_emerg("Unable to restart system\n"); syscon_restart_handle()
74 dev_err(dev, "can't register restart notifier (err=%d)\n", err); syscon_reboot_probe()
H A Dvexpress-poweroff.c49 vexpress_reset_do(vexpress_restart_device, "restart"); vexpress_restart()
104 dev_err(dev, "cannot register restart handler (err=%d)\n", err); _vexpress_register_restart_handler()
H A Dxgene-reboot.c56 dev_emerg(ctx->dev, "Unable to restart system\n"); xgene_restart_handler()
85 dev_err(dev, "cannot register restart handler (err=%d)\n", err); xgene_reboot_probe()
H A Dhisi-reboot.c61 dev_err(&pdev->dev, "cannot register restart handler (err=%d)\n", hisi_reboot_probe()
H A Dmsm-poweroff.c72 .name = "msm-restart",
H A Drmobile-reset.c54 "cannot register restart handler (err=%d)\n", error); rmobile_reset_probe()
H A Daxxia-reset.c74 dev_err(dev, "cannot register restart handler (err=%d)\n", err); axxia_reset_probe()
/linux-4.4.14/arch/sh/include/asm/
H A Dreboot.h9 void (*restart)(char *cmd); member in struct:machine_ops
H A Datomic-irq.h9 * branch back to restart the operation.
H A Datomic-llsc.h15 * branch back to restart the operation.
/linux-4.4.14/arch/arm/plat-iop/
H A Drestart.c2 * restart.c
/linux-4.4.14/arch/arm/mach-stm32/
H A Dboard-dt.c18 .restart = armv7m_restart,
/linux-4.4.14/kernel/
H A Dreboot.c109 * to restart the system.
120 * with limited restart capabilities
121 * 128: Default restart handler; use if no other
122 * restart handler is expected to be available,
123 * and/or if restart functionality is
124 * sufficient to restart the entire system
125 * 255: Highest priority restart handler, will
126 * preempt all other restart handlers
128 * Registers a function with code to be called to restart the
132 * step of the restart sequence (if the architecture specific
135 * Registered functions are expected to restart the system immediately.
136 * If more than one function is registered, the restart handler priority
141 * where restart functionality is provided through a watchdog. Multiple
142 * restart handlers may exist; for example, one restart handler might
143 * restart the entire system, while another only restarts the CPU.
144 * In such cases, the restart handler which only restarts part of the
146 * it only runs if no other means to restart the system is available.
159 * restart handler
162 * Unregisters a previously registered restart handler function.
173 * do_kernel_restart - Execute kernel restart handler call chain
177 * Expected to be called from machine_restart as last step of the restart
180 * Restarts the system immediately if a restart handler function has been
208 * @cmd: pointer to buffer containing command to execute for restart
H A Dcompat.c216 static long compat_nanosleep_restart(struct restart_block *restart) compat_nanosleep_restart() argument
223 restart->nanosleep.rmtp = (struct timespec __user *) &rmt; compat_nanosleep_restart()
226 ret = hrtimer_nanosleep_restart(restart); compat_nanosleep_restart()
230 rmtp = restart->nanosleep.compat_rmtp; compat_nanosleep_restart()
279 struct restart_block *restart = &current->restart_block; COMPAT_SYSCALL_DEFINE2() local
281 restart->fn = compat_nanosleep_restart; COMPAT_SYSCALL_DEFINE2()
282 restart->nanosleep.compat_rmtp = rmtp; COMPAT_SYSCALL_DEFINE2()
814 static long compat_clock_nanosleep_restart(struct restart_block *restart) compat_clock_nanosleep_restart() argument
819 struct compat_timespec __user *rmtp = restart->nanosleep.compat_rmtp; compat_clock_nanosleep_restart()
821 restart->nanosleep.rmtp = (struct timespec __user *) &tu; compat_clock_nanosleep_restart()
824 err = clock_nanosleep_restart(restart); compat_clock_nanosleep_restart()
832 restart->fn = compat_clock_nanosleep_restart; compat_clock_nanosleep_restart()
833 restart->nanosleep.compat_rmtp = rmtp; compat_clock_nanosleep_restart()
845 struct restart_block *restart; COMPAT_SYSCALL_DEFINE4() local
862 restart = &current->restart_block; COMPAT_SYSCALL_DEFINE4()
863 restart->fn = compat_clock_nanosleep_restart; COMPAT_SYSCALL_DEFINE4()
864 restart->nanosleep.compat_rmtp = rmtp; COMPAT_SYSCALL_DEFINE4()
/linux-4.4.14/arch/metag/kernel/
H A Dsignal.c229 int restart = 0; do_signal() local
248 * Prepare for system call restart. We do this here so that a do_signal()
253 restart = -2; do_signal()
257 ++restart; do_signal()
271 * to restart the system call. But skip this if a debugger has chosen to do_signal()
272 * restart at a different PC. do_signal()
275 restart = 0; do_signal()
277 if (unlikely(restart)) { do_signal()
293 if (unlikely(restart < 0)) do_signal()
301 return restart; do_signal()
315 int restart = do_signal(regs, syscall); do_work_pending() local
316 if (unlikely(restart)) { do_work_pending()
322 return restart; do_work_pending()
/linux-4.4.14/include/linux/
H A Derrno.h15 #define ERESTARTNOHAND 514 /* restart if no handler.. */
17 #define ERESTART_RESTARTBLOCK 516 /* restart by calling sys_restart_syscall */
H A Dreboot.h77 * Emergency restart, callable from an interrupt handler.
81 #include <asm/emergency-restart.h>
H A Dconcap.h78 int (*restart)(struct concap_proto *cprot, member in struct:concap_proto_ops
105 /* dummy restart/close/connect/reset/disconn methods
H A Dnmi.h11 * touch_nmi_watchdog - restart NMI watchdog timeout.
/linux-4.4.14/arch/x86/include/asm/
H A Dreboot.h9 void (*restart)(char *cmd); member in struct:machine_ops
/linux-4.4.14/arch/arm/mach-ep93xx/
H A Dmicro9.c87 .restart = ep93xx_restart,
100 .restart = ep93xx_restart,
113 .restart = ep93xx_restart,
126 .restart = ep93xx_restart,
H A Dedb93xx.c279 .restart = ep93xx_restart,
292 .restart = ep93xx_restart,
305 .restart = ep93xx_restart,
318 .restart = ep93xx_restart,
331 .restart = ep93xx_restart,
344 .restart = ep93xx_restart,
357 .restart = ep93xx_restart,
370 .restart = ep93xx_restart,
H A Dadssphere.c44 .restart = ep93xx_restart,
H A Dgesbc9312.c44 .restart = ep93xx_restart,
/linux-4.4.14/arch/arm/mach-imx/
H A Dimx1-dt.c25 .restart = mxc_restart,
H A Dmach-bug.c62 .restart = mxc_restart,
/linux-4.4.14/arch/arm/mach-picoxcell/
H A Dcommon.c29 * The machine restart method can be called from an atomic context so we won't
36 if (WARN(!np, "unable to setup watchdog restart")) picoxcell_setup_restart()
85 .restart = picoxcell_wdt_restart,
/linux-4.4.14/arch/arm/mach-ks8695/
H A Dboard-sg.c95 .restart = ks8695_restart,
107 .restart = ks8695_restart,
119 .restart = ks8695_restart,
H A Dboard-og.c150 .restart = ks8695_restart,
162 .restart = ks8695_restart,
174 .restart = ks8695_restart,
186 .restart = ks8695_restart,
198 .restart = ks8695_restart,
H A Dboard-micrel.c61 .restart = ks8695_restart,
/linux-4.4.14/arch/openrisc/kernel/
H A Dsignal.c63 regs->orig_gpr11 = -1; /* Avoid syscall restart checks */ restore_sigcontext()
237 int restart = 0; do_signal() local
245 * Setup syscall restart here so that a debugger will do_signal()
250 restart = -2; do_signal()
255 restart++; do_signal()
265 * the decision to restart the syscall; specifically, if the PC is do_signal()
266 * changed, don't restart the syscall. do_signal()
269 if (unlikely(restart) && regs->pc == restart_addr) { do_signal()
274 /* No automatic restart */ do_signal()
284 * Restore pt_regs PC as syscall restart will be handled by do_signal()
287 if (unlikely(restart) && regs->pc == restart_addr) { do_signal()
289 return restart; do_signal()
307 int restart = do_signal(regs, syscall); do_work_pending() local
308 if (unlikely(restart)) { do_work_pending()
314 return restart; do_work_pending()
/linux-4.4.14/arch/powerpc/platforms/85xx/
H A Dmpc85xx_rdb.c237 .restart = fsl_rstcr_restart, define_machine()
252 .restart = fsl_rstcr_restart, define_machine()
267 .restart = fsl_rstcr_restart, define_machine()
282 .restart = fsl_rstcr_restart, define_machine()
297 .restart = fsl_rstcr_restart, define_machine()
312 .restart = fsl_rstcr_restart, define_machine()
327 .restart = fsl_rstcr_restart, define_machine()
342 .restart = fsl_rstcr_restart, define_machine()
357 .restart = fsl_rstcr_restart, define_machine()
372 .restart = fsl_rstcr_restart, define_machine()
H A Dbsc913x_rdb.c64 .restart = fsl_rstcr_restart, define_machine()
H A Dc293pcie.c70 .restart = fsl_rstcr_restart, define_machine()
H A Dmpc85xx_ds.c215 .restart = fsl_rstcr_restart, define_machine()
230 .restart = fsl_rstcr_restart, define_machine()
245 .restart = fsl_rstcr_restart, define_machine()
H A Dxes_mpc85xx.c176 .restart = fsl_rstcr_restart, define_machine()
191 .restart = fsl_rstcr_restart, define_machine()
206 .restart = fsl_rstcr_restart, define_machine()
H A Dbsc913x_qds.c71 .restart = fsl_rstcr_restart, define_machine()
H A Dmpc8536_ds.c82 .restart = fsl_rstcr_restart, define_machine()
H A Dmvme2500.c71 .restart = fsl_rstcr_restart, define_machine()
H A Dp1010rdb.c84 .restart = fsl_rstcr_restart, define_machine()
H A Dppa8548.c96 .restart = fsl_rstcr_restart, define_machine()
H A Dsocrates.c96 .restart = fsl_rstcr_restart, define_machine()
H A Dcorenet_generic.c190 ppc_md.restart = fsl_hv_restart; corenet_generic_probe()
229 .restart = fsl_rstcr_restart, define_machine()
H A Dp1023_rdb.c115 .restart = fsl_rstcr_restart, define_machine()
H A Dqemu_e500.c82 .restart = fsl_rstcr_restart, define_machine()
H A Dstx_gp3.c108 .restart = fsl_rstcr_restart, define_machine()
H A Dtqm85xx.c135 .restart = fsl_rstcr_restart, define_machine()
/linux-4.4.14/arch/nios2/kernel/
H A Dsignal.c235 int restart = 0; do_signal() local
249 * Prepare for system call restart. We do this here so that a do_signal()
254 restart = -2; do_signal()
258 restart++; do_signal()
268 if (unlikely(restart && regs->ea == restart_addr)) { do_signal()
285 if (unlikely(restart) && regs->ea == restart_addr) { do_signal()
295 return restart; do_signal()
309 int restart = do_signal(regs); do_notify_resume() local
311 if (unlikely(restart)) { do_notify_resume()
317 return restart; do_notify_resume()
/linux-4.4.14/arch/arc/kernel/
H A Dreset.c23 pr_info("Put your restart handler here\n"); machine_restart()
/linux-4.4.14/arch/mips/include/asm/
H A Dabi.h21 const unsigned long restart; member in struct:mips_abi
/linux-4.4.14/arch/arm/mach-mvebu/
H A Ddove.c39 .restart = mvebu_restart,
H A Dboard-v7.c167 .restart = mvebu_restart,
182 .restart = mvebu_restart,
196 .restart = mvebu_restart,
210 .restart = mvebu_restart,
/linux-4.4.14/arch/arm/mach-w90x900/
H A Dmach-nuc910evb.c41 .restart = nuc9xx_restart,
H A Dmach-nuc960evb.c41 .restart = nuc9xx_restart,
H A Dmach-nuc950evb.c44 .restart = nuc9xx_restart,
/linux-4.4.14/Documentation/mic/mpssd/
H A Dmpss141 restart() function
186 restart)
187 restart
196 echo $"Usage: $0 {start|stop|restart|status|unload}"
/linux-4.4.14/drivers/staging/speakup/
H A Dbuffers.c16 * Note: we need to make sure that we will restart them eventually, which is
66 * to restart them synth_buffer_add()
/linux-4.4.14/drivers/ps3/
H A Dsys-manager-core.c60 if (ps3_sys_manager_ops.restart) ps3_sys_manager_restart()
61 ps3_sys_manager_ops.restart(ps3_sys_manager_ops.dev); ps3_sys_manager_restart()
/linux-4.4.14/arch/sh/kernel/
H A Dreboot.c70 .restart = native_machine_restart,
89 machine_ops.restart(cmd); machine_restart()
/linux-4.4.14/arch/arm/mach-pxa/
H A Dpxa-dt.c56 .restart = pxa_restart,
72 .restart = pxa_restart,
H A Dmp900.c102 .restart = pxa_restart,
H A Deseries.c181 .restart = pxa_restart,
232 .restart = pxa_restart,
356 .restart = pxa_restart,
552 .restart = pxa_restart,
751 .restart = pxa_restart,
966 .restart = pxa_restart,
H A Dcolibri-pxa270.c320 .restart = pxa_restart,
331 .restart = pxa_restart,
H A Dcapc7117.c161 .restart = pxa_restart,
H A Dhimalaya.c168 .restart = pxa_restart,
/linux-4.4.14/arch/powerpc/kernel/
H A Dsignal.c55 int restart = 1; check_syscall_restart() local
70 * we only get here if there is a handler, we dont restart. check_syscall_restart()
72 restart = !has_handler; check_syscall_restart()
75 /* ERESTARTSYS means to restart the syscall if there is no check_syscall_restart()
78 restart = !has_handler || (ka->sa.sa_flags & SA_RESTART) != 0; check_syscall_restart()
88 if (restart) { check_syscall_restart()
111 /* Is there any syscall restart business here ? */ do_signal()
/linux-4.4.14/drivers/net/fddi/skfp/
H A Dsmttimer.c29 static void timer_done(struct s_smc *smc, int restart);
120 static void timer_done(struct s_smc *smc, int restart) timer_done() argument
153 if (restart && smc->t.st_queue) timer_done()
/linux-4.4.14/kernel/time/
H A Dalarmtimer.c181 int restart = ALARMTIMER_NORESTART; alarmtimer_fired() local
188 restart = alarm->function(alarm, base->gettime()); alarmtimer_fired()
191 if (restart != ALARMTIMER_NORESTART) { alarmtimer_fired()
699 * @restart: ptr to restart block
703 static long __sched alarm_timer_nsleep_restart(struct restart_block *restart) alarm_timer_nsleep_restart() argument
705 enum alarmtimer_type type = restart->nanosleep.clockid; alarm_timer_nsleep_restart()
711 exp.tv64 = restart->nanosleep.expires; alarm_timer_nsleep_restart()
720 rmtp = restart->nanosleep.rmtp; alarm_timer_nsleep_restart()
728 /* The other values in restart are already filled in */ alarm_timer_nsleep_restart()
750 struct restart_block *restart; alarm_timer_nsleep() local
776 /* abs timers don't set remaining time or restart */ alarm_timer_nsleep()
788 restart = &current->restart_block; alarm_timer_nsleep()
789 restart->fn = alarm_timer_nsleep_restart; alarm_timer_nsleep()
790 restart->nanosleep.clockid = type; alarm_timer_nsleep()
791 restart->nanosleep.expires = exp.tv64; alarm_timer_nsleep()
792 restart->nanosleep.rmtp = rmtp; alarm_timer_nsleep()
H A Dhrtimer.c930 remove_hrtimer(struct hrtimer *timer, struct hrtimer_clock_base *base, bool restart) remove_hrtimer() argument
948 if (!restart) remove_hrtimer()
1213 int restart; __run_hrtimer() local
1248 restart = fn(timer); __run_hrtimer()
1261 if (restart != HRTIMER_NORESTART && __run_hrtimer()
1518 long __sched hrtimer_nanosleep_restart(struct restart_block *restart) hrtimer_nanosleep_restart() argument
1524 hrtimer_init_on_stack(&t.timer, restart->nanosleep.clockid, hrtimer_nanosleep_restart()
1526 hrtimer_set_expires_tv64(&t.timer, restart->nanosleep.expires); hrtimer_nanosleep_restart()
1531 rmtp = restart->nanosleep.rmtp; hrtimer_nanosleep_restart()
1538 /* The other values in restart are already filled in */ hrtimer_nanosleep_restart()
1548 struct restart_block *restart; hrtimer_nanosleep() local
1562 /* Absolute timers do not update the rmtp value and restart: */ hrtimer_nanosleep()
1574 restart = &current->restart_block; hrtimer_nanosleep()
1575 restart->fn = hrtimer_nanosleep_restart; hrtimer_nanosleep()
1576 restart->nanosleep.clockid = t.timer.base->clockid; hrtimer_nanosleep()
1577 restart->nanosleep.rmtp = rmtp; hrtimer_nanosleep()
1578 restart->nanosleep.expires = hrtimer_get_expires_tv64(&t.timer); hrtimer_nanosleep()
H A Dtick-broadcast-hrtimer.c55 * restart the timer because we are in the callback, but we bc_set_next()
/linux-4.4.14/arch/xtensa/kernel/
H A Dplatform.c32 _F(void, restart, (void), { while(1); });
/linux-4.4.14/arch/powerpc/platforms/40x/
H A Dvirtex.c54 .restart = ppc4xx_reset_system, define_machine()
H A Dwalnut.c65 .restart = ppc4xx_reset_system, define_machine()
H A Dppc40x_simple.c80 .restart = ppc4xx_reset_system, define_machine()
/linux-4.4.14/arch/powerpc/platforms/512x/
H A Dmpc512x_generic.c53 .restart = mpc512x_restart, define_machine()
H A Dmpc5121_ads.c74 .restart = mpc512x_restart, define_machine()
H A Dpdm360ng.c130 .restart = mpc512x_restart, define_machine()
/linux-4.4.14/arch/powerpc/platforms/83xx/
H A Dasp834x.c56 .restart = mpc83xx_restart, define_machine()
H A Dmpc831x_rdb.c60 .restart = mpc83xx_restart, define_machine()
H A Dmpc836x_rdk.c59 .restart = mpc83xx_restart, define_machine()
H A Dmpc830x_rdb.c60 .restart = mpc83xx_restart, define_machine()
H A Dmpc834x_itx.c84 .restart = mpc83xx_restart, define_machine()
H A Dmpc837x_rdb.c85 .restart = mpc83xx_restart, define_machine()
H A Dsbc834x.c74 .restart = mpc83xx_restart, define_machine()
H A Dmpc832x_mds.c118 .restart = mpc83xx_restart, define_machine()
H A Dmpc834x_mds.c105 .restart = mpc83xx_restart, define_machine()
H A Dmpc837x_mds.c107 .restart = mpc83xx_restart, define_machine()
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/
H A Dmvme5100.c43 static u_char *restart; variable
170 restart = ioremap(BOARD_MODRST_REG, 4); mvme5100_setup_arch()
186 out_8((u_char *) restart, 0x01); mvme5100_restart()
218 .restart = mvme5100_restart, define_machine()
H A Dwii.c190 if (ppc_md.restart) wii_halt()
191 ppc_md.restart(NULL); wii_halt()
230 .restart = wii_restart, define_machine()
H A Dc2k.c106 panic("restart failed\n"); c2k_restart()
146 .restart = c2k_restart, define_machine()
H A Dgamecube.c84 .restart = gamecube_restart, define_machine()
H A Dstorcenter.c123 .restart = storcenter_restart, define_machine()
/linux-4.4.14/arch/powerpc/sysdev/
H A Dfsl_soc.c197 if (!rstcr && ppc_md.restart == fsl_rstcr_restart) setup_rstcr()
227 * This function should be assigned to the ppc_md.restart function pointer,
228 * to initiate a partition restart when we're running under the Freescale
233 pr_info("hv restart\n"); fsl_hv_restart()
/linux-4.4.14/arch/mips/fw/arc/
H A Dmisc.c49 ARC_CALL0(restart); ArcRestart()
/linux-4.4.14/arch/arm/mach-mmp/
H A Davengers_lite.c57 .restart = pxa168_restart,
H A Dflint.c133 .restart = mmp_restart,
H A Dtavorevb.c115 .restart = mmp_restart,
H A Dteton_bga.c102 .restart = pxa168_restart,
H A Daspenite.c272 .restart = pxa168_restart,
281 .restart = pxa168_restart,
H A Djasper.c187 .restart = mmp_restart,
/linux-4.4.14/arch/arm/mach-socfpga/
H A Dsocfpga.c99 .restart = socfpga_cyclone5_restart,
112 .restart = socfpga_arria10_restart,
/linux-4.4.14/arch/arm/include/asm/mach/
H A Darch.h46 enum reboot_mode reboot_mode; /* default restart mode */
65 void (*restart)(enum reboot_mode, const char *); member in struct:machine_desc
/linux-4.4.14/arch/arm/mach-ixp4xx/
H A Dcoyote-setup.c121 .restart = ixp4xx_restart,
138 .restart = ixp4xx_restart,
H A Domixp-setup.c250 .restart = ixp4xx_restart,
265 .restart = ixp4xx_restart,
277 .restart = ixp4xx_restart,
H A Davila-setup.c176 .restart = ixp4xx_restart,
196 .restart = ixp4xx_restart,
H A Dgateway7001-setup.c108 .restart = ixp4xx_restart,
H A Dwg302v2-setup.c109 .restart = ixp4xx_restart,
/linux-4.4.14/arch/arm/mach-omap1/
H A Dams-delta-fiq-handler.S129 restart: label
170 b restart @ restart
183 bne restart @ and restart
259 b restart @ check for next GPIO interrupt
H A Dboard-generic.c89 .restart = omap1_restart,
/linux-4.4.14/drivers/clk/samsung/
H A Dclk-exynos5440.c108 * Exynos5440 Clock restart notifier, handles restart functionality
151 pr_warn("exynos5440 clock can't register restart handler\n"); exynos5440_clk_init()
/linux-4.4.14/arch/arm/kernel/
H A Dreboot.c130 * use soft_restart() as their machine descriptor's .restart hook, since that
132 * provide a HW restart implementation, to ensure that all CPUs reset at once.
148 /* Give a grace period for failure to restart of 1s */ machine_restart()
H A Dsignal.c506 int restart = 0; do_signal() local
517 * Prepare for system call restart. We do this here so that a do_signal()
522 restart -= 2; do_signal()
526 restart++; do_signal()
539 * decision to restart the system call. But skip this if a do_signal()
540 * debugger has chosen to restart at a different PC. do_signal()
544 if (unlikely(restart) && regs->ARM_pc == restart_addr) { do_signal()
557 if (unlikely(restart) && regs->ARM_pc == restart_addr) { do_signal()
559 return restart; do_signal()
582 int restart = do_signal(regs, syscall); do_work_pending() local
583 if (unlikely(restart)) { do_work_pending()
589 return restart; do_work_pending()
/linux-4.4.14/drivers/media/i2c/
H A Dmsp3400-kthreads.c519 restart: msp3400c_thread()
520 v4l_dbg(2, msp_debug, client, "thread: restart scan\n"); msp3400c_thread()
521 state->restart = 0; msp3400c_thread()
546 goto restart; msp3400c_thread()
562 goto restart; msp3400c_thread()
599 goto restart; msp3400c_thread()
684 goto restart; msp3400c_thread()
709 restart: msp3410d_thread()
710 v4l_dbg(2, msp_debug, client, "thread: restart scan\n"); msp3410d_thread()
711 state->restart = 0; msp3410d_thread()
740 goto restart; msp3410d_thread()
755 goto restart; msp3410d_thread()
847 goto restart; msp3410d_thread()
1007 restart: msp34xxg_thread()
1008 v4l_dbg(1, msp_debug, client, "thread: restart scan\n"); msp34xxg_thread()
1009 state->restart = 0; msp34xxg_thread()
1036 goto restart; msp34xxg_thread()
1084 goto restart; msp34xxg_thread()
/linux-4.4.14/drivers/media/usb/dvb-usb/
H A Ddvb-usb-firmware.c65 /* restart the CPU */ usb_cypress_load_firmware()
68 err("could not restart the USB controller CPU."); usb_cypress_load_firmware()
/linux-4.4.14/arch/xtensa/include/asm/
H A Dasmmacro.h36 * restart loop. 'as' register must not have been modified!
120 * restart loop. registers must be unchanged
H A Dplatform.h33 * platform_restart is called to restart the system.
/linux-4.4.14/fs/btrfs/tests/
H A Dbtrfs-tests.c134 restart: btrfs_free_dummy_fs_info()
144 goto restart; btrfs_free_dummy_fs_info()
/linux-4.4.14/arch/mips/emma/markeins/
H A Dsetup.c41 printk("cannot EMMA2RH Mark-eins restart.\n"); markeins_machine_restart()
42 markeins_led("restart."); markeins_machine_restart()
/linux-4.4.14/include/linux/mfd/
H A Dmax8998.h91 * @restart: Restart Level in mV: 100, 150, 200, and -1 for disable.
114 int restart; member in struct:max8998_platform_data
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_legacy_tv.c428 int restart; radeon_legacy_tv_init_restarts() local
483 /* adjust restart */ radeon_legacy_tv_init_restarts()
484 restart = const_ptr->def_restart; radeon_legacy_tv_init_restarts()
497 restart -= v_offset + h_offset; radeon_legacy_tv_init_restarts()
499 DRM_DEBUG_KMS("compute_restarts: def = %u h = %d v = %d, p1 = %04x, p2 = %04x, restart = %d\n", radeon_legacy_tv_init_restarts()
500 const_ptr->def_restart, tv_dac->h_pos, tv_dac->v_pos, p1, p2, restart); radeon_legacy_tv_init_restarts()
502 tv_dac->tv.hrestart = restart % h_total; radeon_legacy_tv_init_restarts()
503 restart /= h_total; radeon_legacy_tv_init_restarts()
504 tv_dac->tv.vrestart = restart % v_total; radeon_legacy_tv_init_restarts()
505 restart /= v_total; radeon_legacy_tv_init_restarts()
506 tv_dac->tv.frestart = restart % f_total; radeon_legacy_tv_init_restarts()
/linux-4.4.14/drivers/s390/char/
H A Dsclp_quiesce.c51 /* Undo machine restart/halt/power_off modification on resume */ sclp_quiesce_pm_event()
/linux-4.4.14/drivers/net/ethernet/ti/
H A Dcpmac.c419 struct cpmac_desc *desc, *restart; cpmac_poll() local
434 restart = NULL; cpmac_poll()
441 * Remember this descriptor so we can restart cpmac_poll()
444 if (unlikely(restart)) { cpmac_poll()
448 restart, desc); cpmac_poll()
452 restart = desc->next; cpmac_poll()
473 * We should immediately restart in that case so that the receiver can cpmac_poll()
474 * restart and run in parallel with more packet processing. cpmac_poll()
479 if (!restart && cpmac_poll()
484 * restart this when it eventually gets to this descriptor. cpmac_poll()
487 restart = priv->rx_head; cpmac_poll()
490 if (restart) { cpmac_poll()
496 if (unlikely((restart->dataflags & CPMAC_OWN) == 0)) { cpmac_poll()
499 "to restart rx from a descriptor " cpmac_poll()
500 "that's not free: %p\n", restart); cpmac_poll()
504 cpmac_write(priv->regs, CPMAC_RX_PTR(0), restart->mapping); cpmac_poll()
/linux-4.4.14/arch/powerpc/platforms/44x/
H A Debony.c68 .restart = ppc4xx_reset_system, define_machine()
H A Dsam440ep.c65 .restart = ppc4xx_reset_system, define_machine()
H A Dvirtex.c61 .restart = ppc4xx_reset_system, define_machine()
H A Dppc44x_simple.c89 .restart = ppc4xx_reset_system, define_machine()
/linux-4.4.14/arch/powerpc/platforms/pseries/
H A Dpseries.h51 /* Poweron flag used for enabling auto ups restart */ setup_kexec_cpu_down_mpic()
/linux-4.4.14/arch/mips/include/asm/mach-lantiq/falcon/
H A Dlantiq_soc.h40 /* SYSCTL - start/stop/restart/configure/... different parts of the Soc */
/linux-4.4.14/arch/microblaze/kernel/
H A Dreset.c82 pr_notice("Machine restart...\n"); machine_restart()
/linux-4.4.14/arch/hexagon/include/asm/
H A Dkgdb.h36 * syscall+restart = 2 more
/linux-4.4.14/arch/arm/mach-mv78xx0/
H A Ddb78x00-bp-setup.c102 .restart = mv78xx0_restart,
H A Drd78x00-masa-setup.c87 .restart = mv78xx0_restart,
H A Dbuffalo-wxl-setup.c154 .restart = mv78xx0_restart,
/linux-4.4.14/arch/arm/mach-nspire/
H A Dnspire.c77 .restart = nspire_restart,
/linux-4.4.14/arch/arm/mach-orion5x/
H A Dboard-dt.c79 .restart = orion5x_restart,
H A Drd88f6183ap-ge-setup.c128 .restart = orion5x_restart,
/linux-4.4.14/arch/arm/mach-s3c64xx/
H A Dmach-ncp.c107 .restart = s3c64xx_restart,
H A Dmach-s3c64xx-dt.c74 .restart = s3c64xx_dt_restart,
H A Dmach-smdk6400.c96 .restart = s3c64xx_restart,
H A Dmach-smartq5.c160 .restart = s3c64xx_restart,
H A Dmach-smartq7.c176 .restart = s3c64xx_restart,
/linux-4.4.14/arch/arm/mach-s5pv210/
H A Ds5pv210.c75 .restart = s5pv210_dt_restart,
/linux-4.4.14/arch/arm/mach-sa1100/
H A Dshannon.c108 .restart = sa11x0_restart,
/linux-4.4.14/arch/arm/mach-versatile/
H A Dversatile_dt.c49 .restart = versatile_restart,
/linux-4.4.14/arch/arm/mach-bcm/
H A Dboard_bcm21664.c74 .restart = bcm21664_restart,
H A Dboard_bcm281xx.c72 .restart = bcm281xx_restart,
/linux-4.4.14/arch/arm/mach-clps711x/
H A Dboard-clep7312.c44 .restart = clps711x_restart,
/linux-4.4.14/arch/arm/mach-davinci/
H A Dda8xx-dt.c76 .restart = da8xx_restart,
/linux-4.4.14/arch/arm/mach-dove/
H A Dcm-a510.c96 .restart = dove_restart,
H A Ddove-db-setup.c102 .restart = dove_restart,
/linux-4.4.14/arch/arm/mach-footbridge/
H A Dcats-hw.c96 .restart = footbridge_restart,
/linux-4.4.14/arch/arm/mach-gemini/
H A Dboard-nas4220b.c105 .restart = gemini_restart,
H A Dboard-rut1xx.c91 .restart = gemini_restart,
H A Dboard-wbd111.c132 .restart = gemini_restart,
H A Dboard-wbd222.c132 .restart = gemini_restart,
/linux-4.4.14/drivers/media/pci/ivtv/
H A Divtv-firmware.c278 /* Try to restart the card & restore previous settings */ ivtv_firmware_restart()
285 /* Display test image during restart */ ivtv_firmware_restart()
385 * if things are really ok after the restart. ivtv_firmware_check()
388 IVTV_INFO("Firmware restart okay\n"); ivtv_firmware_check()
391 IVTV_INFO("Firmware restart failed\n"); ivtv_firmware_check()
/linux-4.4.14/mm/
H A Dlist_lru.c211 restart: __list_lru_walk_one()
232 * restart from scratch. __list_lru_walk_one()
235 goto restart; __list_lru_walk_one()
245 * now invalid and so we have to restart from scratch. __list_lru_walk_one()
248 goto restart; __list_lru_walk_one()
/linux-4.4.14/arch/arm64/kernel/
H A Dsignal.c352 * Prepare for system call restart. We do this here so that a do_signal()
373 * decision to restart the system call, but skip this if a do_signal()
374 * debugger has chosen to restart at a different PC. do_signal()
391 * has chosen to restart at a different PC, ignore the restart. do_signal()
/linux-4.4.14/arch/um/drivers/
H A Dubd_kern.c133 struct list_head restart; member in struct:ubd
443 static LIST_HEAD(restart);
471 list_for_each_safe(list, next_ele, &restart){ ubd_handler()
472 ubd = container_of(list, struct ubd, restart); ubd_handler()
473 list_del_init(&ubd->restart); ubd_handler()
859 INIT_LIST_HEAD(&ubd_dev->restart); ubd_add()
1263 else if (list_empty(&dev->restart)) submit_request()
1264 list_add(&dev->restart, &restart); submit_request()
1297 if (list_empty(&dev->restart)) do_ubd_request()
1298 list_add(&dev->restart, &restart); do_ubd_request()
1312 if(list_empty(&dev->restart)) do_ubd_request()
1313 list_add(&dev->restart, &restart); do_ubd_request()
/linux-4.4.14/drivers/scsi/aacraid/
H A Dsrc.c638 int restart = 0; aac_src_init() local
656 ++restart; aac_src_init()
664 ++restart; aac_src_init()
689 if ((restart && aac_src_init()
696 if (!restart && aac_src_init()
705 ++restart; aac_src_init()
709 if (restart && aac_commit) aac_src_init()
783 int restart = 0; aac_srcv_init() local
801 ++restart; aac_srcv_init()
831 ++restart; aac_srcv_init()
855 if ((restart && aac_srcv_init()
862 if (!restart && aac_srcv_init()
870 ++restart; aac_srcv_init()
874 if (restart && aac_commit) aac_srcv_init()
/linux-4.4.14/drivers/sh/intc/
H A Dvirq.c212 restart: intc_subgroup_map()
225 goto restart; intc_subgroup_map()
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
H A Dcmd.c238 wl1271_debug(DEBUG_CMD, "cmd dfs master restart (role %d)", wl18xx_cmd_dfs_master_restart()
250 wl1271_error("failed to send dfs master restart command"); wl18xx_cmd_dfs_master_restart()
/linux-4.4.14/fs/nfs/
H A Ddelegation.c97 restart: list_for_each_entry()
109 goto restart;
475 restart: nfs_client_return_marked_delegations()
488 goto restart; nfs_client_return_marked_delegations()
497 goto restart; nfs_client_return_marked_delegations()
819 restart: nfs_delegation_reap_unclaimed()
836 goto restart; nfs_delegation_reap_unclaimed()
848 goto restart; nfs_delegation_reap_unclaimed()
/linux-4.4.14/arch/mips/pmcs-msp71xx/
H A Dmsp_hwbutton.c63 * doing this ungraceful restart if the button has been down for softreset_push()
64 * a certain amount of time; otherwise doing a graceful restart. softreset_push()
/linux-4.4.14/arch/ia64/kernel/
H A Dsignal.c419 long restart = in_syscall; ia64_do_signal() local
441 * restart the syscall, so we can clear the "restart" flag here. ia64_do_signal()
443 restart = 0; ia64_do_signal()
448 if (unlikely(restart)) { ia64_do_signal()
464 restart = 0; /* don't restart twice if handle_signal() fails... */ ia64_do_signal()
477 if (restart) { ia64_do_signal()
/linux-4.4.14/arch/blackfin/kernel/
H A Dearly_printk.c253 early_shadow_puts("Trying to restart\n"); early_trap_c()
257 early_shadow_puts("Halting, since it is not safe to restart\n"); early_trap_c()
/linux-4.4.14/drivers/usb/serial/
H A Dwishbone-serial.c30 * This is necessary to restart the negotiation of Wishbone bus parameters.
/linux-4.4.14/arch/x86/platform/olpc/
H A Dolpc.c138 restart: olpc_xo1_ec_cmd()
143 * If we time out during an OBF check, we can restart the command; olpc_xo1_ec_cmd()
176 goto restart; olpc_xo1_ec_cmd()
354 * Tell the wireless module to restart USB communication. olpc_xo1_ec_resume()
/linux-4.4.14/fs/
H A Dbinfmt_em86.c82 * OK, now restart the process with the interpreter's inode. load_em86()
/linux-4.4.14/arch/powerpc/platforms/52xx/
H A Dmpc5200_simple.c83 .restart = mpc52xx_restart, define_machine()
/linux-4.4.14/arch/powerpc/platforms/86xx/
H A Dsbc8641d.c117 .restart = fsl_rstcr_restart, define_machine()
/linux-4.4.14/arch/powerpc/platforms/8xx/
H A Dadder875.c113 .restart = mpc8xx_restart, define_machine()
/linux-4.4.14/arch/powerpc/platforms/maple/
H A Dsetup.c113 maple_nvram_offset = of_get_property(sp, "restart-addr", NULL); maple_restart()
114 maple_nvram_command = of_get_property(sp, "restart-value", NULL); maple_restart()
171 ppc_md.restart = rtas_restart; maple_use_rtas_reboot_and_halt_if_present()
328 .restart = maple_restart, define_machine()
/linux-4.4.14/arch/arm/plat-samsung/
H A Dpm-debug.c52 /* restart uart clocks so we can use them to output */ s3c_pm_debug_init()
/linux-4.4.14/arch/arm/mach-netx/
H A Dnxdkn.c101 .restart = netx_restart,

Completed in 4636 milliseconds

12345678