Searched refs:resv_map (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/include/linux/ |
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 …]
|
D | hugetlb.h | 50 struct resv_map { struct 110 extern struct resv_map *resv_map_alloc(void);
|
/linux-6.12.1/mm/ |
D | hugetlb.c | 91 static struct resv_map *vma_resv_map(struct vm_area_struct *vma); 274 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_lock_read() local 276 down_read(&resv_map->rw_sema); in hugetlb_vma_lock_read() 287 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_unlock_read() local 289 up_read(&resv_map->rw_sema); in hugetlb_vma_unlock_read() 300 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_lock_write() local 302 down_write(&resv_map->rw_sema); in hugetlb_vma_lock_write() 313 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_unlock_write() local 315 up_write(&resv_map->rw_sema); in hugetlb_vma_unlock_write() 327 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_trylock_write() local [all …]
|
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-6.12.1/Documentation/translations/zh_CN/mm/ |
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-6.12.1/fs/hugetlbfs/ |
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-6.12.1/Documentation/mm/ |
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);
|