Searched refs:resv_map (Results 1 – 7 of 7) sorted by relevance
| /linux/include/linux/ |
| A D | hugetlb_cgroup.h | 21 struct resv_map; 114 struct resv_map *resv_map) in resv_map_dup_hugetlb_cgroup_uncharge_info() argument 116 if (resv_map->css) in resv_map_dup_hugetlb_cgroup_uncharge_info() 117 css_get(resv_map->css); in resv_map_dup_hugetlb_cgroup_uncharge_info() 121 struct resv_map *resv_map) in resv_map_put_hugetlb_cgroup_uncharge_info() argument 123 if (resv_map->css) in resv_map_put_hugetlb_cgroup_uncharge_info() 124 css_put(resv_map->css); in resv_map_put_hugetlb_cgroup_uncharge_info() 146 extern void hugetlb_cgroup_uncharge_counter(struct resv_map *resv, 150 extern void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv, 198 struct resv_map *resv_map) in resv_map_dup_hugetlb_cgroup_uncharge_info() argument [all …]
|
| A D | hugetlb.h | 50 struct resv_map { struct 110 extern struct resv_map *resv_map_alloc(void);
|
| /linux/mm/ |
| A D | hugetlb.c | 274 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_lock_read() local 287 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_unlock_read() local 300 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_lock_write() local 313 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_unlock_write() local 327 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_trylock_write() local 342 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_assert_locked() local 378 struct resv_map *resv_map = vma_resv_map(vma); in __hugetlb_vma_unlock_write_free() local 1086 struct resv_map *resv_map = kmalloc(sizeof(*resv_map), GFP_KERNEL); in resv_map_alloc() local 1118 struct resv_map *resv_map = container_of(ref, struct resv_map, refs); in resv_map_release() local 6904 struct resv_map *resv_map; in hugetlb_reserve_pages() local [all …]
|
| A D | hugetlb_cgroup.c | 424 void hugetlb_cgroup_uncharge_counter(struct resv_map *resv, unsigned long start, in hugetlb_cgroup_uncharge_counter() 436 void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv, in hugetlb_cgroup_uncharge_file_region()
|
| /linux/Documentation/translations/zh_CN/mm/ |
| A D | hugetlbfs_reserv.rst | 44 struct resv_map { 53 系统中每个巨页映射都有一个预留映射。resv_map中的regions列表描述了映射中的 287 long region_chg(struct resv_map *resv, long f, long t); 288 long region_add(struct resv_map *resv, long f, long t); 289 void region_abort(struct resv_map *resv, long f, long t); 290 long region_count(struct resv_map *resv, long f, long t);
|
| /linux/fs/hugetlbfs/ |
| A D | inode.c | 688 struct resv_map *resv_map; in hugetlbfs_evict_inode() local 698 resv_map = (struct resv_map *)(&inode->i_data)->i_private_data; in hugetlbfs_evict_inode() 700 if (resv_map) in hugetlbfs_evict_inode() 701 resv_map_release(&resv_map->refs); in hugetlbfs_evict_inode() 991 struct resv_map *resv_map = NULL; in hugetlbfs_get_inode() local 998 resv_map = resv_map_alloc(); in hugetlbfs_get_inode() 999 if (!resv_map) in hugetlbfs_get_inode() 1013 inode->i_mapping->i_private_data = resv_map; in hugetlbfs_get_inode() 1037 if (resv_map) in hugetlbfs_get_inode() 1038 kref_put(&resv_map->refs, resv_map_release); in hugetlbfs_get_inode()
|
| /linux/Documentation/mm/ |
| A D | hugetlbfs_reserv.rst | 41 struct resv_map { 51 The regions list within the resv_map describes the regions within 377 long region_chg(struct resv_map *resv, long f, long t); 378 long region_add(struct resv_map *resv, long f, long t); 379 void region_abort(struct resv_map *resv, long f, long t); 380 long region_count(struct resv_map *resv, long f, long t);
|
Completed in 45 milliseconds