Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A 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()
H A Dhugetlb.h44 struct resv_map { struct
97 extern struct resv_map *resv_map_alloc(void);
/OK3568_Linux_fs/kernel/mm/
H A Dhugetlb.c249 get_file_region_entry_from_cache(struct resv_map *resv, long from, long to) in get_file_region_entry_from_cache()
279 struct resv_map *resv, in record_hugetlb_cgroup_uncharge_info()
332 static void coalesce_file_region(struct resv_map *resv, struct file_region *rg) in coalesce_file_region()
367 static long add_reservation_in_range(struct resv_map *resv, long f, long t, in add_reservation_in_range()
440 static int allocate_file_region_entries(struct resv_map *resv, in allocate_file_region_entries()
513 static long region_add(struct resv_map *resv, long f, long t, in region_add()
581 static long region_chg(struct resv_map *resv, long f, long t, in region_chg()
617 static void region_abort(struct resv_map *resv, long f, long t, in region_abort()
640 static long region_del(struct resv_map *resv, long f, long t) in region_del()
767 static long region_count(struct resv_map *resv, long f, long t) in region_count()
[all …]
H A 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()
/OK3568_Linux_fs/kernel/fs/hugetlbfs/
H A Dinode.c559 struct resv_map *resv_map; in hugetlbfs_evict_inode() local
569 resv_map = (struct resv_map *)(&inode->i_data)->private_data; in hugetlbfs_evict_inode()
571 if (resv_map) in hugetlbfs_evict_inode()
572 resv_map_release(&resv_map->refs); in hugetlbfs_evict_inode()
829 struct resv_map *resv_map = NULL; in hugetlbfs_get_inode() local
836 resv_map = resv_map_alloc(); in hugetlbfs_get_inode()
837 if (!resv_map) in hugetlbfs_get_inode()
851 inode->i_mapping->private_data = resv_map; in hugetlbfs_get_inode()
875 if (resv_map) in hugetlbfs_get_inode()
876 kref_put(&resv_map->refs, resv_map_release); in hugetlbfs_get_inode()
/OK3568_Linux_fs/kernel/Documentation/vm/
H A 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);