Searched refs:user_count (Results 1 – 4 of 4) sorted by relevance
251 unsigned long user_count = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; in dma_common_mmap() local261 if (off < count && user_count <= (count - off)) { in dma_common_mmap()264 user_count << PAGE_SHIFT, in dma_common_mmap()
255 int user_count = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; in dma_mmap_from_coherent() local259 if (off < count && user_count <= count - off) { in dma_mmap_from_coherent()262 user_count << PAGE_SHIFT, in dma_mmap_from_coherent()
2362 static atomic_t user_count = ATOMIC_INIT(0); variable2366 if (atomic_dec_return(&user_count) == 0) in qib_user_remove()2377 if (atomic_inc_return(&user_count) == 1) { in qib_user_add()
2560 static atomic_t user_count = ATOMIC_INIT(0); variable2568 if (atomic_inc_return(&user_count) == 1) { in ipath_user_add()2606 if (atomic_dec_return(&user_count) == 0) { in ipath_user_remove()