Home
last modified time | relevance | path

Searched refs:nextarg (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/kernel/debug/kdb/
Dkdb_bp.c50 int nextarg = *nextargp; in kdb_parsebp() local
54 if ((argc + 1) != nextarg) { in kdb_parsebp()
55 if (strncasecmp(argv[nextarg], "datar", sizeof("datar")) == 0) in kdb_parsebp()
57 else if (strncasecmp(argv[nextarg], "dataw", sizeof("dataw")) == 0) in kdb_parsebp()
59 else if (strncasecmp(argv[nextarg], "inst", sizeof("inst")) == 0) in kdb_parsebp()
66 nextarg++; in kdb_parsebp()
68 if ((argc + 1) != nextarg) { in kdb_parsebp()
71 diag = kdbgetularg((char *)argv[nextarg], in kdb_parsebp()
81 nextarg++; in kdb_parsebp()
84 if ((argc + 1) != nextarg) in kdb_parsebp()
[all …]
Dkdb_main.c494 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()
[all …]
Dkdb_bt.c111 int nextarg; in kdb_bt() local
206 nextarg = 1; in kdb_bt()
207 diag = kdbgetaddrarg(argc, argv, &nextarg, &addr, in kdb_bt()