Searched refs:MAX_CMDLEN (Results 1 – 3 of 3) sorted by relevance
| /linux-4.4.14/drivers/watchdog/ |
| D | diag288_wdt.c | 36 #define MAX_CMDLEN 240 macro 53 static char wdt_cmd[MAX_CMDLEN] = DEFAULT_CMD; 63 module_param_string(cmd, wdt_cmd, MAX_CMDLEN, 0644); 119 ebc_cmd = kmalloc(MAX_CMDLEN, GFP_KERNEL); in wdt_start() 122 len = strlcpy(ebc_cmd, wdt_cmd, MAX_CMDLEN); in wdt_start() 123 ASCEBC(ebc_cmd, MAX_CMDLEN); in wdt_start() 124 EBC_TOUPPER(ebc_cmd, MAX_CMDLEN); in wdt_start() 162 ebc_cmd = kmalloc(MAX_CMDLEN, GFP_KERNEL); in wdt_ping() 165 len = strlcpy(ebc_cmd, wdt_cmd, MAX_CMDLEN); in wdt_ping() 166 ASCEBC(ebc_cmd, MAX_CMDLEN); in wdt_ping() [all …]
|
| /linux-4.4.14/tools/perf/util/ |
| D | probe-file.c | 30 #define MAX_CMDLEN 256 macro 137 char buf[MAX_CMDLEN]; in probe_file__get_rawlist() 148 p = fgets(buf, MAX_CMDLEN, fp); in probe_file__get_rawlist()
|
| D | probe-event.c | 50 #define MAX_CMDLEN 256 macro 1670 buf = zalloc(MAX_CMDLEN); in synthesize_perf_probe_point() 1698 ret = e_snprintf(buf, MAX_CMDLEN, "%s%s%s%s%s", pp->function, in synthesize_perf_probe_point() 1702 ret = e_snprintf(buf, MAX_CMDLEN, "%s%s", file, line); in synthesize_perf_probe_point() 1725 ret = e_snprintf(&buf[len], MAX_CMDLEN - len, " %s", 1827 buf = zalloc(MAX_CMDLEN); in synthesize_probe_trace_command() 1831 len = e_snprintf(buf, MAX_CMDLEN, "%c:%s/%s ", tp->retprobe ? 'r' : 'p', in synthesize_probe_trace_command() 1852 ret = e_snprintf(buf + len, MAX_CMDLEN - len, "%s:0x%lx", in synthesize_probe_trace_command() 1856 ret = e_snprintf(buf + len, MAX_CMDLEN - len, "%s%s0x%lx", in synthesize_probe_trace_command() 1860 ret = e_snprintf(buf + len, MAX_CMDLEN - len, "%s%s%s+%lu", in synthesize_probe_trace_command() [all …]
|