Searched refs:resv_map (Results 1 – 6 of 6) sorted by relevance
/linux/include/linux/ |
A 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, 217 struct resv_map *resv_map) in resv_map_dup_hugetlb_cgroup_uncharge_info() argument [all …]
|
A D | hugetlb.h | 61 struct resv_map { struct 114 extern struct resv_map *resv_map_alloc(void);
|
/linux/mm/ |
A D | hugetlb.c | 888 resv_map_set_hugetlb_cgroup_uncharge_info(struct resv_map *resv_map, in resv_map_set_hugetlb_cgroup_uncharge_info() argument 896 resv_map->css = NULL; in resv_map_set_hugetlb_cgroup_uncharge_info() 908 struct resv_map *resv_map = kmalloc(sizeof(*resv_map), GFP_KERNEL); in resv_map_alloc() local 912 kfree(resv_map); in resv_map_alloc() 934 return resv_map; in resv_map_alloc() 939 struct resv_map *resv_map = container_of(ref, struct resv_map, refs); in resv_map_release() local 954 kfree(resv_map); in resv_map_release() 6214 struct resv_map *resv_map; in hugetlb_reserve_pages() local 6251 if (!resv_map) in hugetlb_reserve_pages() 6362 struct resv_map *resv_map = inode_resv_map(inode); in hugetlb_unreserve_pages() local [all …]
|
A D | hugetlb_cgroup.c | 377 void hugetlb_cgroup_uncharge_counter(struct resv_map *resv, unsigned long start, in hugetlb_cgroup_uncharge_counter() 389 void hugetlb_cgroup_uncharge_file_region(struct resv_map *resv, in hugetlb_cgroup_uncharge_file_region()
|
/linux/fs/hugetlbfs/ |
A D | inode.c | 555 struct resv_map *resv_map; in hugetlbfs_evict_inode() local 565 resv_map = (struct resv_map *)(&inode->i_data)->private_data; in hugetlbfs_evict_inode() 567 if (resv_map) in hugetlbfs_evict_inode() 568 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()
|
/linux/Documentation/vm/ |
A D | hugetlbfs_reserv.rst | 43 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);
|
Completed in 24 milliseconds