Searched refs:ALIGN (Results 1 - 200 of 617) sorted by relevance

1234

/linux-4.1.27/arch/m32r/boot/compressed/
H A Dvmlinux.lds.S13 . = ALIGN(32 / 8);
15 . = ALIGN(32 / 8);
20 . = ALIGN(32 / 8);
23 . = ALIGN(32 / 8);
25 . = ALIGN(4096);
/linux-4.1.27/arch/powerpc/boot/
H A DzImage.ps3.lds.S10 . = ALIGN(4096);
15 . = ALIGN(4096);
27 . = ALIGN(4096);
38 . = ALIGN(4096);
41 . = ALIGN(4096);
48 . = ALIGN(4096);
H A DzImage.lds.S19 . = ALIGN(4096);
46 . = ALIGN(8);
54 . = ALIGN(4096);
62 . = ALIGN(4096);
79 . = ALIGN(4096);
H A DzImage.coff.lds.S13 . = ALIGN(4096);
35 . = ALIGN(4096);
/linux-4.1.27/arch/x86/realmode/rm/
H A Drealmode.lds.S24 . = ALIGN(4);
28 . = ALIGN(16);
34 . = ALIGN(PAGE_SIZE);
52 . = ALIGN(PAGE_SIZE);
58 . = ALIGN(128);
64 . = ALIGN(4);
/linux-4.1.27/arch/s390/include/asm/
H A Dkexec.h51 (ALIGN(sizeof(struct elf_note), 4) * 8 + \
52 ALIGN(sizeof("CORE"), 4) * 7 + \
53 ALIGN(sizeof(struct elf_prstatus), 4) + \
54 ALIGN(sizeof(elf_fpregset_t), 4) + \
55 ALIGN(sizeof(u64), 4) + \
56 ALIGN(sizeof(u64), 4) + \
57 ALIGN(sizeof(u32), 4) + \
58 ALIGN(sizeof(u64) * 16, 4) + \
59 ALIGN(sizeof(u32), 4) \
/linux-4.1.27/arch/c6x/kernel/
H A Dvmlinux.lds.S22 . = ALIGN(128); \
36 . = ALIGN(0x400);
50 . = ALIGN(PAGE_SIZE);
64 . = ALIGN(PAGE_SIZE);
90 . = ALIGN (8) ;
122 .neardata ALIGN(8) : AT(ADDR(.neardata) - LOAD_OFFSET)
126 . = ALIGN(8);
136 . = ALIGN(8);
139 . = ALIGN(8);
/linux-4.1.27/arch/blackfin/kernel/
H A Dvmlinux.lds.S68 . = ALIGN(4);
78 . = ALIGN(4);
93 . = ALIGN(32);
101 . = ALIGN(32);
121 . = ALIGN(PAGE_SIZE);
137 . = ALIGN(16);
158 . = ALIGN(PAGE_SIZE);
172 . = ALIGN(4);
179 . = ALIGN(4);
188 . = ALIGN(4);
193 . = ALIGN(32);
196 . = ALIGN(4);
199 . = ALIGN(4);
208 . = ALIGN(4);
213 . = ALIGN(4);
216 . = ALIGN(4);
225 . = ALIGN(4);
228 . = ALIGN(4);
231 . = ALIGN(4);
236 . = ALIGN(32);
239 . = ALIGN(4);
242 . = ALIGN(4);
257 . = ALIGN(PAGE_SIZE);
/linux-4.1.27/arch/microblaze/kernel/
H A Dvmlinux.lds.S39 . = ALIGN (4) ;
43 . = ALIGN (4) ;
51 . = ALIGN(16);
62 . = ALIGN(PAGE_SIZE); /* page aligned when MMU used */
64 . = ALIGN(8);
75 . = ALIGN(8);
90 . = ALIGN(PAGE_SIZE);
99 . = ALIGN(4);
128 .bss ALIGN (PAGE_SIZE) : AT(ADDR(.bss) - LOAD_OFFSET) {
133 . = ALIGN (4) ;
136 . = ALIGN(PAGE_SIZE);
/linux-4.1.27/arch/frv/kernel/
H A Dvmlinux.lds.S24 . = ALIGN(PAGE_SIZE); /* Init code and data */
42 . = ALIGN(PAGE_SIZE);
47 . = ALIGN(8192);
51 . = ALIGN(4096);
56 . = ALIGN(4);
105 . = ALIGN(L1_CACHE_BYTES);
112 . = ALIGN(L1_CACHE_BYTES);
121 . = ALIGN(PAGE_SIZE);
/linux-4.1.27/arch/um/include/asm/
H A Dcommon.lds.S7 . = ALIGN(4096);
14 . = ALIGN(4096);
17 . = ALIGN(4096);
75 . = ALIGN(4);
103 . = ALIGN(4096);
/linux-4.1.27/arch/ia64/kernel/
H A Dvmlinux.lds.S75 . = ALIGN(16);
94 . = ALIGN(8);
115 . = ALIGN(PAGE_SIZE);
140 . = ALIGN(16);
146 . = ALIGN(16);
152 . = ALIGN(16);
162 . = ALIGN(16);
171 . = ALIGN(PERCPU_PAGE_SIZE);
176 . = ALIGN(PAGE_SIZE);
181 . = ALIGN(PAGE_SIZE);
190 . = ALIGN(PAGE_SIZE);
193 . = ALIGN(PERCPU_PAGE_SIZE);
215 . = ALIGN(16); /* gp must be 16-byte aligned for exc. table */
H A Dgate.lds.S58 . = ALIGN(PERCPU_PAGE_SIZE) + (. & (PERCPU_PAGE_SIZE - 1));
/linux-4.1.27/arch/x86/boot/compressed/
H A Dvmlinux.lds.S56 . = ALIGN(L1_CACHE_BYTES);
62 . = ALIGN(8); /* For convenience during zeroing */
66 . = ALIGN(PAGE_SIZE);
H A Daslr.c258 region.start = ALIGN(region.start, CONFIG_PHYSICAL_ALIGN); process_e820_entry()
288 minimum = ALIGN(minimum, CONFIG_PHYSICAL_ALIGN); find_random_addr()
/linux-4.1.27/arch/s390/boot/compressed/
H A Dvmlinux.lds.S40 . = ALIGN(256);
46 . = ALIGN(8); /* For convenience during zeroing */
/linux-4.1.27/arch/arm64/kernel/
H A Dvmlinux.lds.S33 . = ALIGN(SZ_4K); \
52 .pecoff_edata_padding : { BYTE(0); . = ALIGN(PECOFF_FILE_ALIGNMENT); }
58 #define ALIGN_DEBUG_RO . = ALIGN(1<<SECTION_SHIFT);
61 #define ALIGN_DEBUG_RO . = ALIGN(1<<PAGE_SHIFT);
65 #define ALIGN_DEBUG_RO_MIN(min) . = ALIGN(min);
103 . = ALIGN(16);
137 . = ALIGN(PAGE_SIZE);
140 . = ALIGN(4);
150 . = ALIGN(PAGE_SIZE);
159 . = ALIGN(PAGE_SIZE);
H A Dstacktrace.c44 high = ALIGN(low, THREAD_SIZE); unwind_frame()
/linux-4.1.27/arch/powerpc/kernel/
H A Dvmlinux.lds.S68 . = ALIGN(PAGE_SIZE);
90 . = ALIGN(PAGE_SIZE);
125 . = ALIGN(8);
131 . = ALIGN(8);
137 . = ALIGN(8);
144 . = ALIGN(8);
157 . = ALIGN(8);
164 . = ALIGN(8);
188 . = ALIGN(PAGE_SIZE);
195 . = ALIGN(PAGE_SIZE);
216 . = ALIGN(256);
244 . = ALIGN(PAGE_SIZE);
249 . = ALIGN(PAGE_SIZE);
259 . = ALIGN(PAGE_SIZE);
/linux-4.1.27/arch/s390/kernel/
H A Dvmlinux.lds.S44 . = ALIGN(0x100000); /* VM shared segments are 1MB aligned */
47 . = ALIGN(PAGE_SIZE);
58 . = ALIGN(PAGE_SIZE); /* Init code and data */
76 . = ALIGN(PAGE_SIZE);
80 . = ALIGN(PAGE_SIZE);
/linux-4.1.27/arch/mn10300/kernel/
H A Dvmlinux.lds.S52 . = ALIGN(PAGE_SIZE);
60 . = ALIGN(PAGE_SIZE); /* Init code and data */
64 . = ALIGN(4);
75 . = ALIGN(PAGE_SIZE);
84 . = ALIGN(PAGE_SIZE);
H A Dmodule.c140 /* Just ignore the ALIGN relocs. apply_relocate_add()
H A Dentry.S105 ALIGN
119 ALIGN
166 ALIGN
/linux-4.1.27/arch/arm/kernel/
H A Dvmlinux.lds.S16 . = ALIGN(4); \
26 . = ALIGN(PAGE_SIZE); \
98 . = ALIGN(1<<SECTION_SHIFT);
115 . = ALIGN(4);
121 . = ALIGN(1<<SECTION_SHIFT);
125 . = ALIGN(4);
138 . = ALIGN(8);
157 . = ALIGN(1<<SECTION_SHIFT);
159 . = ALIGN(PAGE_SIZE);
231 __data_loc = ALIGN(4); /* location in binary */
235 . = ALIGN(1<<SECTION_SHIFT);
237 . = ALIGN(THREAD_SIZE);
254 . = ALIGN(PAGE_SIZE);
258 . = ALIGN(PAGE_SIZE);
283 . = ALIGN(PAGE_SIZE);
299 . = ALIGN(4);
316 . = ALIGN(4);
319 . = ALIGN(4);
328 . = ALIGN(PAGE_SIZE);
H A Dstacktrace.c32 high = ALIGN(low, THREAD_SIZE); unwind_frame()
/linux-4.1.27/arch/sh/kernel/
H A Dvmlinux.lds.S57 . = ALIGN(PAGE_SIZE); /* Init code and data */
62 . = ALIGN(4);
78 . = ALIGN(PAGE_SIZE);
/linux-4.1.27/arch/m32r/kernel/
H A Dvmlinux.lds.S39 . = ALIGN(65536);
53 . = ALIGN(PAGE_SIZE); /* Init code and data */
58 . = ALIGN(PAGE_SIZE);
H A Dentry.S152 ALIGN
223 ALIGN
247 ALIGN
265 ALIGN
275 ALIGN
283 ALIGN
396 ALIGN
H A Dhead.S272 ALIGN
278 ALIGN
/linux-4.1.27/arch/powerpc/kernel/vdso64/
H A Dvdso64.lds.S29 . = ALIGN(16);
38 . = ALIGN(8);
41 . = ALIGN(8);
44 . = ALIGN(8);
47 . = ALIGN(8);
61 .rela.dyn ALIGN(8) : { *(.rela.dyn) }
63 .opd ALIGN(8) : { KEEP (*(.opd)) }
64 .got ALIGN(8) : { *(.got .toc) }
/linux-4.1.27/arch/x86/kernel/
H A Dvmlinux.lds.S57 #define X64_ALIGN_DEBUG_RODATA_BEGIN . = ALIGN(HPAGE_SIZE);
60 . = ALIGN(HPAGE_SIZE); \
97 . = ALIGN(8);
117 . = ALIGN(PAGE_SIZE);
151 . = ALIGN(PAGE_SIZE);
174 . = ALIGN(__vvar_page + PAGE_SIZE, PAGE_SIZE);
177 . = ALIGN(PAGE_SIZE);
221 . = ALIGN(8);
233 . = ALIGN(8);
261 . = ALIGN(8);
268 . = ALIGN(8);
285 . = ALIGN(PAGE_SIZE);
296 . = ALIGN(PAGE_SIZE);
300 . = ALIGN(PAGE_SIZE);
311 . = ALIGN(PAGE_SIZE);
316 . = ALIGN(PAGE_SIZE);
320 . = ALIGN(PAGE_SIZE);
H A Dentry_32.S325 ALIGN
594 ALIGN
635 ALIGN
646 ALIGN
658 ALIGN
1210 ALIGN
H A Dkexec-bzimage64.c404 efi_map_sz = ALIGN(efi_map_sz, 16); bzImage64_load()
407 params_cmdline_sz = ALIGN(params_cmdline_sz, 16); bzImage64_load()
/linux-4.1.27/arch/sparc/kernel/
H A Dvmlinux.lds.S76 . = ALIGN(PAGE_SIZE);
77 __init_begin = ALIGN(PAGE_SIZE);
82 . = ALIGN(4);
148 . = ALIGN(PAGE_SIZE);
H A Diommu_common.h26 #define IO_PAGE_ALIGN(addr) ALIGN(addr, IO_PAGE_SIZE)
/linux-4.1.27/arch/tile/kernel/
H A Dvmlinux.lds.S34 . = ALIGN(0x10000);
40 . = ALIGN(0x20000);
67 . = ALIGN(PAGE_SIZE);
71 . = ALIGN(PAGE_SIZE);
H A Dvdso.c163 vdso_base = ALIGN(vdso_base, VDSO_ALIGNMENT); setup_vdso_pages()
/linux-4.1.27/arch/um/kernel/
H A Duml.lds.S24 . = ALIGN(PAGE_SIZE);
38 . = ALIGN(PAGE_SIZE);
71 . = ALIGN(KERNEL_STACK_SIZE);
97 . = ALIGN(PAGE_SIZE);
H A Ddyn.lds.S15 . = ALIGN(4096); /* Init code and data */
19 . = ALIGN(PAGE_SIZE);
77 . = ALIGN(PAGE_SIZE);
79 . = ALIGN(PAGE_SIZE);
101 . = ALIGN(32 / 8);
107 . = ALIGN(KERNEL_STACK_SIZE);
156 . = ALIGN(32 / 8);
157 . = ALIGN(32 / 8);
/linux-4.1.27/arch/nios2/boot/compressed/
H A Dvmlinux.lds.S36 . = ALIGN(32 / 8);
38 . = ALIGN(32 / 8);
49 . = ALIGN(32 / 8);
52 . = ALIGN(32 / 8);
/linux-4.1.27/arch/parisc/include/asm/
H A Dlinkage.h17 ALIGN !\
/linux-4.1.27/arch/parisc/kernel/
H A Dvmlinux.lds.S51 . = ALIGN(PAGE_SIZE);
63 . = ALIGN(PAGE_SIZE);
69 .text ALIGN(PAGE_SIZE) : {
84 . = ALIGN(PAGE_SIZE);
94 . = ALIGN(16);
119 . = ALIGN(PAGE_SIZE);
129 . = ALIGN(16);
/linux-4.1.27/arch/arc/kernel/
H A Dvmlinux.lds.S36 . = ALIGN(PAGE_SIZE);
42 . = ALIGN(CONFIG_ARC_ICCM_SZ * 1024);
62 . = ALIGN(PAGE_SIZE);
93 . = ALIGN(PAGE_SIZE);
122 . = ALIGN(PAGE_SIZE);
139 . = ALIGN(PAGE_SIZE);
169 . = ALIGN(CONFIG_ARC_DCCM_SZ * 1024);
/linux-4.1.27/arch/score/kernel/
H A Dvmlinux.lds.S47 . = ALIGN (4) ;
51 . = ALIGN(16);
62 . = ALIGN(8);
69 . = ALIGN(PAGE_SIZE); /* Init code and data */
84 . = ALIGN(PAGE_SIZE);
/linux-4.1.27/include/asm-generic/
H A Dvmlinux.lds.h60 #define ALIGN_FUNCTION() . = ALIGN(8)
67 #define STRUCT_ALIGN() . = ALIGN(STRUCT_ALIGNMENT)
90 #define MCOUNT_REC() . = ALIGN(8); \
115 #define KPROBE_BLACKLIST() . = ALIGN(8); \
124 #define FTRACE_EVENTS() . = ALIGN(8); \
148 #define TRACE_SYSCALLS() . = ALIGN(8); \
170 . = ALIGN(8); \
201 . = ALIGN(8); \
205 . = ALIGN(8); \
218 . = ALIGN(PAGE_SIZE); \
221 . = ALIGN(PAGE_SIZE); \
225 . = ALIGN(page_align); \
229 . = ALIGN(align); \
231 . = ALIGN(align);
234 . = ALIGN(align); \
238 . = ALIGN(align); \
245 . = ALIGN((align)); \
250 . = ALIGN(8); \
394 . = ALIGN((align)); \
397 . = ALIGN((align));
473 . = ALIGN(align); \
484 . = ALIGN(align); \
490 #define KERNEL_CTORS() . = ALIGN(8); \
543 . = ALIGN(sbss_align); \
558 . = ALIGN(bss_align); \
609 . = ALIGN(8); \
621 . = ALIGN(4); \
639 . = ALIGN(initsetup_align); \
675 . = ALIGN(4); \
678 . = ALIGN(8); \
715 . = ALIGN(PAGE_SIZE); \
717 . = ALIGN(cacheline); \
719 . = ALIGN(cacheline); \
764 * This macro is equivalent to ALIGN(PAGE_SIZE); PERCPU_VADDR(@cacheline,,)
769 . = ALIGN(PAGE_SIZE); \
795 . = ALIGN(PAGE_SIZE); \
807 . = ALIGN(inittext_align); \
825 . = ALIGN(sbss_align); \
829 . = ALIGN(stop_align); \
/linux-4.1.27/arch/metag/kernel/
H A Dvmlinux.lds.S41 . = ALIGN(PAGE_SIZE); /* Init code and data */
60 . = ALIGN(PAGE_SIZE);
/linux-4.1.27/arch/alpha/kernel/
H A Dvmlinux.lds.S41 __init_begin = ALIGN(PAGE_SIZE);
47 . = ALIGN(THREAD_SIZE);
H A Dpci.c167 start = ALIGN(start, alignto); pcibios_align_resource()
172 start = ALIGN(start, alignto); pcibios_align_resource()
177 start = ALIGN(start, alignto); pcibios_align_resource()
/linux-4.1.27/arch/s390/kernel/vdso32/
H A Dvdso32.lds.S25 . = ALIGN(16);
45 .rela.dyn ALIGN(8) : { *(.rela.dyn) }
46 .got ALIGN(8) : { *(.got .toc) }
94 . = ALIGN(4096);
/linux-4.1.27/arch/s390/kernel/vdso64/
H A Dvdso64.lds.S25 . = ALIGN(16);
45 .rela.dyn ALIGN(8) : { *(.rela.dyn) }
46 .got ALIGN(8) : { *(.got .toc) }
94 . = ALIGN(4096);
/linux-4.1.27/arch/openrisc/kernel/
H A Dvmlinux.lds.S42 . = ALIGN(PAGE_SIZE);
78 . = ALIGN(PAGE_SIZE);
93 . = ALIGN(PAGE_SIZE);
100 . = ALIGN (PAGE_SIZE);
/linux-4.1.27/arch/cris/kernel/
H A Dvmlinux.lds.S58 . = ALIGN (4);
71 . = ALIGN(PAGE_SIZE); /* Init code and data. */
118 . = ALIGN(PAGE_SIZE);
125 . = ALIGN (0x20);
/linux-4.1.27/arch/arm/boot/compressed/
H A Dvmlinux.lds.S55 . = ALIGN(4);
65 .pad : { BYTE(0); . = ALIGN(8); }
77 . = ALIGN(8); /* the stack must be 64-bit aligned */
H A DMakefile68 ZBSSADDR := ALIGN(8)
/linux-4.1.27/fs/gfs2/
H A Dxattr.h20 ALIGN(sizeof(struct gfs2_ea_header) + (ea)->ea_name_len + \
28 ALIGN(sizeof(struct gfs2_ea_header) + (er)->er_name_len + (er)->er_data_len, 8)
34 ((__be64 *)(GFS2_EA2NAME(ea) + ALIGN((ea)->ea_name_len, 8)))
/linux-4.1.27/arch/powerpc/kernel/vdso32/
H A Dvdso32.lds.S29 . = ALIGN(16);
37 . = ALIGN(8);
40 . = ALIGN(8);
43 . = ALIGN(8);
47 . = ALIGN(8);
/linux-4.1.27/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc_opr_v5.c77 enc_ref_y_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) s5p_mfc_alloc_codec_buffers_v5()
78 * ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN); s5p_mfc_alloc_codec_buffers_v5()
79 enc_ref_y_size = ALIGN(enc_ref_y_size, S5P_FIMV_NV12MT_SALIGN); s5p_mfc_alloc_codec_buffers_v5()
82 enc_ref_c_size = ALIGN(ctx->img_width, s5p_mfc_alloc_codec_buffers_v5()
84 * ALIGN(ctx->img_height >> 1, s5p_mfc_alloc_codec_buffers_v5()
86 enc_ref_c_size = ALIGN(enc_ref_c_size, s5p_mfc_alloc_codec_buffers_v5()
89 guard_width = ALIGN(ctx->img_width + 16, s5p_mfc_alloc_codec_buffers_v5()
91 guard_height = ALIGN((ctx->img_height >> 1) + 4, s5p_mfc_alloc_codec_buffers_v5()
93 enc_ref_c_size = ALIGN(guard_width * guard_height, s5p_mfc_alloc_codec_buffers_v5()
105 ALIGN(S5P_FIMV_DEC_NB_IP_SIZE + s5p_mfc_alloc_codec_buffers_v5()
112 ALIGN(S5P_FIMV_DEC_NB_DCAC_SIZE + s5p_mfc_alloc_codec_buffers_v5()
123 ALIGN(S5P_FIMV_DEC_OVERLAP_TRANSFORM_SIZE + s5p_mfc_alloc_codec_buffers_v5()
137 ALIGN(S5P_FIMV_DEC_OVERLAP_TRANSFORM_SIZE + s5p_mfc_alloc_codec_buffers_v5()
281 ctx->buf_width = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN); s5p_mfc_dec_calc_dpb_size_v5()
282 ctx->buf_height = ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN); s5p_mfc_dec_calc_dpb_size_v5()
289 ctx->luma_size = ALIGN(ctx->buf_width * ctx->buf_height, s5p_mfc_dec_calc_dpb_size_v5()
291 ctx->chroma_size = ALIGN(ctx->buf_width * s5p_mfc_dec_calc_dpb_size_v5()
292 ALIGN((ctx->img_height >> 1), s5p_mfc_dec_calc_dpb_size_v5()
295 ctx->mv_size = ALIGN(ctx->buf_width * s5p_mfc_dec_calc_dpb_size_v5()
296 ALIGN((ctx->buf_height >> 2), s5p_mfc_dec_calc_dpb_size_v5()
301 ALIGN(ctx->img_width + 24, S5P_FIMV_NV12MT_HALIGN); s5p_mfc_dec_calc_dpb_size_v5()
303 ALIGN(ctx->img_height + 16, S5P_FIMV_NV12MT_VALIGN); s5p_mfc_dec_calc_dpb_size_v5()
304 ctx->luma_size = ALIGN(guard_width * guard_height, s5p_mfc_dec_calc_dpb_size_v5()
308 ALIGN(ctx->img_width + 16, S5P_FIMV_NV12MT_HALIGN); s5p_mfc_dec_calc_dpb_size_v5()
310 ALIGN((ctx->img_height >> 1) + 4, s5p_mfc_dec_calc_dpb_size_v5()
312 ctx->chroma_size = ALIGN(guard_width * guard_height, s5p_mfc_dec_calc_dpb_size_v5()
322 ctx->buf_width = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN); s5p_mfc_enc_calc_src_size_v5()
324 ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN) s5p_mfc_enc_calc_src_size_v5()
325 * ALIGN(ctx->img_height, S5P_FIMV_NV12M_LVALIGN); s5p_mfc_enc_calc_src_size_v5()
326 ctx->chroma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN) s5p_mfc_enc_calc_src_size_v5()
327 * ALIGN((ctx->img_height >> 1), S5P_FIMV_NV12M_CVALIGN); s5p_mfc_enc_calc_src_size_v5()
329 ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12M_SALIGN); s5p_mfc_enc_calc_src_size_v5()
331 ALIGN(ctx->chroma_size, S5P_FIMV_NV12M_SALIGN); s5p_mfc_enc_calc_src_size_v5()
333 ctx->buf_width = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN); s5p_mfc_enc_calc_src_size_v5()
335 ctx->luma_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) s5p_mfc_enc_calc_src_size_v5()
336 * ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN); s5p_mfc_enc_calc_src_size_v5()
338 ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) s5p_mfc_enc_calc_src_size_v5()
339 * ALIGN((ctx->img_height >> 1), S5P_FIMV_NV12MT_VALIGN); s5p_mfc_enc_calc_src_size_v5()
341 ctx->luma_size = ALIGN(ctx->luma_size, S5P_FIMV_NV12MT_SALIGN); s5p_mfc_enc_calc_src_size_v5()
343 ALIGN(ctx->chroma_size, S5P_FIMV_NV12MT_SALIGN); s5p_mfc_enc_calc_src_size_v5()
555 enc_ref_y_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) s5p_mfc_set_enc_ref_buffer_v5()
556 * ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN); s5p_mfc_set_enc_ref_buffer_v5()
557 enc_ref_y_size = ALIGN(enc_ref_y_size, S5P_FIMV_NV12MT_SALIGN); s5p_mfc_set_enc_ref_buffer_v5()
559 enc_ref_c_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) s5p_mfc_set_enc_ref_buffer_v5()
560 * ALIGN((ctx->img_height >> 1), S5P_FIMV_NV12MT_VALIGN); s5p_mfc_set_enc_ref_buffer_v5()
561 enc_ref_c_size = ALIGN(enc_ref_c_size, S5P_FIMV_NV12MT_SALIGN); s5p_mfc_set_enc_ref_buffer_v5()
563 guard_width = ALIGN(ctx->img_width + 16, s5p_mfc_set_enc_ref_buffer_v5()
565 guard_height = ALIGN((ctx->img_height >> 1) + 4, s5p_mfc_set_enc_ref_buffer_v5()
567 enc_ref_c_size = ALIGN(guard_width * guard_height, s5p_mfc_set_enc_ref_buffer_v5()
H A Ds5p_mfc_opr_v6.c79 ALIGN(S5P_FIMV_TMV_BUFFER_SIZE_V8(mb_width, mb_height), s5p_mfc_alloc_codec_buffers_v6()
83 ALIGN(S5P_FIMV_TMV_BUFFER_SIZE_V6(mb_width, mb_height), s5p_mfc_alloc_codec_buffers_v6()
86 ctx->luma_dpb_size = ALIGN((mb_width * mb_height) * s5p_mfc_alloc_codec_buffers_v6()
89 ctx->chroma_dpb_size = ALIGN((mb_width * mb_height) * s5p_mfc_alloc_codec_buffers_v6()
93 ctx->me_buffer_size = ALIGN(S5P_FIMV_ME_BUFFER_SIZE_V8( s5p_mfc_alloc_codec_buffers_v6()
98 ctx->me_buffer_size = ALIGN(S5P_FIMV_ME_BUFFER_SIZE_V6( s5p_mfc_alloc_codec_buffers_v6()
123 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
142 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
152 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
165 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
180 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
195 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
209 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
228 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, s5p_mfc_alloc_codec_buffers_v6()
359 ctx->buf_width = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN_V6); s5p_mfc_dec_calc_dpb_size_v6()
360 ctx->buf_height = ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN_V6); s5p_mfc_dec_calc_dpb_size_v6()
377 ctx->mv_size = ALIGN(ctx->mv_size, 16); s5p_mfc_dec_calc_dpb_size_v6()
390 ctx->buf_width = ALIGN(ctx->img_width, S5P_FIMV_NV12M_HALIGN_V6); s5p_mfc_enc_calc_src_size_v6()
391 ctx->luma_size = ALIGN((mb_width * mb_height) * 256, 256); s5p_mfc_enc_calc_src_size_v6()
392 ctx->chroma_size = ALIGN((mb_width * mb_height) * 128, 256); s5p_mfc_enc_calc_src_size_v6()
486 buf_addr1 = ALIGN(buf_addr1, 16); s5p_mfc_set_dec_frame_buffer_v6()
/linux-4.1.27/arch/x86/kernel/acpi/
H A Dwakeup_32.S9 ALIGN
89 ALIGN
/linux-4.1.27/arch/xtensa/kernel/
H A Dvmlinux.lds.S70 . = ALIGN(4); \
104 . = ALIGN(16);
121 . = ALIGN(PAGE_SIZE);
128 . = ALIGN(0x4);
133 . = ALIGN(16);
189 . = ALIGN(4);
301 . = ALIGN(PAGE_SIZE);
311 . = ALIGN(0x10);
H A Dstacktrace.c25 sp_end = ALIGN(a1, THREAD_SIZE); walk_stackframe()
/linux-4.1.27/arch/avr32/kernel/
H A Dvmlinux.lds.S38 . = ALIGN(4);
44 . = ALIGN(PAGE_SIZE);
/linux-4.1.27/net/netfilter/
H A Dnf_conntrack_extend.c57 off = ALIGN(sizeof(struct nf_ct_ext), t->align); nf_ct_ext_create()
93 newoff = ALIGN(old->len, t->align); __nf_ct_ext_add_length()
144 t1->alloc_size = ALIGN(sizeof(struct nf_ct_ext), t1->align) + update_alloc_size()
153 t1->alloc_size = ALIGN(t1->alloc_size, t2->align) update_alloc_size()
172 type->alloc_size = ALIGN(sizeof(struct nf_ct_ext), type->align) nf_ct_extend_register()
/linux-4.1.27/arch/xtensa/lib/
H A Dusercopy.S59 #define ALIGN(R, W0, W1) src R, W0, W1 define
62 #define ALIGN(R, W0, W1) src R, W1, W0 define
231 ALIGN( a6, a6, a7)
234 ALIGN( a7, a7, a8)
237 ALIGN( a8, a8, a9)
240 ALIGN( a9, a9, a6)
251 ALIGN( a6, a6, a7)
254 ALIGN( a7, a7, a8)
263 ALIGN( a6, a6, a7)
/linux-4.1.27/arch/mips/kernel/
H A Dvmlinux.lds.S107 . = ALIGN(PAGE_SIZE); /* Init code and data */
112 . = ALIGN(4);
136 . = ALIGN(0x10000);
/linux-4.1.27/arch/x86/vdso/vdso32/
H A Dint80.S12 ALIGN
H A Dsyscall.S15 ALIGN
H A Dsigreturn.S21 ALIGN
33 ALIGN
H A Dsysenter.S30 ALIGN
/linux-4.1.27/arch/mn10300/mm/
H A Dcache-dbg-inv.S31 ALIGN
H A Dcache-dbg-flush-by-tag.S29 ALIGN
84 ALIGN
H A Dcache-dbg-flush-by-reg.S28 ALIGN
97 ALIGN
H A Dcache-dbg-inv-by-reg.S29 ALIGN
H A Dcache-flush-by-reg.S48 ALIGN
97 ALIGN
184 ALIGN
230 ALIGN
H A Dcache-flush-by-tag.S48 ALIGN
87 ALIGN
158 ALIGN
191 ALIGN
H A Dcache-inv-by-reg.S56 ALIGN
78 ALIGN
102 ALIGN
256 ALIGN
H A Dcache-inv-by-tag.S64 ALIGN
86 ALIGN
110 ALIGN
H A Dcache-dbg-inv-by-tag.S31 ALIGN
/linux-4.1.27/include/video/
H A Dudlfb.h94 #define DL_ALIGN_UP(x, a) ALIGN(x, a)
95 #define DL_ALIGN_DOWN(x, a) ALIGN(x-(a-1), a)
/linux-4.1.27/scripts/dtc/
H A Dfdtdump.c16 #define ALIGN(x, a) (((x) + ((a) - 1)) & ~((a) - 1)) macro
17 #define PALIGN(p, a) ((void *)(ALIGN((unsigned long)(p), (a))))
H A Ddata.c236 int newlen = ALIGN(d.len, align); data_append_align()
/linux-4.1.27/include/linux/
H A Dlinkage.h78 #define ALIGN __ALIGN macro
84 ALIGN ASM_NL \
H A Dkexec.h63 #define KEXEC_NOTE_HEAD_BYTES ALIGN(sizeof(struct elf_note), 4)
65 #define KEXEC_CORE_NOTE_NAME_BYTES ALIGN(sizeof(KEXEC_CORE_NOTE_NAME), 4)
66 #define KEXEC_CORE_NOTE_DESC_BYTES ALIGN(sizeof(struct elf_prstatus), 4)
294 #define VMCOREINFO_NOTE_NAME_BYTES ALIGN(sizeof(VMCOREINFO_NOTE_NAME), 4)
H A Diova.h58 return ALIGN(size, iovad->granule); iova_align()
H A Dpercpu.h23 (ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES) + \
/linux-4.1.27/fs/ubifs/
H A Dsb.c158 tmp = ALIGN(UBIFS_SB_NODE_SZ, c->min_io_size); create_default_filesystem()
219 mst->ihead_offs = cpu_to_le32(ALIGN(tmp, c->min_io_size)); create_default_filesystem()
220 mst->index_size = cpu_to_le64(ALIGN(tmp, 8)); create_default_filesystem()
236 tmp64 -= ALIGN(ubifs_idx_node_sz(c, 1), c->min_io_size); create_default_filesystem()
237 tmp64 -= ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size); create_default_filesystem()
240 tmp64 = ALIGN(ubifs_idx_node_sz(c, 1), c->min_io_size); create_default_filesystem()
241 ino_waste = ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size) - create_default_filesystem()
244 tmp64 -= ALIGN(ubifs_idx_node_sz(c, 1), 8); create_default_filesystem()
268 idx = kzalloc(ALIGN(tmp, c->min_io_size), GFP_KERNEL); create_default_filesystem()
291 tmp = ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size); create_default_filesystem()
327 tmp = ALIGN(UBIFS_CS_NODE_SZ, c->min_io_size); create_default_filesystem()
489 sup = kmalloc(ALIGN(UBIFS_SB_NODE_SZ, c->min_io_size), GFP_NOFS); ubifs_read_sb_node()
512 int len = ALIGN(UBIFS_SB_NODE_SZ, c->min_io_size); ubifs_write_sb_node()
725 ALIGN(UBIFS_CS_NODE_SZ, c->min_io_size)); fixup_free_space()
H A Dtnc_commit.c84 c->calc_idx_sz += ALIGN(len, 8); make_idx_node()
129 const int alen = ALIGN(len, 8); fill_gap()
147 c->ileb_len = ALIGN(gap_pos, c->min_io_size); fill_gap()
273 dirt += ALIGN(snod->len, 8); layout_leb_in_gaps()
288 gap_start = ALIGN(snod->offs + snod->len, 8); layout_leb_in_gaps()
427 buf_len = ALIGN(buf_len, c->min_io_size); layout_in_empty_space()
475 c->calc_idx_sz += ALIGN(len, 8); layout_in_empty_space()
495 used += ALIGN(len, 8); layout_in_empty_space()
496 avail -= ALIGN(len, 8); layout_in_empty_space()
507 blen = ALIGN(wlen, c->min_io_size); layout_in_empty_space()
825 buf_len = ALIGN(c->max_idx_node_sz, c->min_io_size); write_index()
927 used += ALIGN(len, 8); write_index()
928 avail -= ALIGN(len, 8); write_index()
946 wlen = ALIGN(wlen, 8); write_index()
947 blen = ALIGN(wlen, c->min_io_size); write_index()
H A Dlog.c371 max_len = ALIGN(max_len, c->min_io_size); ubifs_log_start_commit()
407 ubifs_pad(c, buf + len, ALIGN(len, c->min_io_size) - len); ubifs_log_start_commit()
421 len = ALIGN(len, c->min_io_size); ubifs_log_start_commit()
609 int sz = ALIGN(*offs, c->min_io_size), err; add_node()
619 *offs += ALIGN(len, 8); add_node()
688 int sz = ALIGN(offs, c->min_io_size); ubifs_consolidate_log()
694 offs = ALIGN(offs, c->min_io_size); ubifs_consolidate_log()
H A Djournal.c572 aligned_dlen = ALIGN(dlen, 8); ubifs_jnl_update()
573 aligned_ilen = ALIGN(ilen, 8); ubifs_jnl_update()
958 aligned_dlen1 = ALIGN(dlen1, 8); ubifs_jnl_rename()
959 aligned_dlen2 = ALIGN(dlen2, 8); ubifs_jnl_rename()
960 len = aligned_dlen1 + aligned_dlen2 + ALIGN(ilen, 8) + ALIGN(plen, 8); ubifs_jnl_rename()
999 p += ALIGN(ilen, 8); ubifs_jnl_rename()
1006 p += ALIGN(plen, 8); ubifs_jnl_rename()
1053 offs += ALIGN(ilen, 8); ubifs_jnl_rename()
1062 offs += ALIGN(plen, 8); ubifs_jnl_rename()
1307 aligned_xlen = ALIGN(xlen, 8); ubifs_jnl_delete_xattr()
1309 len = aligned_xlen + UBIFS_INO_NODE_SZ + ALIGN(hlen, 8); ubifs_jnl_delete_xattr()
1415 aligned_len1 = ALIGN(len1, 8); ubifs_jnl_change_xattr()
1416 aligned_len = aligned_len1 + ALIGN(len2, 8); ubifs_jnl_change_xattr()
H A Dscan.c119 lnum, offs, ALIGN(offs + node_len + pad_len, 8)); ubifs_scan_a_node()
182 sleb->endpt = ALIGN(offs, c->min_io_size); ubifs_end_scan()
320 node_len = ALIGN(le32_to_cpu(ch->len), 8); ubifs_scan()
H A Dxattr.c107 .new_ino_d = ALIGN(size, 8), .dirtied_ino = 1, create_xattr()
108 .dirtied_ino_d = ALIGN(host_ui->data_len, 8) }; create_xattr()
204 .dirtied_ino_d = ALIGN(size, 8) + ALIGN(host_ui->data_len, 8) }; change_xattr()
503 .dirtied_ino_d = ALIGN(host_ui->data_len, 8) }; remove_xattr()
H A Dlpt_commit.c234 alen = ALIGN(offs, c->min_io_size); layout_cnodes()
277 alen = ALIGN(offs, c->min_io_size); layout_cnodes()
297 alen = ALIGN(offs, c->min_io_size); layout_cnodes()
313 alen = ALIGN(offs, c->min_io_size); layout_cnodes()
415 alen = ALIGN(wlen, c->min_io_size); write_cnodes()
474 alen = ALIGN(wlen, c->min_io_size); write_cnodes()
500 alen = ALIGN(wlen, c->min_io_size); write_cnodes()
523 alen = ALIGN(wlen, c->min_io_size); write_cnodes()
530 err = dbg_chk_lpt_sz(c, 3, ALIGN(offs, c->min_io_size)); write_cnodes()
535 c->nhead_offs = ALIGN(offs, c->min_io_size); write_cnodes()
1083 pad_len = ALIGN(offs, c->min_io_size) - offs; get_pad_len()
H A Drecovery.c422 empty_offs = ALIGN(offs + 1, c->max_write_size); is_last_write()
449 empty_offs = ALIGN(*offs, c->min_io_size); clean_buf()
477 skip = ALIGN(offs + UBIFS_CH_SZ, c->max_write_size) - offs; no_more_nodes()
489 skip = ALIGN(offs + dlen, c->max_write_size) - offs; no_more_nodes()
540 int len = ALIGN(endpt, c->min_io_size); fix_unclean_leb()
550 int pad_len = len - ALIGN(endpt, 8); fix_unclean_leb()
668 node_len = ALIGN(le32_to_cpu(ch->len), 8); ubifs_recover_leb()
1024 node_len = ALIGN(le32_to_cpu(ch->len), 8); clean_an_unclean_leb()
1056 len = ALIGN(ucleb->endpt, c->min_io_size); clean_an_unclean_leb()
1058 int pad_len = len - ALIGN(ucleb->endpt, 8); clean_an_unclean_leb()
1451 len = ALIGN(len + 1, c->min_io_size); fix_size_in_place()
H A Dlpt.c127 tot_wastage += ALIGN(sz, c->min_io_size) - sz; do_calc_lpt_geom()
661 node_sz = ALIGN(ubifs_idx_node_sz(c, 1), 8); ubifs_create_dflt_lpt()
662 iopos = ALIGN(node_sz, c->min_io_size); ubifs_create_dflt_lpt()
668 iopos = ALIGN(node_sz, c->min_io_size); ubifs_create_dflt_lpt()
701 alen = ALIGN(len, c->min_io_size); ubifs_create_dflt_lpt()
730 alen = ALIGN(len, c->min_io_size); ubifs_create_dflt_lpt()
778 alen = ALIGN(len, c->min_io_size); ubifs_create_dflt_lpt()
803 alen = ALIGN(len, c->min_io_size); ubifs_create_dflt_lpt()
818 alen = ALIGN(len, c->min_io_size); ubifs_create_dflt_lpt()
831 c->nhead_offs = ALIGN(len, c->min_io_size); ubifs_create_dflt_lpt()
H A Dio.c396 len = ALIGN(len, 8); ubifs_prepare_node()
397 pad = ALIGN(len, c->min_io_size) - len; ubifs_prepare_node()
521 sync_len = ALIGN(wbuf->used, c->min_io_size); ubifs_wbuf_sync_nolock()
544 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; ubifs_wbuf_sync_nolock()
585 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; ubifs_wbuf_seek_nolock()
678 int err, written, n, aligned_len = ALIGN(len, 8); ubifs_wbuf_write_nolock()
861 int err, buf_len = ALIGN(len, c->min_io_size); ubifs_write_node()
H A Dsuper.c561 c->ref_node_alsz = ALIGN(UBIFS_REF_NODE_SZ, c->min_io_size); init_constants_early()
562 c->mst_node_alsz = ALIGN(UBIFS_MST_NODE_SZ, c->min_io_size); init_constants_early()
601 c->dead_wm = ALIGN(MIN_WRITE_SZ, c->min_io_size); init_constants_early()
602 c->dark_wm = ALIGN(UBIFS_MAX_NODE_SZ, c->min_io_size); init_constants_early()
658 c->min_idx_node_sz = ALIGN(tmp, 8); init_constants_sb()
662 c->max_idx_node_sz = ALIGN(tmp, 8); init_constants_sb()
666 tmp = ALIGN(tmp, c->min_io_size); init_constants_sb()
1235 sz = ALIGN(c->max_idx_node_sz, c->min_io_size); mount_ubifs()
1236 sz = ALIGN(sz + c->max_idx_node_sz, c->min_io_size); mount_ubifs()
H A Ddir.c507 .dirtied_ino_d = ALIGN(ui->data_len, 8) }; ubifs_link()
780 .new_ino_d = ALIGN(devlen, 8), ubifs_mknod()
859 .new_ino_d = ALIGN(len, 8), ubifs_symlink()
984 .dirtied_ino_d = ALIGN(old_inode_ui->data_len, 8) }; ubifs_rename()
1162 size = ALIGN(size, UBIFS_BLOCK_SIZE); ubifs_getattr()
/linux-4.1.27/tools/virtio/
H A Dvringh_test.c24 #define ALIGN 4096 macro
153 mapsize = vring_size(RINGSIZE, ALIGN) parallel_test()
187 vring_init(&vrh.vring, RINGSIZE, host_map, ALIGN); parallel_test()
299 data = guest_map + vring_size(RINGSIZE, ALIGN); parallel_test()
316 vq = vring_new_virtqueue(0, RINGSIZE, ALIGN, &gvdev.vdev, true, parallel_test()
479 memset(__user_addr_min, 0, vring_size(RINGSIZE, ALIGN)); main()
482 vq = vring_new_virtqueue(0, RINGSIZE, ALIGN, &vdev, true, main()
488 vring_init(&vrh.vring, RINGSIZE, __user_addr_min, ALIGN); main()
507 __kmalloc_fake = __user_addr_min + vring_size(RINGSIZE, ALIGN); main()
557 __kfree_ignore_start = __user_addr_min + vring_size(RINGSIZE, ALIGN); main()
576 __kmalloc_fake = __user_addr_min + vring_size(RINGSIZE, ALIGN); main()
665 vq = vring_new_virtqueue(0, RINGSIZE, ALIGN, &vdev, true, main()
681 vring_init(&vring, RINGSIZE, __user_addr_min, ALIGN); main()
/linux-4.1.27/crypto/
H A Dcipher.c37 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); setkey_unaligned()
71 u8 *tmp = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); cipher_crypt_unaligned()
H A Dblkcipher.c78 addr = (u8 *)ALIGN((unsigned long)walk->buffer, walk->alignmask + 1); blkcipher_done_slow()
152 unsigned aligned_bsize = ALIGN(bsize, alignmask + 1); blkcipher_next_slow()
168 walk->dst.virt.addr = (u8 *)ALIGN((unsigned long)walk->buffer, blkcipher_next_slow()
278 unsigned aligned_bs = ALIGN(bs, walk->alignmask + 1); blkcipher_copy_iv()
289 iv = (u8 *)ALIGN((unsigned long)walk->buffer, walk->alignmask + 1); blkcipher_copy_iv()
388 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); setkey_unaligned()
453 len = ALIGN(len, (unsigned long)alg->cra_alignmask + 1); crypto_blkcipher_ctxsize()
490 addr = ALIGN(addr, align); crypto_init_blkcipher_ops_sync()
491 addr += ALIGN(tfm->__crt_alg->cra_ctxsize, align); crypto_init_blkcipher_ops_sync()
H A Dablkcipher.c155 unsigned aligned_bsize = ALIGN(bsize, alignmask + 1); ablkcipher_next_slow()
160 n = ALIGN(sizeof(struct ablkcipher_buffer), alignmask + 1); ablkcipher_next_slow()
170 dst = (u8 *)ALIGN((unsigned long)base, alignmask + 1); ablkcipher_next_slow()
195 unsigned aligned_bs = ALIGN(bs, alignmask + 1); ablkcipher_copy_iv()
205 iv = (u8 *)ALIGN((unsigned long)walk->iv_buffer, alignmask + 1); ablkcipher_copy_iv()
321 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); setkey_unaligned()
H A Dhmac.c34 return (void *)ALIGN((unsigned long)p, align); align_ptr()
220 ss = ALIGN(ss, alg->cra_alignmask + 1); hmac_create()
225 ALIGN(ss * 2, crypto_tfm_ctx_alignment()); hmac_create()
H A Dcmac.c267 ALIGN(sizeof(struct cmac_desc_ctx), crypto_tfm_ctx_alignment()) cmac_create()
272 ALIGN(sizeof(struct cmac_tfm_ctx), alignmask + 1) cmac_create()
H A Dxcbc.c239 inst->alg.descsize = ALIGN(sizeof(struct xcbc_desc_ctx), xcbc_create()
245 inst->alg.base.cra_ctxsize = ALIGN(sizeof(struct xcbc_tfm_ctx), xcbc_create()
H A Dauthenc.c269 hash = (u8 *)ALIGN((unsigned long)hash + crypto_ahash_alignmask(auth), crypto_authenc_ahash_fb()
308 hash = (u8 *)ALIGN((unsigned long)hash + crypto_ahash_alignmask(auth), crypto_authenc_ahash()
568 ctx->reqoff = ALIGN(2 * crypto_ahash_digestsize(auth) + crypto_authenc_init_tfm()
H A Dahash.c92 walk->offset = ALIGN(walk->offset, alignmask + 1); crypto_hash_walk_done()
201 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); ahash_setkey_unaligned()
/linux-4.1.27/net/ipv4/
H A Desp4.c49 len = ALIGN(len, crypto_tfm_ctx_alignment()); esp_alloc_tmp()
53 len = ALIGN(len, __alignof__(struct scatterlist)); esp_alloc_tmp()
95 return (void *)ALIGN((unsigned long)(req + 1) + esp_req_sg()
103 return (void *)ALIGN((unsigned long)(req + 1) + esp_givreq_sg()
153 blksize = ALIGN(crypto_aead_blocksize(aead), 4); esp_output()
154 clen = ALIGN(skb->len + 2 + tfclen, blksize); esp_output()
460 u32 blksize = ALIGN(crypto_aead_blocksize(aead), 4); esp4_get_mtu()
673 align = ALIGN(crypto_aead_blocksize(aead), 4); esp_init_state()
H A Dah4.c32 len = ALIGN(len, crypto_tfm_ctx_alignment()); ah_alloc_tmp()
35 len = ALIGN(len, __alignof__(struct scatterlist)); ah_alloc_tmp()
69 return (void *)ALIGN((unsigned long)(req + 1) + ah_req_sg()
/linux-4.1.27/net/ipv6/
H A Desp6.c76 len = ALIGN(len, crypto_tfm_ctx_alignment()); esp_alloc_tmp()
80 len = ALIGN(len, __alignof__(struct scatterlist)); esp_alloc_tmp()
123 return (void *)ALIGN((unsigned long)(req + 1) + esp_req_sg()
131 return (void *)ALIGN((unsigned long)(req + 1) + esp_givreq_sg()
180 blksize = ALIGN(crypto_aead_blocksize(aead), 4); esp6_output()
181 clen = ALIGN(skb->len + 2 + tfclen, blksize); esp6_output()
414 u32 blksize = ALIGN(crypto_aead_blocksize(aead), 4); esp6_get_mtu()
614 align = ALIGN(crypto_aead_blocksize(aead), 4); esp6_init_state()
H A Dah6.c69 len = ALIGN(len, crypto_tfm_ctx_alignment()); ah_alloc_tmp()
72 len = ALIGN(len, __alignof__(struct scatterlist)); ah_alloc_tmp()
111 return (void *)ALIGN((unsigned long)(req + 1) + ah_req_sg()
/linux-4.1.27/drivers/crypto/qce/
H A Ddma.h36 ALIGN(sizeof(struct qce_result_dump), QCE_BAM_BURST_SIZE)
/linux-4.1.27/arch/x86/include/asm/
H A Dpage_types.h36 #define __PHYSICAL_START ALIGN(CONFIG_PHYSICAL_START, \
/linux-4.1.27/arch/x86/um/vdso/
H A Dvdso-layout.lds.S44 . = ALIGN(0x100);
/linux-4.1.27/arch/tile/include/asm/
H A Dlinkage.h47 ALIGN; \
/linux-4.1.27/arch/unicore32/boot/compressed/
H A DMakefile63 ZBSSADDR := ALIGN(4)
/linux-4.1.27/drivers/gpu/drm/msm/
H A Dmsm_ringbuffer.c26 size = ALIGN(size, 4); /* size should be dword aligned */ msm_ringbuffer_new()
/linux-4.1.27/drivers/video/fbdev/omap2/
H A Dvrfb.c141 *width = ALIGN(*width * bytespp, VRFB_PAGE_WIDTH) / bytespp; omap_vrfb_adjust_size()
142 *height = ALIGN(*height, VRFB_PAGE_HEIGHT); omap_vrfb_adjust_size()
211 vrfb_width = ALIGN(width * bytespp, VRFB_PAGE_WIDTH) / bytespp; omap_vrfb_setup()
212 vrfb_height = ALIGN(height, VRFB_PAGE_HEIGHT); omap_vrfb_setup()
/linux-4.1.27/arch/nios2/kernel/
H A Dvmlinux.lds.S55 . = ALIGN(PAGE_SIZE);
/linux-4.1.27/arch/hexagon/kernel/
H A Dvmlinux.lds.S47 . = ALIGN(_PAGE_SIZE);
/linux-4.1.27/net/netlink/
H A Daf_netlink.h8 #define NLGRPSZ(x) (ALIGN(x, sizeof(unsigned long) * 8) / 8)
/linux-4.1.27/sound/pci/ctxfi/
H A Dctvmem.h34 #define CT_PAGE_ALIGN(addr) ALIGN(addr, CT_PAGE_SIZE)
/linux-4.1.27/mm/
H A Dcma.c74 return (ALIGN(cma->base_pfn, (1UL << align_order)) cma_bitmap_aligned_offset()
81 return ALIGN(pages, 1UL << cma->order_per_bit) >> cma->order_per_bit; cma_bitmap_pages_to_bits()
192 if (ALIGN(base, alignment) != base || ALIGN(size, alignment) != size) cma_init_reserved_mem()
271 base = ALIGN(base, alignment); cma_declare_contiguous()
272 size = ALIGN(size, alignment); cma_declare_contiguous()
H A Dmemtest.c48 start_phys_aligned = ALIGN(start_phys, incr); memtest()
H A Dbootmem.c61 return ALIGN(bytes, sizeof(long)); bootmap_bytes()
219 start = ALIGN(start + 1, BITS_PER_LONG); free_all_bootmem_core()
480 return ALIGN(base + idx, step) - base; align_idx()
490 return ALIGN(base + off, align) - base; align_off()
525 start = ALIGN(goal, step); alloc_bootmem_bdata()
527 start = ALIGN(min, step); alloc_bootmem_bdata()
H A Dpage_owner.c225 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); init_pages_in_zone()
229 block_end_pfn = ALIGN(pfn + 1, pageblock_nr_pages); init_pages_in_zone()
H A Dsparse-vmemmap.c81 ptr = (void *)ALIGN((unsigned long)vmemmap_buf, size); vmemmap_alloc_block_buf()
204 size = ALIGN(size, PMD_SIZE); sparse_mem_maps_populate_node()
/linux-4.1.27/drivers/staging/android/ion/
H A Dion_chunk_heap.c52 allocated_size = ALIGN(size, chunk_heap->chunk_size); ion_chunk_heap_allocate()
103 allocated_size = ALIGN(buffer->size, chunk_heap->chunk_size); ion_chunk_heap_free()
/linux-4.1.27/drivers/parisc/
H A Diommu-helpers.h148 if (unlikely(ALIGN(dma_len + dma_offset + startsg->length, IOVP_SIZE) > iommu_coalesce_chunks()
171 dma_len = ALIGN(dma_len + dma_offset, IOVP_SIZE); iommu_coalesce_chunks()
/linux-4.1.27/include/scsi/
H A Dscsi_transport.h96 t->target_private_offset = ALIGN(t->target_size, sizeof(void *)); scsi_transport_reserve_target()
103 t->device_private_offset = ALIGN(t->device_size, sizeof(void *)); scsi_transport_reserve_device()
H A Dosd_protocol.h363 return ALIGN(len + sizeof(struct osdv1_attributes_list_element), osdv1_attr_list_elem_size()
369 return ALIGN(len + sizeof(struct osdv2_attributes_list_element), osdv2_attr_list_elem_size()
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/
H A Dwii.c83 memblock_remove(ALIGN(p[1].base + p[1].size, PAGE_SIZE), wii_memory_fixups()
87 wii_hole_start = ALIGN(p[0].base + p[0].size, PAGE_SIZE); wii_memory_fixups()
/linux-4.1.27/arch/m32r/include/asm/
H A Dassembler.h35 ALIGN
188 ALIGN
/linux-4.1.27/net/mac802154/
H A Dmain.c85 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; ieee802154_alloc_hw()
98 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); ieee802154_alloc_hw()
/linux-4.1.27/drivers/s390/cio/
H A Dfcx.c111 offset += sizeof(struct dcw) + ALIGN((int) dcw->cd_count, 4); calc_dcw_count()
131 cbc_data = 4 + ALIGN(data_count, 4) - data_count; calc_cbc_size()
175 tcat->count = ALIGN(count, 4) + 4; tcw_finalize()
303 size = ALIGN(sizeof(struct dcw) + cd_count, 4); tccb_add_dcw()
H A Ditcw.c141 addr = ALIGN(*start, align); fit_chunk()
143 addr = ALIGN(addr, 4096); fit_chunk()
144 addr = ALIGN(addr, align); fit_chunk()
/linux-4.1.27/drivers/gpu/drm/armada/
H A Darmada_drm.h37 return ALIGN(pitch, 128); armada_pitch()
/linux-4.1.27/drivers/dma/
H A Dste_dma40_ll.c197 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); d40_seg_size()
206 return ALIGN(size / 2, max_w); d40_seg_size()
245 next = ALIGN(next + sizeof(struct d40_phy_lli), d40_phy_buf_to_lli()
294 l_phys = ALIGN(lli_phys + (lli - lli_sg) * for_each_sg()
/linux-4.1.27/arch/xtensa/mm/
H A Dmmu.c28 n_pages = ALIGN(n_pages, PTRS_PER_PTE); init_pmd()
/linux-4.1.27/drivers/gpu/drm/qxl/
H A Dqxl_dumb.c43 args->size = ALIGN(args->size, PAGE_SIZE); qxl_mode_dumb_create()
/linux-4.1.27/arch/mips/lantiq/xway/
H A Dxrx200_phy_fw.c68 dev_addr = ALIGN(dev_addr, XRX200_GPHY_FW_ALIGN); xway_gphy_load()
/linux-4.1.27/arch/arm64/kernel/vdso/
H A Dvdso.lds.S44 . = ALIGN(16);
/linux-4.1.27/arch/arm/mach-nspire/
H A Dclcd.c91 panel_size = ALIGN(panel_size, PAGE_SIZE); nspire_clcd_setup()
/linux-4.1.27/arch/arm64/mm/
H A Dinit.c251 start = min(start, ALIGN(prev_end, PAGES_PER_SECTION)); for_each_memblock()
265 prev_end = ALIGN(__phys_to_pfn(reg->base + reg->size), for_each_memblock()
271 free_memmap(prev_end, ALIGN(prev_end, PAGES_PER_SECTION));
/linux-4.1.27/drivers/media/i2c/
H A Dmt9t001.c382 width = clamp_t(unsigned int, ALIGN(format->format.width, 2), mt9t001_set_format()
386 height = clamp_t(unsigned int, ALIGN(format->format.height, 2), mt9t001_set_format()
432 rect.left = clamp(ALIGN(sel->r.left, 2), mt9t001_set_selection()
435 rect.top = clamp(ALIGN(sel->r.top, 2), mt9t001_set_selection()
438 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), mt9t001_set_selection()
441 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), mt9t001_set_selection()
H A Dmt9m032.c464 rect.left = clamp(ALIGN(sel->r.left, 2), MT9M032_COLUMN_START_MIN, mt9m032_set_pad_selection()
466 rect.top = clamp(ALIGN(sel->r.top, 2), MT9M032_ROW_START_MIN, mt9m032_set_pad_selection()
468 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), mt9m032_set_pad_selection()
470 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), mt9m032_set_pad_selection()
H A Dmt9p031.c562 width = clamp_t(unsigned int, ALIGN(format->format.width, 2), mt9p031_set_format()
566 height = clamp_t(unsigned int, ALIGN(format->format.height, 2), mt9p031_set_format()
612 rect.left = clamp(ALIGN(sel->r.left, 2), MT9P031_COLUMN_START_MIN, mt9p031_set_selection()
614 rect.top = clamp(ALIGN(sel->r.top, 2), MT9P031_ROW_START_MIN, mt9p031_set_selection()
616 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), mt9p031_set_selection()
619 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), mt9p031_set_selection()
H A Dmt9v032.c530 width = clamp(ALIGN(format->format.width, 2), mt9v032_set_format()
534 height = clamp(ALIGN(format->format.height, 2), mt9v032_set_format()
586 rect.left = clamp(ALIGN(sel->r.left + 1, 2) - 1, mt9v032_set_selection()
589 rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1, mt9v032_set_selection()
592 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), mt9v032_set_selection()
595 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), mt9v032_set_selection()
/linux-4.1.27/drivers/scsi/fnic/
H A Dfnic_res.c77 c->wq_enet_desc_count = ALIGN(c->wq_enet_desc_count, 16); fnic_get_vnic_config()
83 c->wq_copy_desc_count = ALIGN(c->wq_copy_desc_count, 16); fnic_get_vnic_config()
89 c->rq_desc_count = ALIGN(c->rq_desc_count, 16); fnic_get_vnic_config()
H A Dvnic_dev.c178 ring->desc_count = ALIGN(desc_count, count_align); vnic_dev_desc_ring_size()
180 ring->desc_size = ALIGN(desc_size, desc_align); vnic_dev_desc_ring_size()
209 ring->base_addr = ALIGN(ring->base_addr_unaligned, vnic_dev_alloc_desc_ring()
/linux-4.1.27/drivers/scsi/isci/
H A Dprobe_roms.h87 * to transmit a single ALIGN primitive. This value applies regardless
89 * 0 indicates that no ALIGN primitives will be inserted.
95 * to transmit 2 ALIGN primitives. This applies for SAS connections
/linux-4.1.27/arch/unicore32/kernel/
H A Dstacktrace.c42 high = ALIGN(low, THREAD_SIZE); unwind_frame()
/linux-4.1.27/drivers/gpu/drm/udl/
H A Dudl_fb.c40 #define DL_ALIGN_UP(x, a) ALIGN(x, a)
41 #define DL_ALIGN_DOWN(x, a) ALIGN(x-(a-1), a)
497 size = ALIGN(size, PAGE_SIZE); udlfb_create()
656 size = ALIGN(size, PAGE_SIZE); udl_fb_user_fb_create()
/linux-4.1.27/arch/mips/netlogic/common/
H A Dnlm-dma.c102 swiotlb_nslabs = ALIGN(swiotlb_nslabs, IO_TLB_SEGSIZE); plat_swiotlb_setup()
/linux-4.1.27/arch/powerpc/kvm/
H A Dbook3s_64_vio.c44 return ALIGN((window_size >> SPAPR_TCE_SHIFT) kvmppc_stt_npages()
/linux-4.1.27/arch/metag/include/asm/
H A Dpage.h53 # define ALIGN_HUGEPT(x) ALIGN(x, HUGEPT_ALIGN)
/linux-4.1.27/arch/arm/mach-omap2/
H A Domap-secure.c65 size = ALIGN(size, SECTION_SIZE); omap_secure_ram_reserve_memblock()
/linux-4.1.27/lib/
H A Dswiotlb.c105 io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); setup_io_tlb_npages()
220 io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); swiotlb_init()
252 io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); swiotlb_late_init_with_default_size()
445 offset_slots = ALIGN(tbl_dma_addr, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; swiotlb_tbl_map_single()
451 ? ALIGN(mask + 1, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT swiotlb_tbl_map_single()
458 nslots = ALIGN(size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; swiotlb_tbl_map_single()
471 index = ALIGN(io_tlb_index, stride); swiotlb_tbl_map_single()
556 int i, count, nslots = ALIGN(size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; swiotlb_tbl_unmap_single()
575 count = ((index + nslots) < ALIGN(index + 1, IO_TLB_SEGSIZE) ? swiotlb_tbl_unmap_single()
H A Diommu-common.c174 boundary_size = ALIGN(dma_get_seg_boundary(dev) + 1, iommu_tbl_range_alloc()
177 boundary_size = ALIGN(1ULL << 32, 1 << iommu->table_shift); iommu_tbl_range_alloc()
/linux-4.1.27/fs/
H A Dreaddir.c159 int reclen = ALIGN(offsetof(struct linux_dirent, d_name) + namlen + 2, filldir()
243 int reclen = ALIGN(offsetof(struct linux_dirent64, d_name) + namlen + 1, filldir64()
/linux-4.1.27/net/openvswitch/
H A Dvport.h210 return (u8 *)(uintptr_t)vport + ALIGN(sizeof(struct vport), VPORT_ALIGN); vport_priv()
225 return (struct vport *)((u8 *)priv - ALIGN(sizeof(struct vport), VPORT_ALIGN)); vport_from_priv()
/linux-4.1.27/drivers/gpu/drm/gma500/
H A Dframebuffer.c369 mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((bpp + 7) / 8), 4096 >> pitch_lines); psbfb_create()
372 size = ALIGN(size, PAGE_SIZE); psbfb_create()
397 mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((bpp + 7) / 8), 64); psbfb_create()
400 size = ALIGN(size, PAGE_SIZE); psbfb_create()
556 if (ALIGN(sizes->fb_width * bytespp, 64) * sizes->fb_height > psbfb_probe()
/linux-4.1.27/drivers/mtd/ubi/
H A Dupd.c196 vol->upd_buf = vmalloc(ALIGN((int)req->bytes, ubi->min_io_size)); ubi_start_leb_change()
238 int l = ALIGN(len, ubi->min_io_size); write_leb()
414 int len = ALIGN((int)vol->upd_bytes, ubi->min_io_size); ubi_more_leb_change_data()
H A Dmisc.c47 length = ALIGN(i + 1, ubi->min_io_size); ubi_calc_data_len()
/linux-4.1.27/sound/pci/ymfpci/
H A Dymfpci_main.c2122 size = ALIGN(playback_ctrl_size, 0x100) + snd_ymfpci_memalloc()
2123 ALIGN(chip->bank_size_playback * 2 * YDSXG_PLAYBACK_VOICES, 0x100) + snd_ymfpci_memalloc()
2124 ALIGN(chip->bank_size_capture * 2 * YDSXG_CAPTURE_VOICES, 0x100) + snd_ymfpci_memalloc()
2125 ALIGN(chip->bank_size_effect * 2 * YDSXG_EFFECT_VOICES, 0x100) + snd_ymfpci_memalloc()
2140 ptr += ALIGN(playback_ctrl_size, 0x100); snd_ymfpci_memalloc()
2141 ptr_addr += ALIGN(playback_ctrl_size, 0x100); snd_ymfpci_memalloc()
2152 ptr = (char *)ALIGN((unsigned long)ptr, 0x100); snd_ymfpci_memalloc()
2153 ptr_addr = ALIGN(ptr_addr, 0x100); snd_ymfpci_memalloc()
2162 ptr = (char *)ALIGN((unsigned long)ptr, 0x100); snd_ymfpci_memalloc()
2163 ptr_addr = ALIGN(ptr_addr, 0x100); snd_ymfpci_memalloc()
2172 ptr = (char *)ALIGN((unsigned long)ptr, 0x100); snd_ymfpci_memalloc()
2173 ptr_addr = ALIGN(ptr_addr, 0x100); snd_ymfpci_memalloc()
/linux-4.1.27/drivers/media/i2c/soc_camera/
H A Dmt9m001.c187 rect.height = ALIGN(rect.height, 2); mt9m001_s_crop()
190 rect.width = ALIGN(rect.width, 2); mt9m001_s_crop()
191 rect.left = ALIGN(rect.left, 2); mt9m001_s_crop()
309 mf->height = ALIGN(mf->height - 1, 2); mt9m001_try_fmt()
/linux-4.1.27/drivers/media/platform/s5p-tv/
H A Dmixer_vp_layer.c197 ALIGN(src->width + src->x_offset, 8), 8192U); mxr_vp_fix_geometry()
/linux-4.1.27/drivers/gpu/drm/mga/
H A Dmga_warp.c47 #define WARP_UCODE_SIZE(size) ALIGN(size, MGA_WARP_CODE_ALIGN)
/linux-4.1.27/arch/x86/mm/
H A Dhugetlbpage.c144 addr = ALIGN(addr, huge_page_size(h)); hugetlb_get_unmapped_area()
/linux-4.1.27/arch/sparc/mm/
H A Dhugetlbpage.c115 addr = ALIGN(addr, HPAGE_SIZE); hugetlb_get_unmapped_area()
/linux-4.1.27/arch/unicore32/mm/
H A Dproc-macros.S139 ldw \t2, =_stext @ _stext must ALIGN(4096)
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_uvd.c319 unsigned height_in_mb = ALIGN(height / 16, 2); radeon_uvd_cs_msg_decode()
325 image_size = ALIGN(image_size, 1024); radeon_uvd_cs_msg_decode()
356 min_dpb_size += ALIGN(tmp * 7 * 16, 64); radeon_uvd_cs_msg_decode()
374 min_dpb_size += ALIGN(width_in_mb * height_in_mb * 32, 64); radeon_uvd_cs_msg_decode()
H A Dradeon_fb.c155 height = ALIGN(mode_cmd->height, 8); radeonfb_create_pinned_object()
157 aligned_size = ALIGN(size, PAGE_SIZE); radeonfb_create_pinned_object()
/linux-4.1.27/drivers/hv/
H A Dchannel.c590 u32 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); vmbus_sendpacket_ctl()
692 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); vmbus_sendpacket_pagebuffer_ctl()
771 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); vmbus_sendpacket_mpb_desc()
827 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); vmbus_sendpacket_multipagebuffer()
/linux-4.1.27/arch/mips/oprofile/
H A Dbacktrace.c170 const unsigned long low_addr = ALIGN(frame.sp, THREAD_SIZE); op_mips_backtrace()
/linux-4.1.27/security/apparmor/include/
H A Dmatch.h116 return ALIGN(sizeof(struct table_header) + len * el_size, 8); table_size()
/linux-4.1.27/sound/core/
H A Dsgbuf.c31 #define sgbuf_align_table(tbl) ALIGN((tbl), SGBUF_TBL_ALIGN)
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
H A Dethtool.c229 new_rx_count = ALIGN(new_rx_count, REQ_RX_DESCRIPTOR_MULTIPLE); igbvf_set_ringparam()
233 new_tx_count = ALIGN(new_tx_count, REQ_TX_DESCRIPTOR_MULTIPLE); igbvf_set_ringparam()
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_mqd_manager_cik.c57 memset(m, 0, ALIGN(sizeof(struct cik_mqd), 256)); init_mqd()
309 memset(m, 0, ALIGN(sizeof(struct cik_mqd), 256)); init_mqd_hiq()
/linux-4.1.27/block/
H A Dblk-tag.c105 nr_ulongs = ALIGN(depth, BITS_PER_LONG) / BITS_PER_LONG; init_tag_map()
242 nr_ulongs = ALIGN(max_depth, BITS_PER_LONG) / BITS_PER_LONG; blk_queue_resize_tags()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c92 ring->buf_size = ALIGN(size * ring->stride, MLX4_EN_PAGE_SIZE); mlx4_en_create_tx_ring()
582 return ALIGN(skb->len + CTRL_SIZE + inline_size()
585 return ALIGN(skb->len + CTRL_SIZE + 2 * inline_size()
606 ALIGN(*lso_header_size + 4, DS_SIZE); get_real_size()
745 desc_size = ALIGN(real_size, TXBB_SIZE); mlx4_en_xmit()
783 data = ((void *)&tx_desc->lso + ALIGN(lso_header_size + 4, mlx4_en_xmit()
/linux-4.1.27/drivers/video/fbdev/
H A Di740fb.c471 xres = ALIGN(var->xres, 8); i740fb_decode_var()
472 vxres = ALIGN(var->xres_virtual, 16); i740fb_decode_var()
476 xoffset = ALIGN(var->xoffset, 8); i740fb_decode_var()
480 left = ALIGN(var->left_margin, 8); i740fb_decode_var()
481 right = ALIGN(var->right_margin, 8); i740fb_decode_var()
482 hslen = ALIGN(var->hsync_len, 8); i740fb_decode_var()
/linux-4.1.27/drivers/media/platform/
H A Dsh_veu.c80 #define VIDEO_MEM_LIMIT ALIGN(2048 * 1536 * 2 * 3, 1024 * 1024)
534 y_line = ALIGN(vfmt->frame.width, 16); sh_veu_colour_offset()
734 return ALIGN((size_in * crop_out) / size_out, 4); sh_veu_scale_v()
756 return ALIGN((size_in * crop_out) / size_out, 4); sh_veu_scale_h()
770 src_stride = ALIGN(veu->vfmt_in.frame.width, 16); sh_veu_configure()
/linux-4.1.27/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c61 #define RX_BUFF_SIZE ALIGN((NET_IP_ALIGN) + MAX_MRU, 4)
664 ALIGN((desc->data & 3) + desc->buf_len, 4), dma_unmap_tx()
739 ALIGN(NET_IP_ALIGN + desc->pkt_len, 4)); eth_poll()
761 ALIGN(NET_IP_ALIGN + desc->pkt_len, 4) / 4); eth_poll()
868 bytes = ALIGN(offset + len, 4); eth_xmit()
/linux-4.1.27/drivers/scsi/esas2r/
H A Desas2r_init.c70 mem_desc->phys_addr = ALIGN(mem_desc->phys_addr, align); esas2r_initmem_alloc()
791 + ALIGN(ESAS2R_DISC_BUF_LEN, 8) esas2r_get_uncached_size()
792 + ALIGN(sizeof(u32), 8) /* outbound list copy pointer */ esas2r_get_uncached_size()
795 + ALIGN((num_requests + num_ae_requests + 1 + esas2r_get_uncached_size()
799 + ALIGN((num_requests + num_ae_requests + 1 + esas2r_get_uncached_size()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
H A Dmr.c678 npages = ALIGN(len + offset, page_size) >> ilog2(page_size); get_octo_len()
697 sg->length = ALIGN(sizeof(u64) * n, 64); prep_umr_reg_wqe()
787 size = ALIGN(sizeof(u64) * npages, MLX5_UMR_MTT_ALIGNMENT); reg_umr()
876 pages_to_map = ALIGN(npages, page_index_alignment); mlx5_ib_update_mtt()
927 sg.length = ALIGN(npages * sizeof(u64), mlx5_ib_update_mtt()
/linux-4.1.27/fs/logfs/
H A Djournal.c287 h_ofs += ALIGN(len, sizeof(*jh)) - sizeof(*jh); logfs_read_segment()
393 unsigned char c[ALIGN(sizeof(struct logfs_segment_header), 16)]; journal_erase_segment()
434 return ALIGN(len, 16) + sizeof(*jh); __logfs_write_header()
622 pad_len = ALIGN(compr_len, 16); __logfs_write_je()
643 area->a_used_bytes = ALIGN(area->a_used_bytes, writesize); logfs_get_free_bytes()
/linux-4.1.27/drivers/media/firewire/
H A Dfiredtv-avc.c101 int to = ALIGN(from, 4); pad_operands()
608 fdtv->avc_data_length = ALIGN(3 + pos, 4); avc_tuner_dsd()
660 fdtv->avc_data_length = ALIGN(3 + pos, 4); avc_tuner_set_pids()
864 fdtv->avc_data_length = ALIGN(3 + pos, 4); avc_lnb_control()
1213 fdtv->avc_data_length = ALIGN(3 + write_pos, 4); avc_ca_pmt()
/linux-4.1.27/drivers/misc/mic/host/
H A Dmic_virtio.c96 ALIGN(partlen, dma_alignment)); mic_virtio_copy_to_user()
139 } else if (ALIGN(len, dma_alignment) > dlen) { mic_virtio_copy_from_user()
152 ALIGN(partlen, dma_alignment)); mic_virtio_copy_from_user()
H A Dmic_smpt.c49 return ALIGN(pa - mic_system_page_mask(mdev), mic_smpt_align_low()
55 return ALIGN(pa, mdev->smpt->info.page_size); mic_smpt_align_high()
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/
H A Dcleanup.c313 range_basek = ALIGN(state->range_startk, gran_sizek); range_to_mtrr_with_hole()
318 range_sizek = ALIGN(state->range_sizek, gran_sizek); range_to_mtrr_with_hole()
329 range0_sizek = ALIGN(state->range_sizek, chunk_sizek); range_to_mtrr_with_hole()
/linux-4.1.27/arch/x86/ia32/
H A Dia32entry.S572 ALIGN
585 ALIGN
591 ALIGN
/linux-4.1.27/arch/mips/cavium-octeon/executive/
H A Dcvmx-bootmem.c256 address_min = ALIGN(address_min, alignment); cvmx_bootmem_phy_alloc()
294 ALIGN(max(address_min, ent_addr), alignment); cvmx_bootmem_phy_alloc()
674 size = ALIGN(size, CVMX_BOOTMEM_ALIGNMENT_SIZE); cvmx_bootmem_phy_named_block_alloc()
/linux-4.1.27/arch/arm/mm/
H A Dinit.c379 ALIGN(prev_end, PAGES_PER_SECTION)); for_each_memblock()
400 prev_end = ALIGN(memblock_region_memory_end_pfn(reg), for_each_memblock()
407 ALIGN(prev_end, PAGES_PER_SECTION));
/linux-4.1.27/drivers/scsi/csiostor/
H A Dcsio_wr.c203 qsz = ALIGN(qsize, CSIO_QCREDIT_SZ) + csio_wr_qstat_pgsz(hw); csio_wr_alloc_q()
222 qsz = ALIGN(qsize/wrsize, 16) * wrsize; csio_wr_alloc_q()
226 qsz = ALIGN(qsize/wrsize, 8) * wrsize + csio_wr_qstat_pgsz(hw); csio_wr_alloc_q()
867 uint32_t req_sz = ALIGN(size, CSIO_QCREDIT_SZ); csio_wr_get()
908 q->pidx = (uint16_t)(ALIGN(wrp->size2, CSIO_QCREDIT_SZ) / csio_wr_get()
1091 flq->un.fl.offset += ALIGN(lastlen, sge->csio_fl_align); csio_wr_process_fl()
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/
H A Dixgb_param.c286 tx_ring->count = ALIGN(tx_ring->count, IXGB_REQ_TX_DESCRIPTOR_MULTIPLE); ixgb_check_options()
305 rx_ring->count = ALIGN(rx_ring->count, IXGB_REQ_RX_DESCRIPTOR_MULTIPLE); ixgb_check_options()
/linux-4.1.27/drivers/staging/gdm724x/
H A Dgdm_mux.c179 total_len = ALIGN(MUX_HEADER_SIZE + payload_size, 4); up_to_host()
376 total_len = ALIGN(MUX_HEADER_SIZE + len, 4); gdm_mux_send()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem_gtt.h342 * XXX: temp is not actually needed, but it saves doing the ALIGN operation.
348 temp = ALIGN(start+1, 1 << GEN6_PDE_SHIFT) - start, \
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c116 format = ALIGN(src_w * 4, 0x100); nv10_update_plane()
364 pitch = ALIGN(src_w * 4, 0x100); nv04_update_plane()
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_bitmap.c601 do_now = min_t(size_t, ALIGN(offset + 1, LWPP), end) - offset; bm_memset()
673 bits = BM_SECT_TO_BIT(ALIGN(capacity, BM_SECT_PER_BIT)); drbd_bm_resize()
676 words = ALIGN(bits,BITS_PER_LONG) >> LN2_BPL; drbd_bm_resize()
680 words = ALIGN(bits, 64) >> LN2_BPL; drbd_bm_resize()
693 want = ALIGN(words*sizeof(long), PAGE_SIZE) >> PAGE_SHIFT; drbd_bm_resize()
837 do_now = min_t(size_t, ALIGN(offset+1, LWPP), end) - offset; drbd_bm_merge_lel()
888 do_now = min_t(size_t, ALIGN(offset+1, LWPP), end) - offset; drbd_bm_get_lel()
1462 unsigned long sl = ALIGN(s,BITS_PER_LONG); _drbd_bm_set_bits()
/linux-4.1.27/include/net/
H A Dneighbour.h150 unsigned char ha[ALIGN(MAX_ADDR_LEN, sizeof(unsigned long))];
235 #define NEIGH_ENTRY_SIZE(size) ALIGN((size), NEIGH_PRIV_ALIGN)

Completed in 4083 milliseconds

1234