/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcb_stat.c | 52 rpcbs_procinfo(int rtype, rpcproc_t proc) argument 54 assert(rtype >= 0 && rtype < RPCBVERS_STAT); 57 if ((rtype == RPCBVERS_2_STAT) && (proc > rpcb_highproc_2)) 60 assert(rtype != RPCBVERS_2_STAT); 63 if ((rtype == RPCBVERS_3_STAT) && (proc > rpcb_highproc_3)) 66 if ((rtype == RPCBVERS_4_STAT) && (proc > rpcb_highproc_4)) 69 atomic_add_int((uint_t *)&inf[rtype].info[proc], 1); 73 rpcbs_set(int rtype, bool_t success) argument 75 assert(rtype > 84 rpcbs_unset(int rtype, bool_t success) argument 95 rpcbs_getaddr(int rtype, rpcprog_t prog, rpcvers_t vers, char *netid, char *uaddr) argument 175 rpcbs_rmtcall(int rtype, rpcproc_t rpcbproc, rpcprog_t prog, rpcvers_t vers, rpcproc_t proc, char *netid, rpcblist_ptr rbl) argument [all...] |
/illumos-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];
|
/illumos-gate/usr/src/uts/intel/amd64/krtld/ |
H A D | doreloc.c | 189 do_reloc_krtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, argument 199 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, 205 uchar_t rtype = rdesc->rel_rtype; local 209 rep = &reloc_table[rtype]; 251 if (rtype == R_AMD64_32) { 262 REL_ERR_NOFIT(lml, file, sym, rtype, *value); 265 } else if ((rtype == R_AMD64_32S) || (rtype == R_AMD64_PC32) || 266 (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...] |
/illumos-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...] |
/illumos-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...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | reloc_elf.c | 83 Elf_Size rtype, symidx; 93 rtype = ELF_R_TYPE(rel->r_info); 102 rtype = ELF_R_TYPE(rela->r_info); 119 switch (rtype) { 133 printf("\nunhandled relocation type %u\n", (u_int)rtype); 140 Elf_Size rtype, symidx; 150 rtype = ELF_R_TYPE(rel->r_info); 159 rtype = ELF_R_TYPE(rela->r_info); 177 switch (rtype) { 190 printf("\nunhandled relocation type %u\n", (u_int)rtype); [all...] |
/illumos-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);
|
/illumos-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...] |
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/ |
H A D | amd64_elf.c | 387 uchar_t rtype; local 522 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); 529 if ((rtype == R_AMD64_RELATIVE) && 542 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); 557 (rtype == R_AMD64_JUMP_SLOT) && 575 if (rtype == R_AMD64_NONE) 596 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, 634 if (rtype == R_AMD64_DTPMOD64) { 640 } else if ((rtype == R_AMD64_TPOFF64) || 641 (rtype [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/ |
H A D | sparc_elf.c | 745 uchar_t rtype; local 879 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); 888 if ((rtype == R_SPARC_RELATIVE) && 901 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); 914 if (rtype == R_SPARC_NONE) 922 if (rtype != R_SPARC_REGISTER) { 936 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, 993 if ((rtype == R_SPARC_TLS_DTPMOD32) || 994 (rtype == R_SPARC_TLS_DTPMOD64)) { 1000 } else if ((rtype [all...] |
/illumos-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); \
|
/illumos-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);
|
/illumos-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;
|
/illumos-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];
|
/illumos-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];
|
/illumos-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);
|
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | sparc_elf.c | 539 uchar_t rtype; local 651 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); 658 if ((rtype == R_SPARC_RELATIVE) && 671 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); 684 if (rtype == R_SPARC_NONE) 692 if (rtype != R_SPARC_REGISTER) { 706 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, 766 if (rtype == R_SPARC_TLS_DTPMOD32) { 772 } else if (rtype == R_SPARC_TLS_TPOFF32) { 774 rel, rtype, [all...] |
/illumos-gate/usr/src/cmd/pools/poolstat/ |
H A D | poolstat.c | 755 * Find all resources of type 'rtype'. 759 get_resources(const char *pool_name, const char *rtype, uint_t *nelem) argument 767 if (strcmp(rtype, PSET_TYPE_NAME) == 0) { 772 die(gettext(ERR_UNSUPP_RTYPE), rtype); local 777 if ((pool_value_set_string(pvals[0], rtype)) == -1) 812 * Print statistics for all resources of type 'rtype' passed in 'resources'. 815 prt_resource_stats_by_type(pool_resource_t **resources, const char *rtype) argument 825 if (strcmp(rtype, PSET_TYPE_NAME) == 0) { 830 die(gettext(ERR_UNSUPP_RTYPE), rtype); local 857 * Update statistics for all resources of type 'rtype' pase 860 update_resource_stats(pool_resource_t *resource, const char *rtype) argument 872 die(gettext(ERR_UNSUPP_RTYPE), rtype); local 911 poolstat_list_element_t *rtype; local [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/i386/ |
H A D | i386_elf.c | 365 uchar_t rtype; local 500 rtype = ELF_R_TYPE(((Rel *)relbgn)->r_info, M_MACH); 507 if ((rtype == R_386_RELATIVE) && 520 rtype = ELF_R_TYPE(((Rel *)relbgn)->r_info, M_MACH); 535 (rtype == R_386_JMP_SLOT) && 552 if (rtype == R_386_NONE) 573 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, 611 if (rtype == R_386_TLS_DTPMOD32) { 617 } else if (rtype == R_386_TLS_TPOFF) { 619 rel, rtype, [all...] |
/illumos-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...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_print.c | 377 ctf_id_t rtype; local 385 (rtype = ctf_type_resolve(ctfp, car.ctr_contents)) == CTF_ERR || 386 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR) { 394 ctf_type_encoding(ctfp, rtype, &e) != CTF_ERR && CTF_IS_CHAR(e)) { 555 ctf_id_t rtype; local 566 if ((rtype = ctf_type_resolve(ctfp, id)) == CTF_ERR || 567 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR || 631 dt_printfuncs[kind - 1](rtype, off, pap);
|