new_count 120 arch/arm/mm/cache-l2x0-pmu.c u64 prev_count, new_count, mask; new_count 124 arch/arm/mm/cache-l2x0-pmu.c new_count = l2x0_pmu_counter_read(hw->idx); new_count 125 arch/arm/mm/cache-l2x0-pmu.c } while (local64_xchg(&hw->prev_count, new_count) != prev_count); new_count 128 arch/arm/mm/cache-l2x0-pmu.c local64_add((new_count - prev_count) & mask, &event->count); new_count 130 arch/arm/mm/cache-l2x0-pmu.c warn_if_saturated(new_count); new_count 896 arch/sparc/kernel/ds.c u64 new_count; new_count 901 arch/sparc/kernel/ds.c new_count = sched_clock() & 0xffffffff; new_count 902 arch/sparc/kernel/ds.c cp->handle = ((u64) i << 32) | new_count; new_count 235 arch/x86/events/intel/uncore.c u64 prev_count, new_count, delta; new_count 248 arch/x86/events/intel/uncore.c new_count = uncore_read_counter(box, event); new_count 249 arch/x86/events/intel/uncore.c if (local64_xchg(&event->hw.prev_count, new_count) != prev_count) new_count 252 arch/x86/events/intel/uncore.c delta = (new_count << shift) - (prev_count << shift); new_count 392 arch/x86/kernel/cpu/mce/amd.c int new_count = (hi & THRESHOLD_MAX) + new_count 396 arch/x86/kernel/cpu/mce/amd.c (new_count & THRESHOLD_MAX); new_count 445 drivers/acpi/acpica/nsrepair.c u32 new_count; new_count 474 drivers/acpi/acpica/nsrepair.c new_count = count; new_count 483 drivers/acpi/acpica/nsrepair.c new_count--; new_count 494 drivers/acpi/acpica/nsrepair.c if (new_count < count) { new_count 497 drivers/acpi/acpica/nsrepair.c info->full_pathname, (count - new_count))); new_count 502 drivers/acpi/acpica/nsrepair.c obj_desc->package.count = new_count; new_count 918 drivers/acpi/acpica/nsrepair2.c u32 new_count; new_count 924 drivers/acpi/acpica/nsrepair2.c new_count = count - 1; new_count 946 drivers/acpi/acpica/nsrepair2.c obj_desc->package.count = new_count; new_count 360 drivers/acpi/acpica/utdelete.c u16 new_count = 0; new_count 382 drivers/acpi/acpica/utdelete.c new_count = original_count + 1; new_count 383 drivers/acpi/acpica/utdelete.c object->common.reference_count = new_count; new_count 398 drivers/acpi/acpica/utdelete.c new_count)); new_count 407 drivers/acpi/acpica/utdelete.c new_count = original_count - 1; new_count 408 drivers/acpi/acpica/utdelete.c object->common.reference_count = new_count; new_count 422 drivers/acpi/acpica/utdelete.c object->common.type, new_count)); new_count 426 drivers/acpi/acpica/utdelete.c if (new_count == 0) { new_count 444 drivers/acpi/acpica/utdelete.c if (new_count > ACPI_MAX_REFERENCE_COUNT) { new_count 447 drivers/acpi/acpica/utdelete.c new_count, object, object->common.type, message)); new_count 565 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_PROTO(uint32_t drm_id, enum dpu_pingpong pp, int new_count, new_count 567 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h TP_ARGS(drm_id, pp, new_count, event), new_count 571 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __field( int, new_count ) new_count 577 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __entry->new_count = new_count; new_count 581 drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h __entry->pp, __entry->new_count, __entry->event) new_count 1993 drivers/md/dm-thin-metadata.c static int __resize_space_map(struct dm_space_map *sm, dm_block_t new_count) new_count 2002 drivers/md/dm-thin-metadata.c if (new_count == old_count) new_count 2005 drivers/md/dm-thin-metadata.c if (new_count < old_count) { new_count 2010 drivers/md/dm-thin-metadata.c return dm_sm_extend(sm, new_count - old_count); new_count 2013 drivers/md/dm-thin-metadata.c int dm_pool_resize_data_dev(struct dm_pool_metadata *pmd, dm_block_t new_count) new_count 2019 drivers/md/dm-thin-metadata.c r = __resize_space_map(pmd->data_sm, new_count); new_count 2025 drivers/md/dm-thin-metadata.c int dm_pool_resize_metadata_dev(struct dm_pool_metadata *pmd, dm_block_t new_count) new_count 2031 drivers/md/dm-thin-metadata.c r = __resize_space_map(pmd->metadata_sm, new_count); new_count 1216 drivers/net/dsa/sja1105/sja1105_static_config.c int sja1105_table_resize(struct sja1105_table *table, size_t new_count) new_count 1221 drivers/net/dsa/sja1105/sja1105_static_config.c if (new_count > table->ops->max_entry_count) new_count 1224 drivers/net/dsa/sja1105/sja1105_static_config.c new_entries = kcalloc(new_count, entry_size, GFP_KERNEL); new_count 1228 drivers/net/dsa/sja1105/sja1105_static_config.c memcpy(new_entries, old_entries, min(new_count, table->entry_count) * new_count 1232 drivers/net/dsa/sja1105/sja1105_static_config.c table->entry_count = new_count; new_count 327 drivers/net/dsa/sja1105/sja1105_static_config.h int sja1105_table_resize(struct sja1105_table *table, size_t new_count); new_count 1011 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c int new_count; new_count 1016 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c new_count = add_bufs(priv, priv->channel[j], bpid); new_count 1017 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c priv->channel[j]->buf_count += new_count; new_count 1019 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c if (new_count < DPAA2_ETH_BUFS_PER_CMD) { new_count 1066 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c int new_count; new_count 1072 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c new_count = add_bufs(priv, ch, bpid); new_count 1073 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c if (unlikely(!new_count)) { new_count 1077 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c ch->buf_count += new_count; new_count 4653 drivers/net/ethernet/intel/i40e/i40e_ethtool.c int new_count; new_count 4704 drivers/net/ethernet/intel/i40e/i40e_ethtool.c new_count = i40e_reconfig_rss_queues(pf, count); new_count 4705 drivers/net/ethernet/intel/i40e/i40e_ethtool.c if (new_count > 0) new_count 199 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c unsigned long new_count) new_count 207 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c if (new_count > max_tcam_rules) new_count 210 drivers/net/ethernet/mellanox/mlxsw/spectrum1_mr_tcam.c mr_tcam_region->rtar_key_type, new_count); new_count 122 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c unsigned long new_count) new_count 130 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c if (new_count > max_tcam_rules) new_count 132 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_ctcam.c return mlxsw_sp_acl_ctcam_region_resize(mlxsw_sp, region, new_count); new_count 4905 drivers/net/ethernet/neterion/vxge/vxge-config.c u64 new_count, val64, val164; new_count 4908 drivers/net/ethernet/neterion/vxge/vxge-config.c new_count = readq(&vpath->vp_reg->rxdmem_size); new_count 4909 drivers/net/ethernet/neterion/vxge/vxge-config.c new_count &= 0x1fff; new_count 4911 drivers/net/ethernet/neterion/vxge/vxge-config.c new_count = ring->config->ring_blocks * VXGE_HW_BLOCK_SIZE / 8; new_count 4913 drivers/net/ethernet/neterion/vxge/vxge-config.c val164 = VXGE_HW_RXDMEM_SIZE_PRC_RXDMEM_SIZE(new_count); new_count 4927 drivers/net/ethernet/neterion/vxge/vxge-config.c new_count -= (val64 + 1); new_count 4928 drivers/net/ethernet/neterion/vxge/vxge-config.c val64 = min(val164, new_count) / 4; new_count 2379 drivers/net/ethernet/neterion/vxge/vxge-traffic.c int new_count = 0; new_count 2395 drivers/net/ethernet/neterion/vxge/vxge-traffic.c new_count = (ring->doorbell_cnt * 4); new_count 2400 drivers/net/ethernet/neterion/vxge/vxge-traffic.c new_count += 4; new_count 2404 drivers/net/ethernet/neterion/vxge/vxge-traffic.c writeq(VXGE_HW_PRC_RXD_DOORBELL_NEW_QW_CNT(new_count), new_count 222 drivers/net/wimax/i2400m/fw.c new_count = old_count ? 2 * old_count : 2, new_count 224 drivers/net/wimax/i2400m/fw.c new_size = el_size * new_count; new_count 233 drivers/net/wimax/i2400m/fw.c *_count = new_count; new_count 257 drivers/net/wireless/intersil/hostap/hostap_info.c int new_count, i; new_count 273 drivers/net/wireless/intersil/hostap/hostap_info.c new_count = left / sizeof(struct hfa384x_scan_result); new_count 274 drivers/net/wireless/intersil/hostap/hostap_info.c results = kmalloc_array(new_count, new_count 282 drivers/net/wireless/intersil/hostap/hostap_info.c for (i = 0; i < new_count; i++) { new_count 292 drivers/net/wireless/intersil/hostap/hostap_info.c local->last_scan_results_count = new_count; new_count 308 drivers/net/wireless/intersil/hostap/hostap_info.c int i, result_size, copy_len, new_count; new_count 337 drivers/net/wireless/intersil/hostap/hostap_info.c new_count = left / result_size; new_count 338 drivers/net/wireless/intersil/hostap/hostap_info.c results = kcalloc(new_count, sizeof(struct hfa384x_hostscan_result), new_count 343 drivers/net/wireless/intersil/hostap/hostap_info.c for (i = 0; i < new_count; i++) { new_count 358 drivers/net/wireless/intersil/hostap/hostap_info.c local->last_scan_results_count = new_count; new_count 877 drivers/perf/arm-ccn.c u64 prev_count, new_count, mask; new_count 881 drivers/perf/arm-ccn.c new_count = arm_ccn_pmu_read_counter(ccn, hw->idx); new_count 882 drivers/perf/arm-ccn.c } while (local64_xchg(&hw->prev_count, new_count) != prev_count); new_count 886 drivers/perf/arm-ccn.c local64_add((new_count - prev_count) & mask, &event->count); new_count 352 drivers/perf/arm_dsu_pmu.c u64 delta, prev_count, new_count; new_count 357 drivers/perf/arm_dsu_pmu.c new_count = dsu_pmu_read_counter(event); new_count 358 drivers/perf/arm_dsu_pmu.c } while (local64_cmpxchg(&hwc->prev_count, prev_count, new_count) != new_count 360 drivers/perf/arm_dsu_pmu.c delta = (new_count - prev_count) & DSU_PMU_COUNTER_MASK(hwc->idx); new_count 364 drivers/scsi/isci/remote_node_context.c u32 new_count = rnc->suspend_count + 1; new_count 366 drivers/scsi/isci/remote_node_context.c if (new_count == 0) new_count 369 drivers/scsi/isci/remote_node_context.c rnc->suspend_count = new_count; new_count 285 fs/ocfs2/blockcheck.c u64 new_count; new_count 292 fs/ocfs2/blockcheck.c new_count = stats->b_check_count; new_count 295 fs/ocfs2/blockcheck.c if (!new_count) new_count 301 fs/ocfs2/blockcheck.c u64 new_count; new_count 308 fs/ocfs2/blockcheck.c new_count = stats->b_failure_count; new_count 311 fs/ocfs2/blockcheck.c if (!new_count) new_count 317 fs/ocfs2/blockcheck.c u64 new_count; new_count 324 fs/ocfs2/blockcheck.c new_count = stats->b_recover_count; new_count 327 fs/ocfs2/blockcheck.c if (!new_count) new_count 125 fs/omfs/file.c int new_count; new_count 163 fs/omfs/file.c &new_block, &new_count); new_count 173 fs/omfs/file.c entry->e_blocks = cpu_to_be64((u64) new_count); new_count 176 fs/omfs/file.c be64_to_cpu(~terminator->e_blocks) + (u64) new_count)); new_count 58 include/linux/parman.h int (*resize)(void *priv, unsigned long new_count); new_count 429 kernel/trace/trace_functions.c long new_count; new_count 452 kernel/trace/trace_functions.c new_count = old_count - 1; new_count 453 kernel/trace/trace_functions.c new_count = cmpxchg(count, old_count, new_count); new_count 454 kernel/trace/trace_functions.c if (new_count == old_count) new_count 460 kernel/trace/trace_functions.c } while (new_count != old_count); new_count 61 lib/parman.c unsigned long new_count = parman->limit_count + new_count 65 lib/parman.c err = parman->ops->resize(parman->priv, new_count); new_count 68 lib/parman.c parman->limit_count = new_count; new_count 74 lib/parman.c unsigned long new_count = parman->limit_count - new_count 78 lib/parman.c if (new_count < parman->ops->base_count) new_count 80 lib/parman.c err = parman->ops->resize(parman->priv, new_count); new_count 83 lib/parman.c parman->limit_count = new_count; new_count 92 lib/test_parman.c static int test_parman_resize(void *priv, unsigned long new_count) new_count 99 lib/test_parman.c ITEM_PTRS_SIZE(new_count), GFP_KERNEL); new_count 100 lib/test_parman.c if (new_count == 0) new_count 105 lib/test_parman.c if (new_count > old_count) new_count 107 lib/test_parman.c ITEM_PTRS_SIZE(new_count - old_count)); new_count 109 lib/test_parman.c test_parman->prio_array_limit = new_count;