/arch/mips/cavium-octeon/executive/ |
D | cvmx-bootmem.c | 131 static void *cvmx_bootmem_alloc_range(uint64_t size, uint64_t alignment, in cvmx_bootmem_alloc_range() argument 136 cvmx_bootmem_phy_alloc(size, min_addr, max_addr, alignment, 0); in cvmx_bootmem_alloc_range() 145 uint64_t alignment) in cvmx_bootmem_alloc_address() argument 147 return cvmx_bootmem_alloc_range(size, alignment, address, in cvmx_bootmem_alloc_address() 165 void *cvmx_bootmem_alloc_named(uint64_t size, uint64_t alignment, char *name) in cvmx_bootmem_alloc_named() argument 167 return cvmx_bootmem_alloc_named_range(size, 0, 0, alignment, name); in cvmx_bootmem_alloc_named() 218 uint64_t address_max, uint64_t alignment, in cvmx_bootmem_phy_alloc() argument 235 (unsigned long long)alignment); in cvmx_bootmem_phy_alloc() 279 if (alignment < CVMX_BOOTMEM_ALIGNMENT_SIZE) in cvmx_bootmem_phy_alloc() 280 alignment = CVMX_BOOTMEM_ALIGNMENT_SIZE; in cvmx_bootmem_phy_alloc() [all …]
|
/arch/powerpc/include/asm/ |
D | rheap.h | 27 unsigned int alignment; member 50 extern rh_info_t *rh_create(unsigned int alignment); 56 extern void rh_init(rh_info_t * info, unsigned int alignment, int max_blocks, 66 extern unsigned long rh_alloc_align(rh_info_t * info, int size, int alignment,
|
/arch/powerpc/lib/ |
D | rheap.c | 253 rh_info_t *rh_create(unsigned int alignment) in rh_create() argument 258 if ((alignment & (alignment - 1)) != 0) in rh_create() 265 info->alignment = alignment; in rh_create() 300 void rh_init(rh_info_t * info, unsigned int alignment, int max_blocks, in rh_init() argument 307 if ((alignment & (alignment - 1)) != 0) in rh_init() 310 info->alignment = alignment; in rh_init() 338 m = info->alignment - 1; in rh_attach_region() 383 m = info->alignment - 1; in rh_detach_region() 442 unsigned long rh_alloc_align(rh_info_t * info, int size, int alignment, const char *owner) in rh_alloc_align() argument 450 if (size <= 0 || (alignment & (alignment - 1)) != 0) in rh_alloc_align() [all …]
|
/arch/mips/include/asm/octeon/ |
D | cvmx-bootmem.h | 162 uint64_t alignment); 186 extern void *cvmx_bootmem_alloc_named(uint64_t size, uint64_t alignment, 274 uint64_t address_max, uint64_t alignment, 301 uint64_t alignment,
|
D | octeon.h | 15 uint64_t alignment, 19 extern void *octeon_bootmem_alloc(uint64_t size, uint64_t alignment, 21 extern void *octeon_bootmem_alloc_range(uint64_t size, uint64_t alignment, 24 extern void *octeon_bootmem_alloc_named(uint64_t size, uint64_t alignment,
|
/arch/um/drivers/ |
D | cow_user.c | 92 __u32 alignment; member 104 __u32 alignment; member 198 int sectorsize, int alignment, unsigned long long *size) in write_cow_header() argument 252 header->alignment = htobe32(alignment); in write_cow_header() 347 *align_out = be32toh(header->v3.alignment); in read_cow_header() 378 *align_out = be32toh(header->v3_b.alignment); in read_cow_header() 404 int alignment, int *bitmap_offset_out, in init_cow_file() argument 412 alignment, &size); in init_cow_file() 416 *bitmap_offset_out = ROUND_UP(sizeof(struct cow_header_v3), alignment); in init_cow_file() 417 cow_sizes(COW_VERSION, size, sectorsize, alignment, *bitmap_offset_out, in init_cow_file()
|
D | cow.h | 8 int sectorsize, int alignment, int *bitmap_offset_out, 19 int sectorsize, int alignment,
|
/arch/xtensa/lib/ |
D | memset.S | 45 movi a6, 3 # for alignment tests 57 .align 4 # 1 mod 4 alignment for LOOPNEZ 58 .byte 0 # (0 mod 4 alignment for LBEG) 106 bbci.l a5, 0, .L20 # branch if dst alignment half-aligned 126 .byte 0 # 1 mod 4 alignment for LOOPNEZ 127 # (0 mod 4 alignment for LBEG)
|
D | usercopy.S | 111 .byte 0 # 1 mod 4 alignment for LOOPNEZ 112 # (0 mod 4 alignment for LBEG) 136 .align 4 # 1 mod 4 alignment for LOOPNEZ 137 .byte 0 # (0 mod 4 alignment for LBEG) 198 # (0 mod 4 alignment for LBEG)
|
D | strncpy_user.S | 101 .align 4 # 1 mod 4 alignment for LOOPNEZ 102 .byte 0 # (0 mod 4 alignment for LBEG) 178 .align 4 # 1 mod 4 alignment for LOOPNEZ 179 .byte 0 # (0 mod 4 alignment for LBEG)
|
/arch/arm/boot/dts/ |
D | exynos-mfc-reserved-memory.dtsi | 18 alignment = <0x100000>; 25 alignment = <0x100000>;
|
/arch/x86/lib/ |
D | checksum_32.S | 55 testl $3, %esi # Check alignment. 56 jz 2f # Jump if alignment is ok. 57 testl $1, %esi # Check alignment. 58 jz 10f # Jump if alignment is boundary of 2 bytes. 282 testl $2, %edi # Check alignment. 283 jz 2f # Jump if alignment is ok.
|
/arch/sh/lib/ |
D | checksum.S | 49 tst #3, r0 ! Check alignment. 50 bt/s 2f ! Jump if alignment is ok. 51 mov r4, r7 ! Keep a copy to check for alignment 53 tst #1, r0 ! Check alignment. 54 bt 21f ! Jump if alignment is boundary of 2bytes. 207 tst r0,r5 ! Check dest alignment. 208 bt 2f ! Jump if alignment is ok.
|
/arch/parisc/kernel/ |
D | pci.c | 199 resource_size_t size, resource_size_t alignment) in pcibios_align_resource() argument 206 (int) res->flags, size, alignment); in pcibios_align_resource() 212 mask = max(alignment, align) - 1; in pcibios_align_resource()
|
/arch/powerpc/boot/dts/fsl/ |
D | cyrus_p5020.dts | 31 alignment = <0 0x1000000>; 35 alignment = <0 0x400000>; 39 alignment = <0 0x2000000>;
|
D | kmcoge4.dts | 31 alignment = <0 0x1000000>; 35 alignment = <0 0x400000>; 39 alignment = <0 0x2000000>;
|
D | oca4080.dts | 59 alignment = <0 0x1000000>; 63 alignment = <0 0x400000>; 67 alignment = <0 0x2000000>;
|
D | kmcent2.dts | 28 alignment = <0 0x1000000>; 32 alignment = <0 0x400000>; 36 alignment = <0 0x2000000>;
|
D | t208xrdb.dtsi | 49 alignment = <0 0x1000000>; 53 alignment = <0 0x400000>; 57 alignment = <0 0x2000000>;
|
/arch/arm64/kvm/vgic/ |
D | vgic-kvm-device.c | 18 phys_addr_t addr, phys_addr_t alignment, in vgic_check_iorange() argument 24 if (!IS_ALIGNED(addr, alignment) || !IS_ALIGNED(size, alignment)) in vgic_check_iorange() 64 phys_addr_t *addr_ptr, alignment, size; in kvm_vgic_addr() local 72 alignment = SZ_4K; in kvm_vgic_addr() 78 alignment = SZ_4K; in kvm_vgic_addr() 84 alignment = SZ_64K; in kvm_vgic_addr() 150 r = vgic_check_iorange(kvm, *addr_ptr, *addr, alignment, size); in kvm_vgic_addr()
|
/arch/csky/abiv1/ |
D | Makefile | 2 obj-$(CONFIG_CPU_NEED_SOFTALIGN) += alignment.o
|
/arch/nds32/mm/ |
D | Makefile | 5 obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o
|
/arch/x86/ |
D | Makefile | 20 else ifneq ($(call cc-option, -mstack-alignment=16),) 21 cc_stack_align4 := -mstack-alignment=4 22 cc_stack_align8 := -mstack-alignment=8 190 KBUILD_LDFLAGS += -plugin-opt=-stack-alignment=$(if $(CONFIG_X86_32),4,8)
|
/arch/arc/lib/ |
D | memcpy-archs.S | 56 ;;; Check the alignment of the source 95 ;; Hence I need to read 1 byte for a 16bit alignment 96 ;; and 2bytes to reach 32bit alignment 181 ;;; Hence, I need to read 1byte for achieve the 32bit alignment
|
/arch/xtensa/boot/dts/ |
D | kc705.dts | 26 alignment = <0x2000>;
|