Lines Matching refs:cmd_name
74 static char cmd_name[1024]; /* name by which this program is invoked tst_brk etc */ variable
128 cmd_name); in apicmd_brk()
150 cmd_name); in apicmd_res()
169 cmd_name); in apicmd_brkm()
186 cmd_name); in apicmd_resm()
290 strcpy(cmd_name, SAFE_BASENAME(NULL, (argv++)[0])); in main()
296 if(!strcmp(cmd_name, "tst_fs_has_free") && in main()
297 !strcmp(cmd_name, "tst_get_unused_port")) { in main()
325 if (strcmp(cmd_name, "tst_brk") == 0) { in main()
327 } else if (strcmp(cmd_name, "tst_res") == 0) { in main()
329 } else if (strcmp(cmd_name, "tst_brkm") == 0) { in main()
331 } else if (strcmp(cmd_name, "tst_resm") == 0) { in main()
333 } else if (strcmp(cmd_name, "tst_exit") == 0) { in main()
335 } else if (strcmp(cmd_name, "tst_flush") == 0) { in main()
337 } else if (strcmp(cmd_name, "tst_ncpus") == 0) { in main()
339 } else if (strcmp(cmd_name, "tst_ncpus_conf") == 0) { in main()
341 } else if (strcmp(cmd_name, "tst_ncpus_max") == 0) { in main()
343 } else if (strcmp(cmd_name, "tst_get_unused_port") == 0) { in main()
345 } else if (strcmp(cmd_name, "tst_fs_has_free") == 0) { in main()