Lines Matching refs:args
35 /* Limit how long of an event name plus args within the subsystem. */
205 char *args, char *flags,
999 char *args = strpbrk(name, " ");
1002 if (args)
1003 *args++ = '\0';
1010 return user_event_parse(group, name, args, flags, newuser, reg_flags);
1265 static int user_event_parse_fields(struct user_event *user, char *args)
1271 if (args == NULL)
1274 while ((field = strsep(&args, ";")) != NULL) {
1993 * Counts how many ';' without a trailing space are in the args.
1995 static int count_semis_no_space(char *args)
1999 while ((args = strchr(args, ';'))) {
2000 args++;
2002 if (!isspace(*args))
2012 static char *insert_space_after_semis(char *args, int count)
2017 len = strlen(args) + count;
2026 while (*args) {
2027 *pos = *args++;
2029 if (*pos++ == ';' && !isspace(*args))
2038 static char **user_event_argv_split(char *args, int *argc)
2045 count = count_semis_no_space(args);
2049 return argv_split(GFP_KERNEL, args, argc);
2052 fixed = insert_space_after_semis(args, count);
2072 char *args, char *flags,
2088 if (args) {
2089 argv = user_event_argv_split(args, &argc);
2136 ret = user_event_parse_fields(user, args);