/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | reboot.c | 44 int fcn = AD_BOOT; local 50 fcn = AD_HALT; 52 fcn = AD_IBOOT; 54 return (uadmin(cmd, fcn, (uintptr_t)bootargs));
|
/illumos-gate/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);
|
H A D | fcn.c | 37 #include "fcn.h" 59 * fcn() - builds a function block and inserts it on the global list. 65 fcn(char *name_p, char *entry_name_p) function 112 } /* end fcn */ 116 * fcn_destroy() - destroys a fcn and related resources 157 * fcn_print() - pretty prints a fcn 195 * fcn_find() - finds a fcn by name
|
/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | reboot.c | 69 int fcn; local 79 fcn = AD_HALT; 82 fcn = AD_IBOOT; 85 fcn = AD_BOOT; 89 return (uadmin(cmd, fcn, mdep));
|
/illumos-gate/usr/src/lib/libc/sparc/sys/ |
H A D | uadmin.c | 136 uadmin(int cmd, int fcn, uintptr_t mdep) argument 138 extern int __uadmin(int cmd, int fcn, uintptr_t mdep); 145 return (__uadmin(cmd, fcn, mdep));
|
/illumos-gate/usr/src/cmd/uadmin/ |
H A D | uadmin.c | 52 static const char *Usage = "Usage: %s cmd fcn [mdep]\n"; 62 int cmd, fcn; local 79 fcn = atoi(argv[2]); 130 switch (fcn) { 157 fcn = AD_BOOT; 169 switch (fcn) { 196 switch (fcn) { 209 switch (fcn) { 226 event->adt_uadmin_shutdown.fcn = fcn_id; 230 event->adt_uadmin_reboot.fcn 308 closeout_audit(int cmd, int fcn) argument [all...] |
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_mod.c | 127 cpr(int fcn, void *mdep) argument 150 switch (fcn) { 208 switch (fcn) { 293 cpr_debug |= CPR_DEBUG_BIT(fcn); 351 if (fcn == AD_CHECK_SUSPEND_TO_RAM || 352 fcn == DEV_CHECK_SUSPEND_TO_RAM) { 358 if (fcn == AD_CPR_REUSEINIT) { 371 if (fcn == AD_CPR_REUSEFINI) { 388 if (rc = cpr_init(fcn)) 392 if (fcn [all...] |
H A D | cpr_misc.c | 101 cpr_init(int fcn) argument 114 CPR->c_fcn = fcn; 115 if (fcn == AD_CPR_REUSABLE) 119 if (fcn == AD_SUSPEND_TO_RAM || fcn == DEV_SUSPEND_TO_RAM) { 123 if (fcn != AD_CPR_NOCOMPRESS && fcn != AD_CPR_TESTNOZ)
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | uadmin.c | 129 kadmin(int cmd, int fcn, void *mdep, cred_t *credp) argument 273 mdpreboot(cmd, fcn, buf); 275 mdpreboot(cmd, fcn, mdep); 306 mdboot(cmd, fcn, buf, invoke_cb); 308 mdboot(cmd, fcn, mdep, invoke_cb); 313 switch (fcn) { 351 error = cpr(fcn, mdep); 357 switch (fcn) { 372 if (fcn == AD_NOSYNC) { 377 panic_bootfcn = fcn; 411 uadmin(int cmd, int fcn, uintptr_t mdep) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_notify.c | 311 smb_node_fcn_t *fcn; local 314 fcn = &node->n_fcn; 319 mutex_enter(&fcn->fcn_mutex); 321 sr = list_head(&fcn->fcn_watchers); 324 sr = list_next(&fcn->fcn_watchers, sr); 327 mutex_exit(&fcn->fcn_mutex); 389 * Note that node->fcn.mutex is held. This implies a 390 * lock order: node->fcn.mutex, then sr_mutex
|
/illumos-gate/usr/src/lib/libc/amd64/sys/ |
H A D | uadmin.c | 167 uadmin(int cmd, int fcn, uintptr_t mdep) argument 169 extern int __uadmin(int cmd, int fcn, uintptr_t mdep); 180 switch (fcn) { 190 switch (fcn) { 221 if (fcn == AD_FASTREBOOT) { 267 return (__uadmin(cmd, fcn, mdep));
|
/illumos-gate/usr/src/lib/libc/i386/sys/ |
H A D | uadmin.c | 167 uadmin(int cmd, int fcn, uintptr_t mdep) argument 169 extern int __uadmin(int cmd, int fcn, uintptr_t mdep); 180 switch (fcn) { 190 switch (fcn) { 221 if (fcn == AD_FASTREBOOT) { 266 return (__uadmin(cmd, fcn, mdep));
|
/illumos-gate/usr/src/lib/libmapid/common/ |
H A D | mapid.h | 59 void *(*fcn)(void *); member in struct:__anon3576
|
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/ |
H A D | adm1031.c | 615 int fcn = ADM1031_MINOR_TO_FCN(minor); local 635 switch (fcn) { 793 if (fcn == ADM1031_TEMPERATURES) { 831 if (fcn == ADM1031_TEMPERATURES) { 886 int fcn = ADM1031_MINOR_TO_FCN(minor); local 893 if (fcn != ADM1031_CONTROL)
|
H A D | max1617.c | 600 int fcn = MAX1617_MINOR_TO_FCN(getminor(dev)); local 608 printf("max1617_ioctl: fcn=%d instance=%d\n", fcn, instance); 635 switch (fcn) { 722 switch (fcn) { 739 switch (fcn) { 789 switch (fcn) { 804 switch (fcn) {
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | mach_cpu_states.c | 67 mdboot(int cmd, int fcn, char *bootstr, boolean_t invoke_cb) argument 125 if (fcn == AD_HALT) { 127 } else if (fcn == AD_POWEROFF) { 131 switch (fcn) { 151 "mdboot: invalid function %d", fcn); 156 if (fcn == AD_FASTREBOOT) { 195 mdpreboot(int cmd, int fcn, char *bootstr) argument
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | getdev.c | 115 int fcn; /* Type of comparison (see above) */ member in struct:srch 523 psrch->fcn = ENDLIST; 535 psrch->fcn = NOTEQUAL; 538 psrch->fcn = EQUAL; 549 psrch->fcn = NOEXISTS; 552 psrch->fcn = EXISTS; 567 if (noerror) psrch->fcn = ENDLIST; 595 for (psrch = list; psrch->fcn != ENDLIST; psrch++) { 866 if (criteria && (criteria->fcn != ENDLIST)) { 869 for (p = criteria; !failed && (p->fcn ! [all...] |
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_upgrade.c | 58 const char *fcn = "get_findroot_cap()"; local 65 BAM_DPRINTF(("%s: findroot capability absent\n", fcn)); 81 BAM_DPRINTF(("%s: findroot capability present\n", fcn)); 85 BAM_DPRINTF(("%s: dboot capability present\n", fcn)); 94 BAM_DPRINTF(("%s: findroot capability absent\n", fcn)); 117 const char *fcn = "get_boot_cap()"; local 122 BAM_DPRINTF(("%s: is sparc - always DBOOT\n", fcn)); 181 BAM_DPRINTF(("%s: is DBOOT unix\n", fcn)); 192 BAM_DPRINTF(("%s: is xVM system\n", fcn)); 194 BAM_DPRINTF(("%s: is *NOT* xVM system\n", fcn)); 220 const char *fcn = "is_bfu_system()"; local 250 const char *fcn = "update_line()"; local 264 const char *fcn = "skip_wspace()"; local 289 const char *fcn = "rskip_bspace()"; local 356 const char *fcn = "cvt_kernel_line()"; local 525 const char *fcn = "cvt_module_line()"; local 572 const char *fcn = "bam_warn_hand_entries()"; local 623 const char *fcn = "find_matching_entry()"; local 728 const char *fcn = "bam_add_findroot()"; local 801 const char *fcn = "bam_add_hv()"; local 840 const char *fcn = "bam_add_dboot()"; local 922 const char *fcn = "upgrade_menu()"; local [all...] |
H A D | bootadm_hyper.c | 757 const char *fcn = "cvt_to_hyper()"; local 782 BAM_DPRINTF(("%s: entered. args: %s %s\n", fcn, osroot, extra_args)); 978 BAM_DPRINTF(("%s: converted kernel cmd to %s\n", fcn, kernel)); 979 BAM_DPRINTF(("%s: converted module cmd to %s\n", fcn, mod_kernel)); 1015 const char *fcn = "cvt_to_metal()"; local 1040 BAM_DPRINTF(("%s: entered. args: %s %s\n", fcn, osroot, "")); 1243 BAM_DPRINTF(("%s: converted kernel cmd to %s\n", fcn, kernel)); 1244 BAM_DPRINTF(("%s: converted module cmd to %s\n", fcn, module));
|
H A D | bootadm_loader.c | 345 const char *fcn = "bam_loader_menu()"; local 407 BAM_DPRINTF(("%s: derived pool=%s from special\n", fcn, pool)); 416 BAM_DPRINTF(("%s: top dataset mountpoint=%s\n", fcn, zmntpt)); 419 BAM_DPRINTF(("%s: zfs menu_root=%s\n", fcn, menu_root)); 424 BAM_DPRINTF(("%s: cleaned menu root is <%s>\n", fcn, clean_menu_root)); 429 BAM_DPRINTF(("%s: menu path is: %s\n", fcn, menu_path)); 535 fcn, clean_menu_root));
|
/illumos-gate/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) argument 485 UPPC_VERBOSE_POWEROFF(("uppc_preshutdown(%d,%d);\n", cmd, fcn)); 490 uppc_shutdown(int cmd, int fcn) argument 492 UPPC_VERBOSE_POWEROFF(("uppc_shutdown(%d,%d);\n", cmd, fcn)); 506 if (fcn != AD_POWEROFF) {
|
/illumos-gate/usr/src/uts/i86xpv/io/psm/ |
H A D | xpv_uppc.c | 331 xen_uppc_shutdown(int cmd, int fcn) argument 333 XEN_UPPC_VERBOSE_POWEROFF(("xen_uppc_shutdown(%d,%d);\n", cmd, fcn)); 337 switch (fcn) {
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_utils.c | 52 int (*fcn)(const devctl_hdl_t); member in struct:__anon2439 484 up->node_args.fcn); 490 up->minor_args.fcn); 531 return (hw_cmds[i].fcn(func, hw_cmds[i].cmd, apidtp, 977 func = set_state_cmds[i].fcn;
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.h | 157 int (*fcn)(di_devlink_t, void *); member in struct:link_desc 176 int (*fcn)(struct di_devlink_handle *, void *, const char *); member in struct:recurse
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_utils.c | 50 int (*fcn)(const devctl_hdl_t); member in struct:__anon2397 78 fpcfga_recur_t (*fcn)(const char *lpath, void *arg); member in struct:__anon2399 292 fpcfga_recur_t (*fcn)(const char *lpath, void *arg)) 299 nftw_arg.fcn = fcn; 338 assert(nftw_arg.fcn != NULL); 340 if (nftw_arg.fcn(path, nftw_arg.arg) == FPCFGA_TERMINATE) { 586 up->walkmode.node_args.fcn); 590 arg, up->walkmode.minor_args.fcn); 846 func = set_state_cmds[i].fcn; [all...] |