Searched refs:user_count (Results 1 – 2 of 2) sorted by relevance
2270 static atomic_t user_count = ATOMIC_INIT(0); variable2274 if (atomic_dec_return(&user_count) == 0) in qib_user_remove()2285 if (atomic_inc_return(&user_count) == 1) { in qib_user_add()
2555 static atomic_t user_count = ATOMIC_INIT(0); variable2563 if (atomic_inc_return(&user_count) == 1) { in ipath_user_add()2601 if (atomic_dec_return(&user_count) == 0) { in ipath_user_remove()