Home
last modified time | relevance | path

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

123

/titanic_50/usr/src/cmd/rpcbind/
H A Drpcb_stat.c52 rpcbs_procinfo(int rtype, rpcproc_t proc) in rpcbs_procinfo() argument
54 assert(rtype >= 0 && rtype < RPCBVERS_STAT); in rpcbs_procinfo()
57 if ((rtype == RPCBVERS_2_STAT) && (proc > rpcb_highproc_2)) in rpcbs_procinfo()
60 assert(rtype != RPCBVERS_2_STAT); in rpcbs_procinfo()
63 if ((rtype == RPCBVERS_3_STAT) && (proc > rpcb_highproc_3)) in rpcbs_procinfo()
66 if ((rtype == RPCBVERS_4_STAT) && (proc > rpcb_highproc_4)) in rpcbs_procinfo()
69 atomic_add_int((uint_t *)&inf[rtype].info[proc], 1); 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()
80 atomic_add_int((uint_t *)&inf[rtype].setinfo, 1); in rpcbs_set()
[all …]
/titanic_50/usr/src/uts/common/krtld/
H A Dreloc.h242 #define REL_ERR_UNIMPL(lml, file, sym, rtype) \ argument
245 _kobj_printf(ops, MSG_REL_UNIMPL, (int)(rtype))
247 #define REL_ERR_UNSUPSZ(lml, file, sym, rtype, size) \ argument
248 _kobj_printf(ops, MSG_REL_PREGEN, CONV_RELOC_TYPE((rtype))); \
253 #define REL_ERR_NONALIGN(lml, file, sym, rtype, off) \ argument
254 _kobj_printf(ops, MSG_REL_PREGEN, CONV_RELOC_TYPE((rtype))); \
259 #define REL_ERR_UNNOBITS(lml, file, sym, rtype, nbits) \ argument
260 _kobj_printf(ops, MSG_REL_PREGEN, CONV_RELOC_TYPE((rtype))); \
265 #define REL_ERR_LOSEBITS(lml, file, sym, rtype, uvalue, nbits, off) \ argument
266 _kobj_printf(ops, MSG_REL_PREGEN, CONV_RELOC_TYPE((rtype))); \
[all …]
/titanic_50/usr/src/uts/sparc/krtld/
H A Ddoreloc.c366 do_reloc_krtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, in do_reloc_krtld() argument
376 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, in do_reloc_krtld()
382 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()
471 REL_ERR_NONALIGN(lml, file, sym, rtype, (uintptr_t)off); 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()
537 REL_ERR_LOSEBITS(lml, file, sym, rtype, uvalue, 2, off); in do_reloc_krtld()
549 if ((rtype == R_SPARC_GOTDATA_HIX22) || in do_reloc_krtld()
[all …]
H A Dkobj_reloc.c161 uint_t rtype; in do_relocate() local
207 rtype = ELF_R_TYPE(((Rela *)reladdr)->r_info); in do_relocate()
215 if ((rtype > R_SPARC_NUM) || IS_TLS_INS(rtype)) { in do_relocate()
217 rtype); in do_relocate()
233 conv_reloc_SPARC_type(rtype)); in do_relocate()
241 if (rtype == R_SPARC_NONE) in do_relocate()
251 if (rtype == R_SPARC_RELATIVE) { in do_relocate()
302 if (IS_EXTOFFSET(rtype)) { in do_relocate()
311 if (IS_PC_RELATIVE(rtype)) { in do_relocate()
324 if (do_reloc_krtld(rtype, (unsigned char *)off, (Xword *)&value, in do_relocate()
/titanic_50/usr/src/uts/intel/amd64/krtld/
H A Ddoreloc.c189 do_reloc_krtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, in do_reloc_krtld() argument
199 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, in do_reloc_krtld()
205 uchar_t rtype = rdesc->rel_rtype; in do_reloc_krtld() local
209 rep = &reloc_table[rtype]; in do_reloc_krtld()
251 if (rtype == R_AMD64_32) { in do_reloc_krtld()
262 REL_ERR_NOFIT(lml, file, sym, rtype, *value); in do_reloc_krtld()
265 } else if ((rtype == R_AMD64_32S) || (rtype == R_AMD64_PC32) || in do_reloc_krtld()
266 (rtype == R_AMD64_GOTPCREL) || (rtype == R_AMD64_GOTPC32)) { in do_reloc_krtld()
278 REL_ERR_NOFIT(lml, file, sym, rtype, *value); in do_reloc_krtld()
329 REL_ERR_UNSUPSZ(lml, file, sym, rtype, rep->re_fsize); in do_reloc_krtld()
H A Dkobj_reloc.c130 register unsigned int rtype; in do_relocate() local
153 rtype = ELF_R_TYPE(((Rela *)reladdr)->r_info); in do_relocate()
161 if ((rtype > R_AMD64_NUM) || IS_TLS_INS(rtype)) { in do_relocate()
163 rtype); in do_relocate()
175 if (rtype == R_AMD64_NONE) in do_relocate()
184 conv_reloc_amd64_type(rtype)); in do_relocate()
200 if (rtype == R_AMD64_RELATIVE) { in do_relocate()
255 if (IS_PC_RELATIVE(rtype)) in do_relocate()
265 if (do_reloc_krtld(rtype, (unsigned char *)off, &value, in do_relocate()
/titanic_50/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];
/titanic_50/usr/src/cmd/sgs/rtld/sparcv9/
H A Dsparc_elf.c745 uchar_t rtype; in elf_reloc() local
879 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); in elf_reloc()
888 if ((rtype == R_SPARC_RELATIVE) && in elf_reloc()
901 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); in elf_reloc()
914 if (rtype == R_SPARC_NONE) in elf_reloc()
922 if (rtype != R_SPARC_REGISTER) { in elf_reloc()
936 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, in elf_reloc()
993 if ((rtype == R_SPARC_TLS_DTPMOD32) || in elf_reloc()
994 (rtype == R_SPARC_TLS_DTPMOD64)) { in elf_reloc()
1000 } else if ((rtype == R_SPARC_TLS_TPOFF32) || in elf_reloc()
[all …]
/titanic_50/usr/src/cmd/sgs/rtld/sparc/
H A Dsparc_elf.c539 uchar_t rtype; in elf_reloc() local
651 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); in elf_reloc()
658 if ((rtype == R_SPARC_RELATIVE) && in elf_reloc()
671 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); in elf_reloc()
684 if (rtype == R_SPARC_NONE) in elf_reloc()
692 if (rtype != R_SPARC_REGISTER) { in elf_reloc()
706 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, in elf_reloc()
766 if (rtype == R_SPARC_TLS_DTPMOD32) { in elf_reloc()
772 } else if (rtype == R_SPARC_TLS_TPOFF32) { in elf_reloc()
774 rel, rtype, 0, roffset, 0)) == 0) { in elf_reloc()
[all …]
/titanic_50/usr/src/cmd/sgs/rtld/amd64/
H A Damd64_elf.c387 uchar_t rtype; in elf_reloc() local
522 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); in elf_reloc()
529 if ((rtype == R_AMD64_RELATIVE) && in elf_reloc()
542 rtype = ELF_R_TYPE(((Rela *)relbgn)->r_info, M_MACH); in elf_reloc()
557 (rtype == R_AMD64_JUMP_SLOT) && in elf_reloc()
575 if (rtype == R_AMD64_NONE) in elf_reloc()
596 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, in elf_reloc()
634 if (rtype == R_AMD64_DTPMOD64) { in elf_reloc()
640 } else if ((rtype == R_AMD64_TPOFF64) || in elf_reloc()
641 (rtype == R_AMD64_TPOFF32)) { in elf_reloc()
[all …]
/titanic_50/usr/src/uts/intel/ia32/krtld/
H A Dkobj_reloc.c128 register unsigned int rtype; in do_relocate() local
150 rtype = ELF32_R_TYPE(((Rel *)reladdr)->r_info); in do_relocate()
158 if ((rtype > R_386_NUM) || IS_TLS_INS(rtype)) { in do_relocate()
160 rtype); in do_relocate()
171 if (rtype == R_386_NONE) in do_relocate()
180 conv_reloc_386_type(rtype)); in do_relocate()
195 if (rtype == R_386_RELATIVE) { in do_relocate()
249 if (IS_PC_RELATIVE(rtype)) in do_relocate()
259 if (do_reloc_krtld(rtype, (unsigned char *)off, (Word *)&value, in do_relocate()
H A Ddoreloc.c187 do_reloc_krtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, in do_reloc_krtld() argument
197 do_reloc_rtld(uchar_t rtype, uchar_t *off, Xword *value, const char *sym, in do_reloc_krtld()
203 uchar_t rtype = rdesc->rel_rtype; in do_reloc_krtld() local
207 rep = &reloc_table[rtype]; in do_reloc_krtld()
262 REL_ERR_UNSUPSZ(lml, file, sym, rtype, rep->re_fsize); in do_reloc_krtld()
/titanic_50/usr/src/cmd/sgs/rtld/i386/
H A Di386_elf.c365 uchar_t rtype; in elf_reloc() local
500 rtype = ELF_R_TYPE(((Rel *)relbgn)->r_info, M_MACH); in elf_reloc()
507 if ((rtype == R_386_RELATIVE) && in elf_reloc()
520 rtype = ELF_R_TYPE(((Rel *)relbgn)->r_info, M_MACH); in elf_reloc()
535 (rtype == R_386_JMP_SLOT) && in elf_reloc()
552 if (rtype == R_386_NONE) in elf_reloc()
573 elf_reloc_bad(lmp, (void *)rel, rtype, roffset, in elf_reloc()
611 if (rtype == R_386_TLS_DTPMOD32) { in elf_reloc()
617 } else if (rtype == R_386_TLS_TPOFF) { in elf_reloc()
619 rel, rtype, 0, roffset, 0)) == 0) { in elf_reloc()
[all …]
/titanic_50/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()
/titanic_50/usr/src/cmd/pools/poolstat/
H A Dpoolstat.c759 get_resources(const char *pool_name, const char *rtype, uint_t *nelem) in get_resources() argument
767 if (strcmp(rtype, PSET_TYPE_NAME) == 0) { in get_resources()
772 die(gettext(ERR_UNSUPP_RTYPE), rtype); in get_resources()
777 if ((pool_value_set_string(pvals[0], rtype)) == -1) in get_resources()
815 prt_resource_stats_by_type(pool_resource_t **resources, const char *rtype) in prt_resource_stats_by_type() argument
825 if (strcmp(rtype, PSET_TYPE_NAME) == 0) { in prt_resource_stats_by_type()
830 die(gettext(ERR_UNSUPP_RTYPE), rtype); in prt_resource_stats_by_type()
860 update_resource_stats(pool_resource_t *resource, const char *rtype) in update_resource_stats() argument
868 if (strcmp(rtype, PSET_TYPE_NAME) == 0) { in update_resource_stats()
872 die(gettext(ERR_UNSUPP_RTYPE), rtype); in update_resource_stats()
[all …]
/titanic_50/usr/src/cmd/sgs/libld/common/
H A Dmachrel.sparc.c838 Word rtype = arsp->rel_rtype; in tls_fixups() local
851 switch (rtype) { in tls_fixups()
889 switch (rtype) { in tls_fixups()
990 Word rtype = arsp->rel_rtype; in gotop_fixups() local
996 switch (rtype) { in gotop_fixups()
1419 Word rtype = rsp->rel_rtype; in ld_add_outrel() local
1425 if ((rtype == R_SPARC_HIPLT22) || (rtype == R_SPARC_LOPLT10)) { in ld_add_outrel()
1440 if ((rtype == R_SPARC_H44) || (rtype == R_SPARC_M44) || in ld_add_outrel()
1441 (rtype == R_SPARC_L44)) { in ld_add_outrel()
1684 Word rtype = rsp->rel_rtype; in ld_reloc_GOTOP() local
[all …]
H A Drelocate.c239 uchar_t rtype, ttype; in disp_scansyms() local
265 rtype = ELF_ST_TYPE(rsym->st_info); in disp_scansyms()
275 ((rtype != STT_OBJECT) && (rtype != STT_SECTION))) in disp_scansyms()
309 if ((rtype != STT_OBJECT) && (rtype != STT_SECTION) && in disp_scansyms()
861 Word rtype = rsp->rel_rtype; in ld_reloc_GOT_relative() local
904 rsp->rel_rtype = rtype; in ld_reloc_GOT_relative()
915 rsp->rel_rtype = rtype; in ld_reloc_GOT_relative()
1149 Word rtype = rsp->rel_rtype, w2align; in reloc_exec() local
1260 rsp->rel_rtype = rtype; in reloc_exec()
1321 Word rtype = rsp->rel_rtype; in reloc_relobj() local
[all …]
H A Dmachrel.intel.c444 Word rtype = arsp->rel_rtype; in tls_fixups() local
455 switch (rtype) { in tls_fixups()
500 switch (rtype) { in tls_fixups()
1280 Word rtype = rsp->rel_rtype; in ld_reloc_TLS() local
1289 if ((flags & FLG_OF_EXEC) || (IS_TLS_IE(rtype))) { in ld_reloc_TLS()
1304 rtype, R_386_TLS_TPOFF, NULL) == S_ERROR) in ld_reloc_TLS()
1311 if (IS_TLS_IE(rtype)) { in ld_reloc_TLS()
1321 (rtype == R_386_TLS_IE)) { in ld_reloc_TLS()
1338 if (IS_TLS_LE(rtype) || (rtype == R_386_TLS_LDO_32)) in ld_reloc_TLS()
1350 if (IS_TLS_LD(rtype) && ((gnp = ld_find_got_ndx(sdp->sd_GOTndxs, in ld_reloc_TLS()
[all …]
/titanic_50/usr/src/lib/abi/apptrace/common/
H A Dapptraceutil.c58 ctf_id_t rtype = ctf_type_resolve(ctfp, type); in print_value() local
63 if (ctf_type_kind(ctfp, rtype) == CTF_K_POINTER) { in print_value()
64 type = ctf_type_reference(ctfp, rtype); in print_value()
65 rtype = ctf_type_resolve(ctfp, type); in print_value()
67 if (ctf_type_encoding(ctfp, rtype, &e) == 0 && in print_value()
79 if (ctf_type_kind(ctfp, rtype) == CTF_K_STRUCT) { in print_value()
89 (void) ctf_type_visit(ctfp, rtype, elt_print, &pa); in print_value()
H A Dapptrace.c592 ctf_id_t type, rtype; in la_sparcv9_pltenter() local
619 rtype = ctf_type_resolve(ctfp, finfo.ctc_return); in la_sparcv9_pltenter()
620 type = ctf_type_reference(ctfp, rtype); in la_sparcv9_pltenter()
621 rtype = ctf_type_resolve(ctfp, type); in la_sparcv9_pltenter()
622 kind = ctf_type_kind(ctfp, rtype); in la_sparcv9_pltenter()
649 rtype = ctf_type_resolve(ctfp, argt[i]); in la_sparcv9_pltenter()
650 type = ctf_type_reference(ctfp, rtype); in la_sparcv9_pltenter()
651 rtype = ctf_type_resolve(ctfp, type); in la_sparcv9_pltenter()
652 kind = ctf_type_kind(ctfp, rtype); in la_sparcv9_pltenter()
/titanic_50/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()
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/lib/libdtrace/common/
H A Ddt_print.c377 ctf_id_t rtype; in dt_print_array() local
385 (rtype = ctf_type_resolve(ctfp, car.ctr_contents)) == CTF_ERR || in dt_print_array()
386 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR) { in dt_print_array()
394 ctf_type_encoding(ctfp, rtype, &e) != CTF_ERR && CTF_IS_CHAR(e)) { in dt_print_array()
555 ctf_id_t rtype; in dt_print_member() local
566 if ((rtype = ctf_type_resolve(ctfp, id)) == CTF_ERR || in dt_print_member()
567 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR || in dt_print_member()
631 dt_printfuncs[kind - 1](rtype, off, pap); in dt_print_member()
/titanic_50/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