Searched refs:MAX_CMDLEN (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/watchdog/ |
D | diag288_wdt.c | 35 #define MAX_CMDLEN 240 macro 52 static char wdt_cmd[MAX_CMDLEN] = DEFAULT_CMD; 62 module_param_string(cmd, wdt_cmd, MAX_CMDLEN, 0644); 122 ebc_cmd = kmalloc(MAX_CMDLEN, GFP_KERNEL); in wdt_start() 127 len = strlcpy(ebc_cmd, wdt_cmd, MAX_CMDLEN); in wdt_start() 128 ASCEBC(ebc_cmd, MAX_CMDLEN); in wdt_start() 129 EBC_TOUPPER(ebc_cmd, MAX_CMDLEN); in wdt_start() 169 ebc_cmd = kmalloc(MAX_CMDLEN, GFP_KERNEL); in wdt_ping() 172 len = strlcpy(ebc_cmd, wdt_cmd, MAX_CMDLEN); in wdt_ping() 173 ASCEBC(ebc_cmd, MAX_CMDLEN); in wdt_ping() [all …]
|
/linux-6.1.9/tools/perf/util/ |
D | probe-file.c | 33 #define MAX_CMDLEN 4094 macro 172 char buf[MAX_CMDLEN]; in probe_file__get_rawlist() 192 p = fgets(buf, MAX_CMDLEN, fp); in probe_file__get_rawlist() 513 char buf[MAX_CMDLEN], *p; in probe_cache__load() 527 if (!fgets(buf, MAX_CMDLEN, fp)) in probe_cache__load()
|