Lines Matching refs:nextarg
463 int kdbgetaddrarg(int argc, const char **argv, int *nextarg, in kdbgetaddrarg() argument
485 if (*nextarg > argc) in kdbgetaddrarg()
488 symname = (char *)argv[*nextarg]; in kdbgetaddrarg()
519 diag = kdbgetularg(argv[*nextarg], &addr); in kdbgetaddrarg()
528 (*nextarg)++; in kdbgetaddrarg()
537 if ((*nextarg > argc) in kdbgetaddrarg()
546 if ((argv[*nextarg][0] != '+') in kdbgetaddrarg()
547 && (argv[*nextarg][0] != '-')) { in kdbgetaddrarg()
553 positive = (argv[*nextarg][0] == '+'); in kdbgetaddrarg()
554 (*nextarg)++; in kdbgetaddrarg()
562 if ((*nextarg > argc) in kdbgetaddrarg()
568 cp = (char *)argv[*nextarg]; in kdbgetaddrarg()
569 (*nextarg)++; in kdbgetaddrarg()
1022 int nextarg = 0; in kdb_parse() local
1024 if (kdbgetaddrarg(0, (const char **)argv, &nextarg, in kdb_parse()
1587 int diag, nextarg = 1; in kdb_md() local
1588 diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, in kdb_md()
1592 if (argc > nextarg+2) in kdb_md()
1595 if (argc >= nextarg) { in kdb_md()
1596 diag = kdbgetularg(argv[nextarg], &val); in kdb_md()
1602 if (argc >= nextarg+1) { in kdb_md()
1603 diag = kdbgetularg(argv[nextarg+1], &val); in kdb_md()
1711 int nextarg; in kdb_mm() local
1720 nextarg = 1; in kdb_mm()
1721 diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, &offset, NULL); in kdb_mm()
1725 if (nextarg > argc) in kdb_mm()
1727 diag = kdbgetaddrarg(argc, argv, &nextarg, &contents, NULL, NULL); in kdb_mm()
1731 if (nextarg != argc + 1) in kdb_mm()
1752 int nextarg; in kdb_go() local
1762 nextarg = 1; in kdb_go()
1763 diag = kdbgetaddrarg(argc, argv, &nextarg, in kdb_go()
1956 int nextarg; in kdb_ef() local
1961 nextarg = 1; in kdb_ef()
1962 diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, &offset, NULL); in kdb_ef()
2372 int nextarg; in kdb_ll() local
2378 nextarg = 1; in kdb_ll()
2379 diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, &offset, NULL); in kdb_ll()
2611 int cpu, diag, nextarg = 1; in kdb_per_cpu() local
2617 diag = kdbgetaddrarg(argc, argv, &nextarg, &symaddr, NULL, NULL); in kdb_per_cpu()