Lines Matching refs:size

118   size_t size;                  /* Read in the TM region.  */  member
137 for (; seg != NULL && seg->size > 0; seg = seg->previous) in _dlfo_mappings_segment_count_used()
138 for (size_t i = 0; i < seg->size; ++i) in _dlfo_mappings_segment_count_used()
166 _dlfo_mappings_segment_allocate_unpadded (size_t size) in _dlfo_mappings_segment_allocate_unpadded() argument
168 if (size < dlfo_mappings_initial_segment_size) in _dlfo_mappings_segment_allocate_unpadded()
169 size = dlfo_mappings_initial_segment_size; in _dlfo_mappings_segment_allocate_unpadded()
177 + size * element_size); in _dlfo_mappings_segment_allocate_unpadded()
183 result->size = 0; in _dlfo_mappings_segment_allocate_unpadded()
184 result->allocated = size; in _dlfo_mappings_segment_allocate_unpadded()
193 _dlfo_mappings_segment_allocate (size_t size, in _dlfo_mappings_segment_allocate() argument
204 if (size < minimum_growth) in _dlfo_mappings_segment_allocate()
205 size = minimum_growth; in _dlfo_mappings_segment_allocate()
215 + size * element_size in _dlfo_mappings_segment_allocate()
230 result->size = 0; in _dlfo_mappings_segment_allocate()
236 assert (result->allocated >= size); in _dlfo_mappings_segment_allocate()
319 _dlfo_lookup (uintptr_t pc, struct dl_find_object_internal *first1, size_t size) in _dlfo_lookup() argument
321 struct dl_find_object_internal *end = first1 + size; in _dlfo_lookup()
325 while (size > 0) in _dlfo_lookup()
327 size_t half = size >> 1; in _dlfo_lookup()
332 size -= half + 1; in _dlfo_lookup()
335 size = half; in _dlfo_lookup()
422 size_t seg_size = atomic_load_relaxed (&seg->size); in _dl_find_object()
535 _dlfo_sort_mappings (struct dl_find_object_internal *objects, size_t size) in _dlfo_sort_mappings() argument
537 if (size < 2) in _dlfo_sort_mappings()
540 for (size_t i = 0; i < size - 1; ++i) in _dlfo_sort_mappings()
545 for (size_t j = i + 1; j < size; ++j) in _dlfo_sort_mappings()
603 _dlfo_loaded_mappings[0]->size); in _dl_find_object_init()
607 _dl_find_object_link_map_sort (struct link_map **loaded, size_t size) in _dl_find_object_link_map_sort() argument
610 if (size < 2) in _dl_find_object_link_map_sort()
612 for (size_t i = 0; i < size - 1; ++i) in _dl_find_object_link_map_sort()
617 for (size_t j = i + 1; j < size; ++j) in _dl_find_object_link_map_sort()
644 atomic_store_relaxed (&seg->size, new_seg_size); in _dlfo_update_init_seg()
700 current_seg_index1 = current_seg->size; in _dl_find_object_update_1()
710 current_seg_index1 = current_seg->size; in _dl_find_object_update_1()
777 atomic_store_relaxed (&target_seg->previous->size, 0); in _dl_find_object_update_1()
824 seg != NULL && seg->size > 0; seg = seg->previous) in _dl_find_object_dlclose()
828 = _dlfo_lookup (map_start, seg->objects, seg->size); in _dl_find_object_dlclose()