nr_entries 179 arch/arc/kernel/stacktrace.c trace->entries[trace->nr_entries++] = address; nr_entries 181 arch/arc/kernel/stacktrace.c if (trace->nr_entries >= trace->max_entries) nr_entries 197 arch/arc/kernel/stacktrace.c trace->entries[trace->nr_entries++] = address; nr_entries 199 arch/arc/kernel/stacktrace.c if (trace->nr_entries >= trace->max_entries) nr_entries 86 arch/arm/kernel/stacktrace.c trace->entries[trace->nr_entries++] = addr; nr_entries 88 arch/arm/kernel/stacktrace.c if (trace->nr_entries >= trace->max_entries) nr_entries 96 arch/arm/kernel/stacktrace.c trace->entries[trace->nr_entries++] = regs->ARM_pc; nr_entries 98 arch/arm/kernel/stacktrace.c return trace->nr_entries >= trace->max_entries; nr_entries 152 arch/arm64/kernel/stacktrace.c trace->entries[trace->nr_entries++] = addr; nr_entries 154 arch/arm64/kernel/stacktrace.c return trace->nr_entries >= trace->max_entries; nr_entries 49 arch/csky/kernel/stacktrace.c trace->entries[trace->nr_entries++] = lpp; nr_entries 50 arch/csky/kernel/stacktrace.c if (trace->nr_entries >= trace->max_entries) nr_entries 39 arch/hexagon/kernel/stacktrace.c trace->entries[trace->nr_entries++] = frame->rets; nr_entries 40 arch/hexagon/kernel/stacktrace.c if (trace->nr_entries >= trace->max_entries) nr_entries 19 arch/ia64/kernel/stacktrace.c trace->nr_entries = 0; nr_entries 25 arch/ia64/kernel/stacktrace.c trace->entries[trace->nr_entries++] = ip; nr_entries 26 arch/ia64/kernel/stacktrace.c if (trace->nr_entries == trace->max_entries) nr_entries 243 arch/microblaze/kernel/unwind.c trace->entries[trace->nr_entries++] = pc; nr_entries 245 arch/microblaze/kernel/unwind.c if (trace->nr_entries >= trace->max_entries) nr_entries 30 arch/mips/kernel/stacktrace.c trace->entries[trace->nr_entries++] = addr; nr_entries 31 arch/mips/kernel/stacktrace.c if (trace->nr_entries >= trace->max_entries) nr_entries 58 arch/mips/kernel/stacktrace.c trace->entries[trace->nr_entries++] = pc; nr_entries 59 arch/mips/kernel/stacktrace.c if (trace->nr_entries >= trace->max_entries) nr_entries 83 arch/mips/kernel/stacktrace.c WARN_ON(trace->nr_entries || !trace->max_entries); nr_entries 45 arch/nds32/kernel/stacktrace.c trace->entries[trace->nr_entries++] = lpp; nr_entries 46 arch/nds32/kernel/stacktrace.c if (trace->nr_entries >= trace->max_entries) nr_entries 37 arch/openrisc/kernel/stacktrace.c if (trace->nr_entries < trace->max_entries) nr_entries 38 arch/openrisc/kernel/stacktrace.c trace->entries[trace->nr_entries++] = addr; nr_entries 63 arch/openrisc/kernel/stacktrace.c if (trace->nr_entries < trace->max_entries) nr_entries 64 arch/openrisc/kernel/stacktrace.c trace->entries[trace->nr_entries++] = addr; nr_entries 23 arch/parisc/kernel/stacktrace.c trace->nr_entries = 0; nr_entries 24 arch/parisc/kernel/stacktrace.c while (trace->nr_entries < trace->max_entries) { nr_entries 29 arch/parisc/kernel/stacktrace.c trace->entries[trace->nr_entries++] = info.ip; nr_entries 3189 arch/powerpc/kernel/prom_init.c static void __reloc_toc(unsigned long offset, unsigned long nr_entries) nr_entries 3197 arch/powerpc/kernel/prom_init.c for (i = 0; i < nr_entries; i++) { nr_entries 3206 arch/powerpc/kernel/prom_init.c unsigned long nr_entries = nr_entries 3209 arch/powerpc/kernel/prom_init.c __reloc_toc(offset, nr_entries); nr_entries 3217 arch/powerpc/kernel/prom_init.c unsigned long nr_entries = nr_entries 3222 arch/powerpc/kernel/prom_init.c __reloc_toc(-offset, nr_entries); nr_entries 44 arch/powerpc/kernel/stacktrace.c trace->entries[trace->nr_entries++] = ip; nr_entries 49 arch/powerpc/kernel/stacktrace.c if (trace->nr_entries >= trace->max_entries) nr_entries 195 arch/powerpc/kernel/stacktrace.c if (trace->nr_entries >= trace->max_entries) nr_entries 198 arch/powerpc/kernel/stacktrace.c trace->entries[trace->nr_entries++] = ip; nr_entries 189 arch/powerpc/perf/imc-pmu.c static void imc_free_events(struct imc_events *events, int nr_entries) nr_entries 196 arch/powerpc/perf/imc-pmu.c for (i = 0; i < nr_entries; i++) { nr_entries 145 arch/riscv/kernel/stacktrace.c trace->entries[trace->nr_entries++] = pc; nr_entries 146 arch/riscv/kernel/stacktrace.c return (trace->nr_entries >= trace->max_entries); nr_entries 38 arch/sh/kernel/stacktrace.c if (trace->nr_entries < trace->max_entries) nr_entries 39 arch/sh/kernel/stacktrace.c trace->entries[trace->nr_entries++] = addr; nr_entries 71 arch/sh/kernel/stacktrace.c if (trace->nr_entries < trace->max_entries) nr_entries 72 arch/sh/kernel/stacktrace.c trace->entries[trace->nr_entries++] = addr; nr_entries 58 arch/sparc/kernel/stacktrace.c trace->entries[trace->nr_entries++] = pc; nr_entries 66 arch/sparc/kernel/stacktrace.c if (trace->nr_entries < nr_entries 68 arch/sparc/kernel/stacktrace.c trace->entries[trace->nr_entries++] = pc; nr_entries 74 arch/sparc/kernel/stacktrace.c } while (trace->nr_entries < trace->max_entries); nr_entries 50 arch/um/kernel/stacktrace.c if (trace->nr_entries >= trace->max_entries) nr_entries 53 arch/um/kernel/stacktrace.c trace->entries[trace->nr_entries++] = address; nr_entries 90 arch/unicore32/kernel/stacktrace.c trace->entries[trace->nr_entries++] = addr; nr_entries 92 arch/unicore32/kernel/stacktrace.c return trace->nr_entries >= trace->max_entries; nr_entries 492 arch/x86/boot/compressed/eboot.c struct setup_data *e820ext, u32 nr_entries) nr_entries 497 arch/x86/boot/compressed/eboot.c e820ext->len = nr_entries * sizeof(struct boot_e820_entry); nr_entries 517 arch/x86/boot/compressed/eboot.c u32 nr_entries; nr_entries 521 arch/x86/boot/compressed/eboot.c nr_entries = 0; nr_entries 579 arch/x86/boot/compressed/eboot.c if (nr_entries == ARRAY_SIZE(params->e820_table)) { nr_entries 594 arch/x86/boot/compressed/eboot.c nr_entries++; nr_entries 597 arch/x86/boot/compressed/eboot.c if (nr_entries > ARRAY_SIZE(params->e820_table)) { nr_entries 598 arch/x86/boot/compressed/eboot.c u32 nr_e820ext = nr_entries - ARRAY_SIZE(params->e820_table); nr_entries 601 arch/x86/boot/compressed/eboot.c nr_entries -= nr_e820ext; nr_entries 604 arch/x86/boot/compressed/eboot.c params->e820_entries = (u8)nr_entries; nr_entries 2408 arch/x86/events/core.c if (!ldt || idx >= ldt->nr_entries) nr_entries 87 arch/x86/include/asm/e820/types.h __u32 nr_entries; nr_entries 56 arch/x86/include/asm/mmu_context.h unsigned int nr_entries; nr_entries 140 arch/x86/include/asm/mmu_context.h set_ldt(ldt_slot_va(ldt->slot), ldt->nr_entries); nr_entries 142 arch/x86/include/asm/mmu_context.h set_ldt(ldt->entries, ldt->nr_entries); nr_entries 55 arch/x86/include/asm/text-patching.h extern void text_poke_bp_batch(struct text_poke_loc *tp, unsigned int nr_entries); nr_entries 941 arch/x86/kernel/alternative.c int nr_entries; nr_entries 974 arch/x86/kernel/alternative.c if (likely(!bp_patching.nr_entries)) nr_entries 988 arch/x86/kernel/alternative.c if (unlikely(bp_patching.nr_entries > 1)) { nr_entries 989 arch/x86/kernel/alternative.c tp = bsearch(ip, bp_patching.vec, bp_patching.nr_entries, nr_entries 1028 arch/x86/kernel/alternative.c void text_poke_bp_batch(struct text_poke_loc *tp, unsigned int nr_entries) nr_entries 1037 arch/x86/kernel/alternative.c bp_patching.nr_entries = nr_entries; nr_entries 1048 arch/x86/kernel/alternative.c for (i = 0; i < nr_entries; i++) nr_entries 1056 arch/x86/kernel/alternative.c for (i = 0; i < nr_entries; i++) { nr_entries 1078 arch/x86/kernel/alternative.c for (i = 0; i < nr_entries; i++) nr_entries 1087 arch/x86/kernel/alternative.c bp_patching.nr_entries = 0; nr_entries 1233 arch/x86/kernel/apic/io_apic.c static void io_apic_print_entries(unsigned int apic, unsigned int nr_entries) nr_entries 1241 arch/x86/kernel/apic/io_apic.c for (i = 0; i <= nr_entries; i++) { nr_entries 82 arch/x86/kernel/e820.c for (i = 0; i < table->nr_entries; i++) { nr_entries 117 arch/x86/kernel/e820.c for (i = 0; i < e820_table->nr_entries; i++) { nr_entries 168 arch/x86/kernel/e820.c int x = table->nr_entries; nr_entries 179 arch/x86/kernel/e820.c table->nr_entries++; nr_entries 206 arch/x86/kernel/e820.c for (i = 0; i < e820_table->nr_entries; i++) { nr_entries 317 arch/x86/kernel/e820.c if (table->nr_entries < 2) nr_entries 320 arch/x86/kernel/e820.c BUG_ON(table->nr_entries > max_nr_entries); nr_entries 323 arch/x86/kernel/e820.c for (i = 0; i < table->nr_entries; i++) { nr_entries 329 arch/x86/kernel/e820.c for (i = 0; i < 2 * table->nr_entries; i++) nr_entries 337 arch/x86/kernel/e820.c for (i = 0; i < table->nr_entries; i++) { nr_entries 402 arch/x86/kernel/e820.c table->nr_entries = new_nr_entries; nr_entries 407 arch/x86/kernel/e820.c static int __init __append_e820_table(struct boot_e820_entry *entries, u32 nr_entries) nr_entries 411 arch/x86/kernel/e820.c while (nr_entries) { nr_entries 424 arch/x86/kernel/e820.c nr_entries--; nr_entries 438 arch/x86/kernel/e820.c static int __init append_e820_table(struct boot_e820_entry *entries, u32 nr_entries) nr_entries 441 arch/x86/kernel/e820.c if (nr_entries < 2) nr_entries 444 arch/x86/kernel/e820.c return __append_e820_table(entries, nr_entries); nr_entries 466 arch/x86/kernel/e820.c for (i = 0; i < table->nr_entries; i++) { nr_entries 541 arch/x86/kernel/e820.c for (i = 0; i < e820_table->nr_entries; i++) { nr_entries 609 arch/x86/kernel/e820.c int i = e820_table->nr_entries; nr_entries 687 arch/x86/kernel/e820.c size = offsetof(struct e820_table, entries) + sizeof(struct e820_entry)*e820_table->nr_entries; nr_entries 692 arch/x86/kernel/e820.c size = offsetof(struct e820_table, entries) + sizeof(struct e820_entry)*e820_table_kexec->nr_entries; nr_entries 697 arch/x86/kernel/e820.c size = offsetof(struct e820_table, entries) + sizeof(struct e820_entry)*e820_table_firmware->nr_entries; nr_entries 743 arch/x86/kernel/e820.c for (i = 0; i < e820_table->nr_entries; i++) { nr_entries 768 arch/x86/kernel/e820.c for (i = 0; i < e820_table->nr_entries; i++) { nr_entries 821 arch/x86/kernel/e820.c for (i = 0; i < e820_table->nr_entries; i++) { nr_entries 920 arch/x86/kernel/e820.c e820_table->nr_entries = 0; nr_entries 1111 arch/x86/kernel/e820.c res = memblock_alloc(sizeof(*res) * e820_table->nr_entries, nr_entries 1115 arch/x86/kernel/e820.c sizeof(*res) * e820_table->nr_entries); nr_entries 1118 arch/x86/kernel/e820.c for (i = 0; i < e820_table->nr_entries; i++) { nr_entries 1145 arch/x86/kernel/e820.c for (i = 0; i < e820_table_firmware->nr_entries; i++) { nr_entries 1179 arch/x86/kernel/e820.c for (i = 0; i < e820_table->nr_entries; i++) { nr_entries 1189 arch/x86/kernel/e820.c for (i = 0; i < e820_table->nr_entries; i++) { nr_entries 1233 arch/x86/kernel/e820.c e820_table->nr_entries = 0; nr_entries 1281 arch/x86/kernel/e820.c for (i = 0; i < e820_table->nr_entries; i++) { nr_entries 101 arch/x86/kernel/kexec-bzimage64.c nr_e820_entries = e820_table_kexec->nr_entries; nr_entries 99 arch/x86/kernel/ldt.c new_ldt->nr_entries = num_entries; nr_entries 225 arch/x86/kernel/ldt.c nr_pages = DIV_ROUND_UP(ldt->nr_entries * LDT_ENTRY_SIZE, PAGE_SIZE); nr_entries 277 arch/x86/kernel/ldt.c nr_pages = DIV_ROUND_UP(ldt->nr_entries * LDT_ENTRY_SIZE, PAGE_SIZE); nr_entries 326 arch/x86/kernel/ldt.c paravirt_alloc_ldt(ldt->entries, ldt->nr_entries); nr_entries 347 arch/x86/kernel/ldt.c paravirt_free_ldt(ldt->entries, ldt->nr_entries); nr_entries 348 arch/x86/kernel/ldt.c if (ldt->nr_entries * LDT_ENTRY_SIZE > PAGE_SIZE) nr_entries 371 arch/x86/kernel/ldt.c new_ldt = alloc_ldt_struct(old_mm->context.ldt->nr_entries); nr_entries 378 arch/x86/kernel/ldt.c new_ldt->nr_entries * LDT_ENTRY_SIZE); nr_entries 426 arch/x86/kernel/ldt.c entries_size = mm->context.ldt->nr_entries * LDT_ENTRY_SIZE; nr_entries 509 arch/x86/kernel/ldt.c old_nr_entries = old_ldt ? old_ldt->nr_entries : 0; nr_entries 319 arch/x86/kernel/process_64.c if (unlikely(idx >= ldt->nr_entries)) nr_entries 31 arch/x86/kernel/resource.c for (i = 0; i < e820_table->nr_entries; i++) { nr_entries 38 arch/x86/kernel/step.c seg >= child->mm->context.ldt->nr_entries)) nr_entries 193 arch/x86/kernel/tboot.c for (i = 0; i < e820_table->nr_entries; i++) { nr_entries 588 arch/x86/lib/insn-eval.c if (ldt && sel < ldt->nr_entries) { nr_entries 31 arch/x86/math-emu/fpu_system.h if (current->mm->context.ldt && seg < current->mm->context.ldt->nr_entries) nr_entries 96 arch/x86/power/hibernate.c sizeof(struct e820_entry) * table->nr_entries; nr_entries 47 arch/x86/xen/enlighten_pvh.c memmap.nr_entries = ARRAY_SIZE(boot_params_p->e820_table); nr_entries 54 arch/x86/xen/enlighten_pvh.c boot_params_p->e820_entries = memmap.nr_entries; nr_entries 206 arch/x86/xen/setup.c for (i = 0; i < xen_e820_table.nr_entries; i++, entry++) { nr_entries 473 arch/x86/xen/setup.c for (i = 0; i < xen_e820_table.nr_entries; i++, entry++) { nr_entries 475 arch/x86/xen/setup.c if (entry->type == E820_TYPE_RAM || i == xen_e820_table.nr_entries - 1) { nr_entries 611 arch/x86/xen/setup.c for (i = 0; i < xen_e820_table.nr_entries; i++, entry++) { nr_entries 629 arch/x86/xen/setup.c for (mapcnt = 0; mapcnt < xen_e820_table.nr_entries; mapcnt++) { nr_entries 654 arch/x86/xen/setup.c for (mapcnt = 0; mapcnt < xen_e820_table.nr_entries; mapcnt++, entry++) { nr_entries 757 arch/x86/xen/setup.c memmap.nr_entries = ARRAY_SIZE(xen_e820_table.entries); nr_entries 770 arch/x86/xen/setup.c memmap.nr_entries = 1; nr_entries 779 arch/x86/xen/setup.c BUG_ON(memmap.nr_entries == 0); nr_entries 780 arch/x86/xen/setup.c xen_e820_table.nr_entries = memmap.nr_entries; nr_entries 823 arch/x86/xen/setup.c while (i < xen_e820_table.nr_entries) { nr_entries 850 arch/x86/xen/setup.c if (i < xen_e820_table.nr_entries) { nr_entries 218 arch/xtensa/kernel/stacktrace.c trace->entries[trace->nr_entries++] = frame->pc; nr_entries 219 arch/xtensa/kernel/stacktrace.c return trace->nr_entries >= trace->max_entries; nr_entries 1321 block/bio.c if (i == map_data->nr_entries * nr_pages) { nr_entries 98 drivers/dma/dw-edma/dw-edma-v0-debugfs.c int nr_entries, struct dentry *dir) nr_entries 102 drivers/dma/dw-edma/dw-edma-v0-debugfs.c for (i = 0; i < nr_entries; i++) { nr_entries 112 drivers/dma/dw-edma/dw-edma-v0-debugfs.c int nr_entries; nr_entries 125 drivers/dma/dw-edma/dw-edma-v0-debugfs.c nr_entries = ARRAY_SIZE(debugfs_regs); nr_entries 126 drivers/dma/dw-edma/dw-edma-v0-debugfs.c dw_edma_debugfs_create_x32(debugfs_regs, nr_entries, dir); nr_entries 167 drivers/dma/dw-edma/dw-edma-v0-debugfs.c int nr_entries, i; nr_entries 174 drivers/dma/dw-edma/dw-edma-v0-debugfs.c nr_entries = ARRAY_SIZE(debugfs_regs); nr_entries 175 drivers/dma/dw-edma/dw-edma-v0-debugfs.c dw_edma_debugfs_create_x32(debugfs_regs, nr_entries, regs_dir); nr_entries 178 drivers/dma/dw-edma/dw-edma-v0-debugfs.c nr_entries = ARRAY_SIZE(debugfs_unroll_regs); nr_entries 179 drivers/dma/dw-edma/dw-edma-v0-debugfs.c dw_edma_debugfs_create_x32(debugfs_unroll_regs, nr_entries, nr_entries 236 drivers/dma/dw-edma/dw-edma-v0-debugfs.c int nr_entries, i; nr_entries 243 drivers/dma/dw-edma/dw-edma-v0-debugfs.c nr_entries = ARRAY_SIZE(debugfs_regs); nr_entries 244 drivers/dma/dw-edma/dw-edma-v0-debugfs.c dw_edma_debugfs_create_x32(debugfs_regs, nr_entries, regs_dir); nr_entries 247 drivers/dma/dw-edma/dw-edma-v0-debugfs.c nr_entries = ARRAY_SIZE(debugfs_unroll_regs); nr_entries 248 drivers/dma/dw-edma/dw-edma-v0-debugfs.c dw_edma_debugfs_create_x32(debugfs_unroll_regs, nr_entries, nr_entries 273 drivers/dma/dw-edma/dw-edma-v0-debugfs.c int nr_entries; nr_entries 279 drivers/dma/dw-edma/dw-edma-v0-debugfs.c nr_entries = ARRAY_SIZE(debugfs_regs); nr_entries 280 drivers/dma/dw-edma/dw-edma-v0-debugfs.c dw_edma_debugfs_create_x32(debugfs_regs, nr_entries, regs_dir); nr_entries 122 drivers/gpu/drm/drm_mm.c unsigned int nr_entries; nr_entries 136 drivers/gpu/drm/drm_mm.c nr_entries = stack_depot_fetch(node->stack, &entries); nr_entries 137 drivers/gpu/drm/drm_mm.c stack_trace_snprint(buf, BUFSZ, entries, nr_entries, 0); nr_entries 1923 drivers/gpu/drm/i915/gvt/gtt.c unsigned long nr_entries; nr_entries 1931 drivers/gpu/drm/i915/gvt/gtt.c nr_entries = gvt_ggtt_gm_sz(vgpu->gvt) >> I915_GTT_PAGE_SHIFT; nr_entries 1933 drivers/gpu/drm/i915/gvt/gtt.c vzalloc(array_size(nr_entries, nr_entries 60 drivers/gpu/drm/i915/i915_vma.c unsigned int nr_entries; nr_entries 69 drivers/gpu/drm/i915/i915_vma.c nr_entries = stack_depot_fetch(vma->node.stack, &entries); nr_entries 70 drivers/gpu/drm/i915/i915_vma.c stack_trace_snprint(buf, sizeof(buf), entries, nr_entries, 0); nr_entries 73 drivers/gpu/drm/i915/intel_runtime_pm.c unsigned int nr_entries; nr_entries 75 drivers/gpu/drm/i915/intel_runtime_pm.c nr_entries = stack_depot_fetch(stack, &entries); nr_entries 76 drivers/gpu/drm/i915/intel_runtime_pm.c stack_trace_snprint(buf, sz, entries, nr_entries, indent); nr_entries 528 drivers/gpu/drm/virtio/virtgpu_vq.c cmd_p->nr_entries = cpu_to_le32(nents); nr_entries 483 drivers/hwtracing/coresight/coresight-tmc-etr.c int i, type, nr_entries; nr_entries 494 drivers/hwtracing/coresight/coresight-tmc-etr.c nr_entries = tmc_etr_sg_table_entries(sg_table->data_pages.nr_pages); nr_entries 503 drivers/hwtracing/coresight/coresight-tmc-etr.c for (i = 0; i < nr_entries - 1; i++) { nr_entries 559 drivers/hwtracing/coresight/coresight-tmc-etr.c int nr_entries, nr_tpages; nr_entries 567 drivers/hwtracing/coresight/coresight-tmc-etr.c nr_entries = tmc_etr_sg_table_entries(nr_dpages); nr_entries 568 drivers/hwtracing/coresight/coresight-tmc-etr.c nr_tpages = DIV_ROUND_UP(nr_entries, ETR_SG_PTRS_PER_SYSPAGE); nr_entries 29 drivers/lightnvm/pblk-cache.c int nr_entries = pblk_get_secs(bio); nr_entries 40 drivers/lightnvm/pblk-cache.c ret = pblk_rb_may_write_user(&pblk->rwb, bio, nr_entries, &bpos); nr_entries 61 drivers/lightnvm/pblk-cache.c for (i = 0; i < nr_entries; i++) { nr_entries 72 drivers/lightnvm/pblk-cache.c atomic64_add(nr_entries, &pblk->user_wa); nr_entries 75 drivers/lightnvm/pblk-cache.c atomic_long_add(nr_entries, &pblk->inflight_writes); nr_entries 76 drivers/lightnvm/pblk-cache.c atomic_long_add(nr_entries, &pblk->req_writes); nr_entries 79 drivers/lightnvm/pblk-cache.c pblk_rl_inserted(&pblk->rl, nr_entries); nr_entries 899 drivers/lightnvm/pblk-init.c emeta->nr_entries = lm->emeta_sec[0]; nr_entries 1255 drivers/lightnvm/pblk-init.c pblk->rwb.nr_entries); nr_entries 48 drivers/lightnvm/pblk-rb.c static unsigned int pblk_rb_calculate_size(unsigned int nr_entries, nr_entries 52 drivers/lightnvm/pblk-rb.c unsigned int max_sz = max(thr_sz, nr_entries); nr_entries 81 drivers/lightnvm/pblk-rb.c unsigned int nr_entries; nr_entries 83 drivers/lightnvm/pblk-rb.c nr_entries = pblk_rb_calculate_size(size, threshold); nr_entries 84 drivers/lightnvm/pblk-rb.c entries = vzalloc(array_size(nr_entries, sizeof(struct pblk_rb_entry))); nr_entries 88 drivers/lightnvm/pblk-rb.c power_size = get_count_order(nr_entries); nr_entries 94 drivers/lightnvm/pblk-rb.c rb->nr_entries = (1 << power_size); nr_entries 165 drivers/lightnvm/pblk-rb.c pblk_rl_init(&pblk->rl, rb->nr_entries, threshold); nr_entries 197 drivers/lightnvm/pblk-rb.c return pblk_rb_ring_space(rb, mem, sync, rb->nr_entries); nr_entries 201 drivers/lightnvm/pblk-rb.c unsigned int nr_entries) nr_entries 203 drivers/lightnvm/pblk-rb.c return (p + nr_entries) & (rb->nr_entries - 1); nr_entries 215 drivers/lightnvm/pblk-rb.c return pblk_rb_ring_count(mem, subm, rb->nr_entries); nr_entries 223 drivers/lightnvm/pblk-rb.c return pblk_rb_ring_count(mem, sync, rb->nr_entries); nr_entries 226 drivers/lightnvm/pblk-rb.c unsigned int pblk_rb_read_commit(struct pblk_rb *rb, unsigned int nr_entries) nr_entries 232 drivers/lightnvm/pblk-rb.c smp_store_release(&rb->subm, pblk_rb_ptr_wrap(rb, subm, nr_entries)); nr_entries 279 drivers/lightnvm/pblk-rb.c static int pblk_rb_update_l2p(struct pblk_rb *rb, unsigned int nr_entries, nr_entries 288 drivers/lightnvm/pblk-rb.c space = pblk_rb_ring_space(rb, mem, rb->l2p_update, rb->nr_entries); nr_entries 289 drivers/lightnvm/pblk-rb.c if (space > nr_entries) nr_entries 292 drivers/lightnvm/pblk-rb.c count = nr_entries - space; nr_entries 315 drivers/lightnvm/pblk-rb.c to_update = pblk_rb_ring_count(sync, rb->l2p_update, rb->nr_entries); nr_entries 404 drivers/lightnvm/pblk-rb.c flush_point = (pos == 0) ? (rb->nr_entries - 1) : (pos - 1); nr_entries 418 drivers/lightnvm/pblk-rb.c static int __pblk_rb_may_write(struct pblk_rb *rb, unsigned int nr_entries, nr_entries 428 drivers/lightnvm/pblk-rb.c threshold = nr_entries + rb->back_thres; nr_entries 430 drivers/lightnvm/pblk-rb.c if (pblk_rb_ring_space(rb, mem, sync, rb->nr_entries) < threshold) nr_entries 433 drivers/lightnvm/pblk-rb.c if (pblk_rb_update_l2p(rb, nr_entries, mem, sync)) nr_entries 441 drivers/lightnvm/pblk-rb.c static int pblk_rb_may_write(struct pblk_rb *rb, unsigned int nr_entries, nr_entries 444 drivers/lightnvm/pblk-rb.c if (!__pblk_rb_may_write(rb, nr_entries, pos)) nr_entries 448 drivers/lightnvm/pblk-rb.c smp_store_release(&rb->mem, pblk_rb_ptr_wrap(rb, *pos, nr_entries)); nr_entries 463 drivers/lightnvm/pblk-rb.c static int pblk_rb_may_write_flush(struct pblk_rb *rb, unsigned int nr_entries, nr_entries 469 drivers/lightnvm/pblk-rb.c if (!__pblk_rb_may_write(rb, nr_entries, pos)) nr_entries 472 drivers/lightnvm/pblk-rb.c mem = pblk_rb_ptr_wrap(rb, *pos, nr_entries); nr_entries 495 drivers/lightnvm/pblk-rb.c unsigned int nr_entries, unsigned int *pos) nr_entries 501 drivers/lightnvm/pblk-rb.c io_ret = pblk_rl_user_may_insert(&pblk->rl, nr_entries); nr_entries 507 drivers/lightnvm/pblk-rb.c if (!pblk_rb_may_write_flush(rb, nr_entries, pos, bio, &io_ret)) { nr_entries 512 drivers/lightnvm/pblk-rb.c pblk_rl_user_in(&pblk->rl, nr_entries); nr_entries 521 drivers/lightnvm/pblk-rb.c int pblk_rb_may_write_gc(struct pblk_rb *rb, unsigned int nr_entries, nr_entries 527 drivers/lightnvm/pblk-rb.c if (!pblk_rl_gc_may_insert(&pblk->rl, nr_entries)) { nr_entries 532 drivers/lightnvm/pblk-rb.c if (!pblk_rb_may_write(rb, nr_entries, pos)) { nr_entries 537 drivers/lightnvm/pblk-rb.c pblk_rl_gc_in(&pblk->rl, nr_entries); nr_entries 551 drivers/lightnvm/pblk-rb.c unsigned int pos, unsigned int nr_entries, nr_entries 560 drivers/lightnvm/pblk-rb.c unsigned int pad = 0, to_read = nr_entries; nr_entries 564 drivers/lightnvm/pblk-rb.c if (count < nr_entries) { nr_entries 565 drivers/lightnvm/pblk-rb.c pad = nr_entries - count; nr_entries 659 drivers/lightnvm/pblk-rb.c BUG_ON(pos >= rb->nr_entries); nr_entries 713 drivers/lightnvm/pblk-rb.c unsigned int pblk_rb_sync_advance(struct pblk_rb *rb, unsigned int nr_entries) nr_entries 725 drivers/lightnvm/pblk-rb.c rb->nr_entries); nr_entries 726 drivers/lightnvm/pblk-rb.c if (secs_to_flush < nr_entries) { nr_entries 732 drivers/lightnvm/pblk-rb.c sync = pblk_rb_ptr_wrap(rb, sync, nr_entries); nr_entries 755 drivers/lightnvm/pblk-rb.c submitted = pblk_rb_ring_count(subm, sync, rb->nr_entries); nr_entries 758 drivers/lightnvm/pblk-rb.c to_flush = pblk_rb_ring_count(flush_point, sync, rb->nr_entries) + 1; nr_entries 783 drivers/lightnvm/pblk-rb.c for (i = 0; i < rb->nr_entries; i++) { nr_entries 801 drivers/lightnvm/pblk-rb.c return (pos & (rb->nr_entries - 1)); nr_entries 806 drivers/lightnvm/pblk-rb.c return (pos >= rb->nr_entries); nr_entries 824 drivers/lightnvm/pblk-rb.c rb->nr_entries, nr_entries 842 drivers/lightnvm/pblk-rb.c rb->nr_entries, nr_entries 36 drivers/lightnvm/pblk-rl.c int pblk_rl_user_may_insert(struct pblk_rl *rl, int nr_entries) nr_entries 41 drivers/lightnvm/pblk-rl.c if (unlikely(rb_space >= 0) && (rb_space - nr_entries < 0)) nr_entries 50 drivers/lightnvm/pblk-rl.c void pblk_rl_inserted(struct pblk_rl *rl, int nr_entries) nr_entries 55 drivers/lightnvm/pblk-rl.c atomic_sub(nr_entries, &rl->rb_space); nr_entries 58 drivers/lightnvm/pblk-rl.c int pblk_rl_gc_may_insert(struct pblk_rl *rl, int nr_entries) nr_entries 68 drivers/lightnvm/pblk-rl.c void pblk_rl_user_in(struct pblk_rl *rl, int nr_entries) nr_entries 70 drivers/lightnvm/pblk-rl.c atomic_add(nr_entries, &rl->rb_user_cnt); nr_entries 87 drivers/lightnvm/pblk-rl.c void pblk_rl_gc_in(struct pblk_rl *rl, int nr_entries) nr_entries 89 drivers/lightnvm/pblk-rl.c atomic_add(nr_entries, &rl->rb_gc_cnt); nr_entries 148 drivers/lightnvm/pblk-write.c unsigned int nr_entries) nr_entries 159 drivers/lightnvm/pblk-write.c for (i = 0; i < nr_entries; i++) { nr_entries 293 drivers/lightnvm/pblk-write.c if (sync == emeta->nr_entries) nr_entries 185 drivers/lightnvm/pblk.h unsigned int nr_entries; /* Number of entries in write buffer - nr_entries 419 drivers/lightnvm/pblk.h unsigned int nr_entries; /* Number of emeta entries */ nr_entries 726 drivers/lightnvm/pblk.h unsigned int nr_entries, unsigned int *pos); nr_entries 727 drivers/lightnvm/pblk.h int pblk_rb_may_write_gc(struct pblk_rb *rb, unsigned int nr_entries, nr_entries 739 drivers/lightnvm/pblk.h unsigned int pos, unsigned int nr_entries, nr_entries 746 drivers/lightnvm/pblk.h unsigned int pblk_rb_sync_advance(struct pblk_rb *rb, unsigned int nr_entries); nr_entries 748 drivers/lightnvm/pblk.h unsigned int nr_entries); nr_entries 908 drivers/lightnvm/pblk.h int pblk_rl_user_may_insert(struct pblk_rl *rl, int nr_entries); nr_entries 909 drivers/lightnvm/pblk.h void pblk_rl_inserted(struct pblk_rl *rl, int nr_entries); nr_entries 910 drivers/lightnvm/pblk.h void pblk_rl_user_in(struct pblk_rl *rl, int nr_entries); nr_entries 911 drivers/lightnvm/pblk.h int pblk_rl_gc_may_insert(struct pblk_rl *rl, int nr_entries); nr_entries 912 drivers/lightnvm/pblk.h void pblk_rl_gc_in(struct pblk_rl *rl, int nr_entries); nr_entries 115 drivers/md/dm-cache-policy-internal.h static inline size_t bitset_size_in_bytes(unsigned nr_entries) nr_entries 117 drivers/md/dm-cache-policy-internal.h return sizeof(unsigned long) * dm_div_up(nr_entries, BITS_PER_LONG); nr_entries 120 drivers/md/dm-cache-policy-internal.h static inline unsigned long *alloc_bitset(unsigned nr_entries) nr_entries 122 drivers/md/dm-cache-policy-internal.h size_t s = bitset_size_in_bytes(nr_entries); nr_entries 126 drivers/md/dm-cache-policy-internal.h static inline void clear_bitset(void *bitset, unsigned nr_entries) nr_entries 128 drivers/md/dm-cache-policy-internal.h size_t s = bitset_size_in_bytes(nr_entries); nr_entries 65 drivers/md/dm-cache-policy-smq.c static int space_init(struct entry_space *es, unsigned nr_entries) nr_entries 67 drivers/md/dm-cache-policy-smq.c if (!nr_entries) { nr_entries 72 drivers/md/dm-cache-policy-smq.c es->begin = vzalloc(array_size(nr_entries, sizeof(struct entry))); nr_entries 76 drivers/md/dm-cache-policy-smq.c es->end = es->begin + nr_entries; nr_entries 583 drivers/md/dm-cache-policy-smq.c static int h_init(struct smq_hash_table *ht, struct entry_space *es, unsigned nr_entries) nr_entries 588 drivers/md/dm-cache-policy-smq.c nr_buckets = roundup_pow_of_two(max(nr_entries / 4u, 16u)); nr_entries 84 drivers/md/dm-log-writes.c __le64 nr_entries; nr_entries 429 drivers/md/dm-log-writes.c super.nr_entries = cpu_to_le64(lc->logged_entries); nr_entries 26 drivers/md/persistent-data/dm-array.c __le32 nr_entries; nr_entries 113 drivers/md/persistent-data/dm-array.c unsigned i, nr_entries = le32_to_cpu(ab->nr_entries); nr_entries 115 drivers/md/persistent-data/dm-array.c for (i = 0; i < nr_entries; i++) nr_entries 164 drivers/md/persistent-data/dm-array.c (*ab)->nr_entries = cpu_to_le32(0); nr_entries 179 drivers/md/persistent-data/dm-array.c uint32_t nr_entries; nr_entries 183 drivers/md/persistent-data/dm-array.c BUG_ON(new_nr < le32_to_cpu(ab->nr_entries)); nr_entries 185 drivers/md/persistent-data/dm-array.c nr_entries = le32_to_cpu(ab->nr_entries); nr_entries 186 drivers/md/persistent-data/dm-array.c for (i = nr_entries; i < new_nr; i++) { nr_entries 191 drivers/md/persistent-data/dm-array.c ab->nr_entries = cpu_to_le32(new_nr); nr_entries 203 drivers/md/persistent-data/dm-array.c uint32_t nr_entries; nr_entries 207 drivers/md/persistent-data/dm-array.c BUG_ON(new_nr > le32_to_cpu(ab->nr_entries)); nr_entries 209 drivers/md/persistent-data/dm-array.c nr_entries = le32_to_cpu(ab->nr_entries); nr_entries 210 drivers/md/persistent-data/dm-array.c for (i = nr_entries; i > new_nr; i--) nr_entries 213 drivers/md/persistent-data/dm-array.c ab->nr_entries = cpu_to_le32(new_nr); nr_entries 705 drivers/md/persistent-data/dm-array.c BUG_ON(le32_to_cpu(ab->nr_entries)); nr_entries 717 drivers/md/persistent-data/dm-array.c ab->nr_entries = cpu_to_le32(new_nr); nr_entries 785 drivers/md/persistent-data/dm-array.c if (entry >= le32_to_cpu(ab->nr_entries)) nr_entries 817 drivers/md/persistent-data/dm-array.c if (entry >= le32_to_cpu(ab->nr_entries)) { nr_entries 862 drivers/md/persistent-data/dm-array.c unsigned nr_entries, max_entries; nr_entries 872 drivers/md/persistent-data/dm-array.c nr_entries = le32_to_cpu(ab->nr_entries); nr_entries 873 drivers/md/persistent-data/dm-array.c for (i = 0; i < nr_entries; i++) { nr_entries 965 drivers/md/persistent-data/dm-array.c if (c->index >= le32_to_cpu(c->ab->nr_entries)) { nr_entries 984 drivers/md/persistent-data/dm-array.c uint32_t remaining = le32_to_cpu(c->ab->nr_entries) - c->index; nr_entries 230 drivers/md/persistent-data/dm-bitset.c dm_block_t root, uint32_t nr_entries, nr_entries 236 drivers/md/persistent-data/dm-bitset.c if (!nr_entries) nr_entries 240 drivers/md/persistent-data/dm-bitset.c c->entries_remaining = nr_entries; nr_entries 195 drivers/md/persistent-data/dm-bitset.h dm_block_t root, uint32_t nr_entries, nr_entries 39 drivers/md/persistent-data/dm-block-manager.c unsigned int nr_entries; nr_entries 86 drivers/md/persistent-data/dm-block-manager.c t->nr_entries = stack_trace_save(t->entries, MAX_STACK, 2); nr_entries 108 drivers/md/persistent-data/dm-block-manager.c lock->traces[i].nr_entries, 4); nr_entries 33 drivers/md/persistent-data/dm-btree-internal.h __le32 nr_entries; nr_entries 58 drivers/md/persistent-data/dm-btree-remove.c uint32_t nr_entries = le32_to_cpu(n->header.nr_entries); nr_entries 63 drivers/md/persistent-data/dm-btree-remove.c BUG_ON(shift > nr_entries); nr_entries 67 drivers/md/persistent-data/dm-btree-remove.c (nr_entries - shift) * sizeof(__le64)); nr_entries 70 drivers/md/persistent-data/dm-btree-remove.c (nr_entries - shift) * value_size); nr_entries 72 drivers/md/persistent-data/dm-btree-remove.c BUG_ON(nr_entries + shift > le32_to_cpu(n->header.max_entries)); nr_entries 75 drivers/md/persistent-data/dm-btree-remove.c nr_entries * sizeof(__le64)); nr_entries 78 drivers/md/persistent-data/dm-btree-remove.c nr_entries * value_size); nr_entries 84 drivers/md/persistent-data/dm-btree-remove.c uint32_t nr_left = le32_to_cpu(left->header.nr_entries); nr_entries 113 drivers/md/persistent-data/dm-btree-remove.c unsigned nr_entries = le32_to_cpu(n->header.nr_entries); nr_entries 114 drivers/md/persistent-data/dm-btree-remove.c unsigned nr_to_copy = nr_entries - (index + 1); nr_entries 116 drivers/md/persistent-data/dm-btree-remove.c BUG_ON(index >= nr_entries); nr_entries 128 drivers/md/persistent-data/dm-btree-remove.c n->header.nr_entries = cpu_to_le32(nr_entries - 1); nr_entries 175 drivers/md/persistent-data/dm-btree-remove.c uint32_t nr_left = le32_to_cpu(left->header.nr_entries); nr_entries 176 drivers/md/persistent-data/dm-btree-remove.c uint32_t nr_right = le32_to_cpu(right->header.nr_entries); nr_entries 195 drivers/md/persistent-data/dm-btree-remove.c left->header.nr_entries = cpu_to_le32(nr_left - count); nr_entries 196 drivers/md/persistent-data/dm-btree-remove.c right->header.nr_entries = cpu_to_le32(nr_right + count); nr_entries 204 drivers/md/persistent-data/dm-btree-remove.c uint32_t nr_left = le32_to_cpu(left->header.nr_entries); nr_entries 205 drivers/md/persistent-data/dm-btree-remove.c uint32_t nr_right = le32_to_cpu(right->header.nr_entries); nr_entries 219 drivers/md/persistent-data/dm-btree-remove.c left->header.nr_entries = cpu_to_le32(nr_left + nr_right); nr_entries 279 drivers/md/persistent-data/dm-btree-remove.c left->header.nr_entries = cpu_to_le32(nr_left + shift); nr_entries 286 drivers/md/persistent-data/dm-btree-remove.c right->header.nr_entries = cpu_to_le32(nr_right + shift); nr_entries 354 drivers/md/persistent-data/dm-btree-remove.c uint32_t nr_left = le32_to_cpu(left->header.nr_entries); nr_entries 355 drivers/md/persistent-data/dm-btree-remove.c uint32_t nr_center = le32_to_cpu(center->header.nr_entries); nr_entries 356 drivers/md/persistent-data/dm-btree-remove.c uint32_t nr_right = le32_to_cpu(right->header.nr_entries); nr_entries 416 drivers/md/persistent-data/dm-btree-remove.c if (le32_to_cpu(n->header.nr_entries) == 1) { nr_entries 437 drivers/md/persistent-data/dm-btree-remove.c has_right_sibling = i < (le32_to_cpu(n->header.nr_entries) - 1); nr_entries 456 drivers/md/persistent-data/dm-btree-remove.c (i >= le32_to_cpu(n->header.nr_entries)) || nr_entries 543 drivers/md/persistent-data/dm-btree-remove.c BUG_ON(index < 0 || index >= le32_to_cpu(n->header.nr_entries)); nr_entries 647 drivers/md/persistent-data/dm-btree-remove.c if (index >= le32_to_cpu(n->header.nr_entries)) { nr_entries 70 drivers/md/persistent-data/dm-btree-spine.c if (le32_to_cpu(h->nr_entries) > le32_to_cpu(h->max_entries)) { nr_entries 43 drivers/md/persistent-data/dm-btree.c int lo = -1, hi = le32_to_cpu(n->header.nr_entries); nr_entries 75 drivers/md/persistent-data/dm-btree.c uint32_t nr_entries = le32_to_cpu(n->header.nr_entries); nr_entries 78 drivers/md/persistent-data/dm-btree.c for (i = 0; i < nr_entries; i++) nr_entries 81 drivers/md/persistent-data/dm-btree.c for (i = 0; i < nr_entries; i++) nr_entries 89 drivers/md/persistent-data/dm-btree.c uint32_t nr_entries = le32_to_cpu(node->header.nr_entries); nr_entries 92 drivers/md/persistent-data/dm-btree.c if (index > nr_entries || nr_entries 101 drivers/md/persistent-data/dm-btree.c array_insert(node->keys, sizeof(*node->keys), nr_entries, index, &key_le); nr_entries 102 drivers/md/persistent-data/dm-btree.c array_insert(value_base(node), value_size, nr_entries, index, value); nr_entries 103 drivers/md/persistent-data/dm-btree.c node->header.nr_entries = cpu_to_le32(nr_entries + 1); nr_entries 144 drivers/md/persistent-data/dm-btree.c n->header.nr_entries = cpu_to_le32(0); nr_entries 241 drivers/md/persistent-data/dm-btree.c f->nr_children = le32_to_cpu(f->n->header.nr_entries); nr_entries 349 drivers/md/persistent-data/dm-btree.c uint32_t flags, nr_entries; nr_entries 359 drivers/md/persistent-data/dm-btree.c nr_entries = le32_to_cpu(ro_node(s)->header.nr_entries); nr_entries 360 drivers/md/persistent-data/dm-btree.c if (i < 0 || i >= nr_entries) nr_entries 423 drivers/md/persistent-data/dm-btree.c uint32_t flags, nr_entries; nr_entries 433 drivers/md/persistent-data/dm-btree.c nr_entries = le32_to_cpu(n->header.nr_entries); nr_entries 444 drivers/md/persistent-data/dm-btree.c if (i >= nr_entries) { nr_entries 450 drivers/md/persistent-data/dm-btree.c if (r == -ENODATA && i < (nr_entries - 1)) { nr_entries 457 drivers/md/persistent-data/dm-btree.c if (i < 0 || i >= nr_entries) { nr_entries 551 drivers/md/persistent-data/dm-btree.c nr_left = le32_to_cpu(ln->header.nr_entries) / 2; nr_entries 552 drivers/md/persistent-data/dm-btree.c nr_right = le32_to_cpu(ln->header.nr_entries) - nr_left; nr_entries 554 drivers/md/persistent-data/dm-btree.c ln->header.nr_entries = cpu_to_le32(nr_left); nr_entries 557 drivers/md/persistent-data/dm-btree.c rn->header.nr_entries = cpu_to_le32(nr_right); nr_entries 641 drivers/md/persistent-data/dm-btree.c nr_left = le32_to_cpu(pn->header.nr_entries) / 2; nr_entries 644 drivers/md/persistent-data/dm-btree.c ln->header.nr_entries = cpu_to_le32(nr_left); nr_entries 658 drivers/md/persistent-data/dm-btree.c nr_right = le32_to_cpu(pn->header.nr_entries) - nr_left; nr_entries 661 drivers/md/persistent-data/dm-btree.c rn->header.nr_entries = cpu_to_le32(nr_right); nr_entries 670 drivers/md/persistent-data/dm-btree.c pn->header.nr_entries = cpu_to_le32(2); nr_entries 721 drivers/md/persistent-data/dm-btree.c if (node->header.nr_entries == node->header.max_entries) { nr_entries 758 drivers/md/persistent-data/dm-btree.c return ((index >= le32_to_cpu(node->header.nr_entries)) || nr_entries 880 drivers/md/persistent-data/dm-btree.c i = le32_to_cpu(ro_node(s)->header.nr_entries); nr_entries 965 drivers/md/persistent-data/dm-btree.c nr = le32_to_cpu(n->header.nr_entries); nr_entries 1005 drivers/md/persistent-data/dm-btree.c nr = le32_to_cpu(bn->header.nr_entries); nr_entries 1062 drivers/md/persistent-data/dm-btree.c if (n->index < le32_to_cpu(bn->header.nr_entries)) nr_entries 1093 drivers/md/persistent-data/dm-btree.c if (!r && (le32_to_cpu(bn->header.nr_entries) == 0)) nr_entries 122 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c unsigned int entry_index, nr_entries; nr_entries 124 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c nr_entries = (info->end_index - info->start_index + 1) / nr_entries 126 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c entry_index = find_first_zero_bit(part->usage, nr_entries); nr_entries 127 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c if (entry_index == nr_entries) nr_entries 215 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c unsigned int nr_entries; nr_entries 227 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c nr_entries = div_u64(resource_size, info->alloc_size); nr_entries 228 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c usage_size = BITS_TO_LONGS(nr_entries) * sizeof(unsigned long); nr_entries 281 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c unsigned int nr_entries; nr_entries 285 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c nr_entries = (info->end_index - nr_entries 288 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c while ((bit = find_next_bit(part->usage, nr_entries, bit + 1)) nr_entries 289 drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c < nr_entries) nr_entries 714 drivers/pci/hotplug/pnv_php.c int nr_entries, ret; nr_entries 718 drivers/pci/hotplug/pnv_php.c nr_entries = pci_msix_vec_count(pdev); nr_entries 719 drivers/pci/hotplug/pnv_php.c if (nr_entries < 0) nr_entries 720 drivers/pci/hotplug/pnv_php.c return nr_entries; nr_entries 725 drivers/pci/hotplug/pnv_php.c if (entry.entry >= nr_entries) nr_entries 674 drivers/pci/msi.c static void __iomem *msix_map_region(struct pci_dev *dev, unsigned nr_entries) nr_entries 691 drivers/pci/msi.c return ioremap_nocache(phys_addr, nr_entries * PCI_MSIX_ENTRY_SIZE); nr_entries 973 drivers/pci/msi.c int nr_entries; nr_entries 979 drivers/pci/msi.c nr_entries = pci_msix_vec_count(dev); nr_entries 980 drivers/pci/msi.c if (nr_entries < 0) nr_entries 981 drivers/pci/msi.c return nr_entries; nr_entries 982 drivers/pci/msi.c if (nvec > nr_entries && !(flags & PCI_IRQ_VIRTUAL)) nr_entries 983 drivers/pci/msi.c return nr_entries; nr_entries 988 drivers/pci/msi.c if (entries[i].entry >= nr_entries) nr_entries 103 drivers/pci/pcie/portdrv_core.c int nr_entries, nvec, pcie_irq; nr_entries 107 drivers/pci/pcie/portdrv_core.c nr_entries = pci_alloc_irq_vectors(dev, 1, PCIE_PORT_MAX_MSI_ENTRIES, nr_entries 109 drivers/pci/pcie/portdrv_core.c if (nr_entries < 0) nr_entries 110 drivers/pci/pcie/portdrv_core.c return nr_entries; nr_entries 114 drivers/pci/pcie/portdrv_core.c if (nvec > nr_entries) { nr_entries 130 drivers/pci/pcie/portdrv_core.c if (nvec != nr_entries) { nr_entries 133 drivers/pci/pcie/portdrv_core.c nr_entries = pci_alloc_irq_vectors(dev, nvec, nvec, nr_entries 135 drivers/pci/pcie/portdrv_core.c if (nr_entries < 0) nr_entries 136 drivers/pci/pcie/portdrv_core.c return nr_entries; nr_entries 1791 drivers/scsi/sg.c md->nr_entries = req_schp->k_use_sg; nr_entries 629 drivers/scsi/st.c mdata->nr_entries = STp->buffer->sg_segs; nr_entries 633 drivers/scsi/st.c mdata->nr_entries = nr_entries 2252 fs/nfs/dir.c long nr_entries = atomic_long_read(&nfs_access_nr_entries); nr_entries 2256 fs/nfs/dir.c if (nr_entries < 0 || nr_entries <= nfs_access_max_cachesize) nr_entries 2259 fs/nfs/dir.c diff = nr_entries - nfs_access_max_cachesize; nr_entries 452 fs/proc/base.c unsigned int i, nr_entries; nr_entries 454 fs/proc/base.c nr_entries = stack_trace_save_tsk(task, entries, nr_entries 457 fs/proc/base.c for (i = 0; i < nr_entries; i++) { nr_entries 1169 fs/proc/proc_sysctl.c int nr_entries, name_bytes; nr_entries 1172 fs/proc/proc_sysctl.c nr_entries = 0; nr_entries 1174 fs/proc/proc_sysctl.c nr_entries++; nr_entries 1179 fs/proc/proc_sysctl.c sizeof(struct ctl_node)*nr_entries + nr_entries 1180 fs/proc/proc_sysctl.c sizeof(struct ctl_table)*(nr_entries + 1) + nr_entries 1188 fs/proc/proc_sysctl.c link_table = (struct ctl_table *)(node + nr_entries); nr_entries 1189 fs/proc/proc_sysctl.c link_name = (char *)&link_table[nr_entries + 1]; nr_entries 1200 fs/proc/proc_sysctl.c links->nreg = nr_entries; nr_entries 1326 fs/proc/proc_sysctl.c int nr_entries = 0; nr_entries 1329 fs/proc/proc_sysctl.c nr_entries++; nr_entries 1332 fs/proc/proc_sysctl.c sizeof(struct ctl_node)*nr_entries, GFP_KERNEL); nr_entries 454 fs/xfs/libxfs/xfs_iext_tree.c int *nr_entries) nr_entries 466 fs/xfs/libxfs/xfs_iext_tree.c *nr_entries = 0; nr_entries 482 fs/xfs/libxfs/xfs_iext_tree.c *nr_entries = nr_move; nr_entries 484 fs/xfs/libxfs/xfs_iext_tree.c *nr_entries = nr_keep; nr_entries 500 fs/xfs/libxfs/xfs_iext_tree.c int i, pos, nr_entries; nr_entries 509 fs/xfs/libxfs/xfs_iext_tree.c nr_entries = xfs_iext_node_nr_entries(node, pos); nr_entries 511 fs/xfs/libxfs/xfs_iext_tree.c ASSERT(pos >= nr_entries || xfs_iext_key_cmp(node, pos, offset) != 0); nr_entries 512 fs/xfs/libxfs/xfs_iext_tree.c ASSERT(nr_entries <= KEYS_PER_NODE); nr_entries 514 fs/xfs/libxfs/xfs_iext_tree.c if (nr_entries == KEYS_PER_NODE) nr_entries 515 fs/xfs/libxfs/xfs_iext_tree.c new = xfs_iext_split_node(&node, &pos, &nr_entries); nr_entries 521 fs/xfs/libxfs/xfs_iext_tree.c if (node != new && pos == 0 && nr_entries > 0) nr_entries 524 fs/xfs/libxfs/xfs_iext_tree.c for (i = nr_entries; i > pos; i--) { nr_entries 542 fs/xfs/libxfs/xfs_iext_tree.c int *nr_entries) nr_entries 554 fs/xfs/libxfs/xfs_iext_tree.c *nr_entries = 0; nr_entries 566 fs/xfs/libxfs/xfs_iext_tree.c *nr_entries = nr_move; nr_entries 568 fs/xfs/libxfs/xfs_iext_tree.c *nr_entries = nr_keep; nr_entries 634 fs/xfs/libxfs/xfs_iext_tree.c int nr_entries, i; nr_entries 643 fs/xfs/libxfs/xfs_iext_tree.c nr_entries = xfs_iext_leaf_nr_entries(ifp, cur->leaf, cur->pos); nr_entries 644 fs/xfs/libxfs/xfs_iext_tree.c ASSERT(nr_entries <= RECS_PER_LEAF); nr_entries 645 fs/xfs/libxfs/xfs_iext_tree.c ASSERT(cur->pos >= nr_entries || nr_entries 648 fs/xfs/libxfs/xfs_iext_tree.c if (nr_entries == RECS_PER_LEAF) nr_entries 649 fs/xfs/libxfs/xfs_iext_tree.c new = xfs_iext_split_leaf(cur, &nr_entries); nr_entries 655 fs/xfs/libxfs/xfs_iext_tree.c if (cur->leaf != new && cur->pos == 0 && nr_entries > 0) { nr_entries 660 fs/xfs/libxfs/xfs_iext_tree.c for (i = nr_entries; i > cur->pos; i--) nr_entries 676 fs/xfs/libxfs/xfs_iext_tree.c int nr_entries) nr_entries 683 fs/xfs/libxfs/xfs_iext_tree.c if (nr_entries == 0) nr_entries 690 fs/xfs/libxfs/xfs_iext_tree.c if (nr_prev + nr_entries <= KEYS_PER_NODE) { nr_entries 691 fs/xfs/libxfs/xfs_iext_tree.c for (i = 0; i < nr_entries; i++) { nr_entries 703 fs/xfs/libxfs/xfs_iext_tree.c if (nr_entries + nr_next <= KEYS_PER_NODE) { nr_entries 710 fs/xfs/libxfs/xfs_iext_tree.c node->keys[nr_entries + i] = next->keys[i]; nr_entries 711 fs/xfs/libxfs/xfs_iext_tree.c node->ptrs[nr_entries + i] = next->ptrs[i]; nr_entries 729 fs/xfs/libxfs/xfs_iext_tree.c int level = 2, pos, nr_entries, i; nr_entries 739 fs/xfs/libxfs/xfs_iext_tree.c nr_entries = xfs_iext_node_nr_entries(node, pos) - 1; nr_entries 741 fs/xfs/libxfs/xfs_iext_tree.c for (i = pos; i < nr_entries; i++) { nr_entries 745 fs/xfs/libxfs/xfs_iext_tree.c node->keys[nr_entries] = XFS_IEXT_KEY_INVALID; nr_entries 746 fs/xfs/libxfs/xfs_iext_tree.c node->ptrs[nr_entries] = NULL; nr_entries 748 fs/xfs/libxfs/xfs_iext_tree.c if (pos == 0 && nr_entries > 0) { nr_entries 753 fs/xfs/libxfs/xfs_iext_tree.c if (nr_entries >= KEYS_PER_NODE / 2) nr_entries 769 fs/xfs/libxfs/xfs_iext_tree.c node = xfs_iext_rebalance_node(parent, &pos, node, nr_entries); nr_entries 775 fs/xfs/libxfs/xfs_iext_tree.c } else if (nr_entries == 1) { nr_entries 793 fs/xfs/libxfs/xfs_iext_tree.c int nr_entries) nr_entries 800 fs/xfs/libxfs/xfs_iext_tree.c if (nr_entries == 0) nr_entries 806 fs/xfs/libxfs/xfs_iext_tree.c if (nr_prev + nr_entries <= RECS_PER_LEAF) { nr_entries 807 fs/xfs/libxfs/xfs_iext_tree.c for (i = 0; i < nr_entries; i++) nr_entries 821 fs/xfs/libxfs/xfs_iext_tree.c if (nr_entries + nr_next <= RECS_PER_LEAF) { nr_entries 828 fs/xfs/libxfs/xfs_iext_tree.c leaf->recs[nr_entries + i] = nr_entries 834 fs/xfs/libxfs/xfs_iext_tree.c cur->pos += nr_entries; nr_entries 870 fs/xfs/libxfs/xfs_iext_tree.c int i, nr_entries; nr_entries 880 fs/xfs/libxfs/xfs_iext_tree.c nr_entries = xfs_iext_leaf_nr_entries(ifp, leaf, cur->pos) - 1; nr_entries 881 fs/xfs/libxfs/xfs_iext_tree.c for (i = cur->pos; i < nr_entries; i++) nr_entries 883 fs/xfs/libxfs/xfs_iext_tree.c xfs_iext_rec_clear(&leaf->recs[nr_entries]); nr_entries 886 fs/xfs/libxfs/xfs_iext_tree.c if (cur->pos == 0 && nr_entries > 0) { nr_entries 890 fs/xfs/libxfs/xfs_iext_tree.c } else if (cur->pos == nr_entries) { nr_entries 898 fs/xfs/libxfs/xfs_iext_tree.c if (nr_entries >= RECS_PER_LEAF / 2) nr_entries 902 fs/xfs/libxfs/xfs_iext_tree.c xfs_iext_rebalance_leaf(ifp, cur, leaf, offset, nr_entries); nr_entries 903 fs/xfs/libxfs/xfs_iext_tree.c else if (nr_entries == 0) nr_entries 602 fs/xfs/scrub/agheader.c unsigned int nr_entries; nr_entries 634 fs/xfs/scrub/agheader.c sai->nr_entries < sai->sz_entries) nr_entries 635 fs/xfs/scrub/agheader.c sai->entries[sai->nr_entries++] = agbno; nr_entries 740 fs/xfs/scrub/agheader.c if (agflcount != sai.nr_entries) { nr_entries 746 fs/xfs/scrub/agheader.c sort(sai.entries, sai.nr_entries, sizeof(sai.entries[0]), nr_entries 748 fs/xfs/scrub/agheader.c for (i = 1; i < sai.nr_entries; i++) { nr_entries 807 include/linux/blkdev.h int nr_entries; nr_entries 349 include/linux/pagemap.h unsigned int nr_entries, struct page **entries, nr_entries 30 include/linux/pagevec.h pgoff_t start, unsigned nr_entries, nr_entries 17 include/linux/stackdepot.h unsigned int nr_entries, gfp_t gfp_flags); nr_entries 12 include/linux/stacktrace.h void stack_trace_print(const unsigned long *trace, unsigned int nr_entries, nr_entries 15 include/linux/stacktrace.h unsigned int nr_entries, int spaces); nr_entries 65 include/linux/stacktrace.h unsigned int nr_entries, max_entries; nr_entries 189 include/uapi/linux/virtio_gpu.h __le32 nr_entries; nr_entries 229 include/xen/interface/memory.h unsigned int nr_entries; nr_entries 48 kernel/backtracetest.c unsigned int nr_entries; nr_entries 53 kernel/backtracetest.c nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 0); nr_entries 54 kernel/backtracetest.c stack_trace_print(entries, nr_entries, 0); nr_entries 194 kernel/livepatch/transition.c unsigned int nr_entries) nr_entries 200 kernel/livepatch/transition.c for (i = 0; i < nr_entries; i++) { nr_entries 247 kernel/livepatch/transition.c int ret, nr_entries; nr_entries 256 kernel/livepatch/transition.c nr_entries = ret; nr_entries 262 kernel/livepatch/transition.c ret = klp_check_stack_func(func, entries, nr_entries); nr_entries 462 kernel/locking/lockdep.c u32 nr_entries; nr_entries 475 kernel/locking/lockdep.c return t1->hash == t2->hash && t1->nr_entries == t2->nr_entries && nr_entries 477 kernel/locking/lockdep.c t1->nr_entries * sizeof(t1->entries[0])) == 0; nr_entries 503 kernel/locking/lockdep.c trace->nr_entries = stack_trace_save(trace->entries, max_entries, 3); nr_entries 505 kernel/locking/lockdep.c hash = jhash(trace->entries, trace->nr_entries * nr_entries 513 kernel/locking/lockdep.c nr_stack_trace_entries += LOCK_TRACE_SIZE_IN_LONGS + trace->nr_entries; nr_entries 1543 kernel/locking/lockdep.c stack_trace_print(trace->entries, trace->nr_entries, spaces); nr_entries 23 kernel/stacktrace.c void stack_trace_print(const unsigned long *entries, unsigned int nr_entries, nr_entries 31 kernel/stacktrace.c for (i = 0; i < nr_entries; i++) nr_entries 47 kernel/stacktrace.c unsigned int nr_entries, int spaces) nr_entries 54 kernel/stacktrace.c for (i = 0; i < nr_entries && size; i++) { nr_entries 282 kernel/stacktrace.c return trace.nr_entries; nr_entries 307 kernel/stacktrace.c return trace.nr_entries; nr_entries 329 kernel/stacktrace.c return trace.nr_entries; nr_entries 354 kernel/stacktrace.c return ret ? ret : trace.nr_entries; nr_entries 374 kernel/stacktrace.c return trace.nr_entries; nr_entries 2810 kernel/trace/trace.c unsigned int size, nr_entries; nr_entries 2851 kernel/trace/trace.c nr_entries = stack_trace_save_regs(regs, fstack->calls, nr_entries 2854 kernel/trace/trace.c nr_entries = stack_trace_save(fstack->calls, size, skip); nr_entries 2857 kernel/trace/trace.c size = nr_entries * sizeof(unsigned long); nr_entries 2865 kernel/trace/trace.c entry->size = nr_entries; nr_entries 71 lib/fault-inject.c int n, nr_entries; nr_entries 77 lib/fault-inject.c nr_entries = stack_trace_save(entries, depth, 1); nr_entries 78 lib/fault-inject.c for (n = 0; n < nr_entries; n++) { nr_entries 224 lib/stackdepot.c unsigned int nr_entries, nr_entries 234 lib/stackdepot.c if (unlikely(nr_entries == 0)) nr_entries 237 lib/stackdepot.c hash = hash_stack(entries, nr_entries); nr_entries 246 lib/stackdepot.c nr_entries, hash); nr_entries 274 lib/stackdepot.c found = find_stack(*bucket, entries, nr_entries, hash); nr_entries 277 lib/stackdepot.c depot_alloc_stack(entries, nr_entries, nr_entries 1725 mm/filemap.c pgoff_t start, unsigned int nr_entries, nr_entries 1732 mm/filemap.c if (!nr_entries) nr_entries 1758 mm/filemap.c if (++ret == nr_entries) nr_entries 51 mm/kasan/common.c unsigned int nr_entries) nr_entries 55 mm/kasan/common.c for (i = 0; i < nr_entries; i++) { nr_entries 61 mm/kasan/common.c return nr_entries; nr_entries 67 mm/kasan/common.c unsigned int nr_entries; nr_entries 69 mm/kasan/common.c nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 0); nr_entries 70 mm/kasan/common.c nr_entries = filter_irq_stacks(entries, nr_entries); nr_entries 71 mm/kasan/common.c return stack_depot_save(entries, nr_entries, flags); nr_entries 105 mm/kasan/report.c unsigned int nr_entries; nr_entries 107 mm/kasan/report.c nr_entries = stack_depot_fetch(track->stack, &entries); nr_entries 108 mm/kasan/report.c stack_trace_print(entries, nr_entries, 0); nr_entries 7035 mm/memcontrol.c unsigned int nr_entries; nr_entries 7056 mm/memcontrol.c nr_entries = hpage_nr_pages(page); nr_entries 7058 mm/memcontrol.c if (nr_entries > 1) nr_entries 7059 mm/memcontrol.c mem_cgroup_id_get_many(swap_memcg, nr_entries - 1); nr_entries 7061 mm/memcontrol.c nr_entries); nr_entries 7063 mm/memcontrol.c mod_memcg_state(swap_memcg, MEMCG_SWAP, nr_entries); nr_entries 7068 mm/memcontrol.c page_counter_uncharge(&memcg->memory, nr_entries); nr_entries 7072 mm/memcontrol.c page_counter_charge(&swap_memcg->memsw, nr_entries); nr_entries 7073 mm/memcontrol.c page_counter_uncharge(&memcg->memsw, nr_entries); nr_entries 7084 mm/memcontrol.c -nr_entries); nr_entries 7088 mm/memcontrol.c css_put_many(&memcg->css, nr_entries); nr_entries 59 mm/page_owner.c unsigned int nr_entries; nr_entries 61 mm/page_owner.c nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 0); nr_entries 62 mm/page_owner.c return stack_depot_save(entries, nr_entries, GFP_KERNEL); nr_entries 104 mm/page_owner.c unsigned int nr_entries, nr_entries 109 mm/page_owner.c for (i = 0; i < nr_entries; i++) { nr_entries 120 mm/page_owner.c unsigned int nr_entries; nr_entries 122 mm/page_owner.c nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 2); nr_entries 132 mm/page_owner.c if (check_recursive_alloc(entries, nr_entries, _RET_IP_)) nr_entries 135 mm/page_owner.c handle = stack_depot_save(entries, nr_entries, flags); nr_entries 344 mm/page_owner.c unsigned int nr_entries; nr_entries 374 mm/page_owner.c nr_entries = stack_depot_fetch(handle, &entries); nr_entries 375 mm/page_owner.c ret += stack_trace_snprint(kbuf + ret, count - ret, entries, nr_entries, 0); nr_entries 408 mm/page_owner.c unsigned int nr_entries; nr_entries 438 mm/page_owner.c nr_entries = stack_depot_fetch(handle, &entries); nr_entries 439 mm/page_owner.c stack_trace_print(entries, nr_entries, 0); nr_entries 446 mm/page_owner.c nr_entries = stack_depot_fetch(handle, &entries); nr_entries 448 mm/page_owner.c stack_trace_print(entries, nr_entries, 0); nr_entries 1122 mm/shmem.c pgoff_t start, unsigned int nr_entries, nr_entries 1131 mm/shmem.c if (!nr_entries) nr_entries 1156 mm/shmem.c if (++ret == nr_entries) nr_entries 1212 mm/shmem.c unsigned int nr_entries = PAGEVEC_SIZE; nr_entries 1215 mm/shmem.c nr_entries = *fs_pages_to_unuse; nr_entries 1217 mm/shmem.c pvec.nr = shmem_find_swap_entries(mapping, start, nr_entries, nr_entries 556 mm/slub.c unsigned int nr_entries; nr_entries 559 mm/slub.c nr_entries = stack_trace_save(p->addrs, TRACK_ADDRS_COUNT, 3); nr_entries 562 mm/slub.c if (nr_entries < TRACK_ADDRS_COUNT) nr_entries 563 mm/slub.c p->addrs[nr_entries] = 0; nr_entries 992 mm/swap.c pgoff_t start, unsigned nr_entries, nr_entries 995 mm/swap.c pvec->nr = find_get_entries(mapping, start, nr_entries, nr_entries 674 mm/swapfile.c unsigned int nr_entries) nr_entries 676 mm/swapfile.c unsigned int end = offset + nr_entries - 1; nr_entries 679 mm/swapfile.c si->lowest_bit += nr_entries; nr_entries 681 mm/swapfile.c si->highest_bit -= nr_entries; nr_entries 682 mm/swapfile.c si->inuse_pages += nr_entries; nr_entries 703 mm/swapfile.c unsigned int nr_entries) nr_entries 705 mm/swapfile.c unsigned long end = offset + nr_entries - 1; nr_entries 717 mm/swapfile.c atomic_long_add(nr_entries, &nr_swap_pages); nr_entries 718 mm/swapfile.c si->inuse_pages -= nr_entries; nr_entries 1259 scripts/asn1_compiler.c static int nr_entries; nr_entries 1269 scripts/asn1_compiler.c fprintf(out, "\t[%4d] =%*s", nr_entries, render_depth, ""); nr_entries 1274 scripts/asn1_compiler.c nr_entries++; nr_entries 1358 scripts/asn1_compiler.c nr_entries = 0; nr_entries 1373 scripts/asn1_compiler.c nr_entries = 0; nr_entries 1404 scripts/asn1_compiler.c e->entry_index = entry = nr_entries; nr_entries 1574 scripts/asn1_compiler.c entry = nr_entries; nr_entries 8 tools/include/linux/stacktrace.h unsigned int nr_entries, max_entries; nr_entries 15 tools/include/linux/stacktrace.h backtrace_symbols_fd((void **)trace->entries, trace->nr_entries, 1); nr_entries 19 tools/include/linux/stacktrace.h ((trace)->nr_entries = \ nr_entries 64 tools/objtool/orc_dump.c int fd, nr_entries, i, *orc_ip = NULL, orc_size = 0; nr_entries 151 tools/objtool/orc_dump.c nr_entries = orc_size / sizeof(*orc); nr_entries 152 tools/objtool/orc_dump.c for (i = 0; i < nr_entries; i++) { nr_entries 163 tools/objtool/special.c unsigned int nr_entries; nr_entries 180 tools/objtool/special.c nr_entries = sec->len / entry->size; nr_entries 182 tools/objtool/special.c for (idx = 0; idx < nr_entries; idx++) { nr_entries 95 tools/perf/arch/s390/util/auxtrace.c if (evlist->core.nr_entries == 0) nr_entries 264 tools/perf/builtin-c2c.c struct c2c_stats stats = { .nr_entries = 0, }; nr_entries 2135 tools/perf/builtin-c2c.c fprintf(out, " Total records : %10d\n", stats->nr_entries); nr_entries 2300 tools/perf/builtin-c2c.c u64 nr_entries = 0; nr_entries 2307 tools/perf/builtin-c2c.c nr_entries++; nr_entries 2312 tools/perf/builtin-c2c.c hb->nr_non_filtered_entries = nr_entries; nr_entries 2851 tools/perf/builtin-c2c.c ui_progress__init(&prog, c2c.hists.hists.nr_entries, "Sorting..."); nr_entries 1408 tools/perf/builtin-record.c if (data->is_pipe && rec->evlist->core.nr_entries == 1) nr_entries 2413 tools/perf/builtin-record.c if (rec->evlist->core.nr_entries == 0 && nr_entries 97 tools/perf/builtin-report.c u64 nr_entries; nr_entries 612 tools/perf/builtin-report.c ui_progress__init(&prog, rep->nr_entries, "Merging related events..."); nr_entries 660 tools/perf/builtin-report.c ui_progress__init(&prog, rep->nr_entries, "Sorting events for output..."); nr_entries 889 tools/perf/builtin-report.c rep->nr_entries += evsel__hists(pos)->nr_entries; nr_entries 918 tools/perf/builtin-report.c rep->nr_entries = 0; nr_entries 920 tools/perf/builtin-report.c rep->nr_entries += evsel__hists(pos)->nr_entries; nr_entries 922 tools/perf/builtin-report.c if (rep->nr_entries == 0) { nr_entries 1361 tools/perf/builtin-stat.c if (!evsel_list->core.nr_entries) { nr_entries 1678 tools/perf/builtin-stat.c if (evsel_list->core.nr_entries) nr_entries 137 tools/perf/builtin-top.c if (!symbol__hists(sym, top->evlist->core.nr_entries)) { nr_entries 442 tools/perf/builtin-top.c if (top->evlist->core.nr_entries > 1) nr_entries 477 tools/perf/builtin-top.c return top->evlist->core.nr_entries > 1 ? 1 : 0; nr_entries 523 tools/perf/builtin-top.c if (top->evlist->core.nr_entries > 1) { nr_entries 534 tools/perf/builtin-top.c if (counter >= top->evlist->core.nr_entries) { nr_entries 1568 tools/perf/builtin-top.c if (!top.evlist->core.nr_entries && nr_entries 399 tools/perf/builtin-trace.c if (idx < 0 || idx >= sa->nr_entries || sa->entries[idx] == NULL) { nr_entries 434 tools/perf/builtin-trace.c for (i = 0; i < sas->nr_entries; ++i) { nr_entries 438 tools/perf/builtin-trace.c if (idx >= 0 && idx < sa->nr_entries) { nr_entries 2905 tools/perf/builtin-trace.c for (key = 0; key < trace->sctbl->syscalls.nr_entries; ++key) { nr_entries 2943 tools/perf/builtin-trace.c for (id = 0; id < trace->sctbl->syscalls.nr_entries; ++id) { nr_entries 3021 tools/perf/builtin-trace.c for (key = 0; key < trace->sctbl->syscalls.nr_entries; ++key) { nr_entries 3068 tools/perf/builtin-trace.c for (key = 0; key < trace->sctbl->syscalls.nr_entries; ++key) { nr_entries 4289 tools/perf/builtin-trace.c if (trace.evlist->core.nr_entries > 0) { nr_entries 4387 tools/perf/builtin-trace.c trace.evlist->core.nr_entries == 0 /* Was --events used? */) { nr_entries 29 tools/perf/lib/evlist.c evlist->nr_entries = 0; nr_entries 63 tools/perf/lib/evlist.c evlist->nr_entries += 1; nr_entries 71 tools/perf/lib/evlist.c evlist->nr_entries -= 1; nr_entries 17 tools/perf/lib/include/internal/evlist.h int nr_entries; nr_entries 155 tools/perf/tests/hists_filter.c hists->nr_entries == 9); nr_entries 162 tools/perf/tests/hists_filter.c hists->nr_entries == hists->nr_non_filtered_entries); nr_entries 180 tools/perf/tests/hists_filter.c hists->nr_entries == 9); nr_entries 209 tools/perf/tests/hists_filter.c hists->nr_entries == 9); nr_entries 244 tools/perf/tests/hists_filter.c hists->nr_entries == 9); nr_entries 273 tools/perf/tests/hists_filter.c hists->nr_entries == 9); nr_entries 304 tools/perf/tests/hists_filter.c hists->nr_entries == 9); nr_entries 51 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 64 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", evlist->core.nr_entries > 1); nr_entries 82 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 92 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 102 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 113 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 134 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 145 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 155 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 169 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 182 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 197 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 212 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 240 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", evlist->core.nr_entries > 1); nr_entries 440 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 458 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 3 == evlist->core.nr_entries); nr_entries 498 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); nr_entries 505 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); nr_entries 519 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); nr_entries 551 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 570 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); nr_entries 581 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); nr_entries 641 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); nr_entries 683 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 3 == evlist->core.nr_entries); nr_entries 738 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 5 == evlist->core.nr_entries); nr_entries 830 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); nr_entries 874 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 5 == evlist->core.nr_entries); nr_entries 960 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); nr_entries 1000 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); nr_entries 1040 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); nr_entries 1080 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); nr_entries 1120 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 3 == evlist->core.nr_entries); nr_entries 1173 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); nr_entries 1225 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 3 == evlist->core.nr_entries); nr_entries 1256 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 1271 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); nr_entries 1299 tools/perf/tests/parse-events.c TEST_ASSERT_VAL("wrong number of entries", 2 == evlist->core.nr_entries); nr_entries 1428 tools/perf/tests/parse-events.c count_tracepoints() == evlist->core.nr_entries); nr_entries 11 tools/perf/trace/beauty/beauty.h int nr_entries; nr_entries 17 tools/perf/trace/beauty/beauty.h .nr_entries = ARRAY_SIZE(array), \ nr_entries 24 tools/perf/trace/beauty/beauty.h .nr_entries = ARRAY_SIZE(array), \ nr_entries 43 tools/perf/trace/beauty/beauty.h int nr_entries; nr_entries 48 tools/perf/trace/beauty/beauty.h .nr_entries = ARRAY_SIZE(array), \ nr_entries 41 tools/perf/trace/beauty/ioctl.c if (nr < strarray__ioctl_tty_cmd.nr_entries && strarray__ioctl_tty_cmd.entries[nr] != NULL) nr_entries 52 tools/perf/trace/beauty/ioctl.c if (nr < strarray__drm_ioctl_cmds.nr_entries && strarray__drm_ioctl_cmds.entries[nr] != NULL) nr_entries 63 tools/perf/trace/beauty/ioctl.c if (nr < strarray__sndrv_pcm_ioctl_cmds.nr_entries && strarray__sndrv_pcm_ioctl_cmds.entries[nr] != NULL) nr_entries 74 tools/perf/trace/beauty/ioctl.c if (nr < strarray__sndrv_ctl_ioctl_cmds.nr_entries && strarray__sndrv_ctl_ioctl_cmds.entries[nr] != NULL) nr_entries 85 tools/perf/trace/beauty/ioctl.c if (nr < strarray__kvm_ioctl_cmds.nr_entries && strarray__kvm_ioctl_cmds.entries[nr] != NULL) nr_entries 98 tools/perf/trace/beauty/ioctl.c if (nr < s->nr_entries && s->entries[nr] != NULL) nr_entries 109 tools/perf/trace/beauty/ioctl.c if (nr < strarray__perf_ioctl_cmds.nr_entries && strarray__perf_ioctl_cmds.entries[nr] != NULL) nr_entries 120 tools/perf/trace/beauty/ioctl.c if (nr < strarray__usbdevfs_ioctl_cmds.nr_entries && strarray__usbdevfs_ioctl_cmds.entries[nr] != NULL) nr_entries 87 tools/perf/trace/beauty/mmap.c if (behavior < strarray__madvise_advices.nr_entries && strarray__madvise_advices.entries[behavior] != NULL) nr_entries 23 tools/perf/trace/beauty/pkey_alloc.c for (i = 1; i < sa->nr_entries; ++i) { nr_entries 108 tools/perf/ui/browser.c if (browser->nr_entries == 0) nr_entries 316 tools/perf/ui/browser.c if (browser->nr_entries > 1) { nr_entries 318 tools/perf/ui/browser.c (browser->nr_entries - 1)); nr_entries 348 tools/perf/ui/browser.c if (browser->nr_entries == 0 && browser->no_samples_msg) nr_entries 368 tools/perf/ui/browser.c void ui_browser__update_nr_entries(struct ui_browser *browser, u32 nr_entries) nr_entries 370 tools/perf/ui/browser.c off_t offset = nr_entries - browser->nr_entries; nr_entries 372 tools/perf/ui/browser.c browser->nr_entries = nr_entries; nr_entries 424 tools/perf/ui/browser.c if (browser->index == browser->nr_entries - 1) nr_entries 455 tools/perf/ui/browser.c if (browser->top_idx + browser->rows > browser->nr_entries - 1) nr_entries 459 tools/perf/ui/browser.c if (browser->index + offset > browser->nr_entries - 1) nr_entries 460 tools/perf/ui/browser.c offset = browser->nr_entries - 1 - browser->index; nr_entries 483 tools/perf/ui/browser.c if (offset >= browser->nr_entries) nr_entries 484 tools/perf/ui/browser.c offset = browser->nr_entries - 1; nr_entries 486 tools/perf/ui/browser.c browser->index = browser->nr_entries - 1; nr_entries 618 tools/perf/ui/browser.c browser->top = (char **)browser->entries + browser->nr_entries - 1 + offset; nr_entries 623 tools/perf/ui/browser.c assert((char **)browser->top < (char **)browser->entries + browser->nr_entries); nr_entries 636 tools/perf/ui/browser.c while (idx < browser->nr_entries && nr_entries 638 tools/perf/ui/browser.c assert(pos < (char **)browser->entries + browser->nr_entries); nr_entries 32 tools/perf/ui/browser.h u32 nr_entries; nr_entries 62 tools/perf/ui/browser.h void ui_browser__update_nr_entries(struct ui_browser *browser, u32 nr_entries); nr_entries 359 tools/perf/ui/browsers/annotate.c browser->b.nr_entries = notes->nr_entries; nr_entries 374 tools/perf/ui/browsers/annotate.c browser->b.nr_entries = notes->nr_asm_entries; nr_entries 388 tools/perf/ui/browsers/annotate.c browser->nr_entries = notes->nr_asm_entries; nr_entries 426 tools/perf/ui/browsers/annotate.c if (!symbol__hists(dl->ops.target.sym, evsel->evlist->core.nr_entries)) { nr_entries 803 tools/perf/ui/browsers/annotate.c seq++, browser->b.nr_entries, nr_entries 932 tools/perf/ui/browsers/annotate.c browser.b.nr_entries = notes->nr_entries; nr_entries 89 tools/perf/ui/browsers/header.c .nr_entries = argc, nr_entries 87 tools/perf/ui/browsers/hists.c u32 nr_entries; nr_entries 90 tools/perf/ui/browsers/hists.c nr_entries = hb->nr_hierarchy_entries; nr_entries 92 tools/perf/ui/browsers/hists.c nr_entries = hb->nr_non_filtered_entries; nr_entries 94 tools/perf/ui/browsers/hists.c nr_entries = hb->hists->nr_entries; nr_entries 97 tools/perf/ui/browsers/hists.c return nr_entries + hb->nr_callchain_rows; nr_entries 148 tools/perf/ui/browsers/hists.c browser->b.nr_entries = hist_browser__nr_entries(browser); nr_entries 412 tools/perf/ui/browsers/hists.c browser->b.nr_entries -= he->nr_rows; nr_entries 431 tools/perf/ui/browsers/hists.c browser->b.nr_entries += child_rows - he->nr_rows; nr_entries 439 tools/perf/ui/browsers/hists.c browser->b.nr_entries -= child_rows - he->nr_rows; nr_entries 447 tools/perf/ui/browsers/hists.c browser->b.nr_entries += he->nr_rows; nr_entries 598 tools/perf/ui/browsers/hists.c browser->b.nr_entries = hist_browser__nr_entries(browser); nr_entries 609 tools/perf/ui/browsers/hists.c browser->b.nr_entries = hist_browser__nr_entries(browser); nr_entries 635 tools/perf/ui/browsers/hists.c browser->b.nr_entries = hist_browser__nr_entries(browser); nr_entries 647 tools/perf/ui/browsers/hists.c u64 nr_entries; nr_entries 658 tools/perf/ui/browsers/hists.c nr_entries = hist_browser__nr_entries(browser); nr_entries 659 tools/perf/ui/browsers/hists.c ui_browser__update_nr_entries(&browser->b, nr_entries); nr_entries 679 tools/perf/ui/browsers/hists.c seq++, browser->b.nr_entries, nr_entries 680 tools/perf/ui/browsers/hists.c browser->hists->nr_entries, nr_entries 1860 tools/perf/ui/browsers/hists.c if (browser->nr_entries == 0) nr_entries 2394 tools/perf/ui/browsers/hists.c ui_browser__update_nr_entries(&browser->b, browser->hists->nr_entries); nr_entries 2764 tools/perf/ui/browsers/hists.c u64 nr_entries = 0; nr_entries 2773 tools/perf/ui/browsers/hists.c nr_entries++; nr_entries 2777 tools/perf/ui/browsers/hists.c hb->nr_non_filtered_entries = nr_entries; nr_entries 2778 tools/perf/ui/browsers/hists.c hb->nr_hierarchy_entries = nr_entries; nr_entries 3373 tools/perf/ui/browsers/hists.c int nr_entries, const char *help, nr_entries 3388 tools/perf/ui/browsers/hists.c .nr_entries = nr_entries, nr_entries 3406 tools/perf/ui/browsers/hists.c return perf_evsel_menu__run(&menu, nr_entries, help, nr_entries 3417 tools/perf/ui/browsers/hists.c int nr_entries = evlist->core.nr_entries; nr_entries 3420 tools/perf/ui/browsers/hists.c if (nr_entries == 1) { nr_entries 3423 tools/perf/ui/browsers/hists.c return perf_evsel__hists_browse(first, nr_entries, help, nr_entries 3432 tools/perf/ui/browsers/hists.c nr_entries = 0; nr_entries 3435 tools/perf/ui/browsers/hists.c nr_entries++; nr_entries 3438 tools/perf/ui/browsers/hists.c if (nr_entries == 1) nr_entries 3442 tools/perf/ui/browsers/hists.c return __perf_evlist__tui_browse_hists(evlist, nr_entries, help, nr_entries 127 tools/perf/ui/browsers/map.c *idx = mb.b.nr_entries; nr_entries 129 tools/perf/ui/browsers/map.c ++mb.b.nr_entries; nr_entries 544 tools/perf/ui/stdio/hist.c for (unsigned int i = 0; i < bh->block_hists.nr_entries; i++) { nr_entries 65 tools/perf/ui/tui/util.c .nr_entries = argc, nr_entries 945 tools/perf/util/annotate.c src = symbol__hists(sym, evsel->evlist->core.nr_entries); nr_entries 2576 tools/perf/util/annotate.c al->idx = notes->nr_entries++; nr_entries 283 tools/perf/util/annotate.h int nr_entries; nr_entries 134 tools/perf/util/evlist.c evlist->core.nr_entries = 0; nr_entries 163 tools/perf/util/evlist.c entry->idx = evlist->core.nr_entries; nr_entries 168 tools/perf/util/evlist.c if (evlist->core.nr_entries == 1) nr_entries 205 tools/perf/util/evlist.c if (evlist->core.nr_entries) { nr_entries 206 tools/perf/util/evlist.c evlist->nr_groups = evlist->core.nr_entries > 1 ? 1 : 0; nr_entries 229 tools/perf/util/evlist.c struct evsel *evsel = perf_evsel__new_idx(&attr, evlist->core.nr_entries); nr_entries 246 tools/perf/util/evlist.c evsel = perf_evsel__new_idx(attrs + i, evlist->core.nr_entries + i); nr_entries 462 tools/perf/util/evlist.c if (evlist->core.nr_entries == 1 || !id) nr_entries 520 tools/perf/util/evlist.c if (evlist->core.nr_entries == 1) nr_entries 1080 tools/perf/util/evlist.c if (evlist->core.nr_entries == 1) nr_entries 1688 tools/perf/util/evlist.c evsel = perf_evsel__new_idx(attr, (*evlist)->core.nr_entries); nr_entries 492 tools/perf/util/header.c nre = evlist->core.nr_entries; nr_entries 3105 tools/perf/util/header.c .size = evlist->core.nr_entries * sizeof(f_attr), nr_entries 353 tools/perf/util/hist.c --hists->nr_entries; nr_entries 634 tools/perf/util/hist.c hists->nr_entries++; nr_entries 1435 tools/perf/util/hist.c hists->nr_entries++; nr_entries 1557 tools/perf/util/hist.c hists->nr_entries++; nr_entries 1597 tools/perf/util/hist.c hists->nr_entries = 0; nr_entries 1654 tools/perf/util/hist.c hists->nr_entries = 0; nr_entries 1671 tools/perf/util/hist.c hists->nr_entries++; nr_entries 1753 tools/perf/util/hist.c hists->nr_entries++; nr_entries 83 tools/perf/util/hist.h u64 nr_entries; nr_entries 2287 tools/perf/util/machine.c int i, j, err, nr_entries; nr_entries 2387 tools/perf/util/machine.c for (i = first_call, nr_entries = 0; nr_entries 2388 tools/perf/util/machine.c i < chain_nr && nr_entries < max_stack; i++) { nr_entries 2402 tools/perf/util/machine.c ++nr_entries; nr_entries 335 tools/perf/util/mem-events.c stats->nr_entries++; nr_entries 425 tools/perf/util/mem-events.c stats->nr_entries += add->nr_entries; nr_entries 51 tools/perf/util/mem-events.h u32 nr_entries; nr_entries 523 tools/perf/util/metricgroup.c if (metric_events->nr_entries == 0) nr_entries 1929 tools/perf/util/parse-events.c .idx = evlist->core.nr_entries, nr_entries 2065 tools/perf/util/parse-events.c if (evlist->core.nr_entries > 0) nr_entries 987 tools/perf/util/python.c evsel->idx = evlist->core.nr_entries; nr_entries 990 tools/perf/util/python.c return Py_BuildValue("i", evlist->core.nr_entries); nr_entries 1126 tools/perf/util/python.c return pevlist->evlist.core.nr_entries; nr_entries 1134 tools/perf/util/python.c if (i >= pevlist->evlist.core.nr_entries) nr_entries 104 tools/perf/util/rb_resort.h int nr_entries) \ nr_entries 107 tools/perf/util/rb_resort.h sorted = malloc(sizeof(*sorted) + sizeof(sorted->nd[0]) * nr_entries); \ nr_entries 144 tools/perf/util/rb_resort.h __ilist->rblist.nr_entries) nr_entries 41 tools/perf/util/rblist.c ++rblist->nr_entries; nr_entries 49 tools/perf/util/rblist.c --rblist->nr_entries; nr_entries 83 tools/perf/util/rblist.c ++rblist->nr_entries; nr_entries 104 tools/perf/util/rblist.c rblist->nr_entries = 0; nr_entries 24 tools/perf/util/rblist.h unsigned int nr_entries; nr_entries 42 tools/perf/util/rblist.h return rblist->nr_entries == 0; nr_entries 47 tools/perf/util/rblist.h return rblist->nr_entries; nr_entries 173 tools/perf/util/record.c } else if (evlist->core.nr_entries > 1) { nr_entries 2329 tools/perf/util/sort.c if (nr > evlist->core.nr_entries) nr_entries 264 tools/perf/util/symbol-elf.c #define elf_section__for_each_rel(reldata, pos, pos_mem, idx, nr_entries) \ nr_entries 266 tools/perf/util/symbol-elf.c idx < nr_entries; \ nr_entries 269 tools/perf/util/symbol-elf.c #define elf_section__for_each_rela(reldata, pos, pos_mem, idx, nr_entries) \ nr_entries 271 tools/perf/util/symbol-elf.c idx < nr_entries; \ nr_entries 61 tools/perf/util/syscalltbl.c int nr_entries = 0, i, j; nr_entries 66 tools/perf/util/syscalltbl.c ++nr_entries; nr_entries 68 tools/perf/util/syscalltbl.c entries = tbl->syscalls.entries = malloc(sizeof(struct syscall) * nr_entries); nr_entries 80 tools/perf/util/syscalltbl.c qsort(tbl->syscalls.entries, nr_entries, sizeof(struct syscall), syscallcmp); nr_entries 81 tools/perf/util/syscalltbl.c tbl->syscalls.nr_entries = nr_entries; nr_entries 112 tools/perf/util/syscalltbl.c tbl->syscalls.nr_entries, sizeof(*sc), nr_entries 123 tools/perf/util/syscalltbl.c for (i = *idx + 1; i < tbl->syscalls.nr_entries; ++i) { nr_entries 10 tools/perf/util/syscalltbl.h int nr_entries; nr_entries 73 tools/perf/util/top.c if (top->evlist->core.nr_entries == 1) {