/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/ |
H A D | HvCall.c | 38 int npages; local 41 npages = 0; 43 npages++; 54 if (npages == 0) 58 kmalloc(npages * sizeof(struct HvLpBufferList), GFP_ATOMIC); 61 for(i=0; i<npages; i++) {
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/nfs/ |
H A D | pagelist.c | 241 unsigned int npages = 0; local 258 npages++; 261 if (npages >= nmax) 264 return npages; 284 int npages = 0; local 291 npages++; 292 if (npages == nmax) 306 return npages; 324 int npages = 0; local 328 npages 352 int npages = 0; local 380 nfs_scan_list(struct list_head *head, struct list_head *dst, struct file *file, unsigned long idx_start, unsigned int npages) argument [all...] |
H A D | read.c | 321 int npages; local 323 npages = nfs_scan_lru_timeout(&server->lru_read, dst, server->rpages); 324 if (npages) { 326 inode->u.nfs_i.nread -= npages; 328 return npages; 344 int npages; local 346 npages = nfs_scan_lru(&server->lru_read, dst, server->rpages); 347 if (npages) { 349 inode->u.nfs_i.nread -= npages; 351 return npages; 365 nfs_scan_read(struct inode *inode, struct list_head *dst, unsigned long idx_start, unsigned int npages) argument 375 nfs_pagein_inode(struct inode *inode, unsigned long idx_start, unsigned int npages) argument [all...] |
H A D | write.c | 284 inode->u.nfs_i.npages++; 306 inode->u.nfs_i.npages--; 307 if ((inode->u.nfs_i.npages == 0) != list_empty(&inode->u.nfs_i.writeback)) 308 printk(KERN_ERR "NFS: desynchronized value of nfs_i.npages.\n"); 405 nfs_wait_on_requests(struct inode *inode, struct file *file, unsigned long idx_start, unsigned int npages) argument 412 if (npages == 0) 415 idx_end = idx_start + npages - 1; 461 int npages; local 463 npages = nfs_scan_lru_timeout(&server->lru_dirty, dst, server->wpages); 464 if (npages) { 484 int npages; local 506 nfs_scan_dirty(struct inode *inode, struct list_head *dst, struct file *file, unsigned long idx_start, unsigned int npages) argument 532 int npages; local 559 int npages; local 582 nfs_scan_commit(struct inode *inode, struct list_head *dst, struct file *file, unsigned long idx_start, unsigned int npages) argument 1171 nfs_flush_file(struct inode *inode, struct file *file, unsigned long idx_start, unsigned int npages, int how) argument 1189 nfs_commit_file(struct inode *inode, struct file *file, unsigned long idx_start, unsigned int npages, int how) argument 1207 nfs_sync_file(struct inode *inode, struct file *file, unsigned long idx_start, unsigned int npages, int how) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/kernel/ |
H A D | pci_iommu.c | 59 static iopte_t *alloc_streaming_cluster(struct pci_iommu *iommu, unsigned long npages) argument 65 while ((1UL << cnum) < npages) 110 printk(KERN_EMERG "pci_iommu: alloc_streaming_cluster of npages(%ld) failed!\n", 111 npages); 116 unsigned long npages, unsigned long ctx) 121 while ((1UL << cnum) < npages) 138 static iopte_t *alloc_consistent_cluster(struct pci_iommu *iommu, unsigned long npages) argument 146 unsigned long tmp = npages; 185 int npages; local 211 npages 115 free_streaming_cluster(struct pci_iommu *iommu, dma_addr_t base, unsigned long npages, unsigned long ctx) argument 246 unsigned long flags, order, npages, i, ctx; local 311 unsigned long flags, npages, oaddr; local 366 unsigned long flags, npages, i, ctx; local 515 unsigned long flags, ctx, npages, iopte_protection; local 598 unsigned long flags, ctx, i, npages; local 673 unsigned long flags, ctx, npages; local 768 unsigned long i, npages; local [all...] |
H A D | iommu_common.h | 38 extern void verify_sglist(struct scatterlist *sg, int nents, iopte_t *iopte, int npages);
|
H A D | sbus.c | 99 static void iommu_flush(struct sbus_iommu *iommu, u32 base, unsigned long npages) argument 101 while (npages--) 102 upa_writeq(base + (npages << IO_PAGE_SHIFT), 119 static void strbuf_flush(struct sbus_iommu *iommu, u32 base, unsigned long npages) argument 122 while (npages--) 123 upa_writeq(base + (npages << IO_PAGE_SHIFT), 134 static iopte_t *alloc_streaming_cluster(struct sbus_iommu *iommu, unsigned long npages) argument 140 while ((1UL << cnum) < npages) 181 printk(KERN_EMERG "sbus: alloc_streaming_cluster of npages(%ld) failed!\n", 182 npages); 186 free_streaming_cluster(struct sbus_iommu *iommu, u32 base, unsigned long npages) argument 209 alloc_consistent_cluster(struct sbus_iommu *iommu, unsigned long npages) argument 236 free_consistent_cluster(struct sbus_iommu *iommu, u32 base, unsigned long npages) argument 264 int npages; local 305 unsigned long order, npages; local 327 unsigned long npages, pbase, flags; local 459 unsigned long flags, npages; local [all...] |
H A D | iommu_common.c | 15 static int verify_lengths(struct scatterlist *sg, int nents, int npages) argument 47 if (pgcount != npages) { 49 "npages[%d] pgcount[%d]\n", 50 npages, pgcount); 176 void verify_sglist(struct scatterlist *sg, int nents, iopte_t *iopte, int npages) argument 178 if (verify_lengths(sg, nents, npages) < 0 ||
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc/mm/ |
H A D | io-unit.c | 69 int i, j, k, npages; local 73 npages = ((vaddr & ~PAGE_MASK) + size + (PAGE_SIZE-1)) >> PAGE_SHIFT; 76 switch (npages) { 82 IOD(("iounit_get_area(%08lx,%d[%d])=", vaddr, size, npages)); 89 if (scan + npages > limit) { 100 for (k = 1, scan++; k < npages; k++) 104 scan -= npages; 107 for (k = 0; k < npages; k++, iopte = __iopte(iopte_val(iopte) + 0x100), scan++) { 257 int i, j, k, npages; local 263 npages [all...] |
H A D | sun4c.c | 1118 unsigned long npages; local 1125 npages = (((unsigned long)vaddr & ~PAGE_MASK) + 1133 if ((base = scan) + npages > iobuffer_map_size) goto abend; 1135 if (scan >= base + npages) goto found; 1142 high = ((base + npages) << PAGE_SHIFT) + sun4c_iobuffer_start; 1150 for (scan = base; scan < base+npages; scan++) { 1176 unsigned long vpage, npages; local 1181 npages = (((unsigned long)vaddr & ~PAGE_MASK) + 1185 while (npages != 0) { 1186 --npages; 2034 unsigned long npages; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/ |
H A D | nfs_fs_i.h | 74 npages; member in struct:nfs_inode_info
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/ |
H A D | nfs_fs_i.h | 74 npages; member in struct:nfs_inode_info
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/freevxfs/ |
H A D | vxfs_lookup.c | 116 u_long npages, page, nblocks, pblocks, block; local 121 npages = dir_pages(ip); 125 for (page = 0; page < npages; page++) { 243 u_long page, npages, block, pblocks, nblocks, offset; local 264 npages = dir_pages(ip); 272 for (; page < npages; page++, block = 0) {
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/sysv/ |
H A D | dir.c | 81 unsigned long npages = dir_pages(inode); local 87 for ( ; n < npages; n++, offset = 0) { 149 unsigned long npages = dir_pages(dir); local 156 if (start >= npages) 177 if (++n >= npages) 196 unsigned long npages = dir_pages(dir); local 203 for (n = 0; n <= npages; n++) { 305 unsigned long i, npages = dir_pages(inode); local 307 for (i = 0; i < npages; i++) {
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-parisc/ |
H A D | pgalloc.h | 177 unsigned long npages; local 179 npages = ((end - (start & PAGE_MASK)) + (PAGE_SIZE - 1)) >> PAGE_SHIFT; 180 if (npages >= 512) 186 while (npages--) { 192 while (npages--) {
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-parisc/ |
H A D | pgalloc.h | 177 unsigned long npages; local 179 npages = ((end - (start & PAGE_MASK)) + (PAGE_SIZE - 1)) >> PAGE_SHIFT; 180 if (npages >= 512) 186 while (npages--) { 192 while (npages--) {
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/kernel/ |
H A D | pci_iommu.c | 193 long npages, dma_ofs, i; 238 npages = calc_npages((paddr & ~PAGE_MASK) + size); 239 dma_ofs = iommu_arena_alloc(arena, npages); 247 for (i = 0; i < npages; ++i, paddr += PAGE_SIZE) 254 cpu_addr, size, npages, ret, __builtin_return_address(0)); 298 long dma_ofs, npages; 332 npages = calc_npages((dma_addr & ~PAGE_MASK) + size); 336 iommu_arena_free(arena, dma_ofs, npages); 347 dma_addr, size, npages, __builtin_return_address(0)); 477 long npages, dma_of 190 long npages, dma_ofs, i; local 295 long dma_ofs, npages; local 474 long npages, dma_ofs, i; local 672 long npages, ofs; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/x86_64/kernel/ |
H A D | pci-gart.c | 281 int i, npages; local 289 npages = round_up(size, PAGE_SIZE) >> PAGE_SHIFT; 291 iommu_page = alloc_iommu(npages); 298 for (i = 0; i < npages; i++, phys_mem += PAGE_SIZE) { 325 int i, npages; local 330 npages = round_up(size, PAGE_SIZE) >> PAGE_SHIFT; 331 for (i = 0; i < npages; i++) { 339 free_iommu(iommu_page, npages);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/minix/ |
H A D | dir.c | 79 unsigned long npages = dir_pages(inode); local 87 for ( ; n < npages; n++, offset = 0) { 145 unsigned long npages = dir_pages(dir); local 151 for (n = 0; n < npages; n++) { 184 unsigned long npages = dir_pages(dir); local 191 for (n = 0; n <= npages; n++) { 293 unsigned long i, npages = dir_pages(inode); local 296 for (i = 0; i < npages; i++) {
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ext2/ |
H A D | dir.c | 245 unsigned long npages = dir_pages(inode); local 256 for ( ; n < npages; n++, offset = 0) { 312 unsigned long npages = dir_pages(dir); local 320 if (start >= npages) 337 if (++n >= npages) 409 unsigned long npages = dir_pages(dir); local 416 for (n = 0; n <= npages; n++) { 555 unsigned long i, npages = dir_pages(inode); local 557 for (i = 0; i < npages; i++) {
|
/asus-wl-520gu-7.0.1.45/src/router/LPRng/src/common/ |
H A D | lpf.c | 40 * and error log on fd 2. The npages variable is used to record the 82 * npages - number of pages for accounting 183 int npages; /* number of pages */ variable 380 npages, 553 npages = 1; 565 ++npages; 572 ++npages; 606 ++npages;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/mm/ |
H A D | init.c | 290 unsigned long npages; local 293 npages = pmem_ranges[i].pages; 298 (start_pfn + npages) ); 301 (npages << PAGE_SHIFT) ); 303 if ((start_pfn + npages) > max_pfn) 304 max_pfn = start_pfn + npages;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/kernel/ |
H A D | inventory.c | 132 unsigned long npages; local 147 npages = (PAGE_ALIGN(PAGE0->imm_max_mem) >> PAGE_SHIFT); 148 set_pmem_entry(pmem_ranges,0UL,npages);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jfs/ |
H A D | jfs_dmap.c | 3919 #define BMAPPGTOLEV(npages) \ 3920 (((npages) <= 3 + MAXL0PAGES) ? 0 \ 3921 : ((npages) <= 2 + MAXL1PAGES) ? 1 : 2) 3927 s64 npages, ndmaps; local 3932 npages = nblocks >> JFS_SBI(sb)->l2nbperpage; 3933 level = BMAPPGTOLEV(npages); 3940 npages--; /* skip the first global control page */ 3942 npages -= (2 - level); 3943 npages--; /* skip top level's control page */ 3947 complete = (u32) npages / facto 3972 int npages; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/jazz/ |
H A D | jazzdma.c | 218 int first, pages, npages; local 235 npages = pages =
|