Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/misc/mic/cosm/
Dcosm_main.c24 static atomic_t g_num_dev; variable
246 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()