Lines Matching refs:cmdpath
74 static char cmdpath[PATH_MAX]; variable
92 (void) strncpy(cmdpath, argv[0], PATH_MAX); in main()
186 cmdpath); in print_classlist()
195 cmdpath, cid); in print_classlist()
220 fatalerr("%s: Invalid or unconfigured class %s\n", cmdpath, in exec_cscmd()
228 fatalerr("%s: Can't execute %s sub-command\n", cmdpath, clname); in exec_cscmd()
285 fatalerr("%s: %s is empty\n", cmdpath, CONFIGPATH); in read_default_file()
302 cmdpath); in set_scheduler()
308 "is not set\n", cmdpath); in set_scheduler()
311 cmdpath, CONFIGPATH, strerror(errno)); in set_scheduler()
316 cmdpath, CONFIGPATH, strerror(errno)); in set_scheduler()
333 fatalerr("%s: Invalid or unconfigured class %s\n", cmdpath, in set_scheduler()
336 fatalerr("%s: Failed to open %s (%s)\n", cmdpath, CONFIGPATH, in set_scheduler()
341 fatalerr("%s: Failed to truncate %s\n", cmdpath, CONFIGPATH); in set_scheduler()
346 fatalerr("%s: Failed to write to %s\n", cmdpath, CONFIGPATH); in set_scheduler()
350 cmdpath); in set_scheduler()
354 cmdpath); in set_scheduler()
358 cmdpath); in set_scheduler()
362 cmdpath); in set_scheduler()
367 cmdpath, clname, strerror(errno)); in set_scheduler()
383 cmdpath, CONFIGPATH, strerror(errno)); in set_default_class()
388 cmdpath, CONFIGPATH, strerror(errno)); in set_default_class()
393 "kernel: %s\n", cmdpath, clname, strerror(errno)); in set_default_class()