/titanic_50/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_upgrade.c | 59 const char *fcn = "get_findroot_cap()"; in get_findroot_cap() local 66 BAM_DPRINTF((D_FINDROOT_ABSENT, fcn)); in get_findroot_cap() 81 BAM_DPRINTF((D_FINDROOT_PRESENT, fcn)); in get_findroot_cap() 85 BAM_DPRINTF((D_DBOOT_PRESENT, fcn)); in get_findroot_cap() 94 BAM_DPRINTF((D_FINDROOT_ABSENT, fcn)); in get_findroot_cap() 117 const char *fcn = "get_boot_cap()"; in get_boot_cap() local 122 BAM_DPRINTF((D_IS_SPARC_DBOOT, fcn)); in get_boot_cap() 194 BAM_DPRINTF((D_IS_DBOOT, fcn)); in get_boot_cap() 205 BAM_DPRINTF((D_IS_XVM, fcn)); in get_boot_cap() 207 BAM_DPRINTF((D_IS_NOT_XVM, fcn)); in get_boot_cap() [all …]
|
H A D | bootadm.c | 1291 const char *fcn = "bam_menu()"; in bam_menu() local 1347 BAM_DPRINTF((D_MENU_ROOT, fcn, menu_root)); in bam_menu() 1381 BAM_DPRINTF((D_Z_MENU_GET_POOL_FROM_SPECIAL, fcn, pool)); in bam_menu() 1390 BAM_DPRINTF((D_Z_GET_MENU_MOUNT_TOP_DATASET, fcn, zmntpt)); in bam_menu() 1393 BAM_DPRINTF((D_Z_GET_MENU_MENU_ROOT, fcn, menu_root)); in bam_menu() 1399 BAM_DPRINTF((D_CLEAN_MENU_ROOT, fcn, clean_menu_root)); in bam_menu() 1404 BAM_DPRINTF((D_MENU_PATH, fcn, menu_path)); in bam_menu() 1435 BAM_DPRINTF((D_BOOT_GET_CAP_FAILED, fcn)); in bam_menu() 1508 BAM_DPRINTF((D_WRITING_MENU_ROOT, fcn, clean_menu_root)); in bam_menu() 1531 const char *fcn = "bam_archive()"; in bam_archive() local [all …]
|
H A D | bootadm_hyper.c | 753 const char *fcn = "cvt_to_hyper()"; in cvt_to_hyper() local 778 BAM_DPRINTF((D_FUNC_ENTRY2, fcn, osroot, extra_args)); in cvt_to_hyper() 967 BAM_DPRINTF((D_CVT_CMD_KERN_DOLLAR, fcn, kernel)); in cvt_to_hyper() 968 BAM_DPRINTF((D_CVT_CMD_MOD_DOLLAR, fcn, mod_kernel)); in cvt_to_hyper() 1001 const char *fcn = "cvt_to_metal()"; in cvt_to_metal() local 1026 BAM_DPRINTF((D_FUNC_ENTRY2, fcn, osroot, "")); in cvt_to_metal() 1223 BAM_DPRINTF((D_CVT_CMD_KERN_DOLLAR, fcn, kernel)); in cvt_to_metal() 1224 BAM_DPRINTF((D_CVT_CMD_MOD_DOLLAR, fcn, module)); in cvt_to_metal()
|
/titanic_50/usr/src/cmd/uadmin/ |
H A D | uadmin.c | 62 int cmd, fcn; in main() local 79 fcn = atoi(argv[2]); in main() 130 switch (fcn) { in main() 157 fcn = AD_BOOT; in main() 169 switch (fcn) { in main() 196 switch (fcn) { in main() 209 switch (fcn) { in main() 226 event->adt_uadmin_shutdown.fcn = fcn_id; in main() 230 event->adt_uadmin_reboot.fcn = fcn_id; in main() 234 event->adt_uadmin_dump.fcn = fcn_id; in main() [all …]
|
/titanic_50/usr/src/lib/libadm/common/ |
H A D | getdev.c | 115 int fcn; /* Type of comparison (see above) */ member 523 psrch->fcn = ENDLIST; in buildsearchlist() 535 psrch->fcn = NOTEQUAL; in buildsearchlist() 538 psrch->fcn = EQUAL; in buildsearchlist() 549 psrch->fcn = NOEXISTS; in buildsearchlist() 552 psrch->fcn = EXISTS; in buildsearchlist() 567 if (noerror) psrch->fcn = ENDLIST; in buildsearchlist() 595 for (psrch = list; psrch->fcn != ENDLIST; psrch++) { in freesearchlist() 866 if (criteria && (criteria->fcn != ENDLIST)) { in matchallcriteria() 869 for (p = criteria; !failed && (p->fcn != ENDLIST); p++) { in matchallcriteria() [all …]
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | uadmin.c | 129 kadmin(int cmd, int fcn, void *mdep, cred_t *credp) in kadmin() argument 273 mdpreboot(cmd, fcn, buf); in kadmin() 275 mdpreboot(cmd, fcn, mdep); in kadmin() 306 mdboot(cmd, fcn, buf, invoke_cb); in kadmin() 308 mdboot(cmd, fcn, mdep, invoke_cb); in kadmin() 313 switch (fcn) { in kadmin() 351 error = cpr(fcn, mdep); in kadmin() 357 switch (fcn) { in kadmin() 372 if (fcn == AD_NOSYNC) { in kadmin() 377 panic_bootfcn = fcn; in kadmin() [all …]
|
/titanic_50/usr/src/uts/common/cpr/ |
H A D | cpr_mod.c | 127 cpr(int fcn, void *mdep) in cpr() argument 150 switch (fcn) { in cpr() 208 switch (fcn) { in cpr() 293 cpr_debug |= CPR_DEBUG_BIT(fcn); in cpr() 351 if (fcn == AD_CHECK_SUSPEND_TO_RAM || in cpr() 352 fcn == DEV_CHECK_SUSPEND_TO_RAM) { in cpr() 358 if (fcn == AD_CPR_REUSEINIT) { in cpr() 371 if (fcn == AD_CPR_REUSEFINI) { in cpr() 388 if (rc = cpr_init(fcn)) in cpr() 392 if (fcn == AD_CPR_REUSABLE) { in cpr() [all …]
|
H A D | cpr_misc.c | 101 cpr_init(int fcn) in cpr_init() argument 114 CPR->c_fcn = fcn; in cpr_init() 115 if (fcn == AD_CPR_REUSABLE) in cpr_init() 119 if (fcn == AD_SUSPEND_TO_RAM || fcn == DEV_SUSPEND_TO_RAM) { in cpr_init() 123 if (fcn != AD_CPR_NOCOMPRESS && fcn != AD_CPR_TESTNOZ) in cpr_init()
|
/titanic_50/usr/src/ucblib/libucb/port/sys/ |
H A D | reboot.c | 69 int fcn; in reboot() local 79 fcn = AD_HALT; in reboot() 82 fcn = AD_IBOOT; in reboot() 85 fcn = AD_BOOT; in reboot() 89 return (uadmin(cmd, fcn, mdep)); in reboot()
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | machdep.c | 203 mdboot(int cmd, int fcn, char *mdep, boolean_t invoke_cb) in mdboot() argument 211 if (fcn == AD_FASTREBOOT && !newkernel.fi_valid) in mdboot() 212 fcn = AD_BOOT; in mdboot() 216 if (fcn == AD_FASTREBOOT) { in mdboot() 228 fcn = force_shutdown_method; in mdboot() 243 if (!(fcn == AD_HALT || fcn == AD_POWEROFF)) in mdboot() 296 if (fcn == AD_BOOT && panicstr && newkernel.fi_valid && in mdboot() 299 fcn = AD_FASTREBOOT; in mdboot() 316 if (fcn == AD_FASTREBOOT && !force_fastreboot) { in mdboot() 321 fcn = AD_BOOT; in mdboot() [all …]
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | reboot.c | 44 int fcn = AD_BOOT; in reboot() local 50 fcn = AD_HALT; in reboot() 52 fcn = AD_IBOOT; in reboot() 54 return (uadmin(cmd, fcn, (uintptr_t)bootargs)); in reboot()
|
/titanic_50/usr/src/lib/libc/amd64/sys/ |
H A D | uadmin.c | 167 uadmin(int cmd, int fcn, uintptr_t mdep) in uadmin() argument 169 extern int __uadmin(int cmd, int fcn, uintptr_t mdep); in uadmin() 180 switch (fcn) { in uadmin() 190 switch (fcn) { in uadmin() 221 if (fcn == AD_FASTREBOOT) { in uadmin() 267 return (__uadmin(cmd, fcn, mdep)); in uadmin()
|
/titanic_50/usr/src/lib/libc/i386/sys/ |
H A D | uadmin.c | 167 uadmin(int cmd, int fcn, uintptr_t mdep) in uadmin() argument 169 extern int __uadmin(int cmd, int fcn, uintptr_t mdep); in uadmin() 180 switch (fcn) { in uadmin() 190 switch (fcn) { in uadmin() 221 if (fcn == AD_FASTREBOOT) { in uadmin() 266 return (__uadmin(cmd, fcn, mdep)); in uadmin()
|
/titanic_50/usr/src/uts/sun4u/os/ |
H A D | mach_cpu_states.c | 67 mdboot(int cmd, int fcn, char *bootstr, boolean_t invoke_cb) in mdboot() argument 125 if (fcn == AD_HALT) { in mdboot() 127 } else if (fcn == AD_POWEROFF) { in mdboot() 131 switch (fcn) { in mdboot() 151 "mdboot: invalid function %d", fcn); in mdboot() 156 if (fcn == AD_FASTREBOOT) { in mdboot() 195 mdpreboot(int cmd, int fcn, char *bootstr) in mdpreboot() argument
|
/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_notify.c | 311 smb_node_fcn_t *fcn; in smb_notify_event() local 314 fcn = &node->n_fcn; in smb_notify_event() 319 mutex_enter(&fcn->fcn_mutex); in smb_notify_event() 321 sr = list_head(&fcn->fcn_watchers); in smb_notify_event() 324 sr = list_next(&fcn->fcn_watchers, sr); in smb_notify_event() 327 mutex_exit(&fcn->fcn_mutex); in smb_notify_event()
|
H A D | smb_node.c | 852 smb_node_fcn_t *fcn = &node->n_fcn; in smb_node_fcn_subscribe() local 854 mutex_enter(&fcn->fcn_mutex); in smb_node_fcn_subscribe() 855 if (fcn->fcn_count == 0) in smb_node_fcn_subscribe() 857 fcn->fcn_count++; in smb_node_fcn_subscribe() 858 list_insert_tail(&fcn->fcn_watchers, sr); in smb_node_fcn_subscribe() 859 mutex_exit(&fcn->fcn_mutex); in smb_node_fcn_subscribe() 865 smb_node_fcn_t *fcn = &node->n_fcn; in smb_node_fcn_unsubscribe() local 867 mutex_enter(&fcn->fcn_mutex); in smb_node_fcn_unsubscribe() 868 list_remove(&fcn->fcn_watchers, sr); in smb_node_fcn_unsubscribe() 869 fcn->fcn_count--; in smb_node_fcn_unsubscribe() [all …]
|
/titanic_50/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.c | 544 const char *fcn = "read_nodes"; in read_nodes() local 553 fcn, nidx); in read_nodes() 579 (void) dprintf(DBG_STEP, "%s: node[%u]: %s\n", fcn, nidx, in read_nodes() 592 const char *fcn = "read_minors"; in read_minors() local 597 (void) dprintf(DBG_ERR, "%s: minor[%u]: orphan minor\n", fcn, in read_minors() 614 (void) dprintf(DBG_STEP, "%s: minor[%u]: %s\n", fcn, nidx, in read_minors() 803 const char *fcn = "write_nodes"; in write_nodes() local 814 fcn, cnp->path); in write_nodes() 844 (void) dprintf(DBG_STEP, "%s: node[%u]: %s\n", fcn, idx, in write_nodes() 865 const char *fcn = "write_minors"; in write_minors() local [all …]
|
/titanic_50/usr/src/cmd/tnf/prex/ |
H A D | fcn.h | 45 typedef struct fcn { struct 56 void fcn(char *name_p, char *func_entry_p); argument
|
/titanic_50/usr/src/lib/libc/sparc/sys/ |
H A D | uadmin.c | 136 uadmin(int cmd, int fcn, uintptr_t mdep) in uadmin() argument 138 extern int __uadmin(int cmd, int fcn, uintptr_t mdep); in uadmin() 145 return (__uadmin(cmd, fcn, mdep)); in uadmin()
|
/titanic_50/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 1095 char *fcn = "process_devinfo_tree: "; in process_devinfo_tree() local 1097 vprint(CHATTY_MID, "%senter\n", fcn); in process_devinfo_tree() 1119 vprint(CHATTY_MID, "%sattaching driver (%s)\n", fcn, driver); in process_devinfo_tree() 1134 vprint(CHATTY_MID, "%susing snapshot cache\n", fcn); in process_devinfo_tree() 1136 vprint(CHATTY_MID, "%sattaching all drivers\n", fcn); in process_devinfo_tree() 1152 fcn); in process_devinfo_tree() 1214 char *fcn = "daemon_update: "; in daemon_update() local 1218 vprint(CHATTY_MID, "%senter\n", fcn); in daemon_update() 1338 vprint(CHATTY_MID, "%spausing\n", fcn); in daemon_update() 1978 const char *fcn = "cache_deferred_minor"; in cache_deferred_minor() local [all …]
|
/titanic_50/usr/src/lib/libmapid/common/ |
H A D | mapid.c | 534 void *(*fcn)(void *) = NULL; in domain_sync() local 544 if (argp->fcn) in domain_sync() 545 fcn = argp->fcn; in domain_sync() 567 if (fcn != NULL && (sighup || domchg)) in domain_sync() 568 (void) fcn((void *)mapid_domain); in domain_sync() 798 if (argp == NULL || argp->fcn == NULL) in get_dns_txt_domain()
|
/titanic_50/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_utils.c | 50 int (*fcn)(const devctl_hdl_t); member 78 fpcfga_recur_t (*fcn)(const char *lpath, void *arg); member 292 fpcfga_recur_t (*fcn)(const char *lpath, void *arg)) in recurse_dev() 299 nftw_arg.fcn = fcn; in recurse_dev() 338 assert(nftw_arg.fcn != NULL); in do_recurse_dev() 340 if (nftw_arg.fcn(path, nftw_arg.arg) == FPCFGA_TERMINATE) { in do_recurse_dev() 586 up->walkmode.node_args.fcn); in walk_tree() 590 arg, up->walkmode.minor_args.fcn); in walk_tree() 846 func = set_state_cmds[i].fcn; in devctl_cmd()
|
/titanic_50/usr/src/uts/i86pc/io/psm/ |
H A D | uppc.c | 57 static void uppc_shutdown(int cmd, int fcn); 58 static void uppc_preshutdown(int cmd, int fcn); 483 uppc_preshutdown(int cmd, int fcn) in uppc_preshutdown() argument 485 UPPC_VERBOSE_POWEROFF(("uppc_preshutdown(%d,%d);\n", cmd, fcn)); in uppc_preshutdown() 490 uppc_shutdown(int cmd, int fcn) in uppc_shutdown() argument 492 UPPC_VERBOSE_POWEROFF(("uppc_shutdown(%d,%d);\n", cmd, fcn)); in uppc_shutdown() 506 if (fcn != AD_POWEROFF) { in uppc_shutdown()
|
/titanic_50/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | max1617.c | 600 int fcn = MAX1617_MINOR_TO_FCN(getminor(dev)); in max1617_ioctl() local 608 printf("max1617_ioctl: fcn=%d instance=%d\n", fcn, instance); in max1617_ioctl() 635 switch (fcn) { in max1617_ioctl() 722 switch (fcn) { in max1617_ioctl() 739 switch (fcn) { in max1617_ioctl() 789 switch (fcn) { in max1617_ioctl() 804 switch (fcn) { in max1617_ioctl()
|
/titanic_50/usr/src/uts/i86pc/sys/ |
H A D | apic_common.h | 181 extern void apic_shutdown(int cmd, int fcn); 182 extern void apic_preshutdown(int cmd, int fcn);
|