Home
last modified time | relevance | path

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

/linux-4.1.27/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()
/linux-4.1.27/arch/microblaze/kernel/
Ddma.c162 unsigned long user_count = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; in dma_direct_mmap_coherent() local
167 if (off >= count || user_count > (count - off)) in dma_direct_mmap_coherent()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_file_ops.c2370 static atomic_t user_count = ATOMIC_INIT(0); variable
2374 if (atomic_dec_return(&user_count) == 0) in qib_user_remove()
2385 if (atomic_inc_return(&user_count) == 1) { in qib_user_add()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_file_ops.c2563 static atomic_t user_count = ATOMIC_INIT(0); variable
2571 if (atomic_inc_return(&user_count) == 1) { in ipath_user_add()
2609 if (atomic_dec_return(&user_count) == 0) { in ipath_user_remove()