Home
last modified time | relevance | path

Searched refs:resv_map (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/include/linux/
A Dhugetlb_cgroup.h21 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,
209 struct resv_map *resv_map) in resv_map_dup_hugetlb_cgroup_uncharge_info() argument
[all …]
A Dhugetlb.h54 struct resv_map { struct
113 extern struct resv_map *resv_map_alloc(void);
/linux-6.3-rc2/Documentation/translations/zh_CN/mm/
A Dhugetlbfs_reserv.rst43 struct resv_map {
52 系统中每个巨页映射都有一个预留映射。resv_map中的regions列表描述了映射中的
286 long region_chg(struct resv_map *resv, long f, long t);
287 long region_add(struct resv_map *resv, long f, long t);
288 void region_abort(struct resv_map *resv, long f, long t);
289 long region_count(struct resv_map *resv, long f, long t);
/linux-6.3-rc2/mm/
A Dhugetlb.c1033 resv_map_set_hugetlb_cgroup_uncharge_info(struct resv_map *resv_map, in resv_map_set_hugetlb_cgroup_uncharge_info() argument
1041 resv_map->css = NULL; in resv_map_set_hugetlb_cgroup_uncharge_info()
1053 struct resv_map *resv_map = kmalloc(sizeof(*resv_map), GFP_KERNEL); in resv_map_alloc() local
1057 kfree(resv_map); in resv_map_alloc()
1079 return resv_map; in resv_map_alloc()
1084 struct resv_map *resv_map = container_of(ref, struct resv_map, refs); in resv_map_release() local
1099 kfree(resv_map); in resv_map_release()
6774 struct resv_map *resv_map; in hugetlb_reserve_pages() local
6816 if (!resv_map) in hugetlb_reserve_pages()
6928 struct resv_map *resv_map = inode_resv_map(inode); in hugetlb_unreserve_pages() local
[all …]
A Dhugetlb_cgroup.c423 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-6.3-rc2/fs/hugetlbfs/
A Dinode.c656 struct resv_map *resv_map; in hugetlbfs_evict_inode() local
666 resv_map = (struct resv_map *)(&inode->i_data)->private_data; in hugetlbfs_evict_inode()
668 if (resv_map) in hugetlbfs_evict_inode()
669 resv_map_release(&resv_map->refs); in hugetlbfs_evict_inode()
966 struct resv_map *resv_map = NULL; in hugetlbfs_get_inode() local
973 resv_map = resv_map_alloc(); in hugetlbfs_get_inode()
974 if (!resv_map) in hugetlbfs_get_inode()
988 inode->i_mapping->private_data = resv_map; in hugetlbfs_get_inode()
1012 if (resv_map) in hugetlbfs_get_inode()
1013 kref_put(&resv_map->refs, resv_map_release); in hugetlbfs_get_inode()
/linux-6.3-rc2/Documentation/mm/
A Dhugetlbfs_reserv.rst41 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 27 milliseconds