Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: watchdog.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* Generic watchdog defines. Derived from..
[2] Fix | Delete
*
[3] Fix | Delete
* Berkshire PC Watchdog Defines
[4] Fix | Delete
* by Ken Hollis <khollis@bitgate.com>
[5] Fix | Delete
*
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
#ifndef _LINUX_WATCHDOG_H
[9] Fix | Delete
#define _LINUX_WATCHDOG_H
[10] Fix | Delete
[11] Fix | Delete
#include <linux/ioctl.h>
[12] Fix | Delete
#include <linux/types.h>
[13] Fix | Delete
[14] Fix | Delete
#define WATCHDOG_IOCTL_BASE 'W'
[15] Fix | Delete
[16] Fix | Delete
struct watchdog_info {
[17] Fix | Delete
__u32 options; /* Options the card/driver supports */
[18] Fix | Delete
__u32 firmware_version; /* Firmware version of the card */
[19] Fix | Delete
__u8 identity[32]; /* Identity of the board */
[20] Fix | Delete
};
[21] Fix | Delete
[22] Fix | Delete
#define WDIOC_GETSUPPORT _IOR(WATCHDOG_IOCTL_BASE, 0, struct watchdog_info)
[23] Fix | Delete
#define WDIOC_GETSTATUS _IOR(WATCHDOG_IOCTL_BASE, 1, int)
[24] Fix | Delete
#define WDIOC_GETBOOTSTATUS _IOR(WATCHDOG_IOCTL_BASE, 2, int)
[25] Fix | Delete
#define WDIOC_GETTEMP _IOR(WATCHDOG_IOCTL_BASE, 3, int)
[26] Fix | Delete
#define WDIOC_SETOPTIONS _IOR(WATCHDOG_IOCTL_BASE, 4, int)
[27] Fix | Delete
#define WDIOC_KEEPALIVE _IOR(WATCHDOG_IOCTL_BASE, 5, int)
[28] Fix | Delete
#define WDIOC_SETTIMEOUT _IOWR(WATCHDOG_IOCTL_BASE, 6, int)
[29] Fix | Delete
#define WDIOC_GETTIMEOUT _IOR(WATCHDOG_IOCTL_BASE, 7, int)
[30] Fix | Delete
#define WDIOC_SETPRETIMEOUT _IOWR(WATCHDOG_IOCTL_BASE, 8, int)
[31] Fix | Delete
#define WDIOC_GETPRETIMEOUT _IOR(WATCHDOG_IOCTL_BASE, 9, int)
[32] Fix | Delete
#define WDIOC_GETTIMELEFT _IOR(WATCHDOG_IOCTL_BASE, 10, int)
[33] Fix | Delete
[34] Fix | Delete
#define WDIOF_UNKNOWN -1 /* Unknown flag error */
[35] Fix | Delete
#define WDIOS_UNKNOWN -1 /* Unknown status error */
[36] Fix | Delete
[37] Fix | Delete
#define WDIOF_OVERHEAT 0x0001 /* Reset due to CPU overheat */
[38] Fix | Delete
#define WDIOF_FANFAULT 0x0002 /* Fan failed */
[39] Fix | Delete
#define WDIOF_EXTERN1 0x0004 /* External relay 1 */
[40] Fix | Delete
#define WDIOF_EXTERN2 0x0008 /* External relay 2 */
[41] Fix | Delete
#define WDIOF_POWERUNDER 0x0010 /* Power bad/power fault */
[42] Fix | Delete
#define WDIOF_CARDRESET 0x0020 /* Card previously reset the CPU */
[43] Fix | Delete
#define WDIOF_POWEROVER 0x0040 /* Power over voltage */
[44] Fix | Delete
#define WDIOF_SETTIMEOUT 0x0080 /* Set timeout (in seconds) */
[45] Fix | Delete
#define WDIOF_MAGICCLOSE 0x0100 /* Supports magic close char */
[46] Fix | Delete
#define WDIOF_PRETIMEOUT 0x0200 /* Pretimeout (in seconds), get/set */
[47] Fix | Delete
#define WDIOF_ALARMONLY 0x0400 /* Watchdog triggers a management or
[48] Fix | Delete
other external alarm not a reboot */
[49] Fix | Delete
#define WDIOF_KEEPALIVEPING 0x8000 /* Keep alive ping reply */
[50] Fix | Delete
[51] Fix | Delete
#define WDIOS_DISABLECARD 0x0001 /* Turn off the watchdog timer */
[52] Fix | Delete
#define WDIOS_ENABLECARD 0x0002 /* Turn on the watchdog timer */
[53] Fix | Delete
#define WDIOS_TEMPPANIC 0x0004 /* Kernel panic on temperature trip */
[54] Fix | Delete
[55] Fix | Delete
[56] Fix | Delete
#endif /* _LINUX_WATCHDOG_H */
[57] Fix | Delete
[58] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function