resv_map 497 fs/hugetlbfs/inode.c struct resv_map *resv_map; resv_map 507 fs/hugetlbfs/inode.c resv_map = (struct resv_map *)(&inode->i_data)->private_data; resv_map 509 fs/hugetlbfs/inode.c if (resv_map) resv_map 510 fs/hugetlbfs/inode.c resv_map_release(&resv_map->refs); resv_map 762 fs/hugetlbfs/inode.c struct resv_map *resv_map = NULL; resv_map 769 fs/hugetlbfs/inode.c resv_map = resv_map_alloc(); resv_map 770 fs/hugetlbfs/inode.c if (!resv_map) resv_map 784 fs/hugetlbfs/inode.c inode->i_mapping->private_data = resv_map; resv_map 808 fs/hugetlbfs/inode.c if (resv_map) resv_map 809 fs/hugetlbfs/inode.c kref_put(&resv_map->refs, resv_map_release); resv_map 50 include/linux/hugetlb.h extern struct resv_map *resv_map_alloc(void); resv_map 262 mm/hugetlb.c static long region_add(struct resv_map *resv, long f, long t) resv_map 358 mm/hugetlb.c static long region_chg(struct resv_map *resv, long f, long t) resv_map 463 mm/hugetlb.c static void region_abort(struct resv_map *resv, long f, long t) resv_map 485 mm/hugetlb.c static long region_del(struct resv_map *resv, long f, long t) resv_map 592 mm/hugetlb.c static long region_count(struct resv_map *resv, long f, long t) resv_map 699 mm/hugetlb.c struct resv_map *resv_map_alloc(void) resv_map 701 mm/hugetlb.c struct resv_map *resv_map = kmalloc(sizeof(*resv_map), GFP_KERNEL); resv_map 704 mm/hugetlb.c if (!resv_map || !rg) { resv_map 705 mm/hugetlb.c kfree(resv_map); resv_map 710 mm/hugetlb.c kref_init(&resv_map->refs); resv_map 711 mm/hugetlb.c spin_lock_init(&resv_map->lock); resv_map 712 mm/hugetlb.c INIT_LIST_HEAD(&resv_map->regions); resv_map 714 mm/hugetlb.c resv_map->adds_in_progress = 0; resv_map 716 mm/hugetlb.c INIT_LIST_HEAD(&resv_map->region_cache); resv_map 717 mm/hugetlb.c list_add(&rg->link, &resv_map->region_cache); resv_map 718 mm/hugetlb.c resv_map->region_cache_count = 1; resv_map 720 mm/hugetlb.c return resv_map; resv_map 725 mm/hugetlb.c struct resv_map *resv_map = container_of(ref, struct resv_map, refs); resv_map 726 mm/hugetlb.c struct list_head *head = &resv_map->region_cache; resv_map 730 mm/hugetlb.c region_del(resv_map, 0, LONG_MAX); resv_map 738 mm/hugetlb.c VM_BUG_ON(resv_map->adds_in_progress); resv_map 740 mm/hugetlb.c kfree(resv_map); resv_map 743 mm/hugetlb.c static inline struct resv_map *inode_resv_map(struct inode *inode) resv_map 753 mm/hugetlb.c return (struct resv_map *)(&inode->i_data)->private_data; resv_map 756 mm/hugetlb.c static struct resv_map *vma_resv_map(struct vm_area_struct *vma) resv_map 766 mm/hugetlb.c return (struct resv_map *)(get_vma_private_data(vma) & resv_map 771 mm/hugetlb.c static void set_vma_resv_map(struct vm_area_struct *vma, struct resv_map *map) resv_map 1989 mm/hugetlb.c struct resv_map *resv; resv_map 3281 mm/hugetlb.c struct resv_map *resv = vma_resv_map(vma); resv_map 3298 mm/hugetlb.c struct resv_map *resv = vma_resv_map(vma); resv_map 4653 mm/hugetlb.c struct resv_map *resv_map; resv_map 4682 mm/hugetlb.c resv_map = inode_resv_map(inode); resv_map 4684 mm/hugetlb.c chg = region_chg(resv_map, from, to); resv_map 4687 mm/hugetlb.c resv_map = resv_map_alloc(); resv_map 4688 mm/hugetlb.c if (!resv_map) resv_map 4693 mm/hugetlb.c set_vma_resv_map(vma, resv_map); resv_map 4736 mm/hugetlb.c long add = region_add(resv_map, from, to); resv_map 4758 mm/hugetlb.c region_abort(resv_map, from, to); resv_map 4760 mm/hugetlb.c kref_put(&resv_map->refs, resv_map_release); resv_map 4768 mm/hugetlb.c struct resv_map *resv_map = inode_resv_map(inode); resv_map 4777 mm/hugetlb.c if (resv_map) { resv_map 4778 mm/hugetlb.c chg = region_del(resv_map, start, end);