Lines Matching refs:nextarg
494 int kdbgetaddrarg(int argc, const char **argv, int *nextarg, in kdbgetaddrarg() argument
525 if (*nextarg > argc) in kdbgetaddrarg()
528 symname = (char *)argv[*nextarg]; in kdbgetaddrarg()
559 diag = kdbgetularg(argv[*nextarg], &addr); in kdbgetaddrarg()
568 (*nextarg)++; in kdbgetaddrarg()
577 if ((*nextarg > argc) in kdbgetaddrarg()
586 if ((argv[*nextarg][0] != '+') in kdbgetaddrarg()
587 && (argv[*nextarg][0] != '-')) { in kdbgetaddrarg()
593 positive = (argv[*nextarg][0] == '+'); in kdbgetaddrarg()
594 (*nextarg)++; in kdbgetaddrarg()
602 if ((*nextarg > argc) in kdbgetaddrarg()
608 cp = (char *)argv[*nextarg]; in kdbgetaddrarg()
609 (*nextarg)++; in kdbgetaddrarg()
1079 int nextarg = 0; in kdb_parse() local
1081 if (kdbgetaddrarg(0, (const char **)argv, &nextarg, in kdb_parse()
1622 int diag, nextarg = 1; in kdb_md() local
1623 diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, in kdb_md()
1627 if (argc > nextarg+2) in kdb_md()
1630 if (argc >= nextarg) { in kdb_md()
1631 diag = kdbgetularg(argv[nextarg], &val); in kdb_md()
1640 if (argc >= nextarg+1) { in kdb_md()
1641 diag = kdbgetularg(argv[nextarg+1], &val); in kdb_md()
1756 int nextarg; in kdb_mm() local
1765 nextarg = 1; in kdb_mm()
1766 diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, &offset, NULL); in kdb_mm()
1770 if (nextarg > argc) in kdb_mm()
1772 diag = kdbgetaddrarg(argc, argv, &nextarg, &contents, NULL, NULL); in kdb_mm()
1776 if (nextarg != argc + 1) in kdb_mm()
1797 int nextarg; in kdb_go() local
1807 nextarg = 1; in kdb_go()
1808 diag = kdbgetaddrarg(argc, argv, &nextarg, in kdb_go()
2005 int nextarg; in kdb_ef() local
2010 nextarg = 1; in kdb_ef()
2011 diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, &offset, NULL); in kdb_ef()
2562 int cpu, diag, nextarg = 1; in kdb_per_cpu() local
2568 diag = kdbgetaddrarg(argc, argv, &nextarg, &symaddr, NULL, NULL); in kdb_per_cpu()