Lines Matching refs:size
49 prom_alloc(caddr_t virthint, size_t size, u_int align)
63 virt = prom_allocate_virt(align, size);
67 if (prom_claim_virt(size, virthint) == (caddr_t)-1)
76 if (prom_allocate_phys(size, align, &physaddr) == -1) {
81 prom_free_virt(size, virt);
90 if (prom_map_phys(-1, size, virt, physaddr) == -1) {
97 prom_free_virt(size, virt);
98 prom_free_phys(size, physaddr);
109 prom_malloc(caddr_t virt, size_t size, u_int align)
118 ci[4] = p1275_size2cell(size); /* Arg2: size */
132 prom_free(caddr_t virt, size_t size)
140 ci[4] = p1275_size2cell(size); /* Arg2: size */