Home
last modified time | relevance | path

Searched refs:MAX_CMDLEN (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/watchdog/
Ddiag288_wdt.c35 #define MAX_CMDLEN 240 macro
52 static char wdt_cmd[MAX_CMDLEN] = DEFAULT_CMD;
62 module_param_string(cmd, wdt_cmd, MAX_CMDLEN, 0644);
124 ebc_cmd = kmalloc(MAX_CMDLEN, GFP_KERNEL); in wdt_start()
129 len = strlcpy(ebc_cmd, wdt_cmd, MAX_CMDLEN); in wdt_start()
130 ASCEBC(ebc_cmd, MAX_CMDLEN); in wdt_start()
131 EBC_TOUPPER(ebc_cmd, MAX_CMDLEN); in wdt_start()
173 ebc_cmd = kmalloc(MAX_CMDLEN, GFP_KERNEL); in wdt_ping()
176 len = strlcpy(ebc_cmd, wdt_cmd, MAX_CMDLEN); in wdt_ping()
177 ASCEBC(ebc_cmd, MAX_CMDLEN); in wdt_ping()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
Dprobe-file.c32 #define MAX_CMDLEN 4094 macro
137 char buf[MAX_CMDLEN]; in probe_file__get_rawlist()
157 p = fgets(buf, MAX_CMDLEN, fp); in probe_file__get_rawlist()
478 char buf[MAX_CMDLEN], *p; in probe_cache__load()
492 if (!fgets(buf, MAX_CMDLEN, fp)) in probe_cache__load()