Home
last modified time | relevance | path

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

/drivers/base/
Ddma-mapping.c251 unsigned long user_count = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; in dma_common_mmap() local
261 if (off < count && user_count <= (count - off)) { in dma_common_mmap()
264 user_count << PAGE_SHIFT, in dma_common_mmap()
Ddma-coherent.c255 int user_count = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; in dma_mmap_from_coherent() local
259 if (off < count && user_count <= count - off) { in dma_mmap_from_coherent()
262 user_count << PAGE_SHIFT, in dma_mmap_from_coherent()
/drivers/infiniband/hw/qib/
Dqib_file_ops.c2362 static atomic_t user_count = ATOMIC_INIT(0); variable
2366 if (atomic_dec_return(&user_count) == 0) in qib_user_remove()
2377 if (atomic_inc_return(&user_count) == 1) { in qib_user_add()
/drivers/infiniband/hw/ipath/
Dipath_file_ops.c2560 static atomic_t user_count = ATOMIC_INIT(0); variable
2568 if (atomic_inc_return(&user_count) == 1) { in ipath_user_add()
2606 if (atomic_dec_return(&user_count) == 0) { in ipath_user_remove()