• Home
  • Raw
  • Download

Lines Matching refs:cur

41 	char *cur = cmdline, *tmp;  in parse_crashkernel_mem()  local
48 start = memparse(cur, &tmp); in parse_crashkernel_mem()
49 if (cur == tmp) { in parse_crashkernel_mem()
53 cur = tmp; in parse_crashkernel_mem()
54 if (*cur != '-') { in parse_crashkernel_mem()
58 cur++; in parse_crashkernel_mem()
61 if (*cur != ':') { in parse_crashkernel_mem()
62 end = memparse(cur, &tmp); in parse_crashkernel_mem()
63 if (cur == tmp) { in parse_crashkernel_mem()
67 cur = tmp; in parse_crashkernel_mem()
74 if (*cur != ':') { in parse_crashkernel_mem()
78 cur++; in parse_crashkernel_mem()
80 size = memparse(cur, &tmp); in parse_crashkernel_mem()
81 if (cur == tmp) { in parse_crashkernel_mem()
85 cur = tmp; in parse_crashkernel_mem()
96 } while (*cur++ == ','); in parse_crashkernel_mem()
99 while (*cur && *cur != ' ' && *cur != '@') in parse_crashkernel_mem()
100 cur++; in parse_crashkernel_mem()
101 if (*cur == '@') { in parse_crashkernel_mem()
102 cur++; in parse_crashkernel_mem()
103 *crash_base = memparse(cur, &tmp); in parse_crashkernel_mem()
104 if (cur == tmp) { in parse_crashkernel_mem()
126 char *cur = cmdline; in parse_crashkernel_simple() local
128 *crash_size = memparse(cmdline, &cur); in parse_crashkernel_simple()
129 if (cmdline == cur) { in parse_crashkernel_simple()
134 if (*cur == '@') in parse_crashkernel_simple()
135 *crash_base = memparse(cur+1, &cur); in parse_crashkernel_simple()
136 else if (*cur != ' ' && *cur != '\0') { in parse_crashkernel_simple()
137 pr_warn("crashkernel: unrecognized char: %c\n", *cur); in parse_crashkernel_simple()
164 char *cur = cmdline; in parse_crashkernel_suffix() local
166 *crash_size = memparse(cmdline, &cur); in parse_crashkernel_suffix()
167 if (cmdline == cur) { in parse_crashkernel_suffix()
173 if (strncmp(cur, suffix, strlen(suffix))) { in parse_crashkernel_suffix()
174 pr_warn("crashkernel: unrecognized char: %c\n", *cur); in parse_crashkernel_suffix()
177 cur += strlen(suffix); in parse_crashkernel_suffix()
178 if (*cur != ' ' && *cur != '\0') { in parse_crashkernel_suffix()
179 pr_warn("crashkernel: unrecognized char: %c\n", *cur); in parse_crashkernel_suffix()