Searched refs:nPages (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | vio.c | 335 unsigned order, nPages; in vio_map_single() local 340 nPages = PAGE_ALIGN( uaddr + size ) - ( uaddr & PAGE_MASK ); in vio_map_single() 341 order = get_order( nPages & PAGE_MASK ); in vio_map_single() 342 nPages >>= PAGE_SHIFT; in vio_map_single() 354 dma_handle = get_tces(tbl, order, vaddr, nPages, direction); in vio_map_single() 366 unsigned order, nPages; in vio_unmap_single() local 370 nPages = PAGE_ALIGN( dma_handle + size ) - ( dma_handle & PAGE_MASK ); in vio_unmap_single() 371 order = get_order( nPages & PAGE_MASK ); in vio_unmap_single() 372 nPages >>= PAGE_SHIFT; in vio_unmap_single() 382 if(tbl) tce_free(tbl, dma_handle, order, nPages); in vio_unmap_single() [all …]
|
D | pci_dma.c | 996 unsigned order, nPages; in pci_alloc_consistent() local 1006 nPages = 1 << order; in pci_alloc_consistent() 1023 memset(ret, 0, nPages << PAGE_SHIFT); in pci_alloc_consistent() 1025 tce = get_tces( tbl, order, ret, nPages, PCI_DMA_BIDIRECTIONAL ); in pci_alloc_consistent() 1048 unsigned order, nPages; in pci_free_consistent() local 1055 nPages = 1 << order; in pci_free_consistent() 1067 tce_free(tbl, dma_handle, order, nPages); in pci_free_consistent() 1084 unsigned order, nPages; in pci_map_single() local 1092 nPages = PAGE_ALIGN( uaddr + size ) - ( uaddr & PAGE_MASK ); in pci_map_single() 1093 order = get_order( nPages & PAGE_MASK ); in pci_map_single() [all …]
|
/linux-2.4.37.9/fs/jfs/ |
D | resize.c | 80 int newNpages = 0, nPages, newPage, xlen, t32; in jfs_extendfs() local 350 nPages = ipbmap->i_size >> L2PSIZE; in jfs_extendfs() 353 if (nPages == newNpages) in jfs_extendfs() 380 newPage = nPages; /* first new page number */ in jfs_extendfs() 382 xlen = (newNpages - nPages) << sbi->l2nbperpage; in jfs_extendfs()
|