Home
last modified time | relevance | path

Searched refs:align (Results 1 – 11 of 11) sorted by relevance

/kernel/dma/
Dcontiguous.c260 unsigned int align, bool no_warn) in dma_alloc_from_contiguous() argument
262 if (align > CONFIG_CMA_ALIGNMENT) in dma_alloc_from_contiguous()
263 align = CONFIG_CMA_ALIGNMENT; in dma_alloc_from_contiguous()
265 return cma_alloc(dev_get_cma_area(dev), count, align, GFP_KERNEL | in dma_alloc_from_contiguous()
287 unsigned int align = min(get_order(size), CONFIG_CMA_ALIGNMENT); in cma_alloc_aligned() local
289 return cma_alloc(cma, size >> PAGE_SHIFT, align, in cma_alloc_aligned()
411 phys_addr_t align = PAGE_SIZE << max(MAX_ORDER - 1, pageblock_order); in rmem_cma_setup() local
412 phys_addr_t mask = align - 1; in rmem_cma_setup()
/kernel/trace/
Dtrace_export.c88 .size = sizeof(_type), .align = __alignof__(_type), \
95 .size = sizeof(_type), .align = 1, \
113 .size = sizeof(_type[_len]), .align = __alignof__(_type), \
122 .size = 0, .align = __alignof__(_type), \
Dtrace_syscalls.c208 .size = sizeof(_type), .align = __alignof__(_type), \
Dtrace_events.c2146 offset = ALIGN(offset, field->align); in event_define_fields()
/kernel/
Dkexec_file.c819 unsigned long align; in kexec_purgatory_setup_kbuf() local
830 align = sechdrs[i].sh_addralign; in kexec_purgatory_setup_kbuf()
832 if (kbuf->buf_align < align) in kexec_purgatory_setup_kbuf()
833 kbuf->buf_align = align; in kexec_purgatory_setup_kbuf()
834 kbuf->bufsz = ALIGN(kbuf->bufsz, align); in kexec_purgatory_setup_kbuf()
837 if (bss_align < align) in kexec_purgatory_setup_kbuf()
838 bss_align = align; in kexec_purgatory_setup_kbuf()
839 bss_sz = ALIGN(bss_sz, align); in kexec_purgatory_setup_kbuf()
898 unsigned long align; in kexec_purgatory_setup_sechdrs() local
904 align = sechdrs[i].sh_addralign; in kexec_purgatory_setup_sechdrs()
[all …]
Dresource.c48 resource_size_t min, max, align; member
577 resource_size_t align) in simple_align_resource() argument
625 avail.start = ALIGN(tmp.start, constraint->align); in __find_resource()
631 size, constraint->align); in __find_resource()
724 resource_size_t max, resource_size_t align, in allocate_resource() argument
739 constraint.align = align; in allocate_resource()
Dkexec_core.c1093 size_t size, align; in crash_notes_memory_init() local
1106 align = min(roundup_pow_of_two(sizeof(note_buf_t)), PAGE_SIZE); in crash_notes_memory_init()
1114 crash_notes = __alloc_percpu(size, align); in crash_notes_memory_init()
Dmodule.c662 unsigned long align = pcpusec->sh_addralign; in percpu_modalloc() local
667 if (align > PAGE_SIZE) { in percpu_modalloc()
669 mod->name, align, PAGE_SIZE); in percpu_modalloc()
670 align = PAGE_SIZE; in percpu_modalloc()
673 mod->percpu = __alloc_reserved_percpu(pcpusec->sh_size, align); in percpu_modalloc()
Dpadata.c522 ps.chunk_size = roundup(ps.chunk_size, job->align); in padata_do_multithreaded()
Dfork.c846 int align = max_t(int, L1_CACHE_BYTES, ARCH_MIN_TASKALIGN); in fork_init() local
852 arch_task_struct_size, align, in fork_init()
/kernel/bpf/
Dsyscall.c302 unsigned long align = 1; in __bpf_map_area_alloc() local
311 align = SHMLBA; in __bpf_map_area_alloc()
320 return __vmalloc_node_range(size, align, VMALLOC_START, VMALLOC_END, in __bpf_map_area_alloc()