Searched defs:perr (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/cmd/fs.d/
H A Dvolcopy.c41 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 Dutils.c37 perr(char *s) function
/illumos-gate/usr/src/cmd/tsol/plabel/
H A Dplabel.c54 static int perr(char *);
163 return (perr(NULL));
228 perr(char *s) { function
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dnetname.c183 enum __nsw_parse_err perr; local
210 conf = __nsw_getconfig("publickey", &perr);
H A Dnetnamer.c380 enum __nsw_parse_err perr; local
416 conf = __nsw_getconfig("publickey", &perr);
/illumos-gate/usr/src/cmd/ptools/pcred/
H A Dpcred.c44 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 Dpreap.c54 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 DPidle.c155 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 Dproc_arg.c43 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 Dpsig.c48 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 Dptime.c48 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 Dchip.c158 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 Dchip_amd.c464 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 Dpublickey.c556 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 Dplcysubr.c465 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 Ddwarf_addr_finder.c253 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 Dppriv.c49 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 Dpac.c625 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 Dapptrace.c335 int perr; local
395 proc_hdl = Pgrab(getpid(), PGRAB_RDONLY, &perr);
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey_common.c246 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 Dmeta_mn_handlers.c65 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 Dpmap.c120 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 Dawk1.c72 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 Dvolcopy.c150 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 Dldapaddent.c95 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);

Completed in 125 milliseconds

12