Searched refs:new_mmap_size (Results 1 – 2 of 2) sorted by relevance
203 long new_mmap_size; in hl_mmap_mem_buf_vm_close() local205 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()
1432 long new_mmap_size; in hw_block_vm_close() local1434 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()