tag | line | file | source code |
new_vma | 128 | mm/mremap.c | struct vm_area_struct * new_vma; |
new_vma | 130 | mm/mremap.c | new_vma = (struct vm_area_struct *) |
new_vma | 132 | mm/mremap.c | if (new_vma) { |
new_vma | 136 | mm/mremap.c | *new_vma = *vma; |
new_vma | 137 | mm/mremap.c | new_vma->vm_start = new_addr; |
new_vma | 138 | mm/mremap.c | new_vma->vm_end = new_addr+new_len; |
new_vma | 139 | mm/mremap.c | new_vma->vm_offset = vma->vm_offset + (addr - vma->vm_start); |
new_vma | 140 | mm/mremap.c | if (new_vma->vm_inode) |
new_vma | 141 | mm/mremap.c | new_vma->vm_inode->i_count++; |
new_vma | 142 | mm/mremap.c | if (new_vma->vm_ops && new_vma->vm_ops->open) |
new_vma | 143 | mm/mremap.c | new_vma->vm_ops->open(new_vma); |
new_vma | 144 | mm/mremap.c | insert_vm_struct(current, new_vma); |
new_vma | 145 | mm/mremap.c | merge_segments(current, new_vma->vm_start, new_vma->vm_end); |
new_vma | 149 | mm/mremap.c | kfree(new_vma); |