Lines Matching refs:cp
82 char *cp, *end; in mem_limit_func() local
88 for (cp = boot_command_line; *cp; ) { in mem_limit_func()
89 if (memcmp(cp, "mem=", 4) == 0) { in mem_limit_func()
90 cp += 4; in mem_limit_func()
91 limit = memparse(cp, &end); in mem_limit_func()
92 if (end != cp) in mem_limit_func()
94 cp = end; in mem_limit_func()
96 while (*cp != ' ' && *cp) in mem_limit_func()
97 ++cp; in mem_limit_func()
98 while (*cp == ' ') in mem_limit_func()
99 ++cp; in mem_limit_func()