Lines Matching refs:count
413 int fd, proto_rev, count; in devfsd_main() local
421 for (count = 2; count < argc; ++count) { in devfsd_main()
422 if (argv[count][0] == '-') { in devfsd_main()
423 if (argv[count][1] == 'v' && !argv[count][2]) /* -v */ in devfsd_main()
425 else if (ENABLE_DEVFSD_FG_NP && argv[count][1] == 'f' in devfsd_main()
426 && argv[count][2] == 'g' && !argv[count][3]) /* -fg */ in devfsd_main()
428 else if (ENABLE_DEVFSD_FG_NP && argv[count][1] == 'n' in devfsd_main()
429 && argv[count][2] == 'p' && !argv[count][3]) /* -np */ in devfsd_main()
562 int num_args, count; in process_config_line() local
578 for (count = 0; count < MAX_ARGS; ++count) in process_config_line()
579 p[count][0] = '\0'; in process_config_line()
613 for (count = 0; event_types[count].config_name != NULL; ++count) { in process_config_line()
614 if (strcasecmp(when, event_types[count].config_name) != 0) in process_config_line()
616 new->action.when = event_types[count].type; in process_config_line()
619 if (event_types[count].config_name == NULL) { in process_config_line()
653 for (count = 0; count < num_args; ++count) in process_config_line()
654 new->u.execute.argv[count] = xstrdup(p[count]); in process_config_line()
848 unsigned int count; in action_execute() local
856 for (count = 0; entry->u.execute.argv[count] != NULL; ++count) { in action_execute()
857 expand_expression(largv[count], STRING_LENGTH, in action_execute()
858 entry->u.execute.argv[count], in action_execute()
861 argv[count] = largv[count]; in action_execute()
863 argv[count] = NULL; in action_execute()
1123 unsigned int count; in free_config() local
1128 for (count = 0; count < MAX_ARGS; ++count) { in free_config()
1129 if (c_entry->u.execute.argv[count] == NULL) in free_config()
1131 free(c_entry->u.execute.argv[count]); in free_config()