Searched refs:user_count (Results 1 - 4 of 4) sorted by relevance

/drivers/base/
H A Ddma-coherent.c255 int user_count = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; local
259 if (off < count && user_count <= count - off) {
262 user_count << PAGE_SHIFT,
H A Ddma-mapping.c251 unsigned long user_count = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; local
261 if (off < count && user_count <= (count - off)) {
264 user_count << PAGE_SHIFT,
/drivers/infiniband/hw/ipath/
H A Dipath_file_ops.c2560 static atomic_t user_count = ATOMIC_INIT(0); variable
2568 if (atomic_inc_return(&user_count) == 1) {
2606 if (atomic_dec_return(&user_count) == 0) {
/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c2357 static atomic_t user_count = ATOMIC_INIT(0); variable
2361 if (atomic_dec_return(&user_count) == 0)
2372 if (atomic_inc_return(&user_count) == 1) {

Completed in 112 milliseconds