Searched refs:alloc (Results 1 – 8 of 8) sorted by relevance
/kernel/power/ |
D | snapshot.c | 1580 unsigned long alloc; in preallocate_image_memory() local 1585 alloc = avail_normal - alloc_normal; in preallocate_image_memory() 1586 if (nr_pages < alloc) in preallocate_image_memory() 1587 alloc = nr_pages; in preallocate_image_memory() 1589 return preallocate_image_pages(alloc, GFP_IMAGE); in preallocate_image_memory() 1610 unsigned long alloc = __fraction(nr_pages, highmem, total); in preallocate_highmem_fraction() local 1612 return preallocate_image_pages(alloc, GFP_IMAGE | __GFP_HIGHMEM); in preallocate_highmem_fraction() 1736 unsigned long alloc, save_highmem, pages_highmem, avail_normal; in hibernate_preallocate_memory() local 1829 alloc = count - max_size; in hibernate_preallocate_memory() 1830 if (alloc > pages_highmem) in hibernate_preallocate_memory() [all …]
|
/kernel/ |
D | resource.c | 572 struct resource tmp = *new, avail, alloc; in __find_resource() local 600 alloc.flags = avail.flags; in __find_resource() 601 alloc.start = constraint->alignf(constraint->alignf_data, &avail, in __find_resource() 603 alloc.end = alloc.start + size - 1; in __find_resource() 604 if (alloc.start <= alloc.end && in __find_resource() 605 resource_contains(&avail, &alloc)) { in __find_resource() 606 new->start = alloc.start; in __find_resource() 607 new->end = alloc.end; in __find_resource()
|
D | kprobes.c | 120 .alloc = alloc_insn_page, 175 kip->insns = c->alloc(); in __get_insn_slot() 341 .alloc = alloc_optinsn_page,
|
/kernel/dma/ |
D | mapping.c | 507 else if (ops->alloc) in dma_alloc_attrs() 508 cpu_addr = ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
|
/kernel/irq/ |
D | irqdomain.c | 1480 if (!domain->ops->alloc) { in irq_domain_alloc_irqs_hierarchy() 1485 return domain->ops->alloc(domain, irq_base, nr_irqs, arg); in irq_domain_alloc_irqs_hierarchy() 1881 if (domain->ops->alloc) in irq_domain_check_hierarchy()
|
D | msi.c | 322 .alloc = msi_domain_alloc,
|
/kernel/bpf/ |
D | hashtab.c | 1654 alloc: in __htab_map_lookup_and_delete_batch() 1714 goto alloc; in __htab_map_lookup_and_delete_batch()
|
/kernel/trace/ |
D | trace.c | 1002 int alloc; in __trace_array_puts() local 1010 alloc = sizeof(*entry) + size + 2; /* possible \n added */ in __trace_array_puts() 1015 event = __trace_buffer_lock_reserve(buffer, TRACE_PRINT, alloc, in __trace_array_puts()
|