/openbmc/linux/fs/ntfs/ |
H A D | logfile.c | 28 * @vi: $LogFile inode to which the restart page header belongs 29 * @rp: restart page header to check 30 * @pos: position in @vi at which the restart page header resides 32 * Check the restart page header @rp for consistency and return 'true' if it is 36 * require the full restart page. 61 * We must be either at !pos (1st restart page) or at pos = system page in ntfs_check_restart_page_header() 62 * size (2nd restart page). in ntfs_check_restart_page_header() 65 ntfs_error(vi->i_sb, "Found restart area in incorrect " in ntfs_check_restart_page_header() 79 * If chkdsk has been run the restart page may not be protected by an in ntfs_check_restart_page_header() 89 ntfs_error(vi->i_sb, "$LogFile restart page specifies " in ntfs_check_restart_page_header() [all …]
|
H A D | logfile.h | 23 * Two restart areas present in the first two pages (restart pages, one restart 40 * exception is if the journal is clean as marked by the two restart pages 51 * Log file restart page header (begins the restart area). 108 * Log file restart area record. The offset of this record is found by adding 115 when the restart area was last written. 122 restart area. Must be 1. */ 178 /* 20*/ le16 restart_area_length;/* Length of the restart area including the 189 after this restart area structure, aligned 219 store the two restart pages and 48 (0x30) 254 /* 8*/ leLSN client_restart_lsn;/* LSN at which this client needs to restart [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | restart-handler.yaml | 4 $id: http://devicetree.org/schemas/power/reset/restart-handler.yaml# 7 title: Restart and shutdown handler Common Properties 13 Restart and shutdown handler device is responsible for powering off the 14 system, e.g. my cutting off the power. System might have several restart 22 0:: Restart handler of last resort, with limited restart capabilities. 23 128:: Typical, default restart handler; use if no other restart handler 24 is expected to be available, and/or if restart functionality is 25 sufficient to restart the entire system. 26 255:: Highest priority restart handler, will preempt all other restart handlers.
|
H A D | gpio-restart.yaml | 4 $id: http://devicetree.org/schemas/power/reset/gpio-restart.yaml# 13 Drive a GPIO line that can be used to restart the system from a restart handler. 16 request the given gpio line and install a restart handler. If the optional properties 18 not driven until the restart is initiated. 20 When the system is restarted, the restart handler will be invoked in priority order. The GPIO 26 restart handler completes allowing other restart handlers to be attempted. 29 - $ref: restart-handler.yaml# 33 const: gpio-restart 42 description: Treat the GPIO as being open source and defer driving it to when the restart is 61 description: Delay (default 3000) to wait after completing restart sequence [ms] [all …]
|
/openbmc/linux/drivers/power/reset/ |
H A D | atc260x-poweroff.c | 20 int (*do_poweroff)(const struct atc260x_pwrc *pwrc, bool restart); 26 static int atc2603c_do_poweroff(const struct atc260x_pwrc *pwrc, bool restart) in atc2603c_do_poweroff() argument 32 if (!restart && !power_supply_is_system_supplied()) { in atc2603c_do_poweroff() 39 (restart ? ATC2603C_PMU_SYS_CTL0_RESET_WK_EN in atc2603c_do_poweroff() 57 /* Trigger poweroff / restart sequence */ in atc2603c_do_poweroff() 58 reg_mask = restart ? ATC2603C_PMU_SYS_CTL0_RESTART_EN in atc2603c_do_poweroff() 60 reg_val = restart ? ATC2603C_PMU_SYS_CTL0_RESTART_EN : 0; in atc2603c_do_poweroff() 63 restart ? ATC2603C_PMU_SYS_CTL0 : ATC2603C_PMU_SYS_CTL1, in atc2603c_do_poweroff() 67 restart ? 0 : 1, ret); in atc2603c_do_poweroff() 77 static int atc2609a_do_poweroff(const struct atc260x_pwrc *pwrc, bool restart) in atc2609a_do_poweroff() argument [all …]
|
H A D | Kconfig | 31 This driver supports restart for Atmel AT91SAM9 and SAMA5 46 This driver provides power-off and restart support for a system 53 This driver supports restart for Axxia SoC. 62 This driver provides restart support for Broadcom Kona chips. 65 to have restart support. 73 This driver provides restart support for Broadcom STB boards. 76 to have restart support. 96 bool "GPIO restart driver" 100 If your board needs a GPIO high/low to restart, say Y and 124 Power off and restart support for Qualcomm boards. [all …]
|
H A D | gpio-restart.c | 3 * Toggles a GPIO pin to restart a device 100 dev_err(&pdev->dev, "%s: cannot register restart handler, %d\n", in gpio_restart_probe() 116 "%s: cannot unregister restart handler, %d\n", in gpio_restart_remove() 122 { .compatible = "gpio-restart", }, 130 .name = "restart-gpio", 138 MODULE_DESCRIPTION("GPIO restart driver");
|
/openbmc/openbmc-test-automation/redfish/extended/ |
H A D | test_service_restart_policy.robot | 2 Documentation Verify Auto Restart policy for set of mission critical 20 Verify OpenBMC Services Auto Restart Policy 21 [Documentation] Kill active services and expect auto restart. 23 # The services listed below restart policy should be "always" 25 # systemctl -p Restart show xyz.openbmc_project.Logging.service | cat 26 # Restart=always 38 Kill Services And Expect Service Restart 39 [Documentation] Kill the service and it must restart. 52 Sleep 10s reason=Wait for service to restart. 80 ${services}= Get Service Restart Policy Services ${OPENBMC_MODEL} [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/ulogd2/ulogd2/ |
H A D | ulogd.init | 16 # restart stop and restart the service if the service is already running, 18 # try-restart restart the service if the service is already running 22 # this, otherwise restart the service if it is running 25 # The start, stop, restart, force-reload, and status actions shall be supported 26 # by all init scripts; the reload and the try-restart actions are optional 154 restart) 159 try-restart|force-reload) 160 # force-reload is the same as reload or try-restart according 162 # force-reload is the alias of try-restart here, but it should 171 # try-restart|force-reload) [all …]
|
/openbmc/openbmc/poky/meta-skeleton/recipes-skeleton/service/service/ |
H A D | skeleton | 18 # restart stop and restart the service if the service is already running, 20 # try-restart restart the service if the service is already running 24 # this, otherwise restart the service if it is running 27 # The start, stop, restart, force-reload, and status actions shall be supported 28 # by all init scripts; the reload and the try-restart actions are optional 167 restart) 172 try-restart|force-reload) 173 # force-reload is the same as reload or try-restart according 175 # force-reload is the alias of try-restart here, but it should 184 # try-restart|force-reload) [all …]
|
/openbmc/openbmc/meta-openembedded/meta-perl/recipes-perl/libauthen/libauthen-radius-perl/ |
H A D | run-ptest | 10 # restart radiusd server 11 systemctl restart radiusd || /etc/init.d/radiusd restart || { 19 # restore the config and restart 21 systemctl restart radiusd || /etc/init.d/radiusd restart
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 260 | 45 def test(persistent, restart): argument 46 assert persistent or not restart 47 log("\nTestcase {}persistent {} restart\n".format( 48 '' if persistent else 'non-', 'with' if restart else 'without')) 65 if restart: 66 log("... Restart ...") 92 test(persistent=False, restart=False) 93 test(persistent=True, restart=False) 94 test(persistent=True, restart=True)
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | board-generic.c | 62 .restart = omap2xxx_restart, 79 .restart = omap2xxx_restart, 126 .restart = omap3xxx_restart, 144 .restart = omap3xxx_restart, 161 .restart = omap3xxx_restart, 178 .restart = omap3xxx_restart, 194 .restart = omap3xxx_restart, 213 .restart = ti81xx_restart, 230 .restart = ti81xx_restart, 248 .restart = am33xx_restart, [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/lvm2/files/ |
H A D | 0001-Avoid-bashisms-in-init-scripts.patch | 53 - echo $"Usage: $0 {start|stop|restart|status}" 54 + echo "Usage: $0 {start|stop|restart|status}" 72 - echo $"Usage: $0 {start|stop|force-stop|restart|condrestart|try-restart|status}" 73 + echo "Usage: $0 {start|stop|force-stop|restart|condrestart|try-restart|status}" 91 - echo $"Usage: $0 {start|stop|restart|status|force-stop}" 92 + echo "Usage: $0 {start|stop|restart|status|force-stop}" 110 - echo $"Usage: $0 {start|stop|restart|status|force-stop}" 111 + echo "Usage: $0 {start|stop|restart|status|force-stop}"
|
/openbmc/linux/arch/openrisc/kernel/ |
H A D | signal.c | 63 regs->orig_gpr11 = -1; /* Avoid syscall restart checks */ in restore_sigcontext() 238 int restart = 0; in do_signal() local 246 * Setup syscall restart here so that a debugger will in do_signal() 251 restart = -2; in do_signal() 256 restart++; in do_signal() 266 * the decision to restart the syscall; specifically, if the PC is in do_signal() 267 * changed, don't restart the syscall. in do_signal() 270 if (unlikely(restart) && regs->pc == restart_addr) { in do_signal() 275 /* No automatic restart */ in do_signal() 285 * Restore pt_regs PC as syscall restart will be handled by in do_signal() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/openct/openct/ |
H A D | openct.init | 57 restart() { 74 start|stop|restart) 78 restart 83 try-restart|condrestart) 84 [ ! -f $lockfile ] || restart 87 echo $"Usage: $0 {start|stop|status|restart|try-restart|reload|force-reload}"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/multipath-tools/files/ |
H A D | multipathd.oe | 90 restart() { 121 restart) 122 restart 124 force-restart) 127 condrestart|try-restart) 129 restart 142 echo $"Usage: $0 {start|stop|force-stop|status|restart|force-restart|condrestart|reload}"
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/autofs/autofs/ |
H A D | 0004-autofs.init.in-remove-bashism.patch | 49 -function restart() { 50 +restart() { 54 @@ -143,7 +143,7 @@ function restart() { 69 …o $"Usage: $0 {start|forcestart|stop|status|restart|force-reload|forcerestart|reload|condrestart|t… 104 -function restart() { 105 +restart() { 109 @@ -110,7 +110,7 @@ function restart() {
|
/openbmc/linux/include/uapi/linux/ |
H A D | reboot.h | 19 * RESTART Restart system using default command and mode. 21 * CAD_ON Ctrl-Alt-Del sequence causes RESTART command. 24 * RESTART2 Restart system using given command string. 26 * KEXEC Restart system using a previously loaded Linux kernel
|
/openbmc/linux/kernel/ |
H A D | reboot.c | 150 * to restart the system. 160 * 0: Restart handler of last resort, 161 * with limited restart capabilities 162 * 128: Default restart handler; use if no other 163 * restart handler is expected to be available, 164 * and/or if restart functionality is 165 * sufficient to restart the entire system 166 * 255: Highest priority restart handler, will 167 * preempt all other restart handlers 169 * Registers a function with code to be called to restart the [all …]
|
/openbmc/ipmitool/contrib/ |
H A D | ipmievd.init.suse | 158 # or restarting a not-running service as well as the restart 173 try-restart|condrestart) 174 ## Do a restart only if the service was active before. 175 ## Note: try-restart is now part of LSB (as of 1.9). 178 echo "${attn} Use try-restart ${done}(LSB)${attn} rather than condrestart ${warn}(RH)${norm}" 182 $0 restart 188 restart) 195 $0 try-restart 208 echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload| reload}"
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_pcs.h | 25 #define GMAC_AN_CTRL_RAN BIT(9) /* Restart Auto-Negotiation */ 78 * dwmac_rane - To restart ANE 81 * @restart: to restart ANE 82 * Description: this is to just restart the Auto-Negotiation. 84 static inline void dwmac_rane(void __iomem *ioaddr, u32 reg, bool restart) in dwmac_rane() argument 88 if (restart) in dwmac_rane() 110 /* Enable and restart the Auto-Negotiation */ in dwmac_ctrl_ane()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/postgresql/files/ |
H A D | postgresql.init | 150 restart(){ 156 [ -e "$lockfile" ] && restart || : 176 restart) 177 restart 179 condrestart|try-restart) 186 restart 189 echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
|
/openbmc/openbmc/poky/meta/recipes-extended/at/at/ |
H A D | atd.init | 21 restart() { 33 restart|reload) 34 restart 40 echo $"Usage: $0 {start|stop|restart|status}"
|
/openbmc/linux/drivers/watchdog/ |
H A D | watchdog_core.c | 31 #include <linux/reboot.h> /* For restart handler */ 186 ret = wdd->ops->restart(wdd, action, data); in watchdog_restart_notifier() 221 * watchdog_set_restart_priority - Change priority of restart handler 223 * @priority: priority of the restart handler, should follow these guidelines: 224 * 0: use watchdog's restart function as last resort, has limited restart 226 * 128: default restart handler, use if no other handler is expected to be 227 * available and/or if restart is sufficient to restart the entire system 230 * If a wdd->ops->restart function is provided when watchdog_register_device is 231 * called, it will be registered as a restart handler with the priority given 318 if (wdd->ops->restart) { in __watchdog_register_device() [all …]
|