Searched refs:enable_cnt (Results 1 – 17 of 17) sorted by relevance
99 atomic_t enable_cnt; member753 enabled = atomic_read(&blkiolat->enable_cnt); in blkiolatency_enable_work_fn()807 if (atomic_inc_return(&blkiolat->enable_cnt) == 1) in iolatency_set_min_lat_nsec()812 if (atomic_dec_return(&blkiolat->enable_cnt) == 0) in iolatency_set_min_lat_nsec()
786 int *enable_cnt);789 int *enable_cnt);
2090 int *enable_cnt) in rvu_npc_get_mcam_entry_alloc_info() argument2096 *enable_cnt = 0; in rvu_npc_get_mcam_entry_alloc_info()2102 (*enable_cnt)++; in rvu_npc_get_mcam_entry_alloc_info()2109 int *enable_cnt) in rvu_npc_get_mcam_counter_alloc_info() argument2115 *enable_cnt = 0; in rvu_npc_get_mcam_counter_alloc_info()2121 (*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()
326 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 */ member1264 return (atomic_read(&pdev->enable_cnt) > 0); in pci_is_enabled()
858 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()
3658 if (!atomic_read(&pdev->enable_cnt)) in qla2x00_shutdown()3822 if (!atomic_read(&pdev->enable_cnt)) { in qla2x00_remove_one()6735 if (!atomic_read(&pdev->enable_cnt)) { in qla2x00_disable_board_on_pci_error()7719 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()
3191 if (atomic_read(&bp->pdev->enable_cnt) != 1) in bnx2x_set_power_state()
3826 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()