Home
last modified time | relevance | path

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

12

/xen-4.10.0-shim-comet/xen/include/xen/
A Dxmalloc.h30 extern void *_xmalloc(unsigned long size, unsigned long align);
31 extern void *_xzalloc(unsigned long size, unsigned long align);
34 unsigned long size, unsigned long align, unsigned long num) in _xmalloc_array() argument
39 return _xmalloc(size * num, align); in _xmalloc_array()
43 unsigned long size, unsigned long align, unsigned long num) in _xzalloc_array() argument
48 return _xzalloc(size * num, align); in _xzalloc_array()
A Dconfig.h77 #define IS_ALIGNED(val, align) (((val) & ((align) - 1)) == 0) argument
A Dvmap.h16 unsigned int align, unsigned int flags, enum vmap_region);
/xen-4.10.0-shim-comet/tools/libfsimage/zfs/
A Dfsys_zfs.h95 #define P2ROUNDUP(x, align) (-(-(x) & -(align))) argument
120 #define P2PHASE(x, align) ((x) & ((align) - 1)) argument
131 #define P2ALIGN(x, align) ((x) & -(align)) argument
/xen-4.10.0-shim-comet/xen/common/
A Dvmap.c48 static void *vm_alloc(unsigned int nr, unsigned int align, in vm_alloc() argument
53 if ( !align ) in vm_alloc()
54 align = 1; in vm_alloc()
55 else if ( align & (align - 1) ) in vm_alloc()
56 align &= -align; in vm_alloc()
77 start = (start + align) & ~(align - 1); in vm_alloc()
203 unsigned int nr, unsigned int align, unsigned int flags, in __vmap() argument
206 void *va = vm_alloc(nr * granularity, align, type); in __vmap()
A Dxmalloc_tlsf.c532 order = get_order_from_bytes(max(align, size)); in xmalloc_whole_pages()
571 void *_xmalloc(unsigned long size, unsigned long align) in _xmalloc() argument
581 ASSERT((align & (align - 1)) == 0); in _xmalloc()
582 if ( align < MEM_ALIGN ) in _xmalloc()
583 align = MEM_ALIGN; in _xmalloc()
584 size += align - MEM_ALIGN; in _xmalloc()
592 return xmalloc_whole_pages(size - align + MEM_ALIGN, align); in _xmalloc()
595 if ( (pad = -(long)p & (align - 1)) != 0 ) in _xmalloc()
604 ASSERT(((unsigned long)p & (align - 1)) == 0); in _xmalloc()
608 void *_xzalloc(unsigned long size, unsigned long align) in _xzalloc() argument
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/boot/
A Ddefs.h30 #define ALIGN_UP(arg, align) \ argument
31 (((arg) + (align) - 1) & ~((typeof(arg))(align) - 1))
A Dx86_64.S42 .align 8
55 .align PAGE_SIZE, 0
68 .align PAGE_SIZE, 0
82 .align PAGE_SIZE, 0
196 .align PAGE_SIZE, 0
A Dwakeup.S5 .align 16
99 .align 4
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_x86_acpi.c56 uint32_t size, uint32_t align) in mem_alloc() argument
63 if (align < 16) in mem_alloc()
64 align = 16; in mem_alloc()
66 s = (libxl_ctxt->alloc_currp + align) & ~((unsigned long)align - 1); in mem_alloc()
/xen-4.10.0-shim-comet/misc/coverity/
A Dmodel.c57 void *_xmalloc(unsigned long size, unsigned long align) in _xmalloc() argument
62 __coverity_negative_sink__(align); in _xmalloc()
/xen-4.10.0-shim-comet/stubdom/
A Dvtpm-cmake-Wextra.patch13 -add_definitions(-Wall -Werror -Wno-unused-parameter -Wpointer-arith -Wcast-align -Wwrite-strings)
18 +add_definitions(-Wno-unused-parameter -Wpointer-arith -Wcast-align -Wwrite-strings)
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/
A Dutil.c454 void *mem_alloc(uint32_t size, uint32_t align) in mem_alloc() argument
459 if ( align < 16 ) in mem_alloc()
460 align = 16; in mem_alloc()
462 s = (alloc_up + align) & ~(align - 1); in mem_alloc()
478 void *scratch_alloc(uint32_t size, uint32_t align) in scratch_alloc() argument
483 if ( align < 16 ) in scratch_alloc()
484 align = 16; in scratch_alloc()
486 s = (scratch_start + align) & ~(align - 1); in scratch_alloc()
875 uint32_t size, uint32_t align) in acpi_mem_alloc() argument
877 return mem_alloc(size, align); in acpi_mem_alloc()
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/
A Dkexec_reloc.S24 .align PAGE_SIZE
173 .align 4
182 .align 8
/xen-4.10.0-shim-comet/xen/arch/arm/
A Dsetup.c292 uint32_t size, paddr_t align, in consider_modules() argument
299 s = (s+align-1) & ~(align-1); in consider_modules()
300 e = e & ~(align-1); in consider_modules()
313 mod_e = consider_modules(mod_e, e, size, align, i+1); in consider_modules()
317 return consider_modules(s, mod_s, size, align, i+1); in consider_modules()
340 mod_e = consider_modules(mod_e, e, size, align, i+1); in consider_modules()
344 return consider_modules(s, mod_s, size, align, i+1); in consider_modules()
/xen-4.10.0-shim-comet/xen/arch/arm/arm32/lib/
A Dfindbit.S56 add r2, r2, #1 @ align bit pointer
96 add r2, r2, #1 @ align bit pointer
132 add r2, r2, #1 @ align bit pointer
165 add r2, r2, #1 @ align bit pointer
A Dmemchr.S15 .align 5
A Dstrrchr.S15 .align 5
A Dstrchr.S17 .align 5
A Dassembler.h166 .align 3; \
260 .align 3
301 .align 3
A Dmemset.S15 .align 5
115 blt 5b @ 1 bytes to align with?
A Dmemzero.S13 .align 5
21 blt 5f @ 1 bytes to align with?
/xen-4.10.0-shim-comet/tools/firmware/rombios/32bit/
A Dpmm.c313 int32_t align = 0; in first_fit() local
316 align = ((size ^ (size - 1)) >> 1) + 1; in first_fit()
324 if ( align ) in first_fit()
327 uint32_t offset = ALIGN_UP(addr, align) - addr; in first_fit()
/xen-4.10.0-shim-comet/xen/arch/arm/arm64/
A Dhead.S82 .align 2 ; \
138 .align 3
232 .align 5
683 .align 4
717 .align 2
/xen-4.10.0-shim-comet/xen/arch/x86/acpi/
A Dwakeup_prot.S119 .align 16
126 .align 8

Completed in 29 milliseconds

12