Lines Matching defs:fcn
203 mdboot(int cmd, int fcn, char *mdep, boolean_t invoke_cb)
211 if (fcn == AD_FASTREBOOT && !newkernel.fi_valid)
212 fcn = AD_BOOT;
216 if (fcn == AD_FASTREBOOT) {
228 fcn = force_shutdown_method;
243 if (!(fcn == AD_HALT || fcn == AD_POWEROFF))
296 if (fcn == AD_BOOT && panicstr && newkernel.fi_valid &&
299 fcn = AD_FASTREBOOT;
316 if (fcn == AD_FASTREBOOT && !force_fastreboot) {
321 fcn = AD_BOOT;
322 } else if (fcn != AD_FASTREBOOT)
347 if (fastreboot_capable && fcn == AD_FASTREBOOT &&
357 if (fastreboot_capable && fcn == AD_FASTREBOOT) {
363 (*psm_shutdownf)(cmd, fcn);
365 if (fcn == AD_HALT || fcn == AD_POWEROFF)
376 mdpreboot(int cmd, int fcn, char *mdep)
378 if (fcn == AD_FASTREBOOT && !fastreboot_capable) {
379 fcn = AD_BOOT;
389 if (fcn == AD_FASTREBOOT) {
392 fcn = AD_BOOT;
395 (*psm_preshutdownf)(cmd, fcn);