Home
last modified time | relevance | path

Searched refs:pname (Results 1 – 25 of 236) sorted by relevance

12345678910

/illumos-gate/usr/src/cmd/picl/plugins/common/frutree/
H A Dpiclfrutree.c88 char pname[PATH_MAX]; in get_config_file() local
91 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_config_file()
92 (void) strlcat(pname, FRUTREE_CONFFILE_NAME, PATH_MAX); in get_config_file()
93 if (access(pname, R_OK) == 0) { in get_config_file()
94 (void) strlcpy(outfilename, pname, PATH_MAX); in get_config_file()
100 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); in get_config_file()
101 (void) strlcat(pname, FRUTREE_CONFFILE_NAME, PATH_MAX); in get_config_file()
102 if (access(pname, R_OK) == 0) { in get_config_file()
103 (void) strlcpy(outfilename, pname, PATH_MAX); in get_config_file()
111 if (access(pname, R_OK) == 0) { in get_config_file()
[all …]
/illumos-gate/usr/src/tools/elfextract/
H A Delfextract.c45 static char *pname; variable
68 pname, eh->e_type); in extract32()
82 pname, eh->e_phnum); in extract32()
138 pname, eh->e_type); in extract64()
152 pname, eh->e_phnum); in extract64()
213 pname = strrchr(argv[0], '/'); in main()
214 if (pname == NULL) in main()
215 pname = argv[0]; in main()
217 ++pname; in main()
223 pname, fname, strerror(errno)); in main()
[all …]
/illumos-gate/usr/src/tools/mbh_patch/
H A Dmbh_patch.c42 static char *pname; variable
119 pname, fname, eh->e_type); in patch64()
149 pname, fname); in patch64()
172 "header\n", pname, fname); in patch64()
209 pname, fname); in patch64()
263 pname = strrchr(argv[0], '/'); in main()
264 if (pname == NULL) in main()
265 pname = argv[0]; in main()
267 ++pname; in main()
278 pname, strerror(errno)); in main()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_apple.c112 char *pname; in interpret_at() local
148 pname = apple_ddp_type(pt_ddp, ddp->ddp_src_sock); in interpret_at()
149 if (pname == NULL) { in interpret_at()
150 pname = ""; in interpret_at()
153 pname = buff; in interpret_at()
158 src_name, ddp->ddp_src_sock, pname); in interpret_at()
159 pname = apple_ddp_type(pt_ddp, ddp->ddp_dest_sock); in interpret_at()
160 if (pname == NULL) { in interpret_at()
161 pname = ""; in interpret_at()
164 pname = buff; in interpret_at()
[all …]
H A Dsnoop_udp.c55 char *pname; in interpret_udp() local
86 pname = "(Sun RPC)"; in interpret_udp()
88 pname = getportname(IPPROTO_UDP, ntohs(udp->uh_dport)); in interpret_udp()
89 if (pname == NULL) { in interpret_udp()
90 pname = ""; in interpret_udp()
92 (void) sprintf(buff, "(%s)", pname); in interpret_udp()
93 pname = buff; in interpret_udp()
98 ntohs(udp->uh_dport), pname); in interpret_udp()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_prop.c93 propval_get(topo_pgroup_t *pg, const char *pname) in propval_get() argument
102 if (strcmp(pvl->tp_pval->tp_name, pname) == 0) in propval_get()
212 if ((pv = prop_get(node, pgname, pname, NULL, err)) in prop_getval()
452 return (prop_getval(node, pgname, pname, (void *)val, in topo_prop_get_int32_array()
460 return (prop_getval(node, pgname, pname, (void *)val, in topo_prop_get_uint32_array()
532 if ((pv = propval_get(pg, pname)) != NULL) { in prop_create()
552 if ((pv->tp_name = topo_hdl_strdup(thp, pname)) in prop_create()
907 if ((pv = prop_create(node, pgname, pname, ptype, in prop_method_register()
974 const char *pname) in topo_prop_method_unregister() argument
998 if (strcmp(pv->tp_name, pname) == 0) { in topo_prop_method_unregister()
[all …]
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_pname.c44 static const char *pname; variable
91 if (pname != NULL) in uu_warn_internal()
92 (void) fprintf(stderr, PNAME_FMT, pname); in uu_warn_internal()
175 pname = getexecname(); in uu_setpname()
176 if (pname == NULL) in uu_setpname()
177 pname = "unknown_command"; in uu_setpname()
178 return (pname); in uu_setpname()
187 pname = arg0; in uu_setpname()
195 pname = p + 1; in uu_setpname()
200 return (pname); in uu_setpname()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvsetup.c438 pname = PICL_PROP_DEVFS_PATH; in add_sensor_nodes_and_props()
449 pname = PICL_PROP_TEMPERATURE; in add_sensor_nodes_and_props()
560 pname = PICL_PROP_DEVFS_PATH; in add_disk_nodes_and_props()
571 pname = PICL_PROP_TEMPERATURE; in add_disk_nodes_and_props()
699 pname = PICL_PROP_DEVFS_PATH; in add_fan_nodes_and_props()
712 pname = PICL_PROP_FAN_SPEED; in add_fan_nodes_and_props()
810 char pname[PATH_MAX]; in env_parse_tunables() local
815 if (access(pname, R_OK) == 0) { in env_parse_tunables()
885 char pname[PATH_MAX]; in get_envmodel_conf_file() local
890 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvsetup.c368 pname = PICL_PROP_DEVFS_PATH; in add_sensor_nodes_and_props()
379 pname = PICL_PROP_TEMPERATURE; in add_sensor_nodes_and_props()
489 pname = PICL_PROP_DEVFS_PATH; in add_fan_nodes_and_props()
502 pname = PICL_PROP_FAN_SPEED; in add_fan_nodes_and_props()
515 pname = PICL_PROP_FAN_SPEED_UNIT; in add_fan_nodes_and_props()
592 char pname[PATH_MAX]; in env_parse_tunables() local
597 if (access(pname, R_OK) == 0) { in env_parse_tunables()
667 char pname[PATH_MAX]; in get_envmodel_conf_file() local
672 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
681 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
[all …]
/illumos-gate/usr/src/cmd/ramdiskadm/
H A Dutils.c44 static char *pname = NULL; variable
53 if (pname != NULL) in warn()
54 (void) fprintf(stderr, gettext("%s: "), pname); in warn()
71 if (pname != NULL) in die()
72 (void) fprintf(stderr, gettext("%s: "), pname); in die()
87 if (pname == NULL) in getpname()
88 pname = basename(arg0); in getpname()
89 return (pname); in getpname()
/illumos-gate/usr/src/tools/ctf/common/
H A Dutils.c39 static const char *pname; variable
47 if (pname != NULL) in getpname()
48 return (pname); in getpname()
56 pname = p; in getpname()
58 pname = q + 1; in getpname()
60 return (pname); in getpname()
68 if (pname != NULL) in vwarn()
69 (void) fprintf(stderr, "%s: ", pname); in vwarn()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvsetup.c436 pname = PICL_PROP_DEVFS_PATH; in add_sensor_nodes_and_props()
447 pname = PICL_PROP_TEMPERATURE; in add_sensor_nodes_and_props()
562 pname = PICL_PROP_DEVFS_PATH; in add_disk_nodes_and_props()
573 pname = PICL_PROP_TEMPERATURE; in add_disk_nodes_and_props()
705 pname = PICL_PROP_DEVFS_PATH; in add_fan_nodes_and_props()
718 pname = PICL_PROP_FAN_SPEED; in add_fan_nodes_and_props()
740 pname = PICL_PROP_LOW_WARNING; in add_fan_nodes_and_props()
811 char pname[PATH_MAX]; in env_parse_tunables() local
816 if (access(pname, R_OK) == 0) { in env_parse_tunables()
890 char pname[PATH_MAX]; in get_envmodel_conf_file() local
[all …]
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_err.c43 static const char *pname; variable
51 if (pname != NULL) in getpname()
52 return (pname); in getpname()
60 pname = p; in getpname()
62 pname = q + 1; in getpname()
64 return (pname); in getpname()
72 if (pname != NULL) in vwarn()
73 (void) fprintf(stderr, "%s: ", pname); in vwarn()
/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c121 pri->pname, in prtime()
134 pri->pname, in prtimeval()
148 pri->pname, in prtimestruc()
249 pri->pname, in show_itimerval()
281 pri->pname, in show_timeval()
311 pri->pname, in show_timestruc()
361 pri->pname, in show_times()
387 pri->pname, in show_uname()
406 pri->pname, in show_ustat()
424 pri->pname, in show_ustat32()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvsetup.c531 pname = PICL_PROP_DEVFS_PATH; in add_sensor_nodes_and_props()
542 pname = PICL_PROP_TEMPERATURE; in add_sensor_nodes_and_props()
579 pname = snodep->sdev_pname; in add_sensor_nodes_and_props()
661 char *pname, *nodename, *devfs_path; in add_fan_nodes_and_props() local
706 pname = PICL_PROP_DEVFS_PATH; in add_fan_nodes_and_props()
718 pname = PICL_PROP_FAN_SPEED; in add_fan_nodes_and_props()
730 pname = PICL_PROP_FAN_SPEED_UNIT; in add_fan_nodes_and_props()
786 char pname[PATH_MAX]; in get_envmodel_conf_file() local
791 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
800 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/
H A Dpiclenvsetup.c508 pname = PICL_PROP_DEVFS_PATH; in add_sensor_nodes_and_props()
519 pname = PROP_TEMPERATURE; in add_sensor_nodes_and_props()
541 pname = snodep->sdev_pname; in add_sensor_nodes_and_props()
623 char *pname, *nodename, *devfs_path; in add_fan_nodes_and_props() local
668 pname = PICL_PROP_DEVFS_PATH; in add_fan_nodes_and_props()
680 pname = PROP_FAN_SPEED; in add_fan_nodes_and_props()
692 pname = PROP_FAN_SPEED_UNIT; in add_fan_nodes_and_props()
748 char pname[PATH_MAX]; in get_envmodel_conf_file() local
753 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
762 if (access(pname, R_OK) == 0) { in get_envmodel_conf_file()
[all …]
/illumos-gate/usr/src/cmd/rsrvrctl/
H A Drsrvrctl.c24 usage(const char *pname) in usage() argument
30 "\t-q query reservoir state\n", pname); in usage()
102 const char *pname = argv[0]; in main() local
116 usage(pname); in main()
119 usage(pname); in main()
126 usage(pname); in main()
133 usage(pname); in main()
142 usage(pname); in main()
153 usage(pname); in main()
/illumos-gate/usr/src/cmd/rctladm/
H A Dutils.c39 static char *pname; variable
47 if (pname != NULL) in warn()
48 (void) fprintf(stderr, gettext(PNAME_FMT), pname); in warn()
63 if (pname != NULL) in die()
64 (void) fprintf(stderr, gettext(PNAME_FMT), pname); in die()
82 pname = p; in setpname()
83 return (pname); in setpname()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndd.c182 char *pname, *rwtag, *protostr; in print_ipadm2ndd() local
186 pname = oldbuf; in print_ipadm2ndd()
187 while (pname[0] && pname < (oldbuf + obufsize - 1)) { in print_ipadm2ndd()
217 if (!matched && pname[0] == '_') { in print_ipadm2ndd()
228 for (pname = rwtag; *pname++; ) in print_ipadm2ndd()
248 char *pname, *pvalp, nname[512]; in do_ipadm_getset() local
261 pname = buf; in do_ipadm_getset()
264 pname = nimap->ipadm_name; in do_ipadm_getset()
279 pname = nname; in do_ipadm_getset()
292 if (strcmp(pname, "?") == 0) { in do_ipadm_getset()
[all …]
/illumos-gate/usr/src/cmd/mkpwdict/
H A Dmkpwdict.c40 char *pname; variable
46 pname, msg); in fatal()
54 "usage: %s [-s dict1,...,dictn ] [-d dest-path ]\n", pname); in usage()
73 if ((pname = strrchr(argv[0], '/')) == NULL) in main()
74 pname = argv[0]; in main()
76 pname++; in main()
118 pname, default_dbdst); in main()
128 pname, default_dbsrc); in main()
/illumos-gate/usr/src/cmd/ypcmd/shared/
H A Dutils.c190 check_map_existence(pname) in check_map_existence() argument
191 char *pname; in check_map_existence()
197 if (!pname || ((len = strlen(pname)) == 0) ||
203 (void) strcpy(dbfile, pname);
207 (void) strcpy(dbfile, pname);
277 ypcheck_map_existence(char *pname) in ypcheck_map_existence() argument
279 return (ypcheck_map_existence_yptol(pname)); in ypcheck_map_existence()
/illumos-gate/usr/src/cmd/gcore/
H A Dgcore.c40 static char *pname; variable
137 (void) printf("%s: %s dumped\n", pname, fname); in gcore()
139 (void) fprintf(stderr, "%s: %s dump failed: %s\n", pname, in gcore()
162 if ((pname = strrchr(argv[0], '/')) == NULL) in main()
163 pname = argv[0]; in main()
165 argv[0] = ++pname; /* for getopt() */ in main()
175 "content string '%s'\n", pname, optarg); in main()
207 "are disabled (ignoring -p)\n", pname); in main()
213 "are disabled (ignoring -g)\n", pname); in main()
241 pname, argv[i], Pgrab_error(gerr)); in main()
[all …]
/illumos-gate/usr/src/cmd/pools/common/
H A Dutils.c43 static const char *pname; variable
71 if (pname != NULL) in warn()
72 (void) fprintf(stderr, PNAME_FMT, pname); in warn()
89 if (pname != NULL) in die()
90 (void) fprintf(stderr, PNAME_FMT, pname); in die()
112 pname = p; in getpname()
/illumos-gate/usr/src/cmd/projadd/
H A Dprojmod.pl359 my ($pname, $flags);
416 $pname = $ARGV[0];
478 if (defined($pname)) {
480 if ($r->{'name'} eq $pname) {
498 if ($r->{'name'} eq $pname) {
684 "\"\n"), $pname]);
691 "\"\n"), $pname]);
695 $pname]);
699 $pname]);
720 $pname, $error]);
[all …]
/illumos-gate/usr/src/cmd/lofiadm/
H A Dutils.c47 static const char *pname; variable
56 if (pname != NULL) in warn()
57 (void) fprintf(stderr, gettext(PNAME_FMT), pname); in warn()
74 if (pname != NULL) in die()
75 (void) fprintf(stderr, gettext(PNAME_FMT), pname); in die()
96 pname = p; in getpname()

12345678910