Home
last modified time | relevance | path

Searched refs:cache_ptr (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-12.1/contrib/binutils/bfd/
H A Dbout.c676 arelent *cache_ptr; in b_out_slurp_reloc_table() local
752 counter++, rptr++, cache_ptr++) in b_out_slurp_reloc_table()
758 cache_ptr->howto = 0; in b_out_slurp_reloc_table()
772 cache_ptr->addend = 0; in b_out_slurp_reloc_table()
810 cache_ptr->addend = 0; in b_out_slurp_reloc_table()
823 cache_ptr->addend = 0; in b_out_slurp_reloc_table()
833 if (cache_ptr->howto != 0) in b_out_slurp_reloc_table()
858 arelent *cursor = cache_ptr-1; in b_out_slurp_reloc_table()
859 bfd_vma stop = cache_ptr->address; in b_out_slurp_reloc_table()
861 tmp = *cache_ptr; in b_out_slurp_reloc_table()
[all …]
H A Daoutx.h1420 switch (cache_ptr->type) in translate_from_native_sym_flags()
1444 cache_ptr->symbol.value -= cache_ptr->symbol.section->vma; in translate_from_native_sym_flags()
1457 cache_ptr->symbol.value -= cache_ptr->symbol.section->vma; in translate_from_native_sym_flags()
1463 cache_ptr->symbol.value -= cache_ptr->symbol.section->vma; in translate_from_native_sym_flags()
1524 cache_ptr->symbol.value -= cache_ptr->symbol.section->vma; in translate_from_native_sym_flags()
1530 cache_ptr->symbol.value -= cache_ptr->symbol.section->vma; in translate_from_native_sym_flags()
1536 cache_ptr->symbol.value -= cache_ptr->symbol.section->vma; in translate_from_native_sym_flags()
1569 cache_ptr->name != NULL ? cache_ptr->name : _("*unknown*")); in translate_to_native_sym_flags()
2130 arelent *cache_ptr, in NAME()
2185 arelent *cache_ptr, in NAME()
[all …]
H A Dcoff-i386.c352 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
353 ((cache_ptr)->howto = \
376 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
381 + (cache_ptr->sym_ptr_ptr - symbols)); \
386 cache_ptr->addend = - coffsym->native->u.syment.n_value; \
389 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
391 cache_ptr->addend = 0; \
393 cache_ptr->addend += asect->vma; \
H A Dcoff-x86_64.c450 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
451 ((cache_ptr)->howto = \
474 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
480 + (cache_ptr->sym_ptr_ptr - symbols)); \
486 cache_ptr->addend = - coffsym->native->u.syment.n_value; \
489 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
491 cache_ptr->addend = 0; \
493 cache_ptr->addend += asect->vma; \
H A Dcoff-sparc.c180 rtype2howto (cache_ptr, dst) in rtype2howto() argument
181 arelent *cache_ptr; in rtype2howto()
185 cache_ptr->howto = &coff_sparc_howto_table[dst->r_type];
192 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
193 cache_ptr->addend = reloc.r_offset;
H A Dpe-mips.c344 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
345 (cache_ptr)->howto = howto_table + (dst)->r_type;
360 #define CALC_ADDEND(abfd, ptr, reloc, cache_ptr) \ argument
365 + (cache_ptr->sym_ptr_ptr - symbols)); \
370 cache_ptr->addend = - coffsym->native->u.syment.n_value; \
373 cache_ptr->addend = - (ptr->section->vma + ptr->value); \
375 cache_ptr->addend = 0; \
377 cache_ptr->addend += asect->vma; \
H A Dcoffcode.h4279 alent *cache_ptr = lineno_cache; in coff_slurp_line_table() local
4287 cache_ptr->line_number = dst.l_lnno; in coff_slurp_line_table()
4289 if (cache_ptr->line_number == 0) in coff_slurp_line_table()
4318 sym->lineno = cache_ptr; in coff_slurp_line_table()
4324 cache_ptr++; in coff_slurp_line_table()
4328 cache_ptr->line_number = 0; in coff_slurp_line_table()
4841 arelent *cache_ptr; in coff_slurp_reloc_table() local
4870 cache_ptr = reloc_cache + idx; in coff_slurp_reloc_table()
4879 cache_ptr->address = dst.r_vaddr; in coff_slurp_reloc_table()
4918 RTYPE2HOWTO (cache_ptr, &dst); in coff_slurp_reloc_table()
[all …]
H A Dcoff-ia64.c48 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
49 (cache_ptr)->howto = howto_table + (dst)->r_type;
H A Delf32-arc.c170 arelent *cache_ptr, in arc_info_to_howto_rel() argument
177 cache_ptr->howto = &elf_arc_howto_table[r_type]; in arc_info_to_howto_rel()
H A Dxcoff-target.h41 #define RTYPE2HOWTO(cache_ptr, dst) _bfd_xcoff_rtype2howto (cache_ptr, dst) argument
H A Delfn32-mips.c2154 mips_info_to_howto_rel (bfd *abfd, arelent *cache_ptr, Elf_Internal_Rela *dst) in mips_info_to_howto_rel() argument
2159 cache_ptr->howto = mips_elf_n32_rtype_to_howto (r_type, FALSE); in mips_info_to_howto_rel()
2165 if (((*cache_ptr->sym_ptr_ptr)->flags & BSF_SECTION_SYM) != 0 in mips_info_to_howto_rel()
2168 cache_ptr->addend = elf_gp (abfd); in mips_info_to_howto_rel()
2175 arelent *cache_ptr, Elf_Internal_Rela *dst) in mips_info_to_howto_rela() argument
2180 cache_ptr->howto = mips_elf_n32_rtype_to_howto (r_type, TRUE); in mips_info_to_howto_rela()
2181 cache_ptr->addend = dst->r_addend; in mips_info_to_howto_rela()
H A Delf32-mips.c1338 mips_info_to_howto_rel (bfd *abfd, arelent *cache_ptr, Elf_Internal_Rela *dst) in mips_info_to_howto_rel() argument
1345 cache_ptr->howto = bed->elf_backend_mips_rtype_to_howto (r_type, FALSE); in mips_info_to_howto_rel()
1351 if (((*cache_ptr->sym_ptr_ptr)->flags & BSF_SECTION_SYM) != 0 in mips_info_to_howto_rel()
1354 cache_ptr->addend = elf_gp (abfd); in mips_info_to_howto_rel()
1360 mips_info_to_howto_rela (bfd *abfd, arelent *cache_ptr, Elf_Internal_Rela *dst) in mips_info_to_howto_rela() argument
1362 mips_info_to_howto_rel (abfd, cache_ptr, dst); in mips_info_to_howto_rela()
H A Daout-arm.c349 arelent *cache_ptr, in MY_swap_std_reloc_in() argument
358 cache_ptr->address = H_GET_32 (abfd, bytes->r_address); in MY_swap_std_reloc_in()
360 cache_ptr->howto = MY_reloc_howto (abfd, bytes, r_index, r_extern, r_pcrel); in MY_swap_std_reloc_in()
H A Delf32-mep.c394 arelent * cache_ptr, in mep_info_to_howto_rela() argument
400 cache_ptr->howto = & mep_elf_howto_table [r_type]; in mep_info_to_howto_rela()
H A Delf32-cr16.c468 elf_cr16_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED, arelent *cache_ptr, in elf_cr16_info_to_howto() argument
474 cache_ptr->howto = &cr16_elf_howto_table[r_type]; in elf_cr16_info_to_howto()
H A Delf64-s390.c384 elf_s390_info_to_howto (abfd, cache_ptr, dst) in elf_s390_info_to_howto() argument
386 arelent *cache_ptr;
393 cache_ptr->howto = &elf64_s390_vtinherit_howto;
397 cache_ptr->howto = &elf64_s390_vtentry_howto;
407 cache_ptr->howto = &elf_howto_table[r_type];
H A Delf32-s390.c360 elf_s390_info_to_howto (abfd, cache_ptr, dst) in elf_s390_info_to_howto() argument
362 arelent *cache_ptr;
369 cache_ptr->howto = &elf32_s390_vtinherit_howto;
373 cache_ptr->howto = &elf32_s390_vtentry_howto;
383 cache_ptr->howto = &elf_howto_table[r_type];
H A Dcoff-arm.c515 #define RTYPE2HOWTO(cache_ptr, dst) \ argument
516 (cache_ptr)->howto = \
H A Delf64-mips.c2310 arelent *cache_ptr ATTRIBUTE_UNUSED, in mips_elf64_info_to_howto_rel()
2318 arelent *cache_ptr ATTRIBUTE_UNUSED, in mips_elf64_info_to_howto_rela()
H A Delf64-x86-64.c269 elf64_x86_64_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED, arelent *cache_ptr, in elf64_x86_64_info_to_howto() argument
275 cache_ptr->howto = elf64_x86_64_rtype_to_howto (abfd, r_type); in elf64_x86_64_info_to_howto()
276 BFD_ASSERT (r_type == cache_ptr->howto->type); in elf64_x86_64_info_to_howto()
H A Dcoff-ppc.c1983 #define RTYPE2HOWTO(cache_ptr, dst) ppc_coff_rtype2howto (cache_ptr, dst) argument
H A Dcoff64-rs6000.c235 #define RTYPE2HOWTO(cache_ptr, dst) xcoff64_rtype2howto (cache_ptr, dst) argument
H A Delf32-ppc.c1631 arelent *cache_ptr, in ppc_elf_info_to_howto() argument
1639 cache_ptr->howto = ppc_elf_howto_table[ELF32_R_TYPE (dst->r_info)]; in ppc_elf_info_to_howto()
1643 if (!cache_ptr->howto) in ppc_elf_info_to_howto()
1649 cache_ptr->howto = ppc_elf_howto_table[R_PPC_NONE]; in ppc_elf_info_to_howto()
H A Delf32-i386.c349 arelent *cache_ptr, in elf_i386_info_to_howto_rel() argument
367 cache_ptr->howto = &elf_howto_table[indx]; in elf_i386_info_to_howto_rel()
/freebsd-12.1/lib/libc/rpc/
H A Dsvc_dg.c470 typedef struct cache_node *cache_ptr; typedef
488 cache_ptr cache_next;
497 cache_ptr *uc_fifo; /* fifo list of entries in cache */
540 uc->uc_entries = ALLOC(cache_ptr, size * SPARSENESS); in svc_dg_enablecache()
547 MEMZERO(uc->uc_entries, cache_ptr, size * SPARSENESS); in svc_dg_enablecache()
548 uc->uc_fifo = ALLOC(cache_ptr, size); in svc_dg_enablecache()
551 FREE(uc->uc_entries, cache_ptr, size * SPARSENESS); in svc_dg_enablecache()
556 MEMZERO(uc->uc_fifo, cache_ptr, size); in svc_dg_enablecache()
578 cache_ptr victim; in cache_set()
579 cache_ptr *vicp; in cache_set()
[all …]

12