Lines Matching refs:cp
65 char *cp; in prom_init_cmdline() local
70 cp = &(arcs_cmdline[0]); in prom_init_cmdline()
72 strcpy(cp, CONFIG_CMDLINE); in prom_init_cmdline()
73 cp += strlen(CONFIG_CMDLINE); in prom_init_cmdline()
74 *cp++ = ' '; in prom_init_cmdline()
77 strcpy(cp, prom_argv[actr]); in prom_init_cmdline()
78 cp += strlen(prom_argv[actr]); in prom_init_cmdline()
79 *cp++ = ' '; in prom_init_cmdline()
82 if (cp != &(arcs_cmdline[0])) /* get rid of trailing space */ in prom_init_cmdline()
83 --cp; in prom_init_cmdline()
84 *cp = '\0'; in prom_init_cmdline()