Home
last modified time | relevance | path

Searched refs:ALIGN (Results 1 – 25 of 99) sorted by relevance

1234

/dragonfly/bin/sh/pregenerated/
H A Dnodes.c65 ALIGN(sizeof (struct ncmd)),
66 ALIGN(sizeof (struct npipe)),
72 ALIGN(sizeof (struct nif)),
75 ALIGN(sizeof (struct nfor)),
76 ALIGN(sizeof (struct ncase)),
79 ALIGN(sizeof (struct narg)),
80 ALIGN(sizeof (struct narg)),
81 ALIGN(sizeof (struct nfile)),
86 ALIGN(sizeof (struct ndup)),
87 ALIGN(sizeof (struct ndup)),
[all …]
/dragonfly/stand/boot/efi/loader/arch/x86_64/
H A Dldscript.x86_6411 . = ALIGN(4096);
16 . = ALIGN(4096);
23 . = ALIGN(4096);
37 . = ALIGN(4096);
43 . = ALIGN(4096);
52 . = ALIGN(4096);
54 . = ALIGN(4096);
61 . = ALIGN(4096);
63 . = ALIGN(4096);
65 . = ALIGN(4096);
/dragonfly/contrib/dhcpcd/src/
H A Dprivsep-root.c399 len += ALIGN(sizeof(*ifa)); in ps_root_dogetifaddrs()
400 len += ALIGN(IFNAMSIZ); in ps_root_dogetifaddrs()
435 buf += ALIGN(IFNAMSIZ); in ps_root_dogetifaddrs()
448 buf += ALIGN(salen); \ in ps_root_dogetifaddrs()
463 buf += ALIGN(salen); in ps_root_dogetifaddrs()
1124 ALIGN(IFNAMSIZ) + ALIGN(sizeof(salen) * IFA_NADDRS)) in ps_root_getifaddrs()
1128 bp += ALIGN(IFNAMSIZ); in ps_root_getifaddrs()
1132 ALIGN(IFNAMSIZ) + ALIGN(sizeof(salen) * IFA_NADDRS); in ps_root_getifaddrs()
1141 bp += ALIGN(salen); \ in ps_root_getifaddrs()
1156 bp += ALIGN(salen); in ps_root_getifaddrs()
[all …]
H A Ddhcpcd.h107 #ifndef ALIGN
108 #define ALIGN(p) (((unsigned int)(p) + ALIGNBYTES) & ~ALIGNBYTES) macro
111 #define CMSG_SPACE(len) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(len))
/dragonfly/bin/sh/
H A Dmemalloc.c135 #define SPACE(sp) ((char*)(sp) + ALIGN(sizeof(struct stack_block)))
152 allocsize = ALIGN(sizeof(struct stack_block)) + ALIGN(nbytes); in stnewblock()
170 nbytes = ALIGN(nbytes); in stalloc()
258 INT_MAX / 2 - ALIGN(sizeof(struct stack_block))) in growstackblock()
261 min += ALIGN(sizeof(struct stack_block)); in growstackblock()
280 newlen -= ALIGN(sizeof(struct stack_block)); in growstackblock()
/dragonfly/contrib/gcc-4.7/gcc/config/i386/
H A Dx86-64.h56 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ argument
57 x86_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
60 #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \ argument
61 x86_elf_aligned_common (FILE, NAME, SIZE, ALIGN);
H A Di386.h803 #define CONSTANT_ALIGNMENT(EXP, ALIGN) ix86_constant_alignment ((EXP), (ALIGN)) argument
817 #define DATA_ALIGNMENT(TYPE, ALIGN) ix86_data_alignment ((TYPE), (ALIGN)) argument
829 #define LOCAL_ALIGNMENT(TYPE, ALIGN) \ argument
830 ix86_local_alignment ((TYPE), VOIDmode, (ALIGN))
843 #define STACK_SLOT_ALIGNMENT(TYPE, MODE, ALIGN) \ argument
844 ix86_local_alignment ((TYPE), (MODE), (ALIGN))
864 #define MINIMUM_ALIGNMENT(EXP, MODE, ALIGN) \ argument
865 ix86_minimum_alignment (EXP, MODE, ALIGN)
/dragonfly/contrib/gcc-8.0/gcc/config/i386/
H A Dx86-64.h55 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ argument
56 x86_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
59 #define ASM_OUTPUT_ALIGNED_DECL_COMMON(FILE, DECL, NAME, SIZE, ALIGN) \ argument
60 x86_elf_aligned_decl_common (FILE, DECL, NAME, SIZE, ALIGN);
/dragonfly/sys/platform/pc64/conf/
H A Dldscript.x86_6489 . = ALIGN (kernmxps) - ((kernmxps - .) & (kernmxps - 1));
157 . = ALIGN(128);
166 . = ALIGN(128);
171 . = ALIGN(128);
190 . = ALIGN(. != 0 ? 64 / 8 : 1);
198 . = ALIGN(64 / 8);
199 .lrodata ALIGN(kernmxps) + (. & (kernmxps - 1)) :
203 .ldata ALIGN(kernmxps) + (. & (kernmxps - 1)) :
206 . = ALIGN(. != 0 ? 64 / 8 : 1);
208 . = ALIGN(64 / 8);
/dragonfly/sys/platform/vkernel64/conf/
H A Dldscript.x86_6489 . = ALIGN (kernmxps) - ((kernmxps - .) & (kernmxps - 1));
157 . = ALIGN(128);
166 . = ALIGN(128);
171 . = ALIGN(128);
190 . = ALIGN(. != 0 ? 64 / 8 : 1);
198 . = ALIGN(64 / 8);
199 .lrodata ALIGN(kernmxps) + (. & (kernmxps - 1)) :
203 .ldata ALIGN(kernmxps) + (. & (kernmxps - 1)) :
206 . = ALIGN(. != 0 ? 64 / 8 : 1);
208 . = ALIGN(64 / 8);
/dragonfly/test/nvmm/demo/smallkern/
H A Dsmallkern.ldscript15 . = ALIGN(__PAGE_SIZE);
24 . = ALIGN(__PAGE_SIZE);
40 . = ALIGN(__PAGE_SIZE);
/dragonfly/contrib/cryptsetup/tests/
H A Dalign-test50 ALIGN=$($CRYPTSETUP luksDump $DEV |grep "Payload offset" | sed -e s/.*\\t//)
53 if [ $ALIGN -ne $2 ] ; then
55 echo "Expected alignment differs: expected $2 != detected $ALIGN"
/dragonfly/contrib/gcc-4.7/gcc/config/
H A Delfos.h168 #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \ argument
174 (SIZE), (ALIGN) / BITS_PER_UNIT); \
186 #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \ argument
192 ASM_OUTPUT_ALIGNED_COMMON (FILE, NAME, SIZE, ALIGN); \
/dragonfly/contrib/gcc-8.0/gcc/config/
H A Delfos.h165 #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \ argument
171 (SIZE), (ALIGN) / BITS_PER_UNIT); \
183 #define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \ argument
189 ASM_OUTPUT_ALIGNED_COMMON (FILE, NAME, SIZE, ALIGN); \
/dragonfly/contrib/gcc-8.0/gcc/
H A Ddefaults.h1052 #define FUNCTION_ALIGNMENT(ALIGN) \ argument
1055 ? MAX ((ALIGN), \
1057 : (ALIGN))
1148 #define STACK_SLOT_ALIGNMENT(TYPE,MODE,ALIGN) \ argument
1149 ((TYPE) ? LOCAL_ALIGNMENT ((TYPE), (ALIGN)) : (ALIGN))
1158 #define MINIMUM_ALIGNMENT(EXP,MODE,ALIGN) (ALIGN) argument
/dragonfly/contrib/tre/lib/
H A Dtre-match-parallel.c186 tmp_buf += ALIGN(tmp_buf, long); in tre_tnfa_run_parallel()
189 tmp_buf += ALIGN(tmp_buf, long); in tre_tnfa_run_parallel()
192 tmp_buf += ALIGN(tmp_buf, long); in tre_tnfa_run_parallel()
195 tmp_buf += ALIGN(tmp_buf, long); in tre_tnfa_run_parallel()
/dragonfly/stand/boot/pc32/loader/
H A Dloader.ldscript77 …. = ALIGN (CONSTANT (MAXPAGESIZE)) - ((CONSTANT (MAXPAGESIZE) - .) & (CONSTANT (MAXPAGESIZE) - 1))…
158 . = ALIGN(. != 0 ? 32 / 8 : 1);
160 . = ALIGN(32 / 8);
161 . = ALIGN(32 / 8);
/dragonfly/lib/libc/net/
H A Dgetifaddrs.c65 #ifndef ALIGN
66 #define ALIGN(p) (((u_long)(p) + ALIGNBYTES) &~ ALIGNBYTES) macro
232 ift->ifa_data = data = (void *)ALIGN(data); in getifaddrs()
H A Dgetnetnamadr.c299 len = (char *)ALIGN(buf) - buf; in __copy_netent()
315 cp = (char *)ALIGN(buf) + numptr * sizeof(char *); in __copy_netent()
324 nptr->n_aliases = (char **)ALIGN(buf); in __copy_netent()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dintegrate.c53 #define CEIL_ROUND(VALUE,ALIGN) (((VALUE) + (ALIGN) - 1) & ~((ALIGN)- 1)) argument
H A Ddefaults.h1212 #define STACK_SLOT_ALIGNMENT(TYPE,MODE,ALIGN) \ argument
1213 ((TYPE) ? LOCAL_ALIGNMENT ((TYPE), (ALIGN)) : (ALIGN))
1222 #define MINIMUM_ALIGNMENT(EXP,MODE,ALIGN) (ALIGN) argument
/dragonfly/sys/sys/
H A Dparam.h410 #ifndef ALIGN
411 #define ALIGN(p) __ALIGNPTR(p) macro
/dragonfly/contrib/binutils-2.34/ld/scripttempl/
H A Delf.sc130 DATA_SEGMENT_ALIGN="ALIGN(${SEGMENT_SIZE}) + (. & (${MAXPAGESIZE} - 1))"
135 …DATA_SEGMENT_ALIGN="ALIGN (${SEGMENT_SIZE}) - ((${MAXPAGESIZE} - .) & (${MAXPAGESIZE} - 1)); . = D…
240 .lrodata ${RELOCATING-0} ${RELOCATING+ALIGN(${MAXPAGESIZE}) + (. & (${MAXPAGESIZE} - 1))} :
244 .ldata ${RELOCATING-0} ${RELOCATING+ALIGN(${MAXPAGESIZE}) + (. & (${MAXPAGESIZE} - 1))} :
247 ${RELOCATING+. = ALIGN(. != 0 ? ${ALIGNMENT} : 1);}
332 TEXT_SEGMENT_ALIGN=". = ALIGN(${MAXPAGESIZE});"
540 RODATA_ADDR="ALIGN(${SEGMENT_SIZE}) + (. & (${MAXPAGESIZE} - 1))"
547 SHLIB_RODATA_ADDR="ALIGN(${SEGMENT_SIZE}) + (. & (${MAXPAGESIZE} - 1))"
656 . = ALIGN(. != 0 ? ${ALIGNMENT} : 1);}
661 ${RELOCATING+. = ALIGN(${ALIGNMENT});}
[all …]
/dragonfly/sys/dev/drm/i915/
H A Di915_gem_gtt.h430 ({ u32 temp = ALIGN(start+1, 1 << GEN6_PDE_SHIFT); \
504 ({ u64 temp = ALIGN(start+1, 1 << GEN8_PDE_SHIFT); \
512 ({ u64 temp = ALIGN(start+1, 1 << GEN8_PDPE_SHIFT); \
520 ({ u64 temp = ALIGN(start+1, 1ULL << GEN8_PML4E_SHIFT); \
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_uvd.c525 unsigned height_in_mb = ALIGN(height / 16, 2); in amdgpu_uvd_cs_msg_decode()
533 image_size = ALIGN(image_size, 1024); in amdgpu_uvd_cs_msg_decode()
593 min_dpb_size += ALIGN(tmp * 7 * 16, 64); in amdgpu_uvd_cs_msg_decode()
611 min_dpb_size += ALIGN(width_in_mb * height_in_mb * 32, 64); in amdgpu_uvd_cs_msg_decode()
667 image_size = (ALIGN(width, 16) * ALIGN(height, 16) * 3) / 2; in amdgpu_uvd_cs_msg_decode()
668 image_size = ALIGN(image_size, 256); in amdgpu_uvd_cs_msg_decode()

1234