Searched refs:alloc (Results 1 – 8 of 8) sorted by relevance
/kernel/power/ |
D | snapshot.c | 1546 unsigned long alloc; in preallocate_image_memory() local 1551 alloc = avail_normal - alloc_normal; in preallocate_image_memory() 1552 if (nr_pages < alloc) in preallocate_image_memory() 1553 alloc = nr_pages; in preallocate_image_memory() 1555 return preallocate_image_pages(alloc, GFP_IMAGE); in preallocate_image_memory() 1578 unsigned long alloc = __fraction(nr_pages, highmem, total); in preallocate_highmem_fraction() local 1580 return preallocate_image_pages(alloc, GFP_IMAGE | __GFP_HIGHMEM); in preallocate_highmem_fraction() 1704 unsigned long alloc, save_highmem, pages_highmem, avail_normal; in hibernate_preallocate_memory() local 1796 alloc = count - max_size; in hibernate_preallocate_memory() 1797 if (alloc > pages_highmem) in hibernate_preallocate_memory() [all …]
|
/kernel/ |
D | resource.c | 598 struct resource tmp = *new, avail, alloc; in __find_resource() local 626 alloc.flags = avail.flags; in __find_resource() 627 alloc.start = constraint->alignf(constraint->alignf_data, &avail, in __find_resource() 629 alloc.end = alloc.start + size - 1; in __find_resource() 630 if (alloc.start <= alloc.end && in __find_resource() 631 resource_contains(&avail, &alloc)) { in __find_resource() 632 new->start = alloc.start; in __find_resource() 633 new->end = alloc.end; in __find_resource()
|
D | kprobes.c | 119 .alloc = alloc_insn_page, 173 kip->insns = c->alloc(); in __get_insn_slot() 297 .alloc = alloc_insn_page,
|
/kernel/dma/ |
D | virt.c | 54 .alloc = dma_virt_alloc,
|
D | mapping.c | 311 else if (ops->alloc) in dma_alloc_attrs() 312 cpu_addr = ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
|
/kernel/irq/ |
D | irqdomain.c | 1296 return domain->ops->alloc(domain, irq_base, nr_irqs, arg); in irq_domain_alloc_irqs_hierarchy() 1333 if (!domain->ops->alloc) { in __irq_domain_alloc_irqs() 1678 if (domain->ops->alloc) in irq_domain_check_hierarchy()
|
D | msi.c | 184 .alloc = msi_domain_alloc,
|
/kernel/trace/ |
D | trace.c | 839 int alloc; in __trace_puts() local 850 alloc = sizeof(*entry) + size + 2; /* possible \n added */ in __trace_puts() 854 event = __trace_buffer_lock_reserve(buffer, TRACE_PRINT, alloc, in __trace_puts()
|