Lines Matching refs:nextarg

532 int kdbgetaddrarg(int argc, const char **argv, int *nextarg,  in kdbgetaddrarg()  argument
563 if (*nextarg > argc) in kdbgetaddrarg()
566 symname = (char *)argv[*nextarg]; in kdbgetaddrarg()
597 diag = kdbgetularg(argv[*nextarg], &addr); in kdbgetaddrarg()
606 (*nextarg)++; in kdbgetaddrarg()
615 if ((*nextarg > argc) in kdbgetaddrarg()
624 if ((argv[*nextarg][0] != '+') in kdbgetaddrarg()
625 && (argv[*nextarg][0] != '-')) { in kdbgetaddrarg()
631 positive = (argv[*nextarg][0] == '+'); in kdbgetaddrarg()
632 (*nextarg)++; in kdbgetaddrarg()
640 if ((*nextarg > argc) in kdbgetaddrarg()
646 cp = (char *)argv[*nextarg]; in kdbgetaddrarg()
647 (*nextarg)++; in kdbgetaddrarg()
1111 int nextarg = 0; in kdb_parse() local
1113 if (kdbgetaddrarg(0, (const char **)argv, &nextarg, in kdb_parse()
1653 int diag, nextarg = 1; in kdb_md() local
1654 diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, in kdb_md()
1658 if (argc > nextarg+2) in kdb_md()
1661 if (argc >= nextarg) { in kdb_md()
1662 diag = kdbgetularg(argv[nextarg], &val); in kdb_md()
1671 if (argc >= nextarg+1) { in kdb_md()
1672 diag = kdbgetularg(argv[nextarg+1], &val); in kdb_md()
1787 int nextarg; in kdb_mm() local
1796 nextarg = 1; in kdb_mm()
1797 diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, &offset, NULL); in kdb_mm()
1801 if (nextarg > argc) in kdb_mm()
1803 diag = kdbgetaddrarg(argc, argv, &nextarg, &contents, NULL, NULL); in kdb_mm()
1807 if (nextarg != argc + 1) in kdb_mm()
1828 int nextarg; in kdb_go() local
1838 nextarg = 1; in kdb_go()
1839 diag = kdbgetaddrarg(argc, argv, &nextarg, in kdb_go()
2036 int nextarg; in kdb_ef() local
2041 nextarg = 1; in kdb_ef()
2042 diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, &offset, NULL); in kdb_ef()
2533 int cpu, diag, nextarg = 1; in kdb_per_cpu() local
2539 diag = kdbgetaddrarg(argc, argv, &nextarg, &symaddr, NULL, NULL); in kdb_per_cpu()