Home
last modified time | relevance | path

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

/linux/drivers/accel/habanalabs/common/
H A Dmemory_mgr.c203 long new_mmap_size; in hl_mmap_mem_buf_vm_close() local
205 new_mmap_size = buf->real_mapped_size - (vma->vm_end - vma->vm_start); in hl_mmap_mem_buf_vm_close()
207 if (new_mmap_size > 0) { in hl_mmap_mem_buf_vm_close()
208 buf->real_mapped_size = new_mmap_size; in hl_mmap_mem_buf_vm_close()
H A Dmemory.c1432 long new_mmap_size; in hw_block_vm_close() local
1434 new_mmap_size = lnode->mapped_size - (vma->vm_end - vma->vm_start); in hw_block_vm_close()
1435 if (new_mmap_size > 0) { in hw_block_vm_close()
1436 lnode->mapped_size = new_mmap_size; in hw_block_vm_close()