Home
last modified time | relevance | path

Searched refs:nr_pages (Results 1 – 25 of 39) sorted by relevance

12

/include/linux/
Dpage_counter.h50 void page_counter_cancel(struct page_counter *counter, unsigned long nr_pages);
51 void page_counter_charge(struct page_counter *counter, unsigned long nr_pages);
53 unsigned long nr_pages,
55 void page_counter_uncharge(struct page_counter *counter, unsigned long nr_pages);
56 void page_counter_set_min(struct page_counter *counter, unsigned long nr_pages);
57 void page_counter_set_low(struct page_counter *counter, unsigned long nr_pages);
58 int page_counter_set_max(struct page_counter *counter, unsigned long nr_pages);
60 unsigned long *nr_pages);
Dhugetlb_cgroup.h54 extern int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages,
56 extern void hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages,
59 extern void hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages,
61 extern void hugetlb_cgroup_uncharge_cgroup(int idx, unsigned long nr_pages,
85 hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup() argument
92 hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge() argument
99 hugetlb_cgroup_uncharge_page(int idx, unsigned long nr_pages, struct page *page) in hugetlb_cgroup_uncharge_page() argument
104 hugetlb_cgroup_uncharge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_cgroup() argument
Dmemory_hotplug.h94 extern int zone_grow_waitqueues(struct zone *zone, unsigned long nr_pages);
128 extern void __remove_pages(unsigned long start_pfn, unsigned long nr_pages,
132 extern int __add_pages(int nid, unsigned long start_pfn, unsigned long nr_pages,
137 unsigned long nr_pages, struct mhp_restrictions *restrictions) in add_pages() argument
139 return __add_pages(nid, start_pfn, nr_pages, restrictions); in add_pages()
142 int add_pages(int nid, unsigned long start_pfn, unsigned long nr_pages,
314 extern bool is_mem_section_removable(unsigned long pfn, unsigned long nr_pages);
316 extern int offline_pages(unsigned long start_pfn, unsigned long nr_pages);
322 unsigned long nr_pages) in is_mem_section_removable() argument
329 static inline int offline_pages(unsigned long start_pfn, unsigned long nr_pages) in offline_pages() argument
[all …]
Dmm_inline.h28 int nr_pages) in __update_lru_size() argument
32 __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); in __update_lru_size()
34 NR_ZONE_LRU_BASE + lru, nr_pages); in __update_lru_size()
39 int nr_pages) in update_lru_size() argument
41 __update_lru_size(lruvec, lru, zid, nr_pages); in update_lru_size()
43 mem_cgroup_update_lru_size(lruvec, lru, zid, nr_pages); in update_lru_size()
Dmpage.h18 unsigned nr_pages, get_block_t get_block);
Dmemory.h52 unsigned long nr_pages; member
67 unsigned int nr_pages; /* # pages in range to check */ member
Dpagemap.h352 pgoff_t end, unsigned int nr_pages,
355 pgoff_t *start, unsigned int nr_pages, in find_get_pages() argument
358 return find_get_pages_range(mapping, start, (pgoff_t)-1, nr_pages, in find_get_pages()
362 unsigned int nr_pages, struct page **pages);
364 pgoff_t end, xa_mark_t tag, unsigned int nr_pages,
367 pgoff_t *index, xa_mark_t tag, unsigned int nr_pages, in find_get_pages_tag() argument
371 nr_pages, pages); in find_get_pages_tag()
Dswap.h153 pgoff_t nr_pages; member
356 unsigned long nr_pages,
363 extern unsigned long shrink_all_memory(unsigned long nr_pages);
396 unsigned long nr_pages, sector_t start_block);
473 extern int init_swap_address_space(unsigned int type, unsigned long nr_pages);
661 extern void mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages);
676 unsigned int nr_pages) in mem_cgroup_uncharge_swap() argument
Dsplice.h59 int nr_pages; /* number of populated pages in map */ member
Dvmstat.h374 static inline void __mod_zone_freepage_state(struct zone *zone, int nr_pages, in __mod_zone_freepage_state() argument
377 __mod_zone_page_state(zone, NR_FREE_PAGES, nr_pages); in __mod_zone_freepage_state()
379 __mod_zone_page_state(zone, NR_FREE_CMA_PAGES, nr_pages); in __mod_zone_freepage_state()
Dscif.h112 int nr_pages; member
Dfscache.h592 unsigned *nr_pages, in fscache_read_or_alloc_pages() argument
599 nr_pages, end_io_func, in fscache_read_or_alloc_pages()
Dcoresight.h214 int nr_pages, bool overwrite);
Dvmalloc.h47 unsigned int nr_pages; member
Diomap.h156 unsigned nr_pages, const struct iomap_ops *ops);
Dmemcontrol.h537 int zid, int nr_pages);
1329 bool mem_cgroup_charge_skmem(struct mem_cgroup *memcg, unsigned int nr_pages);
1330 void mem_cgroup_uncharge_skmem(struct mem_cgroup *memcg, unsigned int nr_pages);
1375 unsigned int nr_pages);
Dmm.h1521 unsigned long start, unsigned long nr_pages,
1524 long get_user_pages(unsigned long start, unsigned long nr_pages,
1527 long get_user_pages_locked(unsigned long start, unsigned long nr_pages,
1529 long get_user_pages_unlocked(unsigned long start, unsigned long nr_pages,
1532 int get_user_pages_fast(unsigned long start, int nr_pages,
1582 int get_kernel_pages(const struct kvec *iov, int nr_pages, int write,
1626 int __get_user_pages_fast(unsigned long start, int nr_pages, int write,
2767 unsigned long nr_pages, int nid, struct vmem_altmap *altmap);
2788 unsigned long nr_pages);
/include/xen/
Dballoon.h27 int alloc_xenballooned_pages(int nr_pages, struct page **pages);
28 void free_xenballooned_pages(int nr_pages, struct page **pages);
Dgrant_table.h198 int gnttab_alloc_pages(int nr_pages, struct page **pages);
199 void gnttab_free_pages(int nr_pages, struct page **pages);
208 int nr_pages; member
219 int gnttab_pages_set_private(int nr_pages, struct page **pages);
220 void gnttab_pages_clear_private(int nr_pages, struct page **pages);
Dxenbus.h205 unsigned int nr_pages, grant_ref_t *grefs);
/include/media/
Dvideobuf-dma-sg.h63 int nr_pages; member
/include/xen/arm/
Dpage.h98 unsigned long nr_pages);
/include/drm/
Ddrm_prime.h93 struct sg_table *drm_prime_pages_to_sg(struct page **pages, unsigned int nr_pages);
/include/xen/interface/
Dxen.h638 unsigned long nr_pages; /* Total pages allocated to this domain. */ member
/include/trace/events/
Dwriteback.h354 __field(long, nr_pages)
367 __entry->nr_pages = work->nr_pages;
380 __entry->nr_pages,

12