main.c | 55 static const struct gpt_cmd *cmdsw[] = { variable in typeref:typename:const struct gpt_cmd * [] 96 for (i = 0; i < __arraycount(cmdsw); i++) 97 gpt_usage("\t", cmdsw[i]); 211 for (i = 0; cmdsw[i]->name != NULL && strcmp(cmd, cmdsw[i]->name); i++) 214 if (cmdsw[i]->fptr == NULL) 220 gpt = gpt_open(dev, flags | cmdsw[i]->flags, 225 if ((cmdsw[i]->flags & GPT_OPTDEV) == 0) 232 if ((*cmdsw[i]->fptr)(gpt, argc, argv) == -1)
|