/illumos-gate/usr/src/cmd/fs.d/ |
H A D | volcopy.c | 41 static int perr(const char *fmt, ...); 51 nargc == ARGV_MAX ? perr("volcopy: too many arguments.\n") : 1) 127 perr("volcopy: More than one" 137 perr("Usage:\nvolcopy [-F FSType] [-V]" 144 perr("volcopy: FSType %s exceeds %d" 154 perr("volcopy: FSType %s exceeds %d " 166 perr("Usage:\nvolcopy [-F FSType] [-V] " 171 perr("<%s> invalid option\nUsage:\n" 180 perr("Usage:\nvolcopy [-F FSType] [-V] " 185 perr("volcop 273 perr(const char *fmt, ...) function [all...] |
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/ |
H A D | utils.c | 37 perr(char *s) function
|
/illumos-gate/usr/src/cmd/tsol/plabel/ |
H A D | plabel.c | 54 static int perr(char *); 163 return (perr(NULL)); 228 perr(char *s) { function
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | netname.c | 183 enum __nsw_parse_err perr; local 210 conf = __nsw_getconfig("publickey", &perr);
|
H A D | netnamer.c | 380 enum __nsw_parse_err perr; local 416 conf = __nsw_getconfig("publickey", &perr);
|
/illumos-gate/usr/src/cmd/ptools/pcred/ |
H A D | pcred.c | 44 static int perr(char *); 79 return (perr("sysconf(_SC_NGROUPS_MAX)")); 162 procname = arg; /* for perr() */ 168 (void) perr("malloc"); 182 (void) perr("getcred"); 190 (void) perr("setcred"); 235 perr(char *s) function 297 (void) perr("malloc");
|
/illumos-gate/usr/src/cmd/ptools/preap/ |
H A D | preap.c | 54 open_usage(pid_t pid, int *perr) argument 73 *perr = G_PERM; 79 proc_usage(pid_t pid, prusage_t *pup, int *perr) argument 83 *perr = G_NOPROC; 85 if ((fd = open_usage(pid, perr)) != -1) { 87 *perr = 0;
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pidle.c | 155 Pgrab_file(const char *fname, int *perr) argument 168 *perr = (errno == ENOENT) ? G_NOEXEC : G_STRANGE; 174 *perr = G_ELF; 179 *perr = G_STRANGE; 196 *perr = G_ELF; 204 *perr = G_STRANGE; 209 *perr = G_STRANGE; 220 *perr = G_STRANGE; 232 *perr = G_STRANGE; 238 *perr [all...] |
H A D | proc_arg.c | 43 open_psinfo(const char *arg, int *perr) argument 73 *perr = G_PERM; 79 open_core(const char *arg, int *perr) argument 104 *perr = G_ISAINVAL; 107 *perr = G_PERM; 131 int *perr, const char **lwps, psinfo_t *psp) 139 *perr = 0; 150 (fd = open_psinfo(arg, perr)) != -1) { 157 *perr = G_BADLWPS; 165 perr)); 130 proc_grab_common(const char *arg, const char *path, int oflag, int gflag, int *perr, const char **lwps, psinfo_t *psp) argument 243 proc_arg_xgrab(const char *arg, const char *path, int oflag, int gflag, int *perr, const char **lwps) argument 250 proc_arg_grab(const char *arg, int oflag, int gflag, int *perr) argument 256 proc_arg_psinfo(const char *arg, int oflag, psinfo_t *psp, int *perr) argument 270 proc_arg_xpsinfo(const char *arg, int oflag, psinfo_t *psp, int *perr, const char **lwps) argument [all...] |
/illumos-gate/usr/src/cmd/ptools/psig/ |
H A D | psig.c | 48 static void perr(char *); 192 procname = arg; /* for perr() */ 204 perr("open sigact"); 209 perr("fstat sigact"); 222 perr("read sigact"); 359 perr(char *s) function
|
/illumos-gate/usr/src/cmd/ptools/ptime/ |
H A D | ptime.c | 48 static int perr(const char *); 79 (void) sprintf(procname, "%d", (int)pid); /* for perr() */ 164 (void) sprintf(procname, "%d", (int)pid); /* for perr() */ 204 return (perr("read psinfo")); 208 return (perr("open usage")); 211 rval = perr("read usage"); 275 perr(const char *s) function
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip.c | 158 int perr = 0; local 168 perr += nvlist_add_string(fmri, FM_FMRI_HC_SERIAL_ID, 170 perr += nvlist_add_string(fmri, FM_FMRI_HC_PART, 172 perr += nvlist_add_string(fmri, FM_FMRI_HC_REVISION, 175 if (perr != 0) 201 int err, perr, nerr = 0; local 228 (void) topo_node_fru_set(strand, NULL, 0, &perr); 285 (void) topo_node_label_set(strand, NULL, &perr); 287 if (topo_node_resource(strand, &fmri, &perr) != 0) { 290 perr 328 int err, perr, nerr = 0; local 461 int err, perr, nerr = 0; local [all...] |
H A D | chip_amd.c | 464 int perr = 0; local 505 perr += nvlist_add_string(fmri, FM_FMRI_HC_SERIAL_ID, 507 perr += nvlist_add_string(fmri, FM_FMRI_HC_PART, 509 perr += nvlist_add_string(fmri, FM_FMRI_HC_REVISION, 512 if (perr != 0) 543 &perr) == -1)
|
/illumos-gate/usr/src/lib/libnsl/key/ |
H A D | publickey.c | 556 enum __nsw_parse_err perr; local 563 conf = __nsw_getconfig("publickey", &perr); 639 enum __nsw_parse_err perr; local 645 conf = __nsw_getconfig("publickey", &perr);
|
/illumos-gate/usr/src/cmd/modload/ |
H A D | plcysubr.c | 465 const char *perr; local 482 pset = priv_str_to_set(val, ",", &perr); 484 if (perr == NULL) 490 perr - val, val, perr);
|
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_addr_finder.c | 253 Dwarf_Error * perr) 263 ares = dwarf_attr(die, attrnum, &attr, perr); 265 int formres = dwarf_whatform(attr, &form, perr); 279 res = dwarf_attr_offset(die, attr, &offset, perr); 281 ares = dwarf_formaddr(attr, &addr, perr); 310 Dwarf_Error * perr) 323 ares = dwarf_attr(die, attrnum, &attr, perr); 326 int fres = dwarf_whatform(attr, &form, perr); 334 res = dwarf_attr_offset(die, attr, &offset, perr); 338 int lres = dwarf_loclist(attr, &llbuf, &count, perr); 252 handle_attr_addr(Dwarf_Debug dbg, Dwarf_Die die, Dwarf_Half attrnum, Dwarf_Error * perr) argument 309 handle_attr_locdesc(Dwarf_Debug dbg, Dwarf_Die die, Dwarf_Half attrnum, Dwarf_Error * perr) argument [all...] |
/illumos-gate/usr/src/cmd/ptools/ppriv/ |
H A D | ppriv.c | 49 static void perr(char *); 175 procname = arg; /* for perr() */ 186 perr(command); 211 perr(command); 304 perr(char *s) function
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | pac.c | 625 krb5_error_code perr; local 627 perr = krb5_unparse_name(context, principal, &p_name); 628 if (pac_princname && !perr) {
|
/illumos-gate/usr/src/lib/abi/apptrace/common/ |
H A D | apptrace.c | 335 int perr; local 395 proc_hdl = Pgrab(getpid(), PGRAB_RDONLY, &perr);
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | chkey_common.c | 246 enum __nsw_parse_err perr; local 254 conf = __nsw_getconfig(policy, &perr); 298 enum __nsw_parse_err perr; local 304 conf = __nsw_getconfig(policy, &perr);
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mn_handlers.c | 65 int perr[2]; /* pipe for stderr */ local 126 if (pipe(perr) < 0) { 143 (void) close(perr[0]); 144 (void) close(perr[1]); 149 /* close the reading channels of pout and perr */ 151 (void) close(perr[0]); 161 if (dup2(perr[1], 2) < 0) { 185 /* close the writing channels of pout and perr */ 187 (void) close(perr[1]); 197 FD_SET(perr[ [all...] |
/illumos-gate/usr/src/cmd/ptools/pmap/ |
H A D | pmap.c | 120 static int perr(char *); 352 procname = arg; /* for perr() */ 599 return (perr(mapname)); 608 return (perr("read rmap")); 640 return (perr(mapname)); 651 return (perr("read xmap")); 1130 perr(char *s) function 1181 (void) perr("failed to allocate maps"); 1523 (void) perr("can not get memory information");
|
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk1.c | 72 static void awkierr(int perr, char *fmt, va_list ap); 1197 awkierr(int perr, char *fmt, va_list ap) argument 1218 if (perr == 1) 1220 if (perr != 2 && !running) {
|
/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/ |
H A D | volcopy.c | 150 static void perr(int, const char *, ...); 368 perr(1, "volcopy: Need a non-zero value for the -r option\n"); 378 perr(1, "volcopy: Need a non-zero value for the -block option\n"); 382 perr(1, "<%s> invalid option\n", argv[1]); 393 perr(9, "volcopy: -e and -feet are mutually exclusive\n"); 395 perr(9, "volcopy: -a and -s are mutually exclusive\n"); 397 perr(9, "ufs usage: volcopy [-F ufs] [generic options] \ 413 perr(10, "%s: cannot open\n", In.f_dev_p); 415 perr(10, "%s: cannot open\n", Out.f_dev_p); 418 perr(1 1611 perr(int severity, const char *fmt, ...) function [all...] |
/illumos-gate/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 95 perr(ns_ldap_error_t *e) function 428 perr(eres); 435 perr(eres); 447 perr(eres); 451 perr(eres); 4213 perr(err); 4220 perr(err); 4227 perr(err);
|