Searched refs:page (Results 1 - 25 of 2030) sorted by relevance

1234567891011>>

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/mm/
H A Dinternal.h16 static inline void set_page_count(struct page *page, int v) argument
18 atomic_set(&page->_count, v);
22 * Turn a non-refcounted page (->_count == 0) into refcounted with
25 static inline void set_page_refcounted(struct page *page) argument
27 VM_BUG_ON(PageCompound(page) && PageTail(page));
28 VM_BUG_ON(atomic_read(&page->_count));
29 set_page_count(page,
32 __put_page(struct page *page) argument
[all...]
H A Dtruncate.c23 * do_invalidatepage - invalidate part of all of a page
24 * @page: the page which is affected
27 * do_invalidatepage() is called when all or part of the page has become
36 void do_invalidatepage(struct page *page, unsigned long offset) argument
38 void (*invalidatepage)(struct page *, unsigned long);
39 invalidatepage = page->mapping->a_ops->invalidatepage;
45 (*invalidatepage)(page, offset);
48 static inline void truncate_partial_page(struct page *pag argument
69 cancel_dirty_page(struct page *page, unsigned int account_size) argument
93 truncate_complete_page(struct address_space *mapping, struct page *page) argument
118 invalidate_complete_page(struct address_space *mapping, struct page *page) argument
178 struct page *page = pvec.pages[i]; local
203 struct page *page = find_lock_page(mapping, start - 1); local
226 struct page *page = pvec.pages[i]; local
281 struct page *page = pvec.pages[i]; local
324 invalidate_complete_page2(struct address_space *mapping, struct page *page) argument
347 do_launder_page(struct address_space *mapping, struct page *page) argument
383 struct page *page = pvec.pages[i]; local
[all...]
H A Dswap.c34 /* How many pages do we try to swap or page in/out together? */
41 static void fastcall __page_cache_release(struct page *page) argument
43 if (PageLRU(page)) {
45 struct zone *zone = page_zone(page);
48 VM_BUG_ON(!PageLRU(page));
49 __ClearPageLRU(page);
50 del_page_from_lru(zone, page);
53 free_hot_page(page);
56 static void put_compound_page(struct page *pag argument
67 put_page(struct page *page) argument
111 rotate_reclaimable_page(struct page *page) argument
137 activate_page(struct page *page) argument
158 mark_page_accessed(struct page *page) argument
177 lru_cache_add(struct page *page) argument
187 lru_cache_add_active(struct page *page) argument
261 struct page *page = pages[i]; local
334 struct page *page = pvec->pages[i]; local
354 struct page *page = pvec->pages[i]; local
381 struct page *page = pvec->pages[i]; local
410 struct page *page = pvec->pages[i]; local
[all...]
H A Dswap_state.c7 * Rewritten to use page cache, (C) 1998 Stephen Tweedie
72 static int __add_to_swap_cache(struct page *page, swp_entry_t entry, argument
77 BUG_ON(PageSwapCache(page));
78 BUG_ON(PagePrivate(page));
83 entry.val, page);
85 page_cache_get(page);
86 SetPageLocked(page);
87 SetPageSwapCache(page);
88 set_page_private(page, entr
98 add_to_swap_cache(struct page *page, swp_entry_t entry) argument
124 __delete_from_swap_cache(struct page *page) argument
146 add_to_swap(struct page * page, gfp_t gfp_mask) argument
197 delete_from_swap_cache(struct page *page) argument
214 move_to_swap_cache(struct page *page, swp_entry_t entry) argument
232 move_from_swap_cache(struct page *page, unsigned long index, struct address_space *mapping) argument
253 free_swap_cache(struct page *page) argument
265 free_page_and_swap_cache(struct page *page) argument
300 struct page *page; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ntfs/
H A Daops.h2 * aops.h - Defines for NTFS kernel address space operations and page cache
35 * ntfs_unmap_page - release a page that was mapped using ntfs_map_page()
36 * @page: the page to release
38 * Unpin, unmap and release a page that was obtained from ntfs_map_page().
40 static inline void ntfs_unmap_page(struct page *page) argument
42 kunmap(page);
43 page_cache_release(page);
46 static inline struct page *ntfs_map_pag
49 struct page *page = read_mapping_page(mapping, index, NULL); local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/
H A Dpage-flags.h2 * Macros for manipulating and testing page->flags
12 * Various page->flags bits:
18 * specific data (which is normally at page->private). It can be used by
25 * PG_locked also pins a page in pagecache, and blocks truncation of the file
28 * page_waitqueue(page) is a wait queue of all tasks waiting for the page
31 * PG_uptodate tells whether the page's contents is valid. When a read
32 * completes, the page becomes uptodate, unless a disk I/O error happened.
34 * PG_referenced, PG_reclaim are used for page reclaim for anonymous and
37 * PG_error is set to indicate that an I/O error occurred on this page
132 SetPageUptodate(struct page *page) argument
246 __SetPageTail(struct page *page) argument
251 __ClearPageTail(struct page *page) argument
280 set_page_writeback(struct page *page) argument
[all...]
H A Dmm_inline.h2 add_page_to_active_list(struct zone *zone, struct page *page) argument
4 list_add(&page->lru, &zone->active_list);
9 add_page_to_inactive_list(struct zone *zone, struct page *page) argument
11 list_add(&page->lru, &zone->inactive_list);
16 del_page_from_active_list(struct zone *zone, struct page *page) argument
18 list_del(&page->lru);
23 del_page_from_inactive_list(struct zone *zone, struct page *pag argument
30 del_page_from_lru(struct zone *zone, struct page *page) argument
[all...]
H A Dhighmem.h11 static inline void flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) argument
17 static inline void flush_kernel_dcache_page(struct page *page) argument
39 static inline void *kmap(struct page *page) argument
42 return page_address(page);
45 #define kunmap(page) do { (void) (page); } while (0)
49 static inline void *kmap_atomic(struct page *pag argument
69 clear_user_highpage(struct page *page, unsigned long vaddr) argument
82 struct page *page = alloc_page_vma(GFP_HIGHUSER, vma, vaddr); local
91 clear_highpage(struct page *page) argument
116 memclear_highpage_flush(struct page *page, unsigned int offset, unsigned int size) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/frv/mm/
H A Dhighmem.c14 void *kmap(struct page *page) argument
17 if (!PageHighMem(page))
18 return page_address(page);
19 return kmap_high(page);
24 void kunmap(struct page *page) argument
28 if (!PageHighMem(page))
30 kunmap_high(page);
35 struct page *kmap_atomic_to_pag
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-mips/
H A Dcacheflush.h21 * - flush_cache_page(mm, vmaddr, pfn) flushes a single page
24 * - flush_dcache_page(pg) flushes(wback&invalidates) a page for dcache
30 * - flush_data_cache_page() flushes a page from the data cache
38 extern void (*flush_cache_page)(struct vm_area_struct *vma, unsigned long page, unsigned long pfn);
39 extern void __flush_dcache_page(struct page *page);
41 static inline void flush_dcache_page(struct page *page) argument
44 __flush_dcache_page(page);
52 extern void __flush_anon_page(struct page *, unsigne
53 flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) argument
60 flush_icache_page(struct vm_area_struct *vma, struct page *page) argument
[all...]
H A Dbcache.h19 void (*bc_wback_inv)(unsigned long page, unsigned long size);
20 void (*bc_inv)(unsigned long page, unsigned long size);
40 static inline void bc_wback_inv(unsigned long page, unsigned long size) argument
42 bcops->bc_wback_inv(page, size);
45 static inline void bc_inv(unsigned long page, unsigned long size) argument
47 bcops->bc_inv(page, size);
56 #define bc_wback_inv(page, size) do { } while (0)
57 #define bc_inv(page, size) do { } while (0)
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm/
H A Dcacheflush.h21 * - flush_cache_page(mm, vmaddr, pfn) flushes a single page
24 * - flush_dcache_page(pg) flushes(wback&invalidates) a page for dcache
30 * - flush_data_cache_page() flushes a page from the data cache
38 extern void (*flush_cache_page)(struct vm_area_struct *vma, unsigned long page, unsigned long pfn);
39 extern void __flush_dcache_page(struct page *page);
41 static inline void flush_dcache_page(struct page *page) argument
44 __flush_dcache_page(page);
52 extern void __flush_anon_page(struct page *, unsigne
53 flush_anon_page(struct vm_area_struct *vma, struct page *page, unsigned long vmaddr) argument
60 flush_icache_page(struct vm_area_struct *vma, struct page *page) argument
[all...]
H A Dbcache.h19 void (*bc_wback_inv)(unsigned long page, unsigned long size);
20 void (*bc_inv)(unsigned long page, unsigned long size);
40 static inline void bc_wback_inv(unsigned long page, unsigned long size) argument
42 bcops->bc_wback_inv(page, size);
45 static inline void bc_inv(unsigned long page, unsigned long size) argument
47 bcops->bc_inv(page, size);
56 #define bc_wback_inv(page, size) do { } while (0)
57 #define bc_inv(page, size) do { } while (0)
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-powerpc/
H A Dpage_32.h16 #define PTE_SHIFT (PAGE_SHIFT - 3) /* 512 ptes per page */
19 #define PTE_SHIFT (PAGE_SHIFT - 2) /* 1024 ptes per page */
22 struct page;
23 extern void clear_pages(void *page, int order);
24 static inline void clear_page(void *page) { clear_pages(page, 0); } argument
27 #include <asm-generic/page.h>
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/avr32/mm/
H A Ddma-coherent.c38 static struct page *__dma_alloc(struct device *dev, size_t size,
41 struct page *page, *free, *end; local
47 page = alloc_pages(gfp, order);
48 if (!page)
50 split_page(page, order);
61 invalidate_dcache_region(phys_to_virt(page_to_phys(page)), size);
63 *handle = page_to_bus(page);
64 free = page + (size >> PAGE_SHIFT);
65 end = page
78 __dma_free(struct device *dev, size_t size, struct page *page, dma_addr_t handle) argument
90 struct page *page; local
105 struct page *page; local
118 struct page *page; local
136 struct page *page; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-frv/
H A Dcacheflush.h51 extern void flush_dcache_page(struct page *page);
53 static inline void flush_dcache_page(struct page *page) argument
55 unsigned long addr = page_to_phys(page);
60 static inline void flush_page_to_ram(struct page *page) argument
62 flush_dcache_page(page);
76 extern void flush_icache_user_range(struct vm_area_struct *vma, struct page *page,
79 flush_icache_user_range(struct vm_area_struct *vma, struct page *page, unsigned long start, unsigned long len) argument
86 flush_icache_page(struct vm_area_struct *vma, struct page *page) argument
[all...]
H A Dscatterlist.h7 * Drivers must set either ->address or (preferred) ->page and ->offset
10 * Using ->page is recommended since it handles highmem data as well as
12 * it will go away in the future. Updating to ->page can be automated very
19 * sg->page = virt_to_page(some_ptr);
25 struct page *page; /* Location for highmem page, if any */ member in struct:scatterlist
26 unsigned int offset; /* for highmem, page offset */
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/flac-1.2.1/src/libFLAC/
H A Dogg_helper.c77 void simple_ogg_page__init(ogg_page *page) argument
79 page->header = 0;
80 page->header_len = 0;
81 page->body = 0;
82 page->body_len = 0;
85 void simple_ogg_page__clear(ogg_page *page) argument
87 if(page->header)
88 free(page->header);
89 if(page->body)
90 free(page
94 simple_ogg_page__get_at(FLAC__StreamEncoder *encoder, FLAC__uint64 position, ogg_page *page, FLAC__StreamEncoderSeekCallback seek_callback, FLAC__StreamEncoderReadCallback read_callback, void *client_data) argument
178 simple_ogg_page__set_at(FLAC__StreamEncoder *encoder, FLAC__uint64 position, ogg_page *page, FLAC__StreamEncoderSeekCallback seek_callback, FLAC__StreamEncoderWriteCallback write_callback, void *client_data) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-s390/
H A Dscatterlist.h5 struct page *page; member in struct:scatterlist
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-sh64/
H A Dscatterlist.h17 struct page * page; /* Location for highmem page, if any */ member in struct:scatterlist
18 unsigned int offset;/* for highmem, page offset */
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-v850/
H A Dscatterlist.h20 struct page *page; member in struct:scatterlist
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-h8300/
H A Dscatterlist.h7 struct page *page; member in struct:scatterlist
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-m32r/
H A Dscatterlist.h8 * highmem page */
9 struct page * page; /* Location for highmem page, if any */ member in struct:scatterlist
10 unsigned int offset;/* for highmem, page offset */
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-sparc64/
H A Dcacheflush.h4 #include <asm/page.h>
18 #define flush_cache_page(vma, page, pfn) \
30 extern void flush_dcache_page_impl(struct page *page);
32 extern void smp_flush_dcache_page_impl(struct page *page, int cpu);
33 extern void flush_dcache_page_all(struct mm_struct *mm, struct page *page);
35 #define smp_flush_dcache_page_impl(page,cpu) flush_dcache_page_impl(page)
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-parisc/
H A Dscatterlist.h4 #include <asm/page.h>
8 struct page *page; member in struct:scatterlist
18 #define sg_virt_addr(sg) ((unsigned long)(page_address(sg->page) + sg->offset))

Completed in 240 milliseconds

1234567891011>>