Searched refs:enable_cnt (Results 1 – 17 of 17) sorted by relevance
99 atomic_t enable_cnt; member751 enabled = atomic_read(&blkiolat->enable_cnt); in blkiolatency_enable_work_fn()806 if (atomic_inc_return(&blkiolat->enable_cnt) == 1) in iolatency_set_min_lat_nsec()811 if (atomic_dec_return(&blkiolat->enable_cnt) == 0) in iolatency_set_min_lat_nsec()
817 int *enable_cnt);820 int *enable_cnt);
2115 int *enable_cnt) in rvu_npc_get_mcam_entry_alloc_info() argument2121 *enable_cnt = 0; in rvu_npc_get_mcam_entry_alloc_info()2127 (*enable_cnt)++; in rvu_npc_get_mcam_entry_alloc_info()2134 int *enable_cnt) in rvu_npc_get_mcam_counter_alloc_info() argument2140 *enable_cnt = 0; in rvu_npc_get_mcam_counter_alloc_info()2146 (*enable_cnt)++; in rvu_npc_get_mcam_counter_alloc_info()
408 BUG_ON(atomic_read(&dev->enable_cnt)); in pcibios_disable_device()
712 if (atomic_dec_return(&dev->enable_cnt) >= 0) in pcibios_release_device()
608 a->pcid->enable_cnt.counter); in esas2r_kill_adapter()614 a->pcid->enable_cnt.counter); in esas2r_kill_adapter()
372 pcid->enable_cnt.counter); in esas2r_probe()386 pcid->enable_cnt.counter); in esas2r_probe()
1990 if (atomic_inc_return(&dev->enable_cnt) > 1) in pci_enable_device_flags()2007 atomic_dec(&dev->enable_cnt); in pci_enable_device_flags()2246 dev_WARN_ONCE(&dev->dev, atomic_read(&dev->enable_cnt) <= 0, in pci_disable_device()2249 if (atomic_dec_return(&dev->enable_cnt) != 0) in pci_disable_device()
327 return sysfs_emit(buf, "%u\n", atomic_read(&pdev->enable_cnt)); in enable_show()
466 atomic_t enable_cnt; /* pci_enable_device has been called */ member1265 return (atomic_read(&pdev->enable_cnt) > 0); in pci_is_enabled()
863 if (atomic_read(&dev->enable_cnt) == 0) in is_error_source()
268 if (atomic_read(&pdev->enable_cnt) == 1) in qed_free_pci()304 if (atomic_read(&pdev->enable_cnt) == 1) { in qed_init_pci()
3688 if (!atomic_read(&pdev->enable_cnt)) in qla2x00_shutdown()3852 if (!atomic_read(&pdev->enable_cnt)) { in qla2x00_remove_one()6763 if (!atomic_read(&pdev->enable_cnt)) { in qla2x00_disable_board_on_pci_error()7747 if (!atomic_read(&pdev->enable_cnt)) { in qla2xxx_pci_error_detected()
13090 if (atomic_read(&pdev->enable_cnt) == 1) { in bnx2x_init_dev()13266 if (atomic_read(&pdev->enable_cnt) == 1) in bnx2x_init_dev()14032 if (atomic_read(&pdev->enable_cnt) == 1) in bnx2x_init_one()14124 if (atomic_read(&pdev->enable_cnt) == 1) in __bnx2x_remove()
3190 if (atomic_read(&bp->pdev->enable_cnt) != 1) in bnx2x_set_power_state()
3842 if (!atomic_read(&pdev->enable_cnt)) in qedf_remove()
8904 if (atomic_read(&other_pdev->enable_cnt)) { in qla4xxx_prevent_other_port_reinit()9676 if (atomic_read(&other_pdev->enable_cnt)) { in qla4_8xxx_error_recovery()