/opensolaris-onvv-gate/usr/src/cmd/rpcbind/ |
H A D | rpcb_stat.c | 49 rpcbs_procinfo(rtype, proc) 50 u_long rtype; 53 switch (rtype + 2) { 70 inf[rtype].info[proc]++; 75 rpcbs_set(rtype, success) 76 u_long rtype; 79 if ((rtype >= RPCBVERS_STAT) || (success == FALSE)) 81 inf[rtype].setinfo++; 86 rpcbs_unset(rtype, success) 87 u_long rtype; [all...] |
/opensolaris-onvv-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | _getmessage.c | 40 int _getmessage ( char * buf, short rtype, va_list arg ) argument 42 int _getmessage (buf, rtype, arg) 44 short rtype; 81 if (etype != rtype) 83 if (rtype > 0 && rtype <= LAST_MESSAGE) 84 fmt = _lp_msg_fmts[rtype];
|
/opensolaris-onvv-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | doreloc.c | 183 do_reloc_krtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, argument 193 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, 199 uchar_t rtype = rdesc->rel_rtype; local 203 rep = &reloc_table[rtype]; 245 if (rtype == R_AMD64_32) { 255 REL_ERR_NOFIT(lml, file, sym, rtype, *value); 258 } else if ((rtype == R_AMD64_32S) || (rtype == R_AMD64_PC32) || 259 (rtype == R_AMD64_GOTPCREL) || (rtype [all...] |
H A D | kobj_reloc.c | 130 register unsigned int rtype; local 153 rtype = ELF_R_TYPE(((Rela *)reladdr)->r_info); 161 if ((rtype > R_AMD64_NUM) || IS_TLS_INS(rtype)) { 163 rtype); 175 if (rtype == R_AMD64_NONE) 184 conv_reloc_amd64_type(rtype)); 200 if (rtype == R_AMD64_RELATIVE) { 255 if (IS_PC_RELATIVE(rtype)) 265 if (do_reloc_krtld(rtype, (unsigne [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/krtld/ |
H A D | reloc.h | 242 #define REL_ERR_UNIMPL(lml, file, sym, rtype) \ 245 _kobj_printf(ops, MSG_REL_UNIMPL, (int)(rtype)) 247 #define REL_ERR_UNSUPSZ(lml, file, sym, rtype, size) \ 248 _kobj_printf(ops, MSG_REL_PREGEN, CONV_RELOC_TYPE((rtype))); \ 253 #define REL_ERR_NONALIGN(lml, file, sym, rtype, off) \ 254 _kobj_printf(ops, MSG_REL_PREGEN, CONV_RELOC_TYPE((rtype))); \ 259 #define REL_ERR_UNNOBITS(lml, file, sym, rtype, nbits) \ 260 _kobj_printf(ops, MSG_REL_PREGEN, CONV_RELOC_TYPE((rtype))); \ 265 #define REL_ERR_LOSEBITS(lml, file, sym, rtype, uvalue, nbits, off) \ 266 _kobj_printf(ops, MSG_REL_PREGEN, CONV_RELOC_TYPE((rtype))); \ [all...] |
/opensolaris-onvv-gate/usr/src/uts/sparc/krtld/ |
H A D | doreloc.c | 366 do_reloc_krtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, argument 376 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, 382 uchar_t rtype = rdesc->rel_rtype; local 391 rep = &reloc_table[rtype]; 408 REL_ERR_UNIMPL(lml, file, sym, rtype); 471 REL_ERR_NONALIGN(lml, file, sym, rtype, (uintptr_t)off); 492 REL_ERR_UNNOBITS(lml, file, sym, rtype, 528 ((rtype == R_SPARC_HIX22) || (rtype == R_SPARC_TLS_LE_HIX22))) 537 REL_ERR_LOSEBITS(lml, file, sym, rtype, uvalu [all...] |
H A D | kobj_reloc.c | 161 uint_t rtype; local 207 rtype = ELF_R_TYPE(((Rela *)reladdr)->r_info); 215 if ((rtype > R_SPARC_NUM) || IS_TLS_INS(rtype)) { 217 rtype); 233 conv_reloc_SPARC_type(rtype)); 241 if (rtype == R_SPARC_NONE) 251 if (rtype == R_SPARC_RELATIVE) { 302 if (IS_EXTOFFSET(rtype)) { 311 if (IS_PC_RELATIVE(rtype)) { [all...] |
/opensolaris-onvv-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnutils.c | 117 reftype_t rtype; local 119 for (rtype = 0; rtype < NUM_REFTYPES; rtype++) { 120 if (ident_str_equal(fn_ref_type(ref), reftypes[rtype])) { 124 return (rtype);
|
/opensolaris-onvv-gate/usr/src/uts/intel/ia32/krtld/ |
H A D | doreloc.c | 187 do_reloc_krtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, argument 197 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, 203 uchar_t rtype = rdesc->rel_rtype; local 207 rep = &reloc_table[rtype]; 262 REL_ERR_UNSUPSZ(lml, file, sym, rtype, rep->re_fsize);
|
H A D | kobj_reloc.c | 128 register unsigned int rtype; local 150 rtype = ELF32_R_TYPE(((Rel *)reladdr)->r_info); 158 if ((rtype > R_386_NUM) || IS_TLS_INS(rtype)) { 160 rtype); 171 if (rtype == R_386_NONE) 180 conv_reloc_386_type(rtype)); 195 if (rtype == R_386_RELATIVE) { 249 if (IS_PC_RELATIVE(rtype)) 259 if (do_reloc_krtld(rtype, (unsigne [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | amd64_elf.c | 385 uchar_t rtype; local 520 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); 527 if ((rtype == R_AMD64_RELATIVE) && 540 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); 555 (rtype == R_AMD64_JUMP_SLOT) && 573 if (rtype == R_AMD64_NONE) 594 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, 632 if (rtype == R_AMD64_DTPMOD64) { 638 } else if ((rtype == R_AMD64_TPOFF64) || 639 (rtype [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | sparc_elf.c | 743 uchar_t rtype; local 877 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); 886 if ((rtype == R_SPARC_RELATIVE) && 899 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); 912 if (rtype == R_SPARC_NONE) 920 if (rtype != R_SPARC_REGISTER) { 934 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, 991 if ((rtype == R_SPARC_TLS_DTPMOD32) || 992 (rtype == R_SPARC_TLS_DTPMOD64)) { 998 } else if ((rtype [all...] |
/opensolaris-onvv-gate/usr/src/uts/common/sys/ |
H A D | procset.h | 133 #define setprocset(psp, op, ltype, lid, rtype, rid) \ 137 (psp)->p_ridtype = (rtype); \
|
/opensolaris-onvv-gate/usr/src/lib/abi/apptrace/common/ |
H A D | apptraceutil.c | 58 ctf_id_t rtype = ctf_type_resolve(ctfp, type); local 63 if (ctf_type_kind(ctfp, rtype) == CTF_K_POINTER) { 64 type = ctf_type_reference(ctfp, rtype); 65 rtype = ctf_type_resolve(ctfp, type); 67 if (ctf_type_encoding(ctfp, rtype, &e) == 0 && 79 if (ctf_type_kind(ctfp, rtype) == CTF_K_STRUCT) { 89 (void) ctf_type_visit(ctfp, rtype, elt_print, &pa);
|
H A D | apptrace.c | 592 ctf_id_t type, rtype; local 619 rtype = ctf_type_resolve(ctfp, finfo.ctc_return); 620 type = ctf_type_reference(ctfp, rtype); 621 rtype = ctf_type_resolve(ctfp, type); 622 kind = ctf_type_kind(ctfp, rtype); 649 rtype = ctf_type_resolve(ctfp, argt[i]); 650 type = ctf_type_reference(ctfp, rtype); 651 rtype = ctf_type_resolve(ctfp, type); 652 kind = ctf_type_kind(ctfp, rtype);
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/librtld/amd64/ |
H A D | _relocate.c | 43 Xword rtype = ELF_R_TYPE(rel->r_info, M_MACH); local 45 switch (rtype) { 66 size_t re_fsize = reloc_table[rtype].re_fsize;
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/librtld/sparc/ |
H A D | _relocate.c | 44 Xword rtype = ELF_R_TYPE(rel->r_info, M_MACH); local 48 switch (rtype) { 71 rep = &reloc_table[rtype];
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/librtld/sparcv9/ |
H A D | _relocate.c | 44 Xword rtype = ELF_R_TYPE(rel->r_info, M_MACH); local 48 switch (rtype) { 71 rep = &reloc_table[rtype];
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | _inline_reloc.h | 100 uchar_t rtype; local 113 rtype = ELF_R_TYPE(((M_RELOC *)rbgn)->r_info, M_MACH); 115 } while (rtype == M_R_RELATIVE);
|
/opensolaris-onvv-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | sparc_elf.c | 537 uchar_t rtype; local 649 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); 656 if ((rtype == R_SPARC_RELATIVE) && 669 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); 682 if (rtype == R_SPARC_NONE) 690 if (rtype != R_SPARC_REGISTER) { 704 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, 764 if (rtype == R_SPARC_TLS_DTPMOD32) { 770 } else if (rtype == R_SPARC_TLS_TPOFF32) { 772 rel, rtype, [all...] |
/opensolaris-onvv-gate/usr/src/cmd/pools/poolstat/ |
H A D | poolstat.c | 756 * Find all resources of type 'rtype'. 760 get_resources(const char *pool_name, const char *rtype, uint_t *nelem) argument 768 if (strcmp(rtype, PSET_TYPE_NAME) == 0) { 773 die(gettext(ERR_UNSUPP_RTYPE), rtype); local 778 if ((pool_value_set_string(pvals[0], rtype)) == -1) 813 * Print statistics for all resources of type 'rtype' passed in 'resources'. 816 prt_resource_stats_by_type(pool_resource_t **resources, const char *rtype) argument 826 if (strcmp(rtype, PSET_TYPE_NAME) == 0) { 831 die(gettext(ERR_UNSUPP_RTYPE), rtype); local 858 * Update statistics for all resources of type 'rtype' pase 861 update_resource_stats(pool_resource_t *resource, const char *rtype) argument 873 die(gettext(ERR_UNSUPP_RTYPE), rtype); local 912 poolstat_list_element_t *rtype; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sgs/rtld/i386/ |
H A D | i386_elf.c | 363 uchar_t rtype; local 498 rtype = ELF_R_TYPE(((Rel *)relbgn)->r_info, M_MACH); 505 if ((rtype == R_386_RELATIVE) && 518 rtype = ELF_R_TYPE(((Rel *)relbgn)->r_info, M_MACH); 533 (rtype == R_386_JMP_SLOT) && 550 if (rtype == R_386_NONE) 571 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, 609 if (rtype == R_386_TLS_DTPMOD32) { 615 } else if (rtype == R_386_TLS_TPOFF) { 617 rel, rtype, [all...] |
/opensolaris-onvv-gate/usr/src/cmd/sgs/libld/common/ |
H A D | machrel.sparc.c | 838 Word rtype = arsp->rel_rtype; local 851 switch (rtype) { 889 switch (rtype) { 990 Word rtype = arsp->rel_rtype; local 996 switch (rtype) { 1419 Word rtype = rsp->rel_rtype; local 1425 if ((rtype == R_SPARC_HIPLT22) || (rtype == R_SPARC_LOPLT10)) { 1440 if ((rtype == R_SPARC_H44) || (rtype 1684 Word rtype = rsp->rel_rtype; local 1709 Word rtype = rsp->rel_rtype; local [all...] |
H A D | relocate.c | 239 uchar_t rtype, ttype; local 265 rtype = ELF_ST_TYPE(rsym->st_info); 275 ((rtype != STT_OBJECT) && (rtype != STT_SECTION))) 309 if ((rtype != STT_OBJECT) && (rtype != STT_SECTION) && 861 Word rtype = rsp->rel_rtype; local 904 rsp->rel_rtype = rtype; 915 rsp->rel_rtype = rtype; 1149 Word rtype local 1321 Word rtype = rsp->rel_rtype; local 1399 Word rtype = rsp->rel_rtype; local 1477 Word rtype = reld->rel_rtype; local 1889 Word rtype = reld->rel_rtype; local [all...] |
/opensolaris-onvv-gate/usr/src/common/ctf/ |
H A D | ctf_types.c | 536 ctf_type_cmp(ctf_file_t *lfp, ctf_id_t ltype, ctf_file_t *rfp, ctf_id_t rtype) argument 540 if (ltype < rtype) 542 else if (ltype > rtype) 553 if (CTF_TYPE_ISPARENT(rtype) && rfp->ctf_parent != NULL) 573 ctf_file_t *rfp, ctf_id_t rtype) 580 if (ctf_type_cmp(lfp, ltype, rfp, rtype) == 0) 586 rtype = ctf_type_resolve(rfp, rtype); 587 rkind = ctf_type_kind(rfp, rtype); 591 (rtp = ctf_lookup_by_id(&rfp, rtype)) 572 ctf_type_compat(ctf_file_t *lfp, ctf_id_t ltype, ctf_file_t *rfp, ctf_id_t rtype) argument [all...] |