Home
last modified time | relevance | path

Searched refs:alloc (Results 1 – 8 of 8) sorted by relevance

/kernel/power/
Dsnapshot.c1628 unsigned long alloc; in preallocate_image_memory() local
1633 alloc = avail_normal - alloc_normal; in preallocate_image_memory()
1634 if (nr_pages < alloc) in preallocate_image_memory()
1635 alloc = nr_pages; in preallocate_image_memory()
1637 return preallocate_image_pages(alloc, GFP_IMAGE); in preallocate_image_memory()
1658 unsigned long alloc = __fraction(nr_pages, highmem, total); in preallocate_highmem_fraction() local
1660 return preallocate_image_pages(alloc, GFP_IMAGE | __GFP_HIGHMEM); in preallocate_highmem_fraction()
1784 unsigned long alloc, save_highmem, pages_highmem, avail_normal; in hibernate_preallocate_memory() local
1884 alloc = count - max_size; in hibernate_preallocate_memory()
1885 if (alloc > pages_highmem) in hibernate_preallocate_memory()
[all …]
/kernel/
Dresource.c585 struct resource tmp = *new, avail, alloc; in __find_resource() local
613 alloc.flags = avail.flags; in __find_resource()
614 alloc.start = constraint->alignf(constraint->alignf_data, &avail, in __find_resource()
616 alloc.end = alloc.start + size - 1; in __find_resource()
617 if (alloc.start <= alloc.end && in __find_resource()
618 resource_contains(&avail, &alloc)) { in __find_resource()
619 new->start = alloc.start; in __find_resource()
620 new->end = alloc.end; in __find_resource()
Dkprobes.c131 .alloc = alloc_insn_page,
182 kip->insns = c->alloc(); in __get_insn_slot()
349 .alloc = alloc_optinsn_page,
/kernel/dma/
Dmapping.c512 else if (ops->alloc) in dma_alloc_attrs()
513 cpu_addr = ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
/kernel/irq/
Dirqdomain.c1481 if (!domain->ops->alloc) { in irq_domain_alloc_irqs_hierarchy()
1486 return domain->ops->alloc(domain, irq_base, nr_irqs, arg); in irq_domain_alloc_irqs_hierarchy()
1883 if (domain->ops->alloc) in irq_domain_check_hierarchy()
Dmsi.c576 .alloc = msi_domain_alloc,
/kernel/bpf/
Dhashtab.c1715 alloc: in __htab_map_lookup_and_delete_batch()
1775 goto alloc; in __htab_map_lookup_and_delete_batch()
/kernel/trace/
Dtrace.c1014 int alloc; in __trace_array_puts() local
1022 alloc = sizeof(*entry) + size + 2; /* possible \n added */ in __trace_array_puts()
1027 event = __trace_buffer_lock_reserve(buffer, TRACE_PRINT, alloc, in __trace_array_puts()