Searched refs:resv_map (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/include/linux/ |
D | hugetlb_cgroup.h | 21 struct resv_map; 125 struct resv_map *resv_map) in resv_map_dup_hugetlb_cgroup_uncharge_info() argument 127 if (resv_map->css) in resv_map_dup_hugetlb_cgroup_uncharge_info() 128 css_get(resv_map->css); in resv_map_dup_hugetlb_cgroup_uncharge_info() 132 struct resv_map *resv_map) in resv_map_put_hugetlb_cgroup_uncharge_info() argument 134 if (resv_map->css) in resv_map_put_hugetlb_cgroup_uncharge_info() 135 css_put(resv_map->css); in resv_map_put_hugetlb_cgroup_uncharge_info() 157 extern void hugetlb_cgroup_uncharge_counter(struct resv_map *resv, 161 extern void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv, 171 static inline void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv, in hugetlb_cgroup_uncharge_file_region() [all …]
|
D | hugetlb.h | 56 struct resv_map { struct 116 extern struct resv_map *resv_map_alloc(void);
|
/Linux-v6.6/mm/ |
D | hugetlb.c | 100 static struct resv_map *vma_resv_map(struct vm_area_struct *vma); 272 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_lock_read() local 274 down_read(&resv_map->rw_sema); in hugetlb_vma_lock_read() 285 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_unlock_read() local 287 up_read(&resv_map->rw_sema); in hugetlb_vma_unlock_read() 298 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_lock_write() local 300 down_write(&resv_map->rw_sema); in hugetlb_vma_lock_write() 311 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_unlock_write() local 313 up_write(&resv_map->rw_sema); in hugetlb_vma_unlock_write() 325 struct resv_map *resv_map = vma_resv_map(vma); in hugetlb_vma_trylock_write() local [all …]
|
D | hugetlb_cgroup.c | 423 void hugetlb_cgroup_uncharge_counter(struct resv_map *resv, unsigned long start, in hugetlb_cgroup_uncharge_counter() 435 void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv, in hugetlb_cgroup_uncharge_file_region()
|
/Linux-v6.6/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-v6.6/fs/hugetlbfs/ |
D | inode.c | 701 struct resv_map *resv_map; in hugetlbfs_evict_inode() local 711 resv_map = (struct resv_map *)(&inode->i_data)->private_data; in hugetlbfs_evict_inode() 713 if (resv_map) in hugetlbfs_evict_inode() 714 resv_map_release(&resv_map->refs); in hugetlbfs_evict_inode() 1006 struct resv_map *resv_map = NULL; in hugetlbfs_get_inode() local 1013 resv_map = resv_map_alloc(); in hugetlbfs_get_inode() 1014 if (!resv_map) in hugetlbfs_get_inode() 1028 inode->i_mapping->private_data = resv_map; in hugetlbfs_get_inode() 1052 if (resv_map) in hugetlbfs_get_inode() 1053 kref_put(&resv_map->refs, resv_map_release); in hugetlbfs_get_inode()
|
/Linux-v6.6/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);
|