Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dhugetlb_cgroup.h21 struct resv_map;
122 struct resv_map *resv_map) in resv_map_dup_hugetlb_cgroup_uncharge_info() argument
124 if (resv_map->css) in resv_map_dup_hugetlb_cgroup_uncharge_info()
125 css_get(resv_map->css); in resv_map_dup_hugetlb_cgroup_uncharge_info()
147 extern void hugetlb_cgroup_uncharge_counter(struct resv_map *resv,
151 extern void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv,
161 static inline void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv, in hugetlb_cgroup_uncharge_file_region()
207 struct resv_map *resv_map) in resv_map_dup_hugetlb_cgroup_uncharge_info() argument
259 static inline void hugetlb_cgroup_uncharge_counter(struct resv_map *resv, in hugetlb_cgroup_uncharge_counter()
Dhugetlb.h43 struct resv_map { struct
96 extern struct resv_map *resv_map_alloc(void);
/kernel/linux/linux-5.10/mm/
Dhugetlb.c250 get_file_region_entry_from_cache(struct resv_map *resv, long from, long to) in get_file_region_entry_from_cache()
280 struct resv_map *resv, in record_hugetlb_cgroup_uncharge_info()
333 static void coalesce_file_region(struct resv_map *resv, struct file_region *rg) in coalesce_file_region()
368 static long add_reservation_in_range(struct resv_map *resv, long f, long t, in add_reservation_in_range()
441 static int allocate_file_region_entries(struct resv_map *resv, in allocate_file_region_entries()
514 static long region_add(struct resv_map *resv, long f, long t, in region_add()
582 static long region_chg(struct resv_map *resv, long f, long t, in region_chg()
618 static void region_abort(struct resv_map *resv, long f, long t, in region_abort()
641 static long region_del(struct resv_map *resv, long f, long t) in region_del()
768 static long region_count(struct resv_map *resv, long f, long t) in region_count()
[all …]
Dhugetlb_cgroup.c380 void hugetlb_cgroup_uncharge_counter(struct resv_map *resv, unsigned long start, in hugetlb_cgroup_uncharge_counter()
392 void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv, in hugetlb_cgroup_uncharge_file_region()
/kernel/linux/linux-5.10/fs/hugetlbfs/
Dinode.c558 struct resv_map *resv_map; in hugetlbfs_evict_inode() local
568 resv_map = (struct resv_map *)(&inode->i_data)->private_data; in hugetlbfs_evict_inode()
570 if (resv_map) in hugetlbfs_evict_inode()
571 resv_map_release(&resv_map->refs); in hugetlbfs_evict_inode()
828 struct resv_map *resv_map = NULL; in hugetlbfs_get_inode() local
835 resv_map = resv_map_alloc(); in hugetlbfs_get_inode()
836 if (!resv_map) in hugetlbfs_get_inode()
850 inode->i_mapping->private_data = resv_map; in hugetlbfs_get_inode()
874 if (resv_map) in hugetlbfs_get_inode()
875 kref_put(&resv_map->refs, resv_map_release); in hugetlbfs_get_inode()
/kernel/linux/linux-5.10/Documentation/vm/
Dhugetlbfs_reserv.rst43 struct resv_map {
53 The regions list within the resv_map describes the regions within
378 long region_chg(struct resv_map *resv, long f, long t);
379 long region_add(struct resv_map *resv, long f, long t);
380 void region_abort(struct resv_map *resv, long f, long t);
381 long region_count(struct resv_map *resv, long f, long t);