Home
last modified time | relevance | path

Searched refs:reloc_cache (Results 1 – 13 of 13) sorted by relevance

/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Di386lynx.c408 arelent *reloc_cache; variable
440 reloc_cache = (arelent *) bfd_zmalloc (count * sizeof (arelent));
441 if (!reloc_cache && count != 0)
447 free (reloc_cache);
454 free (reloc_cache);
462 arelent *cache_ptr = reloc_cache;
474 arelent *cache_ptr = reloc_cache;
485 asect->relocation = reloc_cache;
H A Dhp300hpux.c731 arelent *reloc_cache; variable
765 reloc_cache = (arelent *) bfd_zalloc (abfd, count * sizeof (arelent));
766 if (!reloc_cache && count != 0)
772 bfd_release (abfd, reloc_cache);
779 bfd_release (abfd, reloc_cache);
785 cache_ptr = reloc_cache;
794 asect->relocation = reloc_cache;
H A Dbout.c567 arelent *reloc_cache; local
606 reloc_cache = (arelent *) bfd_malloc (amt);
607 if (!reloc_cache)
616 free (reloc_cache);
643 for (rptr = relocs, cache_ptr = reloc_cache, counter = 0;
755 while (cursor->address > stop && cursor >= reloc_cache)
771 asect->relocation = reloc_cache;
H A Daoutx.h2402 arelent *reloc_cache; variable
2434 reloc_cache = (arelent *) bfd_zmalloc (amt);
2435 if (reloc_cache == NULL && count != 0)
2441 free (reloc_cache);
2448 free (reloc_cache);
2452 cache_ptr = reloc_cache;
2472 asect->relocation = reloc_cache;
2473 asect->reloc_count = cache_ptr - reloc_cache;
H A Dpdp11.c2203 arelent *reloc_cache; variable
2259 reloc_cache = (arelent *) bfd_zmalloc (count * sizeof (arelent));
2260 if (reloc_cache == NULL && count != 0)
2263 cache_ptr = reloc_cache;
2291 asect->relocation = reloc_cache;
2292 asect->reloc_count = cache_ptr - reloc_cache;
H A Dcoffcode.h5042 arelent *reloc_cache; local
5058 reloc_cache = (arelent *) bfd_alloc (abfd, amt);
5060 if (reloc_cache == NULL)
5071 cache_ptr = reloc_cache + idx;
5131 asect->relocation = reloc_cache;
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Di386lynx.c408 arelent *reloc_cache; variable
440 reloc_cache = (arelent *) bfd_zmalloc (count * sizeof (arelent));
441 if (!reloc_cache && count != 0)
447 free (reloc_cache);
454 free (reloc_cache);
462 arelent *cache_ptr = reloc_cache;
474 arelent *cache_ptr = reloc_cache;
485 asect->relocation = reloc_cache;
H A Dhp300hpux.c731 arelent *reloc_cache; variable
765 reloc_cache = (arelent *) bfd_zalloc (abfd, count * sizeof (arelent));
766 if (!reloc_cache && count != 0)
772 bfd_release (abfd, reloc_cache);
779 bfd_release (abfd, reloc_cache);
785 cache_ptr = reloc_cache;
794 asect->relocation = reloc_cache;
H A Dbout.c669 arelent *reloc_cache; in b_out_slurp_reloc_table() local
698 reloc_cache = bfd_malloc (amt); in b_out_slurp_reloc_table()
699 if (!reloc_cache) in b_out_slurp_reloc_table()
708 free (reloc_cache); in b_out_slurp_reloc_table()
735 for (rptr = relocs, cache_ptr = reloc_cache, counter = 0; in b_out_slurp_reloc_table()
847 while (cursor->address > stop && cursor >= reloc_cache) in b_out_slurp_reloc_table()
861 asect->relocation = reloc_cache; in b_out_slurp_reloc_table()
H A Daoutx.h2237 arelent *reloc_cache; in NAME() local
2269 reloc_cache = bfd_zmalloc (amt); in NAME()
2270 if (reloc_cache == NULL && count != 0) in NAME()
2276 free (reloc_cache); in NAME()
2283 free (reloc_cache); in NAME()
2287 cache_ptr = reloc_cache; in NAME()
2307 asect->relocation = reloc_cache; in NAME()
2308 asect->reloc_count = cache_ptr - reloc_cache; in NAME()
H A Dpdp11.c1826 arelent *reloc_cache; in NAME() local
1882 reloc_cache = bfd_zmalloc (count * sizeof (arelent)); in NAME()
1883 if (reloc_cache == NULL && count != 0) in NAME()
1886 cache_ptr = reloc_cache; in NAME()
1912 asect->relocation = reloc_cache; in NAME()
1913 asect->reloc_count = cache_ptr - reloc_cache; in NAME()
H A Dcoffcode.h4832 arelent *reloc_cache; in coff_slurp_reloc_table() local
4849 reloc_cache = bfd_alloc (abfd, amt); in coff_slurp_reloc_table()
4851 if (reloc_cache == NULL || native_relocs == NULL) in coff_slurp_reloc_table()
4862 cache_ptr = reloc_cache + idx; in coff_slurp_reloc_table()
4922 asect->relocation = reloc_cache; in coff_slurp_reloc_table()
/openbsd-src/sys/dev/pci/drm/i915/gem/
H A Di915_gem_execbuffer.c285 struct reloc_cache { struct
294 } reloc_cache; member
539 if (!eb->reloc_cache.has_fence) { in eb_validate_vma()
543 eb->reloc_cache.needs_unfenced) && in eb_validate_vma()
596 if (eb->reloc_cache.has_fence) in eb_add_vma()
631 static inline int use_cpu_reloc(const struct reloc_cache *cache, in use_cpu_reloc()
1117 static void reloc_cache_init(struct reloc_cache *cache, in reloc_cache_init()
1143 static inline struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache) in cache_to_ggtt()
1146 container_of(cache, struct i915_execbuffer, reloc_cache)->i915; in cache_to_ggtt()
1150 static void reloc_cache_unmap(struct reloc_cache *cache) in reloc_cache_unmap()
[all …]