Lines Matching refs:next
83 const char *bootargs, *next, *quote; in linux_cmdline_legacy() local
91 next = bootargs; in linux_cmdline_legacy()
95 next = strchr(bootargs, ' '); in linux_cmdline_legacy()
97 while (next && quote && quote < next) { in linux_cmdline_legacy()
102 next = strchr(quote + 1, '"'); in linux_cmdline_legacy()
103 if (next) { in linux_cmdline_legacy()
104 quote = strchr(next + 1, '"'); in linux_cmdline_legacy()
105 next = strchr(next + 1, ' '); in linux_cmdline_legacy()
109 if (!next) in linux_cmdline_legacy()
110 next = bootargs + strlen(bootargs); in linux_cmdline_legacy()
112 linux_cmdline_set(bootargs, next - bootargs); in linux_cmdline_legacy()
114 if (*next) in linux_cmdline_legacy()
115 next++; in linux_cmdline_legacy()
117 bootargs = next; in linux_cmdline_legacy()