Home
last modified time | relevance | path

Searched refs:rtype (Results 1 – 25 of 69) sorted by relevance

123

/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_stat.c54 assert(rtype >= 0 && rtype < RPCBVERS_STAT); in rpcbs_procinfo()
60 assert(rtype != RPCBVERS_2_STAT); in rpcbs_procinfo()
73 rpcbs_set(int rtype, bool_t success) in rpcbs_set() argument
75 assert(rtype >= 0 && rtype < RPCBVERS_STAT); in rpcbs_set()
86 assert(rtype >= 0 && rtype < RPCBVERS_STAT); in rpcbs_unset()
103 assert(rtype >= 0 && rtype < RPCBVERS_STAT); in rpcbs_getaddr()
166 al->next = inf[rtype].addrinfo; in rpcbs_getaddr()
167 inf[rtype].addrinfo = al; in rpcbs_getaddr()
183 assert(rtype >= 0 && rtype < RPCBVERS_STAT); in rpcbs_rmtcall()
252 rl->next = inf[rtype].rmtinfo; in rpcbs_rmtcall()
[all …]
/illumos-gate/usr/src/uts/common/krtld/
H A Dreloc.h244 #define REL_ERR_UNIMPL(lml, file, sym, rtype) \ argument
247 _kobj_printf(ops, MSG_REL_UNIMPL, (int)(rtype))
249 #define REL_ERR_UNSUPSZ(lml, file, sym, rtype, size) \ argument
255 #define REL_ERR_NONALIGN(lml, file, sym, rtype, off) \ argument
261 #define REL_ERR_UNNOBITS(lml, file, sym, rtype, nbits) \ argument
275 #define REL_ERR_NOFIT(lml, file, sym, rtype, uvalue) \ argument
286 #define REL_ERR_UNIMPL(lml, file, sym, rtype) \ argument
290 #define REL_ERR_UNSUPSZ(lml, file, sym, rtype, size) \ argument
295 #define REL_ERR_NONALIGN(lml, file, sym, rtype, off) \ argument
300 #define REL_ERR_UNNOBITS(lml, file, sym, rtype, nbits) \ argument
[all …]
/illumos-gate/usr/src/uts/sparc/krtld/
H A Ddoreloc.c382 uchar_t rtype = rdesc->rel_rtype; in do_reloc_krtld() local
391 rep = &reloc_table[rtype]; in do_reloc_krtld()
408 REL_ERR_UNIMPL(lml, file, sym, rtype); in do_reloc_krtld()
492 REL_ERR_UNNOBITS(lml, file, sym, rtype, in do_reloc_krtld()
528 ((rtype == R_SPARC_HIX22) || (rtype == R_SPARC_TLS_LE_HIX22))) in do_reloc_krtld()
549 if ((rtype == R_SPARC_GOTDATA_HIX22) || in do_reloc_krtld()
550 (rtype == R_SPARC_GOTDATA_OP_HIX22)) { in do_reloc_krtld()
556 (rtype != R_SPARC_HIX22) && (rtype != R_SPARC_TLS_LE_HIX22) && in do_reloc_krtld()
557 (rtype != R_SPARC_GOTDATA_HIX22)) in do_reloc_krtld()
560 if ((rtype == R_SPARC_LOX10) || (rtype == R_SPARC_TLS_LE_LOX10)) { in do_reloc_krtld()
[all …]
H A Dkobj_reloc.c113 uint_t rtype; in do_relocate() local
157 rtype = ELF_R_TYPE(((Rela *)reladdr)->r_info); in do_relocate()
165 if ((rtype > R_SPARC_NUM) || IS_TLS_INS(rtype)) { in do_relocate()
167 rtype); in do_relocate()
183 conv_reloc_SPARC_type(rtype)); in do_relocate()
191 if (rtype == R_SPARC_NONE) in do_relocate()
201 if (rtype == R_SPARC_RELATIVE) { in do_relocate()
249 if (IS_EXTOFFSET(rtype)) { in do_relocate()
258 if (IS_PC_RELATIVE(rtype)) { in do_relocate()
272 if (do_reloc_krtld(rtype, (unsigned char *)off, (Xword *)&value, in do_relocate()
/illumos-gate/usr/src/uts/intel/amd64/krtld/
H A Ddoreloc.c216 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, in do_reloc_krtld()
223 uchar_t rtype = rdesc->rel_rtype; in do_reloc_krtld() local
227 rep = &reloc_table[rtype]; in do_reloc_krtld()
270 if (rtype == R_AMD64_32) { in do_reloc_krtld()
281 REL_ERR_NOFIT(lml, file, sym, rtype, *value); in do_reloc_krtld()
284 } else if ((rtype == R_AMD64_32S) || (rtype == R_AMD64_PC32) || in do_reloc_krtld()
285 (rtype == R_AMD64_GOTPCREL) || (rtype == R_AMD64_GOTPC32) || in do_reloc_krtld()
286 (rtype == R_AMD64_GOTPCRELX) || in do_reloc_krtld()
287 (rtype == R_AMD64_REX_GOTPCRELX)) { in do_reloc_krtld()
299 REL_ERR_NOFIT(lml, file, sym, rtype, *value); in do_reloc_krtld()
[all …]
H A Dkobj_reloc.c139 register unsigned int rtype; in do_relocate() local
160 rtype = ELF_R_TYPE(((Rela *)reladdr)->r_info); in do_relocate()
168 if ((rtype > R_AMD64_NUM) || IS_TLS_INS(rtype)) { in do_relocate()
170 rtype); in do_relocate()
181 if (rtype == R_AMD64_NONE) in do_relocate()
190 conv_reloc_amd64_type(rtype)); in do_relocate()
206 if (rtype == R_AMD64_RELATIVE) { in do_relocate()
263 if (IS_PC_RELATIVE(rtype)) in do_relocate()
273 if (do_reloc_krtld(rtype, (unsigned char *)off, &value, in do_relocate()
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A D_getmessage.c40 int _getmessage ( char * buf, short rtype, va_list arg ) in _getmessage() argument
42 int _getmessage (buf, rtype, arg) in _getmessage()
44 short rtype;
81 if (etype != rtype)
83 if (rtype > 0 && rtype <= LAST_MESSAGE)
84 fmt = _lp_msg_fmts[rtype];
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c745 uchar_t rtype; in elf_reloc() local
914 if (rtype == R_SPARC_NONE) in elf_reloc()
922 if (rtype != R_SPARC_REGISTER) { in elf_reloc()
1062 rtype, LKUP_STDRELOC); in elf_reloc()
1120 if (IS_SIZE(rtype)) in elf_reloc()
1126 !(IS_SIZE(rtype)) && in elf_reloc()
1137 if (rtype != R_SPARC_COPY) { in elf_reloc()
1163 if (IS_PC_RELATIVE(rtype)) in elf_reloc()
1228 switch (rtype) { in elf_reloc()
1319 if (IS_EXTOFFSET(rtype)) in elf_reloc()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dreloc_elf.c83 Elf_Size rtype, symidx; in __elfN()
93 rtype = ELF_R_TYPE(rel->r_info); in __elfN()
102 rtype = ELF_R_TYPE(rela->r_info); in __elfN()
119 switch (rtype) { in __elfN()
133 printf("\nunhandled relocation type %u\n", (u_int)rtype); in __elfN()
140 Elf_Size rtype, symidx; in __elfN()
150 rtype = ELF_R_TYPE(rel->r_info); in __elfN()
159 rtype = ELF_R_TYPE(rela->r_info); in __elfN()
177 switch (rtype) { in __elfN()
190 printf("\nunhandled relocation type %u\n", (u_int)rtype); in __elfN()
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/
H A Dsparc_elf.c539 uchar_t rtype; in elf_reloc() local
684 if (rtype == R_SPARC_NONE) in elf_reloc()
692 if (rtype != R_SPARC_REGISTER) { in elf_reloc()
791 (rtype != R_SPARC_COPY)) { in elf_reloc()
833 rtype, LKUP_STDRELOC); in elf_reloc()
891 if (IS_SIZE(rtype)) in elf_reloc()
897 !(IS_SIZE(rtype)) && in elf_reloc()
908 if (rtype != R_SPARC_COPY) { in elf_reloc()
933 if (IS_PC_RELATIVE(rtype)) in elf_reloc()
995 switch (rtype) { in elf_reloc()
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/amd64/
H A Damd64_elf.c387 uchar_t rtype; in elf_reloc() local
529 if ((rtype == R_AMD64_RELATIVE) && in elf_reloc()
575 if (rtype == R_AMD64_NONE) in elf_reloc()
660 (rtype != R_AMD64_COPY)) { in elf_reloc()
703 rtype, LKUP_STDRELOC); in elf_reloc()
761 if (IS_SIZE(rtype)) in elf_reloc()
767 !(IS_SIZE(rtype)) && in elf_reloc()
778 if (rtype != R_AMD64_COPY) { in elf_reloc()
803 if (IS_PC_RELATIVE(rtype)) in elf_reloc()
829 if (rtype == R_AMD64_DTPMOD64) { in elf_reloc()
[all …]
/illumos-gate/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c365 uchar_t rtype; in elf_reloc() local
507 if ((rtype == R_386_RELATIVE) && in elf_reloc()
535 (rtype == R_386_JMP_SLOT) && in elf_reloc()
552 if (rtype == R_386_NONE) in elf_reloc()
636 (rtype != R_386_COPY)) { in elf_reloc()
679 rtype, LKUP_STDRELOC); in elf_reloc()
737 if (IS_SIZE(rtype)) in elf_reloc()
743 !(IS_SIZE(rtype)) && in elf_reloc()
754 if (rtype != R_386_COPY) { in elf_reloc()
779 if (IS_PC_RELATIVE(rtype)) in elf_reloc()
[all …]
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dpoolstat.c769 if (strcmp(rtype, PSET_TYPE_NAME) == 0) { in get_resources()
774 die(gettext(ERR_UNSUPP_RTYPE), rtype); in get_resources()
832 die(gettext(ERR_UNSUPP_RTYPE), rtype); in prt_resource_stats_by_type()
874 die(gettext(ERR_UNSUPP_RTYPE), rtype); in update_resource_stats()
913 poolstat_list_element_t *rtype; in prt_pool_stats() local
977 for (rtype = rtypes; rtype; rtype = rtype->ple_next) { in prt_pool_stats()
981 rtype->ple_obj); in prt_pool_stats()
988 for (rtype = rtypes; rtype; rtype = rtype->ple_next) { in prt_pool_stats()
989 prt_stat_hd(rtype->ple_obj); in prt_pool_stats()
1009 *resources, rtype->ple_obj); in prt_pool_stats()
[all …]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_fnutils.c117 reftype_t rtype; in reftype() local
119 for (rtype = 0; rtype < NUM_REFTYPES; rtype++) { in reftype()
120 if (ident_str_equal(fn_ref_type(ref), reftypes[rtype])) { in reftype()
124 return (rtype); in reftype()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dmachrel.sparc.c871 switch (rtype) { in tls_fixups()
909 switch (rtype) { in tls_fixups()
1016 switch (rtype) { in gotop_fixups()
1459 if ((rtype == R_SPARC_HIPLT22) || (rtype == R_SPARC_LOPLT10)) { in ld_add_outrel()
1474 if ((rtype == R_SPARC_H44) || (rtype == R_SPARC_M44) || in ld_add_outrel()
1787 if (IS_TLS_IE(rtype)) in ld_reloc_TLS()
1800 if (IS_TLS_LE(rtype)) in ld_reloc_TLS()
1819 if ((rtype == R_SPARC_TLS_GD_ADD) || (rtype == R_SPARC_TLS_LDM_ADD) || in ld_reloc_TLS()
1850 if ((rtype == R_SPARC_TLS_GD_CALL) || (rtype == R_SPARC_TLS_LDM_CALL)) { in ld_reloc_TLS()
1864 rsp->rel_rtype = rtype; in ld_reloc_TLS()
[all …]
H A Drelocate.c239 uchar_t rtype, ttype; in disp_scansyms() local
275 ((rtype != STT_OBJECT) && (rtype != STT_SECTION))) in disp_scansyms()
309 if ((rtype != STT_OBJECT) && (rtype != STT_SECTION) && in disp_scansyms()
1260 rsp->rel_rtype = rtype; in reloc_exec()
1334 !IS_GOT_BASED(rtype) && !IS_GOT_PC(rtype) && in reloc_relobj()
1456 if (IS_TLS_LE(rtype)) { in reloc_TLS()
1564 (IS_LOCALBND(rtype) || IS_SEG_RELATIVE(rtype))) { in ld_process_sym_reloc()
1651 if (IS_TLS_INS(rtype)) in ld_process_sym_reloc()
1899 rtype); in process_reld()
1958 IS_NOTSUP(rtype)) { in process_reld()
[all …]
H A Dmachrel.intel.c470 Word rtype = arsp->rel_rtype; in tls_fixups() local
481 switch (rtype) { in tls_fixups()
526 switch (rtype) { in tls_fixups()
1322 Word rtype = rsp->rel_rtype; in ld_reloc_TLS() local
1346 rtype, R_386_TLS_TPOFF, 0) == S_ERROR) in ld_reloc_TLS()
1353 if (IS_TLS_IE(rtype)) { in ld_reloc_TLS()
1363 (rtype == R_386_TLS_IE)) { in ld_reloc_TLS()
1380 if (IS_TLS_LE(rtype) || (rtype == R_386_TLS_LDO_32)) in ld_reloc_TLS()
1413 if ((rtype == R_386_TLS_GD_PLT) || (rtype == R_386_TLS_LDM_PLT)) { in ld_reloc_TLS()
1427 rsp->rel_rtype = rtype; in ld_reloc_TLS()
[all …]
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dapptraceutil.c56 ctf_id_t rtype = ctf_type_resolve(ctfp, type); in print_value() local
61 if (ctf_type_kind(ctfp, rtype) == CTF_K_POINTER) { in print_value()
62 type = ctf_type_reference(ctfp, rtype); in print_value()
63 rtype = ctf_type_resolve(ctfp, type); in print_value()
65 if (ctf_type_encoding(ctfp, rtype, &e) == 0 && in print_value()
77 if (ctf_type_kind(ctfp, rtype) == CTF_K_STRUCT) { in print_value()
87 (void) ctf_type_visit(ctfp, rtype, elt_print, &pa); in print_value()
H A Dapptrace.c590 ctf_id_t type, rtype; in la_sparcv9_pltenter() local
617 rtype = ctf_type_resolve(ctfp, finfo.ctc_return); in la_sparcv9_pltenter()
618 type = ctf_type_reference(ctfp, rtype); in la_sparcv9_pltenter()
619 rtype = ctf_type_resolve(ctfp, type); in la_sparcv9_pltenter()
620 kind = ctf_type_kind(ctfp, rtype); in la_sparcv9_pltenter()
647 rtype = ctf_type_resolve(ctfp, argt[i]); in la_sparcv9_pltenter()
648 type = ctf_type_reference(ctfp, rtype); in la_sparcv9_pltenter()
649 rtype = ctf_type_resolve(ctfp, type); in la_sparcv9_pltenter()
650 kind = ctf_type_kind(ctfp, rtype); in la_sparcv9_pltenter()
/illumos-gate/usr/src/uts/intel/ia32/krtld/
H A Ddoreloc.c220 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, in do_reloc_ld()
227 uchar_t rtype = rdesc->rel_rtype; in do_reloc_ld() local
231 rep = &reloc_table[rtype]; in do_reloc_ld()
286 REL_ERR_UNSUPSZ(lml, file, sym, rtype, rep->re_fsize); in do_reloc_ld()
/illumos-gate/usr/src/tools/smatch/src/
H A Devaluate.c492 if (ltype == rtype) { in restricted_binop_type()
499 ctype = rtype; in restricted_binop_type()
506 ctype = rtype; in restricted_binop_type()
558 return rtype; in usual_conversions()
563 return rtype; in usual_conversions()
962 rtype = integer_promotion(rtype); in evaluate_binop()
977 ctype = rtype = ltype; in evaluate_binop()
1197 rclass = classify_type(rtype, &rtype); in evaluate_conditional_expression()
1220 ctype = rtype; in evaluate_conditional_expression()
1253 ctype = rtype; in evaluate_conditional_expression()
[all …]
/illumos-gate/usr/src/cmd/sgs/librtld/sparc/
H A D_relocate.c44 Xword rtype = ELF_R_TYPE(rel->r_info, M_MACH); in undo_reloc() local
48 switch (rtype) { in undo_reloc()
71 rep = &reloc_table[rtype]; in undo_reloc()
/illumos-gate/usr/src/cmd/sgs/librtld/sparcv9/
H A D_relocate.c44 Xword rtype = ELF_R_TYPE(rel->r_info, M_MACH); in undo_reloc() local
48 switch (rtype) { in undo_reloc()
71 rep = &reloc_table[rtype]; in undo_reloc()
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A D_inline_reloc.h100 uchar_t rtype; in elf_reloc_relative() local
113 rtype = ELF_R_TYPE(((M_RELOC *)rbgn)->r_info, M_MACH); in elf_reloc_relative()
115 } while (rtype == M_R_RELATIVE); in elf_reloc_relative()
/illumos-gate/usr/src/cmd/sgs/librtld/amd64/
H A D_relocate.c43 Xword rtype = ELF_R_TYPE(rel->r_info, M_MACH); in undo_reloc() local
45 switch (rtype) { in undo_reloc()
66 size_t re_fsize = reloc_table[rtype].re_fsize; in undo_reloc()

123