Home
last modified time | relevance | path

Searched refs:fcn (Results 1 – 25 of 58) sorted by relevance

123

/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_upgrade.c405 fcn)); in cvt_kernel_line()
473 fcn, flags1_ptr)); in cvt_kernel_line()
597 "entries\n", fcn)); in bam_warn_hand_entries()
663 "ended\n", fcn)); in find_matching_entry()
680 fcn)); in find_matching_entry()
706 fcn)); in find_matching_entry()
765 fcn)); in bam_add_findroot()
769 fcn)); in bam_add_findroot()
792 fcn, line->line)); in bam_add_findroot()
867 fcn)); in bam_add_dboot()
[all …]
H A Dbootadm.c4112 fcn, root)); in is_boot_archive()
4204 fcn, root)); in is_pcfs()
4785 fcn, arg)); in kernel_parser()
4794 fcn, arg)); in kernel_parser()
4799 fcn, arg)); in kernel_parser()
4989 fcn, arg)); in line_parser()
6173 fcn, pool));
7226 fcn, i));
8093 fcn, i));
9502 fcn));
[all …]
H A Dbootadm_hyper.c757 const char *fcn = "cvt_to_hyper()"; in cvt_to_hyper() local
782 BAM_DPRINTF(("%s: entered. args: %s %s\n", fcn, osroot, extra_args)); in cvt_to_hyper()
978 BAM_DPRINTF(("%s: converted kernel cmd to %s\n", fcn, kernel)); in cvt_to_hyper()
979 BAM_DPRINTF(("%s: converted module cmd to %s\n", fcn, mod_kernel)); in cvt_to_hyper()
1015 const char *fcn = "cvt_to_metal()"; in cvt_to_metal() local
1040 BAM_DPRINTF(("%s: entered. args: %s %s\n", fcn, osroot, "")); in cvt_to_metal()
1243 BAM_DPRINTF(("%s: converted kernel cmd to %s\n", fcn, kernel)); in cvt_to_metal()
1244 BAM_DPRINTF(("%s: converted module cmd to %s\n", fcn, module)); in cvt_to_metal()
/illumos-gate/usr/src/cmd/uadmin/
H A Duadmin.c62 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()
287 ((fcn == AD_FORCE) || in main()
288 (fcn == AD_REUSABLE) || in main()
316 switch (fcn) { in closeout_audit()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dgetdev.c115 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()
875 if (p->fcn != IGNORE) { in matchallcriteria()
876 if (p->fcn != NOEXISTS) { in matchallcriteria()
975 if (p->fcn != IGNORE) { in matchanycriteria()
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Duadmin.c273 mdpreboot(cmd, fcn, buf); in kadmin()
275 mdpreboot(cmd, fcn, mdep); in kadmin()
305 mdboot(cmd, fcn, buf, invoke_cb); in kadmin()
307 mdboot(cmd, fcn, mdep, invoke_cb); in kadmin()
312 switch (fcn) { in kadmin()
350 error = cpr(fcn, mdep); in kadmin()
356 switch (fcn) { in kadmin()
371 if (fcn == AD_NOSYNC) { in kadmin()
376 panic_bootfcn = fcn; in kadmin()
388 fastboot_update_and_load(fcn, mdep); in kadmin()
[all …]
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_mod.c127 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()
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()
427 if (fcn == AD_CPR_TESTZ || fcn == AD_CPR_TESTNOZ) { in cpr()
[all …]
H A Dcpr_misc.c102 cpr_init(int fcn) in cpr_init() argument
115 CPR->c_fcn = fcn; in cpr_init()
116 if (fcn == AD_CPR_REUSABLE) in cpr_init()
120 if (fcn == AD_SUSPEND_TO_RAM || fcn == DEV_SUSPEND_TO_RAM) { in cpr_init()
124 if (fcn != AD_CPR_NOCOMPRESS && fcn != AD_CPR_TESTNOZ) in cpr_init()
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dreboot.c69 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()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmachdep.c219 fcn = AD_BOOT; in mdboot()
223 if (fcn == AD_FASTREBOOT) { in mdboot()
235 fcn = force_shutdown_method; in mdboot()
250 if (!(fcn == AD_HALT || fcn == AD_POWEROFF)) in mdboot()
306 fcn = AD_FASTREBOOT; in mdboot()
328 fcn = AD_BOOT; in mdboot()
370 (*psm_shutdownf)(cmd, fcn); in mdboot()
372 if (fcn == AD_HALT || fcn == AD_POWEROFF) in mdboot()
386 fcn = AD_BOOT; in mdpreboot()
396 if (fcn == AD_FASTREBOOT) { in mdpreboot()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dreboot.c44 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()
/illumos-gate/usr/src/lib/libc/amd64/sys/
H A Duadmin.c167 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()
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Duadmin.c167 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()
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_cpu_states.c67 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
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c554 fcn, nidx); in read_nodes()
815 fcn, cnp->path); in write_nodes()
1661 fcn, cmnp->name); in minor_delete()
1733 const char *fcn = "rm_link"; in rm_link() local
1785 fcn, clp->path); in link_delete()
1832 const char *fcn = "add_link"; in add_link() local
1920 rec.fcn = cache_dev_link; in synchronize_db()
1947 " %s\n", fcn, pdup); in synchronize_db()
2061 linkd.fcn = devlink_callback; in di_devlink_walk()
2108 if (linkp->fcn == NULL) in check_args()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c1154 fcn); in process_devinfo_tree()
2202 char *fcn = "load_module: "; in load_module() local
2464 fcn, module->name); in call_minor_init()
3207 const char *fcn = "s_rmdir"; in s_rmdir() local
3222 "%s\n", fcn, path); in s_rmdir()
3404 rd.fcn = build_devlink_list; in get_cached_links()
4146 rd.fcn = matching_dev; in pre_and_post_cleanup()
4698 fcn, path); in alloc_cmp_str()
4720 fcn, path); in alloc_cmp_str()
4922 char *fcn = "find_enum_id"; in find_enum_id() local
[all …]
/illumos-gate/usr/src/lib/libc/sparc/sys/
H A Duadmin.c136 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()
/illumos-gate/usr/src/cmd/tnf/prex/
H A Dfcn.h45 typedef struct fcn { struct
56 void fcn(char *name_p, char *func_entry_p); argument
/illumos-gate/usr/src/lib/libmapid/common/
H A Dmapid.c534 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()
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c50 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()
H A Dcfga_fp.h161 int (*fcn)(di_node_t node, void *argp); member
166 int (*fcn)(di_node_t node, di_minor_t minor, void *argp); member
376 fpcfga_ret_t (*fcn)(fpcfga_cmd_t, apid_t *, prompt_t *, char **); member
508 fpcfga_recur_t (*fcn)(const char *lpath, void *arg));
/illumos-gate/usr/src/uts/i86pc/io/psm/
H A Duppc.c58 static void uppc_shutdown(int cmd, int fcn);
59 static void uppc_preshutdown(int cmd, int fcn);
488 uppc_preshutdown(int cmd, int fcn) in uppc_preshutdown() argument
490 UPPC_VERBOSE_POWEROFF(("uppc_preshutdown(%d,%d);\n", cmd, fcn)); in uppc_preshutdown()
495 uppc_shutdown(int cmd, int fcn) in uppc_shutdown() argument
497 UPPC_VERBOSE_POWEROFF(("uppc_shutdown(%d,%d);\n", cmd, fcn)); in uppc_shutdown()
511 if (fcn != AD_POWEROFF) { in uppc_shutdown()
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dmax1617.c595 int fcn = MAX1617_MINOR_TO_FCN(getminor(dev)); in max1617_ioctl() local
603 printf("max1617_ioctl: fcn=%d instance=%d\n", fcn, instance); in max1617_ioctl()
630 switch (fcn) { in max1617_ioctl()
717 switch (fcn) { in max1617_ioctl()
734 switch (fcn) { in max1617_ioctl()
784 switch (fcn) { in max1617_ioctl()
799 switch (fcn) { in max1617_ioctl()
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c1280 int cmd, fcn, c, aval, r; in main() local
1301 fcn = AD_HALT; in main()
1307 fcn = AD_POWEROFF; in main()
1318 fcn = AD_BOOT; in main()
1376 if (fcn != AD_BOOT) { in main()
1414 if (fcn == AD_BOOT && !fast_reboot && !prom_reboot && in main()
1495 if (fcn == AD_BOOT) in main()
1627 fcn = AD_FASTREBOOT; in main()
1629 if (uadmin(cmd, fcn, mdep) == -1) in main()
1660 if (fcn == AD_BOOT) in main()
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dapic_common.h181 extern void apic_shutdown(int cmd, int fcn);
182 extern void apic_preshutdown(int cmd, int fcn);

123