Searched refs:MAX_CMDLEN (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/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); 116 ebc_cmd = kmalloc(MAX_CMDLEN, GFP_KERNEL); in wdt_start() 119 len = strlcpy(ebc_cmd, wdt_cmd, MAX_CMDLEN); in wdt_start() 120 ASCEBC(ebc_cmd, MAX_CMDLEN); in wdt_start() 121 EBC_TOUPPER(ebc_cmd, MAX_CMDLEN); in wdt_start() 158 ebc_cmd = kmalloc(MAX_CMDLEN, GFP_KERNEL); in wdt_ping() 161 len = strlcpy(ebc_cmd, wdt_cmd, MAX_CMDLEN); in wdt_ping() 162 ASCEBC(ebc_cmd, MAX_CMDLEN); in wdt_ping() [all …]
|
/linux-4.1.27/tools/perf/util/ |
D | probe-event.c | 50 #define MAX_CMDLEN 256 macro 1536 buf = zalloc(MAX_CMDLEN); in synthesize_perf_probe_point() 1564 ret = e_snprintf(buf, MAX_CMDLEN, "%s%s%s%s%s", pp->function, in synthesize_perf_probe_point() 1568 ret = e_snprintf(buf, MAX_CMDLEN, "%s%s", file, line); in synthesize_perf_probe_point() 1591 ret = e_snprintf(&buf[len], MAX_CMDLEN - len, " %s", 1693 buf = zalloc(MAX_CMDLEN); in synthesize_probe_trace_command() 1697 len = e_snprintf(buf, MAX_CMDLEN, "%c:%s/%s ", tp->retprobe ? 'r' : 'p', in synthesize_probe_trace_command() 1708 ret = e_snprintf(buf + len, MAX_CMDLEN - len, "%s:0x%lx", in synthesize_probe_trace_command() 1711 ret = e_snprintf(buf + len, MAX_CMDLEN - len, "%s%s%s+%lu", in synthesize_probe_trace_command() 1721 MAX_CMDLEN - len); in synthesize_probe_trace_command() [all …]
|