Lines Matching refs:reservations
1116 struct resv_map *reservations = vma_resv_map(vma); in vma_needs_reservation() local
1118 err = region_chg(&reservations->regions, idx, idx + 1); in vma_needs_reservation()
1136 struct resv_map *reservations = vma_resv_map(vma); in vma_commit_reservation() local
1139 region_add(&reservations->regions, idx, idx + 1); in vma_commit_reservation()
2186 struct resv_map *reservations = vma_resv_map(vma); in hugetlb_vm_op_open() local
2196 if (reservations) in hugetlb_vm_op_open()
2197 kref_get(&reservations->refs); in hugetlb_vm_op_open()
2202 struct resv_map *reservations = vma_resv_map(vma); in resv_map_put() local
2204 if (!reservations) in resv_map_put()
2206 kref_put(&reservations->refs, resv_map_release); in resv_map_put()
2212 struct resv_map *reservations = vma_resv_map(vma); in hugetlb_vm_op_close() local
2218 if (reservations) { in hugetlb_vm_op_close()
2223 region_count(&reservations->regions, start, end); in hugetlb_vm_op_close()