• Home
  • Raw
  • Download

Lines Matching refs:cur

1057 	char *cur = cmdline, *tmp;  in parse_crashkernel_mem()  local
1064 start = memparse(cur, &tmp); in parse_crashkernel_mem()
1065 if (cur == tmp) { in parse_crashkernel_mem()
1069 cur = tmp; in parse_crashkernel_mem()
1070 if (*cur != '-') { in parse_crashkernel_mem()
1074 cur++; in parse_crashkernel_mem()
1077 if (*cur != ':') { in parse_crashkernel_mem()
1078 end = memparse(cur, &tmp); in parse_crashkernel_mem()
1079 if (cur == tmp) { in parse_crashkernel_mem()
1083 cur = tmp; in parse_crashkernel_mem()
1090 if (*cur != ':') { in parse_crashkernel_mem()
1094 cur++; in parse_crashkernel_mem()
1096 size = memparse(cur, &tmp); in parse_crashkernel_mem()
1097 if (cur == tmp) { in parse_crashkernel_mem()
1101 cur = tmp; in parse_crashkernel_mem()
1112 } while (*cur++ == ','); in parse_crashkernel_mem()
1115 while (*cur && *cur != ' ' && *cur != '@') in parse_crashkernel_mem()
1116 cur++; in parse_crashkernel_mem()
1117 if (*cur == '@') { in parse_crashkernel_mem()
1118 cur++; in parse_crashkernel_mem()
1119 *crash_base = memparse(cur, &tmp); in parse_crashkernel_mem()
1120 if (cur == tmp) { in parse_crashkernel_mem()
1141 char *cur = cmdline; in parse_crashkernel_simple() local
1143 *crash_size = memparse(cmdline, &cur); in parse_crashkernel_simple()
1144 if (cmdline == cur) { in parse_crashkernel_simple()
1149 if (*cur == '@') in parse_crashkernel_simple()
1150 *crash_base = memparse(cur+1, &cur); in parse_crashkernel_simple()
1151 else if (*cur != ' ' && *cur != '\0') { in parse_crashkernel_simple()
1152 pr_warn("crashkernel: unrecognized char: %c\n", *cur); in parse_crashkernel_simple()
1179 char *cur = cmdline; in parse_crashkernel_suffix() local
1181 *crash_size = memparse(cmdline, &cur); in parse_crashkernel_suffix()
1182 if (cmdline == cur) { in parse_crashkernel_suffix()
1188 if (strncmp(cur, suffix, strlen(suffix))) { in parse_crashkernel_suffix()
1189 pr_warn("crashkernel: unrecognized char: %c\n", *cur); in parse_crashkernel_suffix()
1192 cur += strlen(suffix); in parse_crashkernel_suffix()
1193 if (*cur != ' ' && *cur != '\0') { in parse_crashkernel_suffix()
1194 pr_warn("crashkernel: unrecognized char: %c\n", *cur); in parse_crashkernel_suffix()