/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | utdelete.c | 368 u16 new_count = 0; in acpi_ut_update_ref_count() local 390 new_count = original_count + 1; in acpi_ut_update_ref_count() 391 object->common.reference_count = new_count; in acpi_ut_update_ref_count() 406 new_count)); in acpi_ut_update_ref_count() 415 new_count = original_count - 1; in acpi_ut_update_ref_count() 416 object->common.reference_count = new_count; in acpi_ut_update_ref_count() 431 object->common.type, new_count)); in acpi_ut_update_ref_count() 435 if (new_count == 0) { in acpi_ut_update_ref_count() 453 if (new_count > ACPI_MAX_REFERENCE_COUNT) { in acpi_ut_update_ref_count() 456 new_count, object, object->common.type, message)); in acpi_ut_update_ref_count()
|
D | nsrepair.c | 445 u32 new_count; in acpi_ns_remove_null_elements() local 474 new_count = count; in acpi_ns_remove_null_elements() 483 new_count--; in acpi_ns_remove_null_elements() 494 if (new_count < count) { in acpi_ns_remove_null_elements() 497 info->full_pathname, (count - new_count))); in acpi_ns_remove_null_elements() 502 obj_desc->package.count = new_count; in acpi_ns_remove_null_elements()
|
D | nsrepair2.c | 918 u32 new_count; in acpi_ns_remove_element() local 924 new_count = count - 1; in acpi_ns_remove_element() 946 obj_desc->package.count = new_count; in acpi_ns_remove_element()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | blockcheck.c | 285 u64 new_count; in ocfs2_blockcheck_inc_check() local 292 new_count = stats->b_check_count; in ocfs2_blockcheck_inc_check() 295 if (!new_count) in ocfs2_blockcheck_inc_check() 301 u64 new_count; in ocfs2_blockcheck_inc_failure() local 308 new_count = stats->b_failure_count; in ocfs2_blockcheck_inc_failure() 311 if (!new_count) in ocfs2_blockcheck_inc_failure() 317 u64 new_count; in ocfs2_blockcheck_inc_recover() local 324 new_count = stats->b_recover_count; in ocfs2_blockcheck_inc_recover() 327 if (!new_count) in ocfs2_blockcheck_inc_recover()
|
/kernel/linux/linux-5.10/lib/ |
D | parman.c | 61 unsigned long new_count = parman->limit_count + in parman_enlarge() local 65 err = parman->ops->resize(parman->priv, new_count); in parman_enlarge() 68 parman->limit_count = new_count; in parman_enlarge() 74 unsigned long new_count = parman->limit_count - in parman_shrink() local 78 if (new_count < parman->ops->base_count) in parman_shrink() 80 err = parman->ops->resize(parman->priv, new_count); in parman_shrink() 83 parman->limit_count = new_count; in parman_shrink()
|
D | test_parman.c | 92 static int test_parman_resize(void *priv, unsigned long new_count) in test_parman_resize() argument 99 ITEM_PTRS_SIZE(new_count), GFP_KERNEL); in test_parman_resize() 100 if (new_count == 0) in test_parman_resize() 105 if (new_count > old_count) in test_parman_resize() 107 ITEM_PTRS_SIZE(new_count - old_count)); in test_parman_resize() 109 test_parman->prio_array_limit = new_count; in test_parman_resize()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
D | hostap_info.c | 257 int new_count, i; in prism2_info_scanresults() local 273 new_count = left / sizeof(struct hfa384x_scan_result); in prism2_info_scanresults() 274 results = kmalloc_array(new_count, in prism2_info_scanresults() 282 for (i = 0; i < new_count; i++) { in prism2_info_scanresults() 292 local->last_scan_results_count = new_count; in prism2_info_scanresults() 308 int i, result_size, copy_len, new_count; in prism2_info_hostscanresults() local 337 new_count = left / result_size; in prism2_info_hostscanresults() 338 results = kcalloc(new_count, sizeof(struct hfa384x_hostscan_result), in prism2_info_hostscanresults() 343 for (i = 0; i < new_count; i++) { in prism2_info_hostscanresults() 358 local->last_scan_results_count = new_count; in prism2_info_hostscanresults()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | cache-l2x0-pmu.c | 120 u64 prev_count, new_count, mask; in l2x0_pmu_event_read() local 124 new_count = l2x0_pmu_counter_read(hw->idx); in l2x0_pmu_event_read() 125 } while (local64_xchg(&hw->prev_count, new_count) != prev_count); in l2x0_pmu_event_read() 128 local64_add((new_count - prev_count) & mask, &event->count); in l2x0_pmu_event_read() 130 warn_if_saturated(new_count); in l2x0_pmu_event_read()
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | trace_functions.c | 435 long new_count; in ftrace_stacktrace_count() local 458 new_count = old_count - 1; in ftrace_stacktrace_count() 459 new_count = cmpxchg(count, old_count, new_count); in ftrace_stacktrace_count() 460 if (new_count == old_count) in ftrace_stacktrace_count() 466 } while (new_count != old_count); in ftrace_stacktrace_count()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_ctcam.c | 122 unsigned long new_count) in mlxsw_sp_acl_ctcam_region_parman_resize() argument 130 if (new_count > max_tcam_rules) in mlxsw_sp_acl_ctcam_region_parman_resize() 132 return mlxsw_sp_acl_ctcam_region_resize(mlxsw_sp, region, new_count); in mlxsw_sp_acl_ctcam_region_parman_resize()
|
D | spectrum1_mr_tcam.c | 199 unsigned long new_count) in mlxsw_sp1_mr_tcam_region_parman_resize() argument 207 if (new_count > max_tcam_rules) in mlxsw_sp1_mr_tcam_region_parman_resize() 210 mr_tcam_region->rtar_key_type, new_count); in mlxsw_sp1_mr_tcam_region_parman_resize()
|
/kernel/linux/linux-5.10/fs/omfs/ |
D | file.c | 125 int new_count; in omfs_grow_extent() local 163 &new_block, &new_count); in omfs_grow_extent() 173 entry->e_blocks = cpu_to_be64((u64) new_count); in omfs_grow_extent() 176 be64_to_cpu(~terminator->e_blocks) + (u64) new_count)); in omfs_grow_extent()
|
/kernel/linux/linux-5.10/include/linux/ |
D | parman.h | 58 int (*resize)(void *priv, unsigned long new_count);
|
/kernel/linux/linux-5.10/drivers/perf/ |
D | arm_dsu_pmu.c | 353 u64 delta, prev_count, new_count; in dsu_pmu_event_update() local 358 new_count = dsu_pmu_read_counter(event); in dsu_pmu_event_update() 359 } while (local64_cmpxchg(&hwc->prev_count, prev_count, new_count) != in dsu_pmu_event_update() 361 delta = (new_count - prev_count) & DSU_PMU_COUNTER_MASK(hwc->idx); in dsu_pmu_event_update()
|
D | arm-ccn.c | 877 u64 prev_count, new_count, mask; in arm_ccn_pmu_event_update() local 881 new_count = arm_ccn_pmu_read_counter(ccn, hw->idx); in arm_ccn_pmu_event_update() 882 } while (local64_xchg(&hw->prev_count, new_count) != prev_count); in arm_ccn_pmu_event_update() 886 local64_add((new_count - prev_count) & mask, &event->count); in arm_ccn_pmu_event_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_trace.h | 563 TP_PROTO(uint32_t drm_id, enum dpu_pingpong pp, int new_count, 565 TP_ARGS(drm_id, pp, new_count, event), 569 __field( int, new_count ) 575 __entry->new_count = new_count; 579 __entry->pp, __entry->new_count, __entry->event)
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-thin-metadata.c | 1995 static int __resize_space_map(struct dm_space_map *sm, dm_block_t new_count) in __resize_space_map() argument 2004 if (new_count == old_count) in __resize_space_map() 2007 if (new_count < old_count) { in __resize_space_map() 2012 return dm_sm_extend(sm, new_count - old_count); in __resize_space_map() 2015 int dm_pool_resize_data_dev(struct dm_pool_metadata *pmd, dm_block_t new_count) in dm_pool_resize_data_dev() argument 2021 r = __resize_space_map(pmd->data_sm, new_count); in dm_pool_resize_data_dev() 2027 int dm_pool_resize_metadata_dev(struct dm_pool_metadata *pmd, dm_block_t new_count) in dm_pool_resize_metadata_dev() argument 2033 r = __resize_space_map(pmd->metadata_sm, new_count); in dm_pool_resize_metadata_dev()
|
/kernel/linux/linux-5.10/drivers/scsi/isci/ |
D | remote_node_context.c | 364 u32 new_count = rnc->suspend_count + 1; in sci_remote_node_context_tx_rx_suspended_state_enter() local 366 if (new_count == 0) in sci_remote_node_context_tx_rx_suspended_state_enter() 369 rnc->suspend_count = new_count; in sci_remote_node_context_tx_rx_suspended_state_enter()
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
D | sja1105_static_config.c | 1451 int sja1105_table_resize(struct sja1105_table *table, size_t new_count) in sja1105_table_resize() argument 1456 if (new_count > table->ops->max_entry_count) in sja1105_table_resize() 1459 new_entries = kcalloc(new_count, entry_size, GFP_KERNEL); in sja1105_table_resize() 1463 memcpy(new_entries, old_entries, min(new_count, table->entry_count) * in sja1105_table_resize() 1467 table->entry_count = new_count; in sja1105_table_resize()
|
D | sja1105_static_config.h | 424 int sja1105_table_resize(struct sja1105_table *table, size_t new_count);
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | ds.c | 896 u64 new_count; in register_services() local 901 new_count = sched_clock() & 0xffffffff; in register_services() 902 cp->handle = ((u64) i << 32) | new_count; in register_services()
|
/kernel/linux/linux-5.10/arch/x86/events/intel/ |
D | uncore.c | 240 u64 prev_count, new_count, delta; in uncore_perf_event_update() local 253 new_count = uncore_read_counter(box, event); in uncore_perf_event_update() 254 if (local64_xchg(&event->hw.prev_count, new_count) != prev_count) in uncore_perf_event_update() 257 delta = (new_count << shift) - (prev_count << shift); in uncore_perf_event_update()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/neterion/vxge/ |
D | vxge-traffic.c | 2360 int new_count = 0; in vxge_hw_vpath_poll_rx() local 2376 new_count = (ring->doorbell_cnt * 4); in vxge_hw_vpath_poll_rx() 2381 new_count += 4; in vxge_hw_vpath_poll_rx() 2385 writeq(VXGE_HW_PRC_RXD_DOORBELL_NEW_QW_CNT(new_count), in vxge_hw_vpath_poll_rx()
|
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/ |
D | fw.c | 222 new_count = old_count ? 2 * old_count : 2, in i2400m_zrealloc_2x() local 224 new_size = el_size * new_count; in i2400m_zrealloc_2x() 233 *_count = new_count; in i2400m_zrealloc_2x()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 1392 int new_count; in dpaa2_eth_seed_pool() local 1397 new_count = dpaa2_eth_add_bufs(priv, priv->channel[j], bpid); in dpaa2_eth_seed_pool() 1398 priv->channel[j]->buf_count += new_count; in dpaa2_eth_seed_pool() 1400 if (new_count < DPAA2_ETH_BUFS_PER_CMD) { in dpaa2_eth_seed_pool() 1452 int new_count; in dpaa2_eth_refill_pool() local 1458 new_count = dpaa2_eth_add_bufs(priv, ch, bpid); in dpaa2_eth_refill_pool() 1459 if (unlikely(!new_count)) { in dpaa2_eth_refill_pool() 1463 ch->buf_count += new_count; in dpaa2_eth_refill_pool()
|