Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/usb/storage/
Dlibusual.c36 static atomic_t total_threads = ATOMIC_INIT(0); variable
125 atomic_inc(&total_threads); in usu_probe()
197 while (atomic_read(&total_threads) > 0) { in usb_usual_exit()
199 atomic_dec(&total_threads); in usb_usual_exit()
/linux-2.6.39/drivers/staging/rts_pstor/
Drtsx.c72 static atomic_t total_threads = ATOMIC_INIT(0); variable
1013 atomic_inc(&total_threads); in rtsx_probe()
1029 atomic_inc(&total_threads); in rtsx_probe()
1045 atomic_inc(&total_threads); in rtsx_probe()
1114 while (atomic_read(&total_threads) > 0) { in rtsx_exit()
1116 atomic_dec(&total_threads); in rtsx_exit()