Searched refs:resv_map (Results 1 – 7 of 7) sorted by relevance
| /linux/include/linux/ |
| H 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, 160 static inline void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv, in hugetlb_cgroup_uncharge_file_region() [all …]
|
| H A D | hugetlb.h | 49 struct resv_map { struct 109 extern struct resv_map *resv_map_alloc(void);
|
| /linux/mm/ |
| H A D | hugetlb.c | 122 static struct resv_map *vma_resv_map(struct vm_area_struct *vma); 289 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_lock_read() local 291 down_read(&resv_map->rw_sema); in hugetlb_vma_lock_read() 302 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_unlock_read() local 304 up_read(&resv_map->rw_sema); in hugetlb_vma_unlock_read() 315 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_lock_write() local 317 down_write(&resv_map->rw_sema); in hugetlb_vma_lock_write() 328 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_unlock_write() local 330 up_write(&resv_map->rw_sema); in hugetlb_vma_unlock_write() 342 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_trylock_write() local [all …]
|
| H A D | hugetlb_cgroup.c | 412 void hugetlb_cgroup_uncharge_counter(struct resv_map *resv, unsigned long start, in hugetlb_cgroup_uncharge_counter() 424 void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv, in hugetlb_cgroup_uncharge_file_region()
|
| /linux/Documentation/translations/zh_CN/mm/ |
| H 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/ |
| H A D | inode.c | 620 struct resv_map *resv_map; in hugetlbfs_evict_inode() local 631 resv_map = (struct resv_map *)(&inode->i_data)->i_private_data; in hugetlbfs_evict_inode() 633 if (resv_map) in hugetlbfs_evict_inode() 634 resv_map_release(&resv_map->refs); in hugetlbfs_evict_inode() 931 struct resv_map *resv_map = NULL; in hugetlbfs_get_inode() local 938 resv_map = resv_map_alloc(); in hugetlbfs_get_inode() 939 if (!resv_map) in hugetlbfs_get_inode() 953 inode->i_mapping->i_private_data = resv_map; in hugetlbfs_get_inode() 978 if (resv_map) in hugetlbfs_get_inode() 979 kref_put(&resv_map->refs, resv_map_release); in hugetlbfs_get_inode()
|
| /linux/Documentation/mm/ |
| H 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);
|