Home
last modified time | relevance | path

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

12345678910

/titanic_44/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()
108 (void) snprintf(pname, PATH_MAX, "%s/%s", PICLD_COMMON_PLUGIN_DIR, in get_config_file()
[all …]
/titanic_44/usr/src/tools/elfextract/
H A Delfextract.c42 static char *pname; variable
65 pname, eh->e_type); in extract32()
69 (void) fprintf(stderr, "%s: no program headers\n", pname); in extract32()
79 pname, eh->e_phnum); in extract32()
117 (void) fprintf(stderr, "%s: Failed finding PT_LOAD section\n", pname); in extract32()
135 pname, eh->e_type); in extract64()
139 (void) fprintf(stderr, "%s: no program headers\n", pname); in extract64()
149 pname, eh->e_phnum); in extract64()
187 (void) fprintf(stderr, "%s: Failed finding PT_LOAD section\n", pname); in extract64()
210 pname = strrchr(argv[0], '/'); in main()
[all …]
/titanic_44/usr/src/tools/mbh_patch/
H A Dmbh_patch.c42 static char *pname; variable
119 pname, fname, eh->e_type); in patch64()
123 (void) fprintf(stderr, "%s: %s: no program headers\n", pname, in patch64()
133 "hdrs\n", pname, fname, eh->e_phnum); in patch64()
149 pname, fname); in patch64()
172 "header\n", pname, fname); in patch64()
204 "PT_LOAD wasn't 1st PT_LOAD\n", pname, fname); in patch64()
209 pname, fname); in patch64()
217 " in 1st PT_LOAD\n", pname, fname); in patch64()
243 "section\n", pname, fname); in patch64()
[all …]
/titanic_44/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()
152 (void) snprintf(buff, sizeof (buff), "(%s)", 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()
[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()
/titanic_44/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 …]
/titanic_44/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()
174 prop_get(tnode_t *node, const char *pgname, const char *pname, nvlist_t *pargs, in prop_get() argument
179 if ((pv = propval_get(pgroup_get(node, pgname), pname)) == NULL) { in prop_get()
204 prop_getval(tnode_t *node, const char *pgname, const char *pname, void *val, in prop_getval() argument
212 if ((pv = prop_get(node, pgname, pname, NULL, err)) in prop_getval()
393 topo_prop_get_int32(tnode_t *node, const char *pgname, const char *pname, in topo_prop_get_int32() argument
396 return (prop_getval(node, pgname, pname, (void *)val, TOPO_TYPE_INT32, in topo_prop_get_int32()
401 topo_prop_get_uint32(tnode_t *node, const char *pgname, const char *pname, in topo_prop_get_uint32() argument
404 return (prop_getval(node, pgname, pname, (void *)val, TOPO_TYPE_UINT32, in topo_prop_get_uint32()
[all …]
/titanic_44/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()
/titanic_44/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()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvsetup.c332 char *pname, *nodename, *devfs_path; in add_sensor_nodes_and_props() local
370 pname = PICL_PROP_DEVFS_PATH; in add_sensor_nodes_and_props()
371 err = add_regular_prop(cnodeh, pname, in add_sensor_nodes_and_props()
381 pname = PICL_PROP_TEMPERATURE; in add_sensor_nodes_and_props()
382 err = add_volatile_prop(cnodeh, pname, in add_sensor_nodes_and_props()
451 char *pname, *nodename, *devfs_path; in add_fan_nodes_and_props() local
491 pname = PICL_PROP_DEVFS_PATH; in add_fan_nodes_and_props()
492 err = add_regular_prop(cnodeh, pname, in add_fan_nodes_and_props()
504 pname = PICL_PROP_FAN_SPEED; in add_fan_nodes_and_props()
505 err = add_volatile_prop(cnodeh, pname, PICL_PTYPE_INT, in add_fan_nodes_and_props()
[all …]
/titanic_44/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()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvsetup.c391 char *pname, *nodename, *devfs_path; in add_sensor_nodes_and_props() local
436 pname = PICL_PROP_DEVFS_PATH; in add_sensor_nodes_and_props()
437 err = add_regular_prop(cnodeh, pname, in add_sensor_nodes_and_props()
447 pname = PICL_PROP_TEMPERATURE; in add_sensor_nodes_and_props()
448 err = add_volatile_prop(cnodeh, pname, in add_sensor_nodes_and_props()
513 char *pname, *nodename, *devfs_path; in add_disk_nodes_and_props() local
562 pname = PICL_PROP_DEVFS_PATH; in add_disk_nodes_and_props()
563 err = add_regular_prop(cnodeh, pname, in add_disk_nodes_and_props()
573 pname = PICL_PROP_TEMPERATURE; in add_disk_nodes_and_props()
574 err = add_volatile_prop(cnodeh, pname, in add_disk_nodes_and_props()
[all …]
/titanic_44/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvsetup.c401 char *pname, *nodename, *devfs_path; in add_sensor_nodes_and_props() local
440 pname = PICL_PROP_DEVFS_PATH; in add_sensor_nodes_and_props()
441 err = add_regular_prop(cnodeh, pname, in add_sensor_nodes_and_props()
451 pname = PICL_PROP_TEMPERATURE; in add_sensor_nodes_and_props()
452 err = add_volatile_prop(cnodeh, pname, in add_sensor_nodes_and_props()
518 char *pname, *nodename, *devfs_path; in add_disk_nodes_and_props() local
561 pname = PICL_PROP_DEVFS_PATH; in add_disk_nodes_and_props()
562 err = add_regular_prop(cnodeh, pname, in add_disk_nodes_and_props()
572 pname = PICL_PROP_TEMPERATURE; in add_disk_nodes_and_props()
573 err = add_volatile_prop(cnodeh, pname, in add_disk_nodes_and_props()
[all …]
/titanic_44/usr/src/cmd/picl/plugins/sun4u/grover/envd/
H A Dpiclenvsetup.c451 char *pname, *nodename, *refnode, *devfs_path; in add_sensor_nodes_and_props() local
510 pname = PICL_PROP_DEVFS_PATH; in add_sensor_nodes_and_props()
511 err = add_regular_prop(cnodeh, pname, in add_sensor_nodes_and_props()
521 pname = PROP_TEMPERATURE; in add_sensor_nodes_and_props()
522 err = add_volatile_prop(cnodeh, pname, in add_sensor_nodes_and_props()
543 pname = snodep->sdev_pname; in add_sensor_nodes_and_props()
544 if (refnode == NULL || pname == NULL) in add_sensor_nodes_and_props()
549 err = add_volatile_prop(refnodeh, pname, in add_sensor_nodes_and_props()
625 char *pname, *nodename, *devfs_path; in add_fan_nodes_and_props() local
670 pname = PICL_PROP_DEVFS_PATH; in add_fan_nodes_and_props()
[all …]
/titanic_44/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()
/titanic_44/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/
H A Dpiclenvsetup.c474 char *pname, *nodename, *refnode, *devfs_path; in add_sensor_nodes_and_props() local
533 pname = PICL_PROP_DEVFS_PATH; in add_sensor_nodes_and_props()
534 err = add_regular_prop(cnodeh, pname, in add_sensor_nodes_and_props()
544 pname = PICL_PROP_TEMPERATURE; in add_sensor_nodes_and_props()
545 err = add_volatile_prop(cnodeh, pname, in add_sensor_nodes_and_props()
563 pname = PICL_PROP_TARGET_TEMPERATURE; in add_sensor_nodes_and_props()
564 err = add_volatile_prop(cnodeh, pname, in add_sensor_nodes_and_props()
581 pname = snodep->sdev_pname; in add_sensor_nodes_and_props()
582 if (refnode == NULL || pname == NULL) in add_sensor_nodes_and_props()
587 err = add_volatile_prop(refnodeh, pname, in add_sensor_nodes_and_props()
[all …]
/titanic_44/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()
/titanic_44/usr/src/cmd/truss/
H A Dexpound.c120 pri->pname, in prtime()
133 pri->pname, in prtimeval()
147 pri->pname, in prtimestruc()
185 (void) printf("%s\tat = UTIME_OMIT\n", pri->pname); in show_utimens()
187 (void) printf("%s\tat = UTIME_NOW\n", pri->pname); in show_utimens()
191 (void) printf("%s\tmt = UTIME_OMIT\n", pri->pname); in show_utimens()
193 (void) printf("%s\tmt = UTIME_NOW\n", pri->pname); in show_utimens()
248 pri->pname, in show_itimerval()
280 pri->pname, in show_timeval()
310 pri->pname, in show_timestruc()
[all …]
/titanic_44/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()
188 for (protostr = pname; !isspace(*protostr); protostr++) in print_ipadm2ndd()
202 if (strcmp(pname, nimap->ipadm_name) != 0 || in print_ipadm2ndd()
217 if (!matched && pname[0] == '_') { in print_ipadm2ndd()
221 err = ipadm_new2legacy_propname(pname, tmpstr, 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()
[all …]
/titanic_44/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()
/titanic_44/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()
/titanic_44/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 …]
/titanic_44/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()
/titanic_44/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) {
486 error([6, gettext('Project "%s" does not exist'), $pname])
498 if ($r->{'name'} eq $pname) {
670 if (($error = setproject($pname, "root", TASK_FINAL|TASK_PROJ_PURGE)) != 0) {
678 "of project \"%s\"\n"), "root", $pname]);
684 "\"\n"), $pname]);
691 "\"\n"), $pname]);
[all …]
/titanic_44/usr/src/cmd/consadm/
H A Dutils.c34 extern const char *pname;
43 if (pname != NULL) in warn()
44 (void) fprintf(stderr, gettext(PNAME_FMT), pname); in warn()
61 if (pname != NULL) in die()
62 (void) fprintf(stderr, gettext(PNAME_FMT), pname); in die()

12345678910