Home
last modified time | relevance | path

Searched refs:work_count (Results 1 – 4 of 4) sorted by relevance

/drivers/cpufreq/
Dcpufreq_governor.c251 atomic_set(&policy_dbs->work_count, 0); in dbs_work_handler()
304 if (!atomic_add_unless(&policy_dbs->work_count, 1, 1)) in dbs_update_util_handler()
312 atomic_set(&policy_dbs->work_count, 0); in dbs_update_util_handler()
362 atomic_set(&policy_dbs->work_count, 0); in alloc_policy_dbs_info()
556 atomic_set(&policy_dbs->work_count, 0); in cpufreq_dbs_governor_stop()
Dcpufreq_governor.h90 atomic_t work_count; member
/drivers/net/ethernet/dec/tulip/
Dinterrupt.c540 unsigned int work_count = tulip_max_interrupt_work; in tulip_interrupt() local
763 work_count--; in tulip_interrupt()
764 if (work_count == 0) in tulip_interrupt()
/drivers/infiniband/core/
Dcm.c245 atomic_t work_count; member
835 atomic_set(&cm_id_priv->work_count, -1); in cm_alloc_id_priv()
908 immediate = atomic_inc_and_test(&cm_id_priv->work_count); in cm_queue_work_unlock()
1840 while (!ret && !atomic_add_negative(-1, &cm_id_priv->work_count)) { in cm_process_work()