Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_file_ops.c2270 static atomic_t user_count = ATOMIC_INIT(0); variable
2274 if (atomic_dec_return(&user_count) == 0) in qib_user_remove()
2285 if (atomic_inc_return(&user_count) == 1) { in qib_user_add()
/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_file_ops.c2555 static atomic_t user_count = ATOMIC_INIT(0); variable
2563 if (atomic_inc_return(&user_count) == 1) { in ipath_user_add()
2601 if (atomic_dec_return(&user_count) == 0) { in ipath_user_remove()