Home
last modified time | relevance | path

Searched refs:argv_str (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/lib/
Dargv_split.c62 char *argv_str; in argv_split() local
67 argv_str = kstrndup(str, KMALLOC_MAX_SIZE - 1, gfp); in argv_split()
68 if (!argv_str) in argv_split()
71 argc = count_argc(argv_str); in argv_split()
74 kfree(argv_str); in argv_split()
78 *argv = argv_str; in argv_split()
80 for (was_space = true; *argv_str; argv_str++) { in argv_split()
81 if (isspace(*argv_str)) { in argv_split()
83 *argv_str = 0; in argv_split()
86 *argv++ = argv_str; in argv_split()