Searched refs:pages (Results 51 - 75 of 622) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/bin/psorder/
H A Dpsorder.h77 struct pages_st pages; member in struct:psinfo_st
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/ttm/
H A Dttm_agp_backend.c49 unsigned long num_pages, struct page **pages,
54 struct page **cur_page, **last_page = pages + num_pages;
62 for (cur_page = pages; cur_page < last_page; ++cur_page) {
67 mem->pages[mem->page_count++] = page;
48 ttm_agp_populate(struct ttm_backend *backend, unsigned long num_pages, struct page **pages, struct page *dummy_read_page) argument
H A Dttm_tt.c47 * Allocates storage for pointers to the pages that back the ttm.
51 ttm->pages = drm_calloc_large(ttm->num_pages, sizeof(*ttm->pages));
56 drm_free_large(ttm->pages);
57 ttm->pages = NULL;
76 page = ttm->pages[i];
88 ttm->pages[i] = NULL;
104 while (NULL == (p = ttm->pages[index])) {
120 ttm->pages[--ttm->first_himem_page] = p;
122 ttm->pages[
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/mm/
H A Dmincore.c34 * Huge pages are always in RAM for now, but
206 static long do_mincore(unsigned long addr, unsigned long pages, unsigned char *vec) argument
215 end = min(vma->vm_end, addr + (pages << PAGE_SHIFT));
235 * mincore() returns the memory residency status of the pages in the
243 * contain stale information. Only locked pages are guaranteed to
252 * specify one or more pages which are not currently
260 unsigned long pages; local
272 pages = len >> PAGE_SHIFT;
273 pages += (len & ~PAGE_MASK) != 0;
275 if (!access_ok(VERIFY_WRITE, vec, pages))
[all...]
H A Dreadahead.c38 * before calling, such as the NFS fs marking pages that are cached locally
57 * release a list of pages, invalidating them first if need be
60 struct list_head *pages)
64 while (!list_empty(pages)) {
65 victim = list_to_page(pages);
72 * read_cache_pages - populate an address space with some pages & start reads against them
74 * @pages: The address of a list_head which contains the target pages. These
75 * pages have their ->index populated and are otherwise uninitialised.
81 int read_cache_pages(struct address_space *mapping, struct list_head *pages, argument
59 read_cache_pages_invalidate_pages(struct address_space *mapping, struct list_head *pages) argument
109 read_pages(struct address_space *mapping, struct file *filp, struct list_head *pages, unsigned nr_pages) argument
[all...]
H A Dswap.c41 /* How many pages do we try to swap or page in/out together? */
48 * This path almost never happens for VM activity - pages are normally
87 * put_pages_list() - release a list of pages
88 * @pages: list of pages threaded on page->lru
90 * Release a list of pages which are strung together on page.lru. Currently
93 void put_pages_list(struct list_head *pages) argument
95 while (!list_empty(pages)) {
98 victim = list_entry(pages->prev, struct page, lru);
116 struct page *page = pvec->pages[
330 release_pages(struct page **pages, int nr, int cold) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/base/
H A Dfirmware_class.c92 struct page **pages; member in struct:firmware_priv
156 __free_page(fw_priv->pages[i]);
157 kfree(fw_priv->pages);
197 if (fw->pages) {
199 __free_page(fw->pages[i]);
200 kfree(fw->pages);
238 /* If the pages are not owned by 'struct firmware' */
240 __free_page(fw_priv->pages[i]);
241 kfree(fw_priv->pages);
242 fw_priv->pages
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/tile/mm/
H A Dhomecache.c185 /* Return a mask of the cpus whose caches currently own these pages. */
186 static void homecache_mask(struct page *page, int pages, argument
191 for (i = 0; i < pages; ++i) {
230 int pages = 1 << order; local
231 int length = cache_flush_length(pages * PAGE_SIZE);
235 homecache_mask(page, pages, &home_mask);
237 validate_lines_evicted(pfn, pages * PAGE_SIZE);
276 * Only immutable pages get NC mappings. If we have a
379 int i, pages = (1 << order); local
387 kva, pages * PAGE_SIZ
431 int pages = (1 << order); local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/
H A Ddrm_agpsupport.c202 unsigned long pages; local
212 pages = (request->size + PAGE_SIZE - 1) / PAGE_SIZE;
214 if (!(memory = drm_alloc_agp(dev, pages, type))) {
222 entry->pages = pages;
372 drm_free_agp(entry->memory, entry->pages);
428 size_t pages, u32 type)
430 return agp_allocate_memory(bridge, pages, type);
459 * Binds a collection of pages into AGP memory at the given offset, returning
462 * No reference is held on the pages durin
427 drm_agp_allocate_memory(struct agp_bridge_data * bridge, size_t pages, u32 type) argument
466 drm_agp_bind_pages(struct drm_device *dev, struct page **pages, unsigned long num_pages, uint32_t gtt_offset, u32 type) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/
H A Dvideobuf-dma-sg.c96 static struct scatterlist *videobuf_pages_to_sg(struct page **pages, argument
102 if (NULL == pages[0])
109 if (PageHighMem(pages[0]))
110 /* DMA to highmem pages might not work */
112 sg_set_page(&sglist[0], pages[0], PAGE_SIZE - offset, offset);
115 if (NULL == pages[i])
117 if (PageHighMem(pages[i]))
119 sg_set_page(&sglist[i], pages[i], min(PAGE_SIZE, size), 0);
178 dma->pages = kmalloc(dma->nr_pages * sizeof(struct page *), GFP_KERNEL);
179 if (NULL == dma->pages)
457 int err, pages; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/s390/hypfs/
H A Dhypfs_diag.c51 static int diag204_buf_pages; /* number of pages for diag204 data */
359 * up to 93 pages!
380 static void *diag204_alloc_vbuf(int pages) argument
383 diag204_buf_vmalloc = vmalloc(PAGE_SIZE * (pages + 1));
387 diag204_buf_pages = pages;
400 static void *diag204_get_buffer(enum diag204_format fmt, int *pages) argument
403 *pages = diag204_buf_pages;
407 *pages = 1;
410 *pages = diag204((unsigned long)SUBC_RSI |
412 if (*pages <
436 int pages, rc; local
479 diag204_do_store(void *buf, int pages) argument
491 int pages, rc; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/xprtrdma/
H A Dsvc_rdma_recvfrom.c53 * Replace the pages in the rq_argpages array with the pages from the SGE in
54 * the RDMA_RECV completion. The SGL should contain full pages up until the
66 page = ctxt->pages[0];
82 rqstp->rq_arg.pages = &rqstp->rq_pages[1];
85 page = ctxt->pages[sge_no];
102 /* If not all pages were used from the SGL, free the remaining ones */
105 page = ctxt->pages[sge_no++];
118 * - chunk[0]->position points to pages[0] at an offset of 0
119 * - pages[] i
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m32r/mm/
H A Ddiscontig.c29 unsigned long pages; member in struct:__anon9591
48 mp->pages = PFN_DOWN(memory_end - memory_start);
66 mp->pages = PFN_DOWN(CONFIG_IRAM_SIZE) + holes;
88 max_pfn = mp->start_pfn + mp->pages;
93 PFN_PHYS(mp->pages));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/blackfin/kernel/
H A Ddma-mapping.c36 printk(KERN_INFO "%s: dma_page @ 0x%p - %d pages at 0x%08lx\n", __func__,
45 static unsigned long __alloc_dma_pages(unsigned int pages) argument
57 if (++count == pages) {
71 static void __free_dma_pages(unsigned long addr, unsigned int pages) argument
77 if ((page + pages) > dma_pages) {
83 for (i = page; i < page + pages; i++)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/mm/
H A Dpageattr.c39 struct page **pages; member in struct:cpa_data
57 void update_page_count(int level, unsigned long pages) argument
63 direct_pages_count[level] += pages;
170 * tlb invalidates for a low number of pages. Caveat: we must
207 int in_flags, struct page **pages)
230 addr = (unsigned long)page_address(pages[i]);
303 * page-table pages. Thus we can't really use different
425 * Calculate the number of pages, which fit into this large
454 * the pages in the range we try to preserve:
477 * the address is not aligned and the number of pages i
206 cpa_flush_array(unsigned long *start, int numpages, int cache, int in_flags, struct page **pages) argument
827 change_page_attr_set_clr(unsigned long *addr, int numpages, pgprot_t mask_set, pgprot_t mask_clr, int force_split, int in_flag, struct page **pages) argument
940 cpa_set_pages_array(struct page **pages, int numpages, pgprot_t mask) argument
947 cpa_clear_pages_array(struct page **pages, int numpages, pgprot_t mask) argument
1162 _set_pages_array(struct page **pages, int addrinarray, unsigned long new_type) argument
1202 set_pages_array_uc(struct page **pages, int addrinarray) argument
1208 set_pages_array_wc(struct page **pages, int addrinarray) argument
1222 set_pages_array_wb(struct page **pages, int addrinarray) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ntfs/
H A Dfile.c82 * disk (if relevant complete pages are already uptodate in the page cache then
263 * thousands of pages or as in the above example more than
264 * two and a half million pages!
266 * TODO: For sparse pages could optimize this workload by using
268 * would be set in readpage for sparse pages and here we would
269 * not need to mark dirty any pages which have this bit set.
275 * call readpage() on pages which are not in sparse regions as
277 * number of pages we read and make dirty in the case of sparse
335 * Fault a number of userspace pages into pagetables.
338 * with more than two userspace pages a
406 __ntfs_grab_cache_pages(struct address_space *mapping, pgoff_t index, const unsigned nr_pages, struct page **pages, struct page **cached_page) argument
480 ntfs_prepare_pages_for_non_resident_write(struct page **pages, unsigned nr_pages, s64 pos, size_t bytes) argument
1276 ntfs_copy_from_user(struct page **pages, unsigned nr_pages, unsigned ofs, const char __user *buf, size_t bytes) argument
1393 ntfs_copy_from_user_iovec(struct page **pages, unsigned nr_pages, unsigned ofs, const struct iovec **iov, size_t *iov_ofs, size_t bytes) argument
1446 ntfs_flush_dcache_pages(struct page **pages, unsigned nr_pages) argument
1470 ntfs_commit_pages_after_non_resident_write( struct page **pages, const unsigned nr_pages, s64 pos, size_t bytes) argument
1625 ntfs_commit_pages_after_write(struct page **pages, const unsigned nr_pages, s64 pos, size_t bytes) argument
1780 struct page *pages[NTFS_MAX_PAGES_PER_CLUSTER]; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/vm/
H A Dpage-types.c160 static int opt_list; /* list pages (in ranges) */
217 static unsigned long pages2mb(unsigned long pages) argument
219 return (pages * page_size) >> 20;
276 unsigned long pages)
278 return do_u64_read(kpageflags_fd, PROC_KPAGEFLAGS, buf, index, pages);
283 unsigned long pages)
285 return do_u64_read(pagemap_fd, "/proc/pid/pagemap", buf, index, pages);
450 /* hide non-hugeTLB compound pages */
567 #define KPAGEFLAGS_BATCH (64 << 10) /* 64k pages */
574 long pages; local
274 kpageflags_read(uint64_t *buf, unsigned long index, unsigned long pages) argument
281 pagemap_read(uint64_t *buf, unsigned long index, unsigned long pages) argument
596 unsigned long pages; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/storage/
H A Dalauda.c97 unsigned int blocksize; /* number of pages per block */
180 unsigned char blockshift; /* 1<<bs pages per block */
733 * redundancy data. Returns (pagesize+64)*pages bytes in data.
736 unsigned int page, unsigned int pages, unsigned char *data)
741 PBA_ZONE(pba), 0, PBA_LO(pba) + page, pages, 0, MEDIA_PORT(us)
745 pba, page, pages);
753 data, (MEDIA_INFO(us).pagesize + 64) * pages, NULL);
758 * data. Returns pagesize*pages bytes in data. Note that data must be big enough
759 * to hold (pagesize+64)*pages bytes of data, but you can ignore those 'extra'
763 unsigned int page, unsigned int pages, unsigne
735 alauda_read_block_raw(struct us_data *us, u16 pba, unsigned int page, unsigned int pages, unsigned char *data) argument
762 alauda_read_block(struct us_data *us, u16 pba, unsigned int page, unsigned int pages, unsigned char *data) argument
815 alauda_write_lba(struct us_data *us, u16 lba, unsigned int page, unsigned int pages, unsigned char *ptr, unsigned char *blockbuffer) argument
961 unsigned int pages; local
1064 unsigned int pages = min(sectors, blocksize - page); local
1185 unsigned int page, pages; local
1203 unsigned int page, pages; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/cell/
H A Dras.c104 struct page *pages; member in struct:ptcal_area
126 area->pages = alloc_pages_exact_node(area->nid, GFP_KERNEL|GFP_THISNODE,
129 if (!area->pages) {
140 addr = __pa(page_address(area->pages)) + (PAGE_SIZE >> 1);
158 __free_pages(area->pages, area->order);
225 memset(page_address(area->pages), 0,
230 __free_pages(area->pages, area->order);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/9p/
H A Dvfs_addr.c90 * v9fs_vfs_readpages - read a set of pages from 9P
94 * @pages: list of pages to read
95 * @nr_pages: count of pages to read
100 struct list_head *pages, unsigned nr_pages)
108 ret = v9fs_readpages_from_fscache(inode, mapping, pages, &nr_pages);
112 ret = read_cache_pages(mapping, pages, (void *)v9fs_vfs_readpage, filp);
99 v9fs_vfs_readpages(struct file *filp, struct address_space *mapping, struct list_head *pages, unsigned nr_pages) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/env/
H A Denv_file.c25 db_pgno_t pages; local
35 * pages of 1MB each so we don't overflow -- (2^20 + 2^32 is bigger
43 pages = (db_pgno_t)((size - FILE_EXTEND_IO_SIZE) / MEGABYTE);
45 if ((ret = __os_seek(env, fhp, pages, MEGABYTE, relative)) != 0)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sparc/include/asm/
H A Dtlb_64.h31 struct page *pages[FREE_PTE_NR]; member in struct:mmu_gather
63 free_pages_and_swap_cache(mp->pages, mp->pages_nr);
97 mp->pages[mp->pages_nr++] = page;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68k/mm/
H A Dinit.c140 int pages = 0; local
146 pages++;
148 printk ("Freeing initrd memory: %dk freed\n", pages);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68knommu/mm/
H A Dinit.c92 * to a couple of allocated pages.
157 int pages = 0; local
163 pages++;
165 printk (KERN_NOTICE "Freeing initrd memory: %dk freed\n", pages * (PAGE_SIZE / 1024));
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/
H A Dxdr.c115 xdr_encode_pages(struct xdr_buf *xdr, struct page **pages, unsigned int base, argument
121 xdr->pages = pages;
144 struct page **pages, unsigned int base, unsigned int len)
153 xdr->pages = pages;
168 * @pages: vector of pages containing both the source and dest memory area.
175 * if a memory area starts at byte 'base' in page 'pages[i]',
181 _shift_data_right_pages(struct page **pages, size_ argument
143 xdr_inline_pages(struct xdr_buf *xdr, unsigned int offset, struct page **pages, unsigned int base, unsigned int len) argument
239 _copy_to_pages(struct page **pages, size_t pgbase, const char *p, size_t len) argument
283 _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len) argument
506 xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base, unsigned int len) argument
[all...]

Completed in 183 milliseconds

1234567891011>>