| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 033 | 50 local align=$1 58 IO_OPEN_ARG="-o driver=$IMGFMT,file.align=$align blkdebug::$img" 71 for align in 512 4k; do 74 do_test $align "write -P 0xa 0x200 0x400" "$TEST_IMG" | _filter_qemu_io 75 do_test $align "write -P 0xa 0x20000 0x600" "$TEST_IMG" | _filter_qemu_io 76 do_test $align "$write_zero_cmd 0x400 0x20000" "$TEST_IMG" | _filter_qemu_io 80 do_test $align "read -P 0xa 0x200 0x200" "$TEST_IMG" | _filter_qemu_io 81 do_test $align "read -P 0x0 0x400 0x20000" "$TEST_IMG" | _filter_qemu_io 82 do_test $align "read -P 0xa 0x20400 0x200" "$TEST_IMG" | _filter_qemu_io 86 do_test $align "write -P 0xb 0x10000 0x10000" "$TEST_IMG" | _filter_qemu_io [all …]
|
| H A D | 204 | 62 limits=align=4k,max-transfer=64k 68 limits=align=512,max-transfer=64k,opt-write-zero=$CLUSTER_SIZE 76 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M 83 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M 89 limits=align=4k
|
| /openbmc/u-boot/board/renesas/rsk7203/ |
| H A D | lowlevel_init.S | 14 .align 2 105 .align 4 111 .align 2 114 .align 2 117 .align 2 123 .align 2 126 .align 2 129 .align 2 132 .align 2 135 .align 2 [all …]
|
| /openbmc/u-boot/tools/binman/test/ |
| H A D | 009_pack_extra.dts | 13 u-boot-align-size-nop { 15 align-size = <4>; 18 u-boot-align-size { 20 align = <16>; 21 align-size = <32>; 24 u-boot-align-end { 26 align-end = <64>; 29 u-boot-align-both { 31 align= <64>; 32 align-end = <128>;
|
| /openbmc/u-boot/include/ |
| H A D | memalign.h | 71 #define ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, pad) \ argument 72 char __##name[ROUND(PAD_SIZE((size) * sizeof(type), pad), align) \ 73 + (align - 1)]; \ 75 type *name = (type *)ALIGN((uintptr_t)__##name, align) 76 #define ALLOC_ALIGN_BUFFER(type, name, size, align) \ argument 77 ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, 1) 88 #define DEFINE_ALIGN_BUFFER(type, name, size, align) \ argument 89 static char __##name[ALIGN(size * sizeof(type), align)] \ 90 __aligned(align); \
|
| H A D | virtio_ring.h | 129 unsigned long align) in vring_init() argument 135 sizeof(__virtio16) + align - 1) & ~(align - 1)); in vring_init() 138 static inline unsigned int vring_size(unsigned int num, unsigned long align) in vring_size() argument 141 sizeof(__virtio16) * (3 + num) + align - 1) & ~(align - 1)) + in vring_size()
|
| /openbmc/u-boot/board/renesas/rsk7264/ |
| H A D | lowlevel_init.S | 17 .align 2 111 .align 4 117 .align 2 122 .align 2 136 .align 2 142 .align 2 147 .align 2 150 .align 2 156 .align 2 179 .align 2 [all …]
|
| /openbmc/u-boot/fs/cbfs/ |
| H A D | cbfs.c | 47 dest->align = be32_to_cpu(src->align); in swap_header() 76 static int file_cbfs_next_file(u8 *start, u32 size, u32 align, in file_cbfs_next_file() argument 83 while (size >= align) { in file_cbfs_next_file() 92 *used += align; in file_cbfs_next_file() 93 size -= align; in file_cbfs_next_file() 94 start += align; in file_cbfs_next_file() 114 if (step % align) in file_cbfs_next_file() 115 step = step + align - step % align; in file_cbfs_next_file() 124 static void file_cbfs_fill_cache(u8 *start, u32 size, u32 align) in file_cbfs_fill_cache() argument 139 while (size >= align) { in file_cbfs_fill_cache() [all …]
|
| /openbmc/u-boot/board/renesas/rsk7269/ |
| H A D | lowlevel_init.S | 18 .align 2 91 .align 4 120 .align 2 123 .align 2 127 .align 2 130 .align 2 138 .align 2 150 .align 2 161 .align 2 169 .align 2 [all …]
|
| /openbmc/u-boot/arch/arm/cpu/armv8/ |
| H A D | psci.S | 47 .align 3 85 .align 3 261 .align 11 265 .align 7 267 .align 7 269 .align 7 271 .align 7 273 .align 7 275 .align 7 277 .align 7 [all …]
|
| H A D | exceptions.S | 35 .align 11 38 .align 7 /* Current EL Synchronous Thread */ 65 .align 7 /* Current EL IRQ Thread */ 91 .align 7 /* Current EL FIQ Thread */ 110 .align 7 /* Current EL Error Thread */ 138 .align 7 /* Current EL (SP_ELx) Synchronous Handler */ 144 .align 7 /* Current EL (SP_ELx) IRQ Handler */ 150 .align 7 /* Current EL (SP_ELx) FIQ Handler */ 156 .align 7 /* Current EL (SP_ELx) Error Handler */
|
| /openbmc/u-boot/board/ms7722se/ |
| H A D | lowlevel_init.S | 28 .align 2 131 .align 2 152 .align 2 156 .align 2 160 .align 2 164 .align 2 168 .align 2 172 .align 2 215 .align 1 222 .align 2
|
| /openbmc/u-boot/board/ms7750se/ |
| H A D | lowlevel_init.S | 47 .align 2 98 .align 2 112 .align 2 127 .align 2 130 .align 2 133 .align 2 141 .align 2
|
| /openbmc/openbmc/meta-arm/meta-arm-bsp/wic/ |
| H A D | corstone1000-flash-firmware.wks.in | 12 part --source empty --size 4k --align 4 --offset 20k --part-name="FWU-Metadata" --uuid 3FDFFEE1-322… 13 part --source empty --size 4k --align 4 --offset 24k --part-name="Bkup-FWU-Metadata" --uuid B306831… 15 part --source empty --size 4k --align 4 --offset 28k --part-name="private_metadata_replica_2" --uui… 16 part --source empty --size 4k --align 4 --offset 32k --part-name="private_metadata_replica_2" --uui… 19 part --source rawcopy --size 144k --sourceparams="file=bl2_signed.bin" --offset 36k --align 4 --par… 22 part --source rawcopy --size 320k --sourceparams="file=tfm_s_signed.bin" --align 4 --part-name="tfm… 25 part --source rawcopy --size 2 --sourceparams="file=signed_fip-corstone1000.bin" --align 4 --part-n… 28 part --source rawcopy --size 12 --sourceparams="file=Image.gz-initramfs-${MACHINE}.bin" --align 4 -… 32 part --source empty --size 144k --offset 16392k --align 4 --part-name="bl2_secondary" --uuid 3F0C49… 33 part --source empty --size 320k --align 4 --part-name="tfm_secondary" --uuid 009A6A12-64A6-4F0F-988… [all …]
|
| /openbmc/qemu/include/standard-headers/linux/ |
| H A D | virtio_ring.h | 198 unsigned long align) in vring_init() argument 204 + align-1) & ~(align - 1)); in vring_init() 207 static inline unsigned vring_size(unsigned int num, unsigned long align) in vring_size() argument 210 + align - 1) & ~(align - 1)) in vring_size()
|
| /openbmc/qemu/block/ |
| H A D | blkdebug.c | 46 uint64_t align; member 479 uint64_t align; in blkdebug_open() local 521 s->align = qemu_opt_get_size(opts, "align", 0); in blkdebug_open() 522 if (s->align && (s->align >= INT_MAX || !is_power_of_2(s->align))) { in blkdebug_open() 524 s->align); in blkdebug_open() 527 align = MAX(s->align, bs->file->bs->bl.request_alignment); in blkdebug_open() 532 !QEMU_IS_ALIGNED(s->max_transfer, align))) { in blkdebug_open() 541 !QEMU_IS_ALIGNED(s->opt_write_zero, align))) { in blkdebug_open() 551 MAX(s->opt_write_zero, align)))) { in blkdebug_open() 560 !QEMU_IS_ALIGNED(s->opt_discard, align))) { in blkdebug_open() [all …]
|
| /openbmc/u-boot/board/espt/ |
| H A D | lowlevel_init.S | 16 .align 2 165 .align 2 195 .align 2 198 .align 2 201 .align 2 211 .align 2 214 .align 2 231 .align 2
|
| /openbmc/u-boot/board/renesas/r2dplus/ |
| H A D | lowlevel_init.S | 14 .align 2 72 .align 2 97 .align 2 100 .align 2 103 .align 2
|
| /openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
| H A D | commproc.c | 64 m8560_cpm_dpalloc(uint size, uint align) in m8560_cpm_dpalloc() argument 71 align_mask = align - 1; in m8560_cpm_dpalloc() 76 gd->arch.dp_alloc_base += (align - off); in m8560_cpm_dpalloc() 79 size += align - off; in m8560_cpm_dpalloc() 98 m8560_cpm_hostalloc(uint size, uint align) in m8560_cpm_hostalloc() argument 101 return (m8560_cpm_dpalloc(size, align)); in m8560_cpm_hostalloc()
|
| /openbmc/u-boot/common/ |
| H A D | malloc_simple.c | 17 static void *alloc_simple(size_t bytes, int align) in alloc_simple() argument 22 addr = ALIGN(gd->malloc_base + gd->malloc_ptr, align); in alloc_simple() 50 void *memalign_simple(size_t align, size_t bytes) in memalign_simple() argument 54 ptr = alloc_simple(bytes, align); in memalign_simple()
|
| /openbmc/openbmc/poky/meta-selftest/recipes-test/images/ |
| H A D | wic-image-minimal.wks | 5 part /boot --source bootimg-pcbios --ondisk sda --label boot --active --align 1024 6 part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid 7 …otfs-dir=wic-image-minimal --ondisk sda --fstype=ext4 --label uuid-test --align 1024 --use-uuid --… 8 …--source rootfs --rootfs-dir=wic-image-minimal --ondisk sda --fstype=ext4 --label core --align 1024
|
| /openbmc/qemu/tests/tcg/hexagon/ |
| H A D | first.S | 44 .align 4 53 1: .align 4 56 3: .align 4
|
| /openbmc/openbmc/poky/meta-selftest/wic/ |
| H A D | overlayfs_etc.wks.in | 1 …ot --active --source bootimg-biosplusefi --ondisk sda --sourceparams="loader=grub-efi" --align 1024 2 part / --source rootfs --ondisk sda --fstype=${OVERLAYFS_ROOTFS_TYPE} --use-uuid --align 1024 3 part --ondisk sda --fstype=ext4 --size=5 --align 1024
|
| H A D | test_gpt_partition_name.wks | 3 part --fstype=ext4 --part-name boot-A --label boot --size 1M --align 1024 4 part / --source rootfs --fstype=ext4 --part-name root-A --align 1024 5 part --fstype=ext4 --label ext-space --size 1M --align 1024
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/freediameter/files/ |
| H A D | Replace-murmurhash-algorithm-with-Robert-Jenkin-s-ha.patch | 53 - int align = (long)string & 3; 55 - if (!align || (len < 4)) { 81 - switch(align) 87 - t <<= (8 * align); 89 - data += 4-align; 90 - len -= 4-align; 94 - int sl = 8 * (4-align); 95 - int sr = 8 * align; 115 - if(len >= align) 119 - switch(align) [all …]
|