Searched refs:g_num_dev (Results 1 – 1 of 1) sorted by relevance
24 static atomic_t g_num_dev; variable246 if (atomic_add_return(1, &g_num_dev) == 1) { in cosm_driver_probe()278 if (atomic_dec_and_test(&g_num_dev)) in cosm_driver_probe()290 if (atomic_dec_and_test(&g_num_dev)) in cosm_driver_remove()