Searched refs:pages (Results 1 - 25 of 302) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dmman.h23 extern void vm_acct_memory(long pages);
25 static inline void vm_acct_memory(long pages) argument
27 atomic_add(pages, &vm_committed_space);
31 static inline void vm_unacct_memory(long pages) argument
33 vm_acct_memory(-pages);
H A Dmpage.h5 * multiple pagecache pages.
16 int mpage_readpages(struct address_space *mapping, struct list_head *pages,
H A Dvmalloc.h12 #define VM_MAP 0x00000004 /* vmap()ed pages */
14 #define VM_VPAGES 0x00000010 /* buffer for pages was vmalloc'ed */
22 #define IOREMAP_MAX_ORDER (7 + PAGE_SHIFT) /* 128 pages */
31 struct page **pages; member in struct:vm_struct
50 extern void *vmap(struct page **pages, unsigned int count,
69 struct page ***pages);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/firewire/
H A Dfw-iso.c41 buffer->pages = kmalloc(page_count * sizeof(buffer->pages[0]),
43 if (buffer->pages == NULL)
47 buffer->pages[i] = alloc_page(GFP_KERNEL | GFP_DMA32 | __GFP_ZERO);
48 if (buffer->pages[i] == NULL)
51 address = dma_map_page(card->device, buffer->pages[i],
54 __free_page(buffer->pages[i]);
57 set_page_private(buffer->pages[i], address);
64 address = page_private(buffer->pages[j]);
67 __free_page(buffer->pages[
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/examples/printer-accounting/
H A Dacct-sum4 ($date, $user, $machine, $size, $pages) = split(' ');
7 $PrinterPages{$ARGV} += $pages;
11 $Pages{$user}+= $pages;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68k/mm/
H A Dsun3kmap.c49 unsigned long type, int pages)
55 while(pages) {
59 pages--;
68 int pages; local
87 pages = size / PAGE_SIZE;
91 while(pages) {
95 if(seg_pages > pages)
96 seg_pages = pages;
100 pages -= seg_pages;
48 do_pmeg_mapin(unsigned long phys, unsigned long virt, unsigned long type, int pages) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/drm/
H A Ddrm_scatter.c44 for (i = 0; i < entry->pages; i++) {
53 entry->pages * sizeof(*entry->busaddr), DRM_MEM_PAGES);
55 entry->pages * sizeof(*entry->pagelist), DRM_MEM_PAGES);
73 unsigned long pages, i, j; local
92 pages = (request.size + PAGE_SIZE - 1) / PAGE_SIZE;
93 DRM_DEBUG("sg size=%ld pages=%ld\n", request.size, pages);
95 entry->pages = pages;
96 entry->pagelist = drm_alloc(pages * sizeo
[all...]
H A Dati_pcigart.c79 unsigned long pages; local
101 pages = (entry->pages <= max_pages)
102 ? entry->pages : max_pages;
104 for (i = 0; i < pages; i++) {
129 unsigned long pages; local
162 DRM_ERROR("unable to map PCIGART pages!\n");
179 pages = (entry->pages <= max_pages)
180 ? entry->pages
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ramfs/
H A Dfile-nommu.c56 * add a contiguous set of pages into a ramfs inode when it's truncated from
64 struct page *pages; local
83 /* allocate enough contiguous pages to be able to satisfy the
85 pages = alloc_pages(mapping_gfp_mask(inode->i_mapping), order);
86 if (!pages)
89 /* split the high-order page into an array of single pages */
93 split_page(pages, order);
95 /* trim off any pages we don't actually require */
97 __free_page(pages + loop);
101 data = page_address(pages);
242 struct page **pages = NULL, **ptr, *page; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/core/
H A Dsgbuf.c43 for (i = 0; i < sgbuf->pages; i++) {
66 unsigned int i, pages; local
75 pages = snd_sgbuf_aligned_pages(size);
76 sgbuf->tblsize = sgbuf_align_table(pages);
85 for (i = 0; i < pages; i++) {
89 *res_size = size = sgbuf->pages * PAGE_SIZE;
95 sgbuf->pages++;
99 dmab->area = vmap(sgbuf->page_table, sgbuf->pages, VM_MAP, PAGE_KERNEL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/bin/psorder/
H A Dpsorder.c133 psinfo.pages.offset = 0;
134 psinfo.pages.end = 0;
135 psinfo.pages.num[0] = '\0';
136 psinfo.pages.order[0] = '\0';
208 psinfo.pages.offset = count;
209 psinfo.pages.end = strlen( token ) + count;
216 psinfo.pages.offset = 0;
217 psinfo.pages.end = 0;
220 (void)strncpy( psinfo.pages.num, tmp, NUMLEN );
222 (void)strncpy( psinfo.pages
[all...]
H A Dpsorder.h77 struct pages_st pages; member in struct:psinfo_st
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/bin/psorder/
H A Dpsorder.c133 psinfo.pages.offset = 0;
134 psinfo.pages.end = 0;
135 psinfo.pages.num[0] = '\0';
136 psinfo.pages.order[0] = '\0';
208 psinfo.pages.offset = count;
209 psinfo.pages.end = strlen( token ) + count;
216 psinfo.pages.offset = 0;
217 psinfo.pages.end = 0;
220 (void)strncpy( psinfo.pages.num, tmp, NUMLEN );
222 (void)strncpy( psinfo.pages
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/mm/
H A Dmincore.c56 static long do_mincore(unsigned long addr, unsigned char *vec, unsigned long pages) argument
76 * Calculate how many pages there are left in the last level of the
89 nr = min(nr, pages);
159 * mincore() returns the memory residency status of the pages in the
167 * contain stale information. Only locked pages are guaranteed to
176 * specify one or more pages which are not currently
184 unsigned long pages; local
196 pages = len >> PAGE_SHIFT;
197 pages += (len & ~PAGE_MASK) != 0;
199 if (!access_ok(VERIFY_WRITE, vec, pages))
[all...]
H A Dswap.c34 /* How many pages do we try to swap or page in/out together? */
38 * This path almost never happens for VM activity - pages are normally
77 * put_pages_list(): release a list of pages
79 * Release a list of pages which are strung together on page.lru. Currently
82 * @pages: list of pages threaded on page->lru
84 void put_pages_list(struct list_head *pages) argument
86 while (!list_empty(pages)) {
89 victim = list_entry(pages->prev, struct page, lru);
101 * We don't expect many pages t
253 release_pages(struct page **pages, int nr, int cold) argument
464 vm_acct_memory(long pages) argument
[all...]
H A Dvmalloc.c91 unsigned long end, pgprot_t prot, struct page ***pages)
99 struct page *page = **pages;
104 (*pages)++;
110 unsigned long end, pgprot_t prot, struct page ***pages)
120 if (vmap_pte_range(pmd, addr, next, prot, pages))
127 unsigned long end, pgprot_t prot, struct page ***pages)
137 if (vmap_pmd_range(pud, addr, next, prot, pages))
143 int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages) argument
155 err = vmap_pud_range(pgd, addr, next, prot, pages);
220 area->pages
90 vmap_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end, pgprot_t prot, struct page ***pages) argument
109 vmap_pmd_range(pud_t *pud, unsigned long addr, unsigned long end, pgprot_t prot, struct page ***pages) argument
126 vmap_pud_range(pgd_t *pgd, unsigned long addr, unsigned long end, pgprot_t prot, struct page ***pages) argument
398 vmap(struct page **pages, unsigned int count, unsigned long flags, pgprot_t prot) argument
421 struct page **pages; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/db/
H A DCompactStats.java22 CompactStats(int fillpercent, int timeout, int pages) { argument
25 this.compact_pages = pages;
45 Return the the number of database pages free during
51 The the number of database pages free during
60 Return the the number of database pages reviewed
66 The the number of database pages reviewed
107 Return the the number of database pages returned
113 The the number of database pages returned
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/jazz/
H A Djazzdma.c96 int first, last, pages, frame, i; local
117 pages = (size + 4095) >> 12; /* no. of pages to allocate */
122 if (first + pages > VDMA_PGTBL_ENTRIES) { /* nothing free */
129 && last - first < pages)
132 if (last - first == pages)
137 * Mark pages as allocated
154 printk("vdma_alloc: Allocated %d pages starting from %08lx\n",
155 pages, laddr);
178 * Free previously allocated dma translation pages
218 int first, pages, npages; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-um/
H A Dldt.h36 struct ldt_entry * pages[LDT_PAGES_MAX]; member in union:uml_ldt::__anon9518
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfs/
H A Dread.c46 INIT_LIST_HEAD(&p->pages);
93 struct page **pages; local
101 pages = &data->args.pages[base >> PAGE_CACHE_SHIFT];
106 zero_user_page(*pages, base, remainder, KM_USER0);
109 zero_user_page(*pages, base, pglen, KM_USER0);
110 pages++;
173 data->args.pages = data->pagevec;
232 * client can fill pages on the server past our cached end-of-file, but we
255 INIT_LIST_HEAD(&data->pages);
296 struct page **pages; local
407 struct page **pages; local
540 nfs_readpages(struct file *filp, struct address_space *mapping, struct list_head *pages, unsigned nr_pages) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mlx4/
H A Dmr.c79 u64 *pages; local
86 pages = (u64 *) __get_free_page(GFP_KERNEL);
87 if (!pages)
96 pages[i++] = sg_dma_address(&chunk->page_list[j]) +
105 i, pages);
115 err = mlx4_write_mtt(dev->dev, mtt, n, i, pages);
118 free_page((unsigned long) pages);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/cell/
H A Dras.c91 struct page *pages; member in struct:ptcal_area
114 area->pages = alloc_pages_node(area->nid, GFP_KERNEL, area->order);
116 if (!area->pages)
119 addr = __pa(page_address(area->pages));
135 __free_pages(area->pages, area->order);
202 memset(page_address(area->pages), 0,
207 __free_pages(area->pages, area->order);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/dma/
H A Diovlock.c42 * Pin down all the iovec pages needed for len bytes.
43 * Return a struct dma_pinned_list to keep track of pages pinned down.
47 * total number of pages, respectively.
52 struct page **pages; local
64 /* determine how many iovecs/pages there are, up front */
80 /* list of pages starts right after the page list array */
81 pages = (struct page **) &local_list->page_list[nr_iovecs];
96 page_list->pages = pages;
97 pages
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/
H A Dtlb.h31 struct page *pages[FREE_PTE_NR]; member in struct:mmu_gather
61 free_pages_and_swap_cache(mp->pages, mp->pages_nr);
97 mp->pages[mp->pages_nr++] = page;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-generic/
H A Dtlb.h44 struct page * pages[FREE_PTE_NR]; member in struct:mmu_gather
76 free_pages_and_swap_cache(tlb->pages, tlb->nr);
108 tlb->pages[tlb->nr++] = page;
118 * unmapping already-unmapped pages, which happens quite a lot.

Completed in 262 milliseconds

1234567891011>>