/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/db_printlog/ |
H A D | pgno.awk | 7 npages = 0 9 pgno[npages] = substr(PGNO, 1, ndx - 1); 11 npages++ 13 pgno[npages] = PGNO; 29 for (i = 0; i <= npages; i++) 34 for (i = 0; i <= npages; i++) 39 for (i = 0; i <= npages; i++)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-x86_64/ |
H A D | tce.h | 42 unsigned int npages, unsigned long uaddr, int direction); 43 extern void tce_free(struct iommu_table *tbl, long index, unsigned int npages);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/examples_cxx/ |
H A D | MpoolExample.cpp | 40 int run(int hits, int pagesize, int npages); 55 int npages = 50; local 68 if ((npages = atoi(argv[++i])) <= 0) 81 if ((ret = init(MPOOL, pagesize, npages)) != 0) 90 << "; N pages: " << npages << "\n"; local 94 if ((ret = app.run(hits, pagesize, npages)) != 0) 110 init(const char *file, int pagesize, int npages) argument 124 for (int cnt = 0; cnt <= npages; ++cnt) { 140 << "[-h hits] [-n npages] [-p pagesize]\n"; 168 MpoolExample::run(int hits, int pagesize, int npages) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/examples_c/ |
H A D | ex_mpool.c | 38 int cachesize, ch, hits, npages, pagesize; local 43 npages = 50; 57 if ((npages = atoi(optarg)) <= 0) 72 hits, npages, progname) == 0 ? EXIT_SUCCESS : EXIT_FAILURE); 80 "usage: %s [-c cachesize] [-h hits] [-n npages] [-p pagesize]\n", 86 run_mpool(pagesize, cachesize, hits, npages, progname) 87 int pagesize, cachesize, hits, npages; 93 if ((ret = init(MPOOL, pagesize, npages, progname)) != 0) 97 if ((ret = run(hits, cachesize, pagesize, npages, progname)) != 0) 108 init(file, pagesize, npages, prognam [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/ |
H A D | iommu.c | 55 unsigned long npages; local 57 npages = IOMMU_PAGE_ALIGN(vaddr + slen) - (vaddr & IOMMU_PAGE_MASK); 58 npages >>= IOMMU_PAGE_SHIFT; 60 return npages; 86 unsigned long npages, 93 int largealloc = npages > 15; 102 if (unlikely(npages == 0)) { 145 end = n + npages; 189 unsigned int npages, enum dma_data_direction direction, 197 entry = iommu_range_alloc(tbl, npages, NUL 85 iommu_range_alloc(struct iommu_table *tbl, unsigned long npages, unsigned long *handle, unsigned long mask, unsigned int align_order) argument 188 iommu_alloc(struct iommu_table *tbl, void *page, unsigned int npages, enum dma_data_direction direction, unsigned long mask, unsigned int align_order) argument 224 __iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, unsigned int npages) argument 255 iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, unsigned int npages) argument 302 unsigned long vaddr, npages, entry, slen; local 391 unsigned long vaddr, npages; local 418 unsigned int npages; local 571 unsigned int npages; local 597 unsigned int npages; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/test/ |
H A D | memp002.tcl | 27 set npages 100 50 $iter $psizes $npages 3 $flags > \ 54 $iter $psizes $npages 3 $flags &]
|
H A D | test053.tcl | 62 set npages 15 64 # We want to create a db with npages leaf pages, and have each page 73 puts "\tTest053.b: Create $npages pages with $nkeys pairs on each." 74 set keystring [string range $alphabet 0 [expr $npages -1]] 76 for { set i 0 } { $i < $npages } {incr i } { 103 [is_substr [$db stat] "{Leaf pages} $npages"] 1 107 for {set i 0} { $i < $npages } {incr i } { 125 [is_substr [$db stat] "{Leaf pages} $npages"] 1 138 for {set i 0} { $i < $npages} {incr i} { 141 for { set j $i; set curr [$dbc get -first]} { $j < $npages} { \ [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_mem.c | 73 int npages) 80 if (npages > mhp->attr.pbl_size) 107 int *npages, 144 *npages = 0; 146 *npages += (buffer_list[i].size + 149 if (!*npages) 152 *page_list = kmalloc(sizeof(u64) * *npages, GFP_KERNEL); 167 *npages); 69 iwch_reregister_mem(struct iwch_dev *rhp, struct iwch_pd *php, struct iwch_mr *mhp, int shift, __be64 *page_list, int npages) argument 103 build_phys_page_list(struct ib_phys_buf *buffer_list, int num_phys_buf, u64 *iova_start, u64 *total_size, int *npages, int *shift, __be64 **page_list) argument
|
H A D | cxio_dbg.c | 77 int size, npages; local 80 npages = (len + (1ULL << shift) - 1) >> shift; 81 size = npages * sizeof(u64); 92 __FUNCTION__, m->addr, m->len, npages);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/mlx4/ |
H A D | icm.c | 60 pci_unmap_sg(dev->pdev, chunk->mem, chunk->npages, 63 for (i = 0; i < chunk->npages; ++i) 73 struct mlx4_icm *mlx4_alloc_icm(struct mlx4_dev *dev, int npages, argument 89 while (npages > 0) { 96 chunk->npages = 0; 101 while (1 << cur_order > npages) 104 chunk->mem[chunk->npages].page = alloc_pages(gfp_mask, cur_order); 105 if (chunk->mem[chunk->npages].page) { 106 chunk->mem[chunk->npages].length = PAGE_SIZE << cur_order; 107 chunk->mem[chunk->npages] [all...] |
H A D | mr.c | 184 int mlx4_mtt_init(struct mlx4_dev *dev, int npages, int page_shift, argument 189 if (!npages) { 196 for (mtt->order = 0, i = MLX4_MTT_ENTRY_PER_SEG; i < npages; i <<= 1) 251 int npages, int page_shift, struct mlx4_mr *mr) 270 err = mlx4_mtt_init(dev, npages, page_shift, &mr->mtt); 369 int start_index, int npages, u64 *page_list) 385 while (npages > 0) { 389 for (i = 0; i < npages && i < MLX4_MAILBOX_SIZE / 8 - 2; ++i) 404 npages -= i; 423 page_list = kmalloc(buf->npages * sizeo 250 mlx4_mr_alloc(struct mlx4_dev *dev, u32 pd, u64 iova, u64 size, u32 access, int npages, int page_shift, struct mlx4_mr *mr) argument 368 mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, int start_index, int npages, u64 *page_list) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/kernel/ |
H A D | pci-calgary.c | 194 unsigned int npages; local 196 npages = PAGE_ALIGN(dma + dmalen) - (dma & PAGE_MASK); 197 npages >>= PAGE_SHIFT; 199 return npages; 209 unsigned long start_addr, unsigned int npages) 221 end = index + npages; 229 "0x%lx tbl %p dma 0x%lx npages %u\n", 230 badbit, tbl, start_addr, npages); 233 set_bit_string(tbl->it_map, index, npages); 237 unsigned int npages) 208 iommu_range_reserve(struct iommu_table *tbl, unsigned long start_addr, unsigned int npages) argument 236 iommu_range_alloc(struct iommu_table *tbl, unsigned int npages) argument 265 iommu_alloc(struct iommu_table *tbl, void *vaddr, unsigned int npages, int direction) argument 296 __iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, unsigned int npages) argument 329 iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, unsigned int npages) argument 345 unsigned int npages; local 394 unsigned int npages; local 444 unsigned int npages; local 462 unsigned int npages; local 476 unsigned int npages, order; local 667 unsigned int npages; local [all...] |
H A D | tce.c | 49 unsigned int npages, unsigned long uaddr, int direction) 61 while (npages--) { 74 void tce_free(struct iommu_table *tbl, long index, unsigned int npages) argument 80 while (npages--) { 48 tce_build(struct iommu_table *tbl, unsigned long index, unsigned int npages, unsigned long uaddr, int direction) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/ |
H A D | pci_iommu.c | 83 static long pci_arena_alloc(struct iommu *iommu, unsigned long npages) argument 95 end = n + npages; 124 static void pci_arena_free(struct iommu_arena *arena, unsigned long base, unsigned long npages) argument 128 for (i = base; i < (base + npages); i++) 178 static inline iopte_t *alloc_npages(struct iommu *iommu, unsigned long npages) argument 182 entry = pci_arena_alloc(iommu, npages); 189 static inline void free_npages(struct iommu *iommu, dma_addr_t base, unsigned long npages) argument 191 pci_arena_free(&iommu->arena, base >> IO_PAGE_SHIFT, npages); 232 int npages; local 258 npages 276 unsigned long flags, order, npages; local 302 unsigned long flags, npages, oaddr; local 351 pci_strbuf_flush(struct strbuf *strbuf, struct iommu *iommu, u32 vaddr, unsigned long ctx, unsigned long npages, int direction) argument 421 unsigned long flags, npages, ctx, i; local 551 unsigned long flags, ctx, npages, iopte_protection; local 637 unsigned long flags, ctx, i, npages; local 694 unsigned long flags, ctx, npages; local 732 unsigned long flags, ctx, npages, i; local [all...] |
H A D | pci_sun4v.c | 40 unsigned long npages; /* Number of pages in list. */ member in struct:iommu_batch 53 p->npages = 0; 64 unsigned long npages = p->npages; local 66 while (npages != 0) { 70 npages, prot, __pa(pglist)); 77 npages, prot, __pa(pglist), num); 82 npages -= num; 87 p->npages = 0; 97 BUG_ON(p->npages > 116 pci_arena_alloc(struct iommu_arena *arena, unsigned long npages) argument 155 pci_arena_free(struct iommu_arena *arena, unsigned long base, unsigned long npages) argument 166 unsigned long flags, order, first_page, npages, n; local 232 unsigned long flags, order, npages, entry; local 264 unsigned long flags, npages, oaddr; local 328 unsigned long flags, npages; local 463 unsigned long flags, npages, prot; local 539 unsigned long flags, 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 | 72 static void sbus_strbuf_flush(struct iommu *iommu, struct strbuf *strbuf, u32 base, unsigned long npages, int direction) argument 77 n = npages; 104 "vaddr[%08x] npages[%ld]\n", 105 base, npages); 109 static long sbus_arena_alloc(struct iommu *iommu, unsigned long npages) argument 121 end = n + npages; 150 static void sbus_arena_free(struct iommu_arena *arena, unsigned long base, unsigned long npages) argument 154 for (i = base; i < (base + npages); i++) 189 static inline iopte_t *alloc_npages(struct iommu *iommu, unsigned long npages) argument 193 entry = sbus_arena_alloc(iommu, npages); 200 free_npages(struct iommu *iommu, dma_addr_t base, unsigned long npages) argument 212 int npages; local 257 unsigned long flags, order, npages; local 281 unsigned long flags, npages, oaddr; local 324 unsigned long flags, npages, i; local 424 unsigned long flags, npages, iopte_protection; local 488 unsigned long flags, i, npages; local 523 unsigned long flags, npages; local 547 unsigned long flags, npages, i; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mthca/ |
H A D | mthca_allocator.c | 201 int npages, shift; local 208 npages = 1; 222 npages *= 2; 225 dma_list = kmalloc(npages * sizeof *dma_list, GFP_KERNEL); 229 for (i = 0; i < npages; ++i) 233 npages = (size + PAGE_SIZE - 1) / PAGE_SIZE; 236 dma_list = kmalloc(npages * sizeof *dma_list, GFP_KERNEL); 240 buf->page_list = kmalloc(npages * sizeof *buf->page_list, 245 for (i = 0; i < npages; ++i) 248 for (i = 0; i < npages; [all...] |
H A D | mthca_memfree.c | 70 pci_unmap_sg(dev->pdev, chunk->mem, chunk->npages, 73 for (i = 0; i < chunk->npages; ++i) 82 for (i = 0; i < chunk->npages; ++i) { 133 struct mthca_icm *mthca_alloc_icm(struct mthca_dev *dev, int npages, argument 153 while (npages > 0) { 160 chunk->npages = 0; 165 while (1 << cur_order > npages) 170 &chunk->mem[chunk->npages], 173 ret = mthca_alloc_icm_pages(&chunk->mem[chunk->npages], 177 ++chunk->npages; 527 int npages; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/mm/ |
H A D | io-unit.c | 81 int i, j, k, npages; local 85 npages = ((vaddr & ~PAGE_MASK) + size + (PAGE_SIZE-1)) >> PAGE_SHIFT; 88 switch (npages) { 94 IOD(("iounit_get_area(%08lx,%d[%d])=", vaddr, size, npages)); 101 if (scan + npages > limit) { 112 for (k = 1, scan++; k < npages; k++) 116 scan -= npages; 119 for (k = 0; k < npages; k++, iopte = __iopte(iopte_val(iopte) + 0x100), scan++) { 273 int i, j, k, npages; local 279 npages [all...] |
H A D | iommu.c | 167 static u32 iommu_get_one(struct page *page, int npages, struct sbus_bus *sbus) argument 176 ioptex = bit_map_string_get(&iommu->usemap, npages, page_to_pfn(page)); 184 for (i = 0; i < npages; i++) { 192 iommu_flush_iotlb(iopte0, npages); 201 int npages; local 206 npages = (off + len + PAGE_SIZE-1) >> PAGE_SHIFT; 208 busa = iommu_get_one(page, npages, sbus); 287 static void iommu_release_one(u32 busa, int npages, struct sbus_bus *sbus) argument 295 for (i = 0; i < npages; i++) { 300 bit_map_clear(&iommu->usemap, ioptex, npages); 306 int npages; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pseries/ |
H A D | iommu.c | 53 long npages, unsigned long uaddr, 67 while (npages--) { 78 static void tce_free_pSeries(struct iommu_table *tbl, long index, long npages) argument 84 while (npages--) 98 long npages, unsigned long uaddr, 110 while (npages--) { 130 long npages, unsigned long uaddr, 139 if (npages == 1) 140 return tce_build_pSeriesLP(tbl, tcenum, npages, uaddr, 152 return tce_build_pSeriesLP(tbl, tcenum, npages, 52 tce_build_pSeries(struct iommu_table *tbl, long index, long npages, unsigned long uaddr, enum dma_data_direction direction) argument 97 tce_build_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages, unsigned long uaddr, enum dma_data_direction direction) argument 129 tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages, unsigned long uaddr, enum dma_data_direction direction) argument 193 tce_free_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages) argument 212 tce_freemulti_pSeriesLP(struct iommu_table *tbl, long tcenum, long npages) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/sysdev/ |
H A D | dart_iommu.c | 151 long npages, unsigned long uaddr, 158 DBG("dart: build at: %lx, %lx, addr: %x\n", index, npages, uaddr); 165 l = npages; 181 while (npages--) 189 static void dart_free(struct iommu_table *tbl, long index, long npages) argument 198 DBG("dart: free at: %lx, %lx\n", index, npages); 202 while (npages--) 150 dart_build(struct iommu_table *tbl, long index, long npages, unsigned long uaddr, enum dma_data_direction direction) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/iseries/ |
H A D | iommu.c | 41 static void tce_build_iSeries(struct iommu_table *tbl, long index, long npages, argument 47 while (npages--) { 72 static void tce_free_iSeries(struct iommu_table *tbl, long index, long npages) argument 76 while (npages--) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/core/ |
H A D | umem.c | 77 unsigned long npages; local 110 npages = PAGE_ALIGN(size + umem->offset) >> PAGE_SHIFT; 114 locked = npages + current->mm->locked_vm; 124 while (npages) { 126 min_t(int, npages, 134 npages -= ret;
|