Searched refs:req_size (Results 1 – 8 of 8) sorted by relevance
/arch/mips/cavium-octeon/executive/ |
D | cvmx-bootmem.c | 185 int64_t cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min, in cvmx_bootmem_phy_alloc() argument 200 (unsigned long long)req_size, in cvmx_bootmem_phy_alloc() 224 if (!req_size) in cvmx_bootmem_phy_alloc() 228 req_size = (req_size + (CVMX_BOOTMEM_ALIGNMENT_SIZE - 1)) & in cvmx_bootmem_phy_alloc() 238 address_max = address_min + req_size; in cvmx_bootmem_phy_alloc() 263 if (req_size > address_max - address_min) in cvmx_bootmem_phy_alloc() 308 && req_size <= usable_max - usable_base)) in cvmx_bootmem_phy_alloc() 317 desired_min_addr = usable_max - req_size; in cvmx_bootmem_phy_alloc() 327 if (req_size < ent_size) { in cvmx_bootmem_phy_alloc() 332 new_ent_addr = ent_addr + req_size; in cvmx_bootmem_phy_alloc() [all …]
|
/arch/ia64/sn/pci/pcibr/ |
D | pcibr_dma.c | 45 u64 paddr, size_t req_size, u64 flags, int dma_flags) in pcibr_dmamap_ate32() argument 67 if (!(MINIMAL_ATE_FLAG(paddr, req_size))) { in pcibr_dmamap_ate32() 69 +req_size /* max mapping bytes */ in pcibr_dmamap_ate32() 72 ate_count = IOPG(req_size /* max mapping bytes */ in pcibr_dmamap_ate32() 167 u64 paddr, size_t req_size, u64 flags, int dma_flags) in pcibr_dmatrans_direct32() argument 193 endoff = req_size + offset; in pcibr_dmatrans_direct32() 194 if ((req_size > (1ULL << 31)) || /* Too Big */ in pcibr_dmatrans_direct32()
|
/arch/powerpc/kernel/ |
D | nvram_64.c | 330 int req_size, int min_size) in nvram_create_partition() argument 341 req_size = _ALIGN_UP(req_size, NVRAM_BLOCK_LEN) / NVRAM_BLOCK_LEN; in nvram_create_partition() 348 min_size = req_size; in nvram_create_partition() 349 if (min_size > req_size) in nvram_create_partition() 353 req_size += 1; in nvram_create_partition() 362 if (part->header.length >= req_size) { in nvram_create_partition() 363 size = req_size; in nvram_create_partition()
|
/arch/powerpc/platforms/pseries/ |
D | nvram.c | 44 int req_size; /* desired size, in bytes */ member 52 .req_size = 2079, 59 .req_size = 4000, 384 part->req_size, part->min_size); in pseries_nvram_init_os_partition() 392 part->req_size, part->min_size); in pseries_nvram_init_os_partition()
|
/arch/powerpc/include/asm/ |
D | nvram.h | 37 int req_size, int min_size);
|
/arch/mips/include/asm/octeon/ |
D | cvmx-bootmem.h | 280 int64_t cvmx_bootmem_phy_alloc(uint64_t req_size, uint64_t address_min,
|
/arch/ia64/sn/pci/ |
D | tioca_provider.c | 373 tioca_dma_mapped(struct pci_dev *pdev, unsigned long paddr, size_t req_size) in tioca_dma_mapped() argument 409 end_xio_addr = xio_addr + req_size - 1; in tioca_dma_mapped()
|
/arch/ia64/include/asm/ |
D | pal.h | 1317 ia64_pal_mc_register_mem (u64 physical_addr, u64 size, u64 *req_size) in ia64_pal_mc_register_mem() argument 1321 if (req_size) in ia64_pal_mc_register_mem() 1322 *req_size = iprv.v0; in ia64_pal_mc_register_mem()
|