Home
last modified time | relevance | path

Searched refs:nmbuf (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/picl/plugins/common/frutree/
H A Dpiclfrutree.c85 char nmbuf[SYS_NMLN]; in get_config_file() local
88 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in get_config_file()
89 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_config_file()
97 if (sysinfo(SI_MACHINE, nmbuf, sizeof (nmbuf)) != -1) { in get_config_file()
98 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_config_file()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvsetup.c591 char nmbuf[SYS_NMLN]; in env_parse_tunables() local
594 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in env_parse_tunables()
595 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in env_parse_tunables()
666 char nmbuf[SYS_NMLN]; in get_envmodel_conf_file() local
669 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in get_envmodel_conf_file()
670 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_envmodel_conf_file()
678 if (sysinfo(SI_MACHINE, nmbuf, sizeof (nmbuf)) != -1) { in get_envmodel_conf_file()
679 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_envmodel_conf_file()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvsetup.c809 char nmbuf[SYS_NMLN]; in env_parse_tunables() local
812 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in env_parse_tunables()
813 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in env_parse_tunables()
884 char nmbuf[SYS_NMLN]; in get_envmodel_conf_file() local
887 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in get_envmodel_conf_file()
888 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_envmodel_conf_file()
896 if (sysinfo(SI_MACHINE, nmbuf, sizeof (nmbuf)) != -1) { in get_envmodel_conf_file()
897 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_envmodel_conf_file()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvsetup.c810 char nmbuf[SYS_NMLN]; in env_parse_tunables() local
813 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in env_parse_tunables()
814 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in env_parse_tunables()
889 char nmbuf[SYS_NMLN]; in get_envmodel_conf_file() local
892 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in get_envmodel_conf_file()
893 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_envmodel_conf_file()
901 if (sysinfo(SI_MACHINE, nmbuf, sizeof (nmbuf)) != -1) { in get_envmodel_conf_file()
902 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_envmodel_conf_file()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/
H A Dpiclenvsetup.c747 char nmbuf[SYS_NMLN]; in get_envmodel_conf_file() local
750 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in get_envmodel_conf_file()
751 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_envmodel_conf_file()
759 if (sysinfo(SI_MACHINE, nmbuf, sizeof (nmbuf)) != -1) { in get_envmodel_conf_file()
760 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_envmodel_conf_file()
H A Dpiclenvd.c792 char nmbuf[SYS_NMLN]; in process_env_conf_file() local
798 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) == -1) in process_env_conf_file()
801 (void) snprintf(fname, sizeof (fname), PICLD_PLAT_PLUGIN_DIRF, nmbuf); in process_env_conf_file()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvsetup.c785 char nmbuf[SYS_NMLN]; in get_envmodel_conf_file() local
788 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in get_envmodel_conf_file()
789 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_envmodel_conf_file()
797 if (sysinfo(SI_MACHINE, nmbuf, sizeof (nmbuf)) != -1) { in get_envmodel_conf_file()
798 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_envmodel_conf_file()
H A Dpiclenvd.c2497 char nmbuf[SYS_NMLN]; in process_env_conf_file() local
2502 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) == -1) in process_env_conf_file()
2505 (void) snprintf(fname, sizeof (fname), PICLD_PLAT_PLUGIN_DIRF, nmbuf); in process_env_conf_file()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/
H A Dfcal_leds.c144 char nmbuf[SYS_NMLN]; in open_config() local
147 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) == -1) in open_config()
149 (void) snprintf(fname, sizeof (fname), PICLD_PLAT_PLUGIN_DIRF, nmbuf); in open_config()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/
H A Dpiclenvmon.c1469 char nmbuf[SYS_NMLN]; in get_config_file() local
1472 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in get_config_file()
1473 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_config_file()
1481 if (sysinfo(SI_MACHINE, nmbuf, sizeof (nmbuf)) != -1) { in get_config_file()
1482 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_config_file()
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/
H A Dpicldevtree.c2360 char nmbuf[SYS_NMLN]; in process_devtree_conf_file() local
2365 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in process_devtree_conf_file()
2366 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in process_devtree_conf_file()
2372 if (sysinfo(SI_MACHINE, nmbuf, sizeof (nmbuf)) != -1) { in process_devtree_conf_file()
2373 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in process_devtree_conf_file()
2509 char nmbuf[SYS_NMLN]; in process_asrtree_conf_file() local
2512 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in process_asrtree_conf_file()
2513 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in process_asrtree_conf_file()
2519 if (sysinfo(SI_MACHINE, nmbuf, sizeof (nmbuf)) != -1) { in process_asrtree_conf_file()
2520 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in process_asrtree_conf_file()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzvol.c587 char nmbuf[20]; in zvol_remove_zv() local
594 (void) snprintf(nmbuf, sizeof (nmbuf), "%u,raw", minor); in zvol_remove_zv()
595 ddi_remove_minor_node(zfs_dip, nmbuf); in zvol_remove_zv()
597 (void) snprintf(nmbuf, sizeof (nmbuf), "%u", minor); in zvol_remove_zv()
598 ddi_remove_minor_node(zfs_dip, nmbuf); in zvol_remove_zv()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c2018 char nmbuf[SYS_NMLN]; in get_config_file() local
2021 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in get_config_file()
2022 (void) snprintf(pname, PATH_MAX, FRUDATA_CONFFILE_NAME, nmbuf); in get_config_file()
2029 if (sysinfo(SI_MACHINE, nmbuf, sizeof (nmbuf)) != -1) { in get_config_file()
2030 (void) snprintf(pname, PATH_MAX, FRUDATA_CONFFILE_NAME, nmbuf); in get_config_file()
/illumos-gate/usr/src/uts/common/io/audio/ac97/
H A Dac97.c1834 char nmbuf[128]; in ac97_probe_controls() local
1871 (void) snprintf(nmbuf, sizeof (nmbuf), "0x%04x%04x", in ac97_probe_controls()
1873 name = nmbuf; in ac97_probe_controls()
/illumos-gate/usr/src/lib/libpicltree/
H A Dpicltree.c3424 char nmbuf[SYS_NMLN]; in init_plugin_list() local
3428 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in init_plugin_list()
3429 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in init_plugin_list()
3434 if (sysinfo(SI_MACHINE, nmbuf, sizeof (nmbuf)) != -1) { in init_plugin_list()
3435 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in init_plugin_list()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c1013 char nmbuf[SYS_NMLN]; in get_config_file() local
1019 nmbuf, sizeof (nmbuf)) == -1) { in get_config_file()
1023 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_config_file()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c766 char nmbuf[SYS_NMLN]; in fru_open_container() local
845 if (sysinfo(SI_PLATFORM, nmbuf, sizeof (nmbuf)) != -1) { in fru_open_container()
847 nmbuf); in fru_open_container()