Searched refs:maxcnt (Results 1 – 2 of 2) sorted by relevance
75 size_t maxcnt; in elf_i386_relocate_section() local100 maxcnt = shdr->sh_size / shdr->sh_entsize; in elf_i386_relocate_section()110 for (cnt = 0; cnt < maxcnt; ++cnt) in elf_i386_relocate_section()531 size_t maxcnt = shdr->sh_size / shdr->sh_entsize; in elf_i386_count_relocations() local538 for (cnt = 0; cnt < maxcnt; ++cnt) in elf_i386_count_relocations()
3495 optimal_bucket_size (Elf32_Word *hashcodes, size_t maxcnt, int optlevel) in optimal_bucket_size() argument3505 if (maxcnt == 0) in optimal_bucket_size()3511 minsize = maxcnt; in optimal_bucket_size()3512 maxsize = maxcnt + 10000 / maxcnt; in optimal_bucket_size()3518 minsize = MAX (1, maxcnt / 4); in optimal_bucket_size()3521 maxsize = 2 * maxcnt + (6 * MIN (optlevel, 100) * maxcnt) / 100; in optimal_bucket_size()3523 bestsize = maxcnt; in optimal_bucket_size()3527 counts = (uint32_t *) xmalloc ((maxcnt + 1 + maxsize) * sizeof (uint32_t)); in optimal_bucket_size()3528 lengths = &counts[maxcnt + 1]; in optimal_bucket_size()3540 memset (counts, '\0', (maxcnt + 1) * sizeof (uint32_t)); in optimal_bucket_size()[all …]