/titanic_44/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip.c | 158 int perr = 0; in create_node() local 168 perr += nvlist_add_string(fmri, FM_FMRI_HC_SERIAL_ID, in create_node() 170 perr += nvlist_add_string(fmri, FM_FMRI_HC_PART, in create_node() 172 perr += nvlist_add_string(fmri, FM_FMRI_HC_REVISION, in create_node() 175 if (perr != 0) in create_node() 201 int err, perr, nerr = 0; in create_strand() local 228 (void) topo_node_fru_set(strand, NULL, 0, &perr); in create_strand() 285 (void) topo_node_label_set(strand, NULL, &perr); in create_strand() 287 if (topo_node_resource(strand, &fmri, &perr) != 0) { in create_strand() 290 perr = 0; in create_strand() [all …]
|
H A D | chip_amd.c | 464 int perr = 0; in amd_dimm_create() local 505 perr += nvlist_add_string(fmri, FM_FMRI_HC_SERIAL_ID, in amd_dimm_create() 507 perr += nvlist_add_string(fmri, FM_FMRI_HC_PART, in amd_dimm_create() 509 perr += nvlist_add_string(fmri, FM_FMRI_HC_REVISION, in amd_dimm_create() 512 if (perr != 0) in amd_dimm_create() 543 &perr) == -1) in amd_dimm_create()
|
/titanic_44/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" in main() 137 perr("Usage:\nvolcopy [-F FSType] [-V]" in main() 144 perr("volcopy: FSType %s exceeds %d" in main() 154 perr("volcopy: FSType %s exceeds %d " in main() 166 perr("Usage:\nvolcopy [-F FSType] [-V] " in main() 171 perr("<%s> invalid option\nUsage:\n" in main() 180 perr("Usage:\nvolcopy [-F FSType] [-V] " in main() 185 perr("volcopy: too many arguments.\n"); in main() [all …]
|
/titanic_44/usr/src/lib/libproc/common/ |
H A D | proc_arg.c | 43 open_psinfo(const char *arg, int *perr) in open_psinfo() argument 73 *perr = G_PERM; in open_psinfo() 79 open_core(const char *arg, int *perr) in open_core() argument 104 *perr = G_ISAINVAL; in open_core() 107 *perr = G_PERM; in open_core() 131 int *perr, const char **lwps, psinfo_t *psp) in proc_grab_common() argument 139 *perr = 0; in proc_grab_common() 150 (fd = open_psinfo(arg, perr)) != -1) { in proc_grab_common() 157 *perr = G_BADLWPS; in proc_grab_common() 165 perr)); in proc_grab_common() [all …]
|
H A D | Pidle.c | 154 Pgrab_file(const char *fname, int *perr) in Pgrab_file() argument 167 *perr = (errno == ENOENT) ? G_NOEXEC : G_STRANGE; in Pgrab_file() 173 *perr = G_ELF; in Pgrab_file() 178 *perr = G_STRANGE; in Pgrab_file() 195 *perr = G_ELF; in Pgrab_file() 203 *perr = G_STRANGE; in Pgrab_file() 208 *perr = G_STRANGE; in Pgrab_file() 219 *perr = G_STRANGE; in Pgrab_file() 231 *perr = G_STRANGE; in Pgrab_file() 237 *perr = G_STRANGE; in Pgrab_file() [all …]
|
H A D | Pcore.c | 1548 core_elf_fdopen(elf_file_t *efp, GElf_Half type, int *perr) in core_elf_fdopen() argument 1564 if (perr != NULL) in core_elf_fdopen() 1565 *perr = G_FORMAT; in core_elf_fdopen() 1571 if (perr != NULL) { in core_elf_fdopen() 1573 *perr = G_ISAINVAL; in core_elf_fdopen() 1575 *perr = G_FORMAT; in core_elf_fdopen() 1592 if (perr != NULL) in core_elf_fdopen() 1593 *perr = G_FORMAT; in core_elf_fdopen() 1612 if (perr != NULL) in core_elf_fdopen() 1613 *perr = G_LP64; in core_elf_fdopen() [all …]
|
/titanic_44/usr/src/cmd/sgs/librtld_db/demo/common/ |
H A D | main.c | 83 perr("init_proc: PCSET"); in init_proc() 93 perr("PCSTRACE"); in init_proc() 103 perr("PCSFAULT"); in init_proc() 113 perr("PSENTRY"); in init_proc() 122 perr("PCSEXIT"); in init_proc() 172 perr(argv[1]); in main() 176 perr(command); in main() 219 perr("PCWSTOP"); in main() 226 perr(procname); in main() 229 perr("status read failed"); in main() [all …]
|
H A D | bpt.c | 162 perr("sb: error setting breakpoint"); in set_breaks() 168 perr("sb1: error setting breakpoint\n"); in set_breaks() 184 perr("cb: error clearing breakpoint"); in clear_breaks() 324 perr("ctb: PCWSTOP"); in continue_to_break() 328 perr("ctb: reading status"); in continue_to_break() 350 perr("ctb: PCCFAULT"); in continue_to_break() 416 perr("stn: reading status"); in step_n() 445 perr("stn: PCSFAULT"); in step_n() 451 perr("stn: PCRUN(PRSETP)"); in step_n() 455 perr("stn: PCWSTOP stepping"); in step_n() [all …]
|
H A D | ps.c | 80 perr("open auxv"); in get_ldbase() 83 perr("stat auxv"); in get_ldbase() 87 perr("gldb: reading auxv"); in get_ldbase() 141 perr("psi: open of /proc/dpid/map failed"); in ps_init() 146 perr("psi: open of /proc/dpid/as failed"); in ps_init() 149 perr("psi: data model"); in ps_init() 153 perr("psi: run 64-bit rdb to debug a 64-bit process"); in ps_init() 188 perr("psinit: PCSET(PR_BTPADJ)"); in ps_init()
|
H A D | dis.c | 97 perr("pap: reading pstatus"); in print_address_ps() 179 perr("disasm: PIOCSTATUS"); in disasm()
|
H A D | maps.c | 157 perr("stat map"); in display_maps() 161 perr("dm: reading map"); in display_maps() 216 perr("stat map"); in load_map() 220 perr("dm: reading map"); in load_map()
|
/titanic_44/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"); in main() 378 perr(1, "volcopy: Need a non-zero value for the -block option\n"); in main() 382 perr(1, "<%s> invalid option\n", argv[1]); in main() 393 perr(9, "volcopy: -e and -feet are mutually exclusive\n"); in main() 395 perr(9, "volcopy: -a and -s are mutually exclusive\n"); in main() 397 perr(9, "ufs usage: volcopy [-F ufs] [generic options] \ in main() 413 perr(10, "%s: cannot open\n", In.f_dev_p); in main() 415 perr(10, "%s: cannot open\n", Out.f_dev_p); in main() 418 perr(10, "From device not character-special\n"); in main() [all …]
|
/titanic_44/usr/src/cmd/ptools/preap/ |
H A D | preap.c | 54 open_usage(pid_t pid, int *perr) in open_usage() argument 73 *perr = G_PERM; in open_usage() 79 proc_usage(pid_t pid, prusage_t *pup, int *perr) in proc_usage() argument 83 *perr = G_NOPROC; in proc_usage() 85 if ((fd = open_usage(pid, perr)) != -1) { in proc_usage() 87 *perr = 0; in proc_usage()
|
/titanic_44/usr/src/cmd/ptools/pcred/ |
H A D | pcred.c | 44 static int perr(char *); 79 return (perr("sysconf(_SC_NGROUPS_MAX)")); in main() 168 (void) perr("malloc"); in look() 182 (void) perr("getcred"); in look() 190 (void) perr("setcred"); in look() 235 perr(char *s) in perr() function 297 (void) perr("malloc"); in initcred()
|
/titanic_44/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_addr_finder.c | 253 Dwarf_Error * perr) in handle_attr_addr() argument 263 ares = dwarf_attr(die, attrnum, &attr, perr); in handle_attr_addr() 265 int formres = dwarf_whatform(attr, &form, perr); in handle_attr_addr() 279 res = dwarf_attr_offset(die, attr, &offset, perr); in handle_attr_addr() 281 ares = dwarf_formaddr(attr, &addr, perr); in handle_attr_addr() 310 Dwarf_Error * perr) in handle_attr_locdesc() argument 323 ares = dwarf_attr(die, attrnum, &attr, perr); in handle_attr_locdesc() 326 int fres = dwarf_whatform(attr, &form, perr); in handle_attr_locdesc() 334 res = dwarf_attr_offset(die, attr, &offset, perr); in handle_attr_locdesc() 338 int lres = dwarf_loclist(attr, &llbuf, &count, perr); in handle_attr_locdesc() [all …]
|
/titanic_44/usr/src/cmd/ptools/ptime/ |
H A D | ptime.c | 45 static int perr(const char *); 168 return (perr("read psinfo")); in look() 172 return (perr("open usage")); in look() 175 rval = perr("read usage"); in look() 235 perr(const char *s) in perr() function
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_els.c | 239 pkt->pkt_reason = iocb->un.grsp.perr.statRsn; in emlxs_els_handle_event() 240 pkt->pkt_expln = iocb->un.grsp.perr.statBaExp; in emlxs_els_handle_event() 263 emlxs_error_xlate(iocb->un.grsp.perr. in emlxs_els_handle_event() 271 iocb->un.grsp.perr.statAction, in emlxs_els_handle_event() 272 iocb->un.grsp.perr.statRsn, in emlxs_els_handle_event() 273 iocb->un.grsp.perr.statBaExp, in emlxs_els_handle_event() 274 iocb->un.grsp.perr.statLocalError); in emlxs_els_handle_event() 335 iocb->un.grsp.perr.statLocalError, in emlxs_els_handle_event() 352 iocb->un.grsp.perr.statLocalError, 1); in emlxs_els_handle_event() 365 iocb->un.grsp.perr.statLocalError, 1); in emlxs_els_handle_event() [all …]
|
H A D | emlxs_ip.c | 82 cmd->un.grsp.perr.statLocalError, 1); in emlxs_ip_handle_event() 102 cmd->un.grsp.perr.statLocalError, 1); in emlxs_ip_handle_event() 121 cmd->un.grsp.perr.statLocalError, 1); in emlxs_ip_handle_event() 156 cmd->un.grsp.perr.statLocalError, 1); in emlxs_ip_handle_event()
|
/titanic_44/usr/src/cmd/tsol/plabel/ |
H A D | plabel.c | 54 static int perr(char *); 163 return (perr(NULL)); in look() 228 perr(char *s) { in perr() function
|
/titanic_44/usr/src/cmd/ptools/psig/ |
H A D | psig.c | 48 static void perr(char *); 204 perr("open sigact"); in look() 209 perr("fstat sigact"); in look() 222 perr("read sigact"); in look() 359 perr(char *s) in perr() function
|
/titanic_44/usr/src/lib/libnsl/key/ |
H A D | publickey.c | 556 enum __nsw_parse_err perr; in __getpublickey_cached_g() local 563 conf = __nsw_getconfig("publickey", &perr); in __getpublickey_cached_g() 639 enum __nsw_parse_err perr; in getsecretkey_g() local 645 conf = __nsw_getconfig("publickey", &perr); in getsecretkey_g()
|
/titanic_44/usr/src/cmd/modload/ |
H A D | plcysubr.c | 465 const char *perr; in parse_plcy_token() local 482 pset = priv_str_to_set(val, ",", &perr); in parse_plcy_token() 484 if (perr == NULL) in parse_plcy_token() 490 perr - val, val, perr); in parse_plcy_token()
|
/titanic_44/usr/src/lib/libnsl/rpc/ |
H A D | netname.c | 183 enum __nsw_parse_err perr; in user2netname() local 210 conf = __nsw_getconfig("publickey", &perr); in user2netname()
|
/titanic_44/usr/src/cmd/ptools/ppriv/ |
H A D | ppriv.c | 48 static void perr(char *); 185 perr(command); in look() 210 perr(command); in look() 303 perr(char *s) in perr() function
|
/titanic_44/usr/src/cmd/ptools/pmap/ |
H A D | pmap.c | 120 static int perr(char *); 599 return (perr(mapname)); in rmapping_iter() 608 return (perr("read rmap")); in rmapping_iter() 640 return (perr(mapname)); in xmapping_iter() 651 return (perr("read xmap")); in xmapping_iter() 1130 perr(char *s) in perr() function 1181 (void) perr("failed to allocate maps"); in nextmap() 1523 (void) perr("can not get memory information"); in mem_chunk_get()
|