Lines Matching refs:tp
974 kdbtab_t *tp; in kdb_parse() local
1065 list_for_each_entry(tp, &kdb_cmds_head, list_node) { in kdb_parse()
1070 if (tp->minlen && (strlen(argv[0]) <= tp->minlen) && in kdb_parse()
1071 (strncmp(argv[0], tp->name, tp->minlen) == 0)) in kdb_parse()
1074 if (strcmp(argv[0], tp->name) == 0) in kdb_parse()
1083 if (list_entry_is_head(tp, &kdb_cmds_head, list_node)) { in kdb_parse()
1084 list_for_each_entry(tp, &kdb_cmds_head, list_node) { in kdb_parse()
1085 if (strncmp(argv[0], tp->name, strlen(tp->name)) == 0) in kdb_parse()
1090 if (!list_entry_is_head(tp, &kdb_cmds_head, list_node)) { in kdb_parse()
1093 if (!kdb_check_flags(tp->flags, kdb_cmd_enabled, argc <= 1)) in kdb_parse()
1097 result = (*tp->func)(argc-1, (const char **)argv); in kdb_parse()
1102 if (tp->flags & KDB_REPEAT_WITH_ARGS) in kdb_parse()
1105 argc = tp->flags & KDB_REPEAT_NO_ARGS ? 1 : 0; in kdb_parse()