pages_needed 625 arch/ia64/hp/common/sba_iommu.c unsigned int pages_needed = size >> iovp_shift; pages_needed 631 arch/ia64/hp/common/sba_iommu.c ASSERT(pages_needed); pages_needed 640 arch/ia64/hp/common/sba_iommu.c pide = sba_search_bitmap(ioc, dev, pages_needed, 1); pages_needed 642 arch/ia64/hp/common/sba_iommu.c pide = sba_search_bitmap(ioc, dev, pages_needed, 0); pages_needed 671 arch/ia64/hp/common/sba_iommu.c pide = sba_search_bitmap(ioc, dev, pages_needed, 0); pages_needed 676 arch/ia64/hp/common/sba_iommu.c pages_needed, dma_get_seg_boundary(dev)); pages_needed 683 arch/ia64/hp/common/sba_iommu.c pages_needed, dma_get_seg_boundary(dev)); pages_needed 690 arch/ia64/hp/common/sba_iommu.c ioc->avg_search[ioc->avg_idx++] = (ia64_get_itc() - itc_start) / pages_needed; pages_needed 704 arch/ia64/hp/common/sba_iommu.c __func__, size, pages_needed, pide, pages_needed 249 arch/parisc/kernel/pci-dma.c unsigned int pages_needed = size >> PAGE_SHIFT; pages_needed 252 arch/parisc/kernel/pci-dma.c mask >>= BITS_PER_LONG - pages_needed; pages_needed 255 arch/parisc/kernel/pci-dma.c size, pages_needed, mask); pages_needed 259 arch/parisc/kernel/pci-dma.c if(pages_needed <= 8) { pages_needed 261 arch/parisc/kernel/pci-dma.c } else if(pages_needed <= 16) { pages_needed 263 arch/parisc/kernel/pci-dma.c } else if(pages_needed <= 32) { pages_needed 279 arch/parisc/kernel/pci-dma.c pcxl_used_pages += pages_needed; pages_needed 280 arch/parisc/kernel/pci-dma.c pcxl_used_bytes += ((pages_needed >> 3) ? (pages_needed >> 3) : 1); pages_needed 140 drivers/base/firmware_loader/firmware.h int fw_grow_paged_buf(struct fw_priv *fw_priv, int pages_needed); pages_needed 144 drivers/base/firmware_loader/firmware.h static inline int fw_grow_paged_buf(struct fw_priv *fw_priv, int pages_needed) { return -ENXIO; } pages_needed 286 drivers/base/firmware_loader/main.c int fw_grow_paged_buf(struct fw_priv *fw_priv, int pages_needed) pages_needed 289 drivers/base/firmware_loader/main.c if (fw_priv->page_array_size < pages_needed) { pages_needed 290 drivers/base/firmware_loader/main.c int new_array_size = max(pages_needed, pages_needed 307 drivers/base/firmware_loader/main.c while (fw_priv->nr_pages < pages_needed) { pages_needed 39 drivers/firmware/efi/capsule-loader.c size_t pages_needed; pages_needed 43 drivers/firmware/efi/capsule-loader.c pages_needed = ALIGN(cap_info->total_size, PAGE_SIZE) / PAGE_SIZE; pages_needed 45 drivers/firmware/efi/capsule-loader.c if (pages_needed == 0) { pages_needed 61 drivers/firmware/efi/capsule-loader.c pages_needed * sizeof(void *), pages_needed 69 drivers/firmware/efi/capsule-loader.c pages_needed * sizeof(phys_addr_t *), pages_needed 299 drivers/parisc/ccio-dma.c ret = iommu_is_span_boundary(idx << 3, pages_needed, 0, boundary_size);\ pages_needed 341 drivers/parisc/ccio-dma.c unsigned int pages_needed = size >> IOVP_SHIFT; pages_needed 348 drivers/parisc/ccio-dma.c BUG_ON(pages_needed == 0); pages_needed 349 drivers/parisc/ccio-dma.c BUG_ON((pages_needed * IOVP_SIZE) > DMA_CHUNK_SIZE); pages_needed 352 drivers/parisc/ccio-dma.c __func__, size, pages_needed); pages_needed 362 drivers/parisc/ccio-dma.c if (pages_needed <= 8) { pages_needed 373 drivers/parisc/ccio-dma.c unsigned long mask = ~(~0UL >> pages_needed); pages_needed 378 drivers/parisc/ccio-dma.c } else if (pages_needed <= 16) { pages_needed 380 drivers/parisc/ccio-dma.c } else if (pages_needed <= 32) { pages_needed 383 drivers/parisc/ccio-dma.c } else if (pages_needed <= 64) { pages_needed 388 drivers/parisc/ccio-dma.c __FILE__, __func__, pages_needed); pages_needed 408 drivers/parisc/ccio-dma.c ioc->used_pages += pages_needed; pages_needed 436 drivers/parisc/sba_iommu.c unsigned int pages_needed = size >> IOVP_SHIFT; pages_needed 442 drivers/parisc/sba_iommu.c pide = sba_search_bitmap(ioc, dev, pages_needed); pages_needed 444 drivers/parisc/sba_iommu.c pide = sba_search_bitmap(ioc, dev, pages_needed); pages_needed 458 drivers/parisc/sba_iommu.c __func__, size, pages_needed, pide, pages_needed 472 drivers/parisc/sba_iommu.c ioc->used_pages += pages_needed;