/drivers/acpi/acpica/ |
D | utdelete.c | 390 u16 new_count = 0; in acpi_ut_update_ref_count() local 411 new_count = original_count + 1; in acpi_ut_update_ref_count() 412 object->common.reference_count = new_count; in acpi_ut_update_ref_count() 425 object, object->common.type, new_count)); in acpi_ut_update_ref_count() 433 new_count = original_count - 1; in acpi_ut_update_ref_count() 434 object->common.reference_count = new_count; in acpi_ut_update_ref_count() 447 object, object->common.type, new_count)); in acpi_ut_update_ref_count() 451 if (new_count == 0) { in acpi_ut_update_ref_count() 468 if (new_count > ACPI_MAX_REFERENCE_COUNT) { in acpi_ut_update_ref_count() 471 new_count, object, object->common.type)); in acpi_ut_update_ref_count()
|
D | nsrepair.c | 489 u32 new_count; in acpi_ns_remove_null_elements() local 518 new_count = count; in acpi_ns_remove_null_elements() 527 new_count--; in acpi_ns_remove_null_elements() 538 if (new_count < count) { in acpi_ns_remove_null_elements() 541 info->full_pathname, (count - new_count))); in acpi_ns_remove_null_elements() 546 obj_desc->package.count = new_count; in acpi_ns_remove_null_elements()
|
D | nsrepair2.c | 956 u32 new_count; in acpi_ns_remove_element() local 962 new_count = count - 1; in acpi_ns_remove_element() 984 obj_desc->package.count = new_count; in acpi_ns_remove_element()
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_info.c | 256 int new_count, i; in prism2_info_scanresults() local 272 new_count = left / sizeof(struct hfa384x_scan_result); in prism2_info_scanresults() 273 results = kmalloc(new_count * sizeof(struct hfa384x_hostscan_result), in prism2_info_scanresults() 280 for (i = 0; i < new_count; i++) { in prism2_info_scanresults() 290 local->last_scan_results_count = new_count; in prism2_info_scanresults() 306 int i, result_size, copy_len, new_count; in prism2_info_hostscanresults() local 335 new_count = left / result_size; in prism2_info_hostscanresults() 336 results = kcalloc(new_count, sizeof(struct hfa384x_hostscan_result), in prism2_info_hostscanresults() 341 for (i = 0; i < new_count; i++) { in prism2_info_hostscanresults() 356 local->last_scan_results_count = new_count; in prism2_info_hostscanresults()
|
/drivers/md/ |
D | dm-thin-metadata.c | 1909 static int __resize_space_map(struct dm_space_map *sm, dm_block_t new_count) in __resize_space_map() argument 1918 if (new_count == old_count) in __resize_space_map() 1921 if (new_count < old_count) { in __resize_space_map() 1926 return dm_sm_extend(sm, new_count - old_count); in __resize_space_map() 1929 int dm_pool_resize_data_dev(struct dm_pool_metadata *pmd, dm_block_t new_count) in dm_pool_resize_data_dev() argument 1935 r = __resize_space_map(pmd->data_sm, new_count); in dm_pool_resize_data_dev() 1941 int dm_pool_resize_metadata_dev(struct dm_pool_metadata *pmd, dm_block_t new_count) in dm_pool_resize_metadata_dev() argument 1947 r = __resize_space_map(pmd->metadata_sm, new_count); in dm_pool_resize_metadata_dev()
|
/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()
|
/drivers/net/ethernet/neterion/vxge/ |
D | vxge-traffic.c | 2408 int new_count = 0; in vxge_hw_vpath_poll_rx() local 2424 new_count = (ring->doorbell_cnt * 4); in vxge_hw_vpath_poll_rx() 2429 new_count += 4; in vxge_hw_vpath_poll_rx() 2433 writeq(VXGE_HW_PRC_RXD_DOORBELL_NEW_QW_CNT(new_count), in vxge_hw_vpath_poll_rx()
|
D | vxge-config.c | 4915 u64 new_count, val64, val164; in vxge_hw_vpath_rx_doorbell_init() local 4918 new_count = readq(&vpath->vp_reg->rxdmem_size); in vxge_hw_vpath_rx_doorbell_init() 4919 new_count &= 0x1fff; in vxge_hw_vpath_rx_doorbell_init() 4921 new_count = ring->config->ring_blocks * VXGE_HW_BLOCK_SIZE / 8; in vxge_hw_vpath_rx_doorbell_init() 4923 val164 = VXGE_HW_RXDMEM_SIZE_PRC_RXDMEM_SIZE(new_count); in vxge_hw_vpath_rx_doorbell_init() 4937 new_count -= (val64 + 1); in vxge_hw_vpath_rx_doorbell_init() 4938 val64 = min(val164, new_count) / 4; in vxge_hw_vpath_rx_doorbell_init()
|
/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()
|
/drivers/bus/ |
D | arm-ccn.c | 886 u64 prev_count, new_count, mask; in arm_ccn_pmu_event_update() local 890 new_count = arm_ccn_pmu_read_counter(ccn, hw->idx); in arm_ccn_pmu_event_update() 891 } while (local64_xchg(&hw->prev_count, new_count) != prev_count); in arm_ccn_pmu_event_update() 895 local64_add((new_count - prev_count) & mask, &event->count); in arm_ccn_pmu_event_update()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 2875 int new_count; in i40e_set_channels() local 2920 new_count = i40e_reconfig_rss_queues(pf, count); in i40e_set_channels() 2921 if (new_count > 0) in i40e_set_channels()
|