/linux-4.1.27/arch/blackfin/kernel/ |
D | vmlinux.lds.S | 68 . = 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); [all …]
|
/linux-4.1.27/arch/s390/include/asm/ |
D | kexec.h | 51 (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/arm/kernel/ |
D | vmlinux.lds.S | 16 . = 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 */ [all …]
|
/linux-4.1.27/arch/x86/kernel/ |
D | vmlinux.lds.S | 57 #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); [all …]
|
D | entry_32.S | 325 ALIGN 594 ALIGN 635 ALIGN 646 ALIGN 658 ALIGN 1210 ALIGN
|
D | kexec-bzimage64.c | 404 efi_map_sz = ALIGN(efi_map_sz, 16); in bzImage64_load() 407 params_cmdline_sz = ALIGN(params_cmdline_sz, 16); in bzImage64_load()
|
/linux-4.1.27/include/asm-generic/ |
D | vmlinux.lds.h | 60 #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); \ [all …]
|
/linux-4.1.27/arch/microblaze/kernel/ |
D | vmlinux.lds.S | 39 . = 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) ; [all …]
|
/linux-4.1.27/arch/arm64/kernel/ |
D | vmlinux.lds.S | 33 . = 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);
|
D | stacktrace.c | 44 high = ALIGN(low, THREAD_SIZE); in unwind_frame()
|
/linux-4.1.27/arch/c6x/kernel/ |
D | vmlinux.lds.S | 22 . = 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/powerpc/kernel/ |
D | vmlinux.lds.S | 68 . = 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); [all …]
|
/linux-4.1.27/arch/ia64/kernel/ |
D | vmlinux.lds.S | 75 . = 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); [all …]
|
D | gate.lds.S | 58 . = ALIGN(PERCPU_PAGE_SIZE) + (. & (PERCPU_PAGE_SIZE - 1));
|
/linux-4.1.27/arch/frv/kernel/ |
D | vmlinux.lds.S | 24 . = 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/x86/realmode/rm/ |
D | realmode.lds.S | 24 . = ALIGN(4); 28 . = ALIGN(16); 34 . = ALIGN(PAGE_SIZE); 52 . = ALIGN(PAGE_SIZE); 58 . = ALIGN(128); 64 . = ALIGN(4);
|
/linux-4.1.27/arch/powerpc/boot/ |
D | zImage.ps3.lds.S | 10 . = ALIGN(4096); 15 . = ALIGN(4096); 27 . = ALIGN(4096); 38 . = ALIGN(4096); 41 . = ALIGN(4096); 48 . = ALIGN(4096);
|
D | zImage.lds.S | 19 . = ALIGN(4096); 46 . = ALIGN(8); 54 . = ALIGN(4096); 62 . = ALIGN(4096); 79 . = ALIGN(4096);
|
D | zImage.coff.lds.S | 13 . = ALIGN(4096); 35 . = ALIGN(4096);
|
/linux-4.1.27/arch/parisc/kernel/ |
D | vmlinux.lds.S | 51 . = 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);
|
D | process.c | 227 usp = ALIGN(usp, 4); in copy_thread()
|
/linux-4.1.27/arch/arc/kernel/ |
D | vmlinux.lds.S | 36 . = 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/m32r/boot/compressed/ |
D | vmlinux.lds.S | 13 . = ALIGN(32 / 8); 15 . = ALIGN(32 / 8); 20 . = ALIGN(32 / 8); 23 . = ALIGN(32 / 8); 25 . = ALIGN(4096);
|
/linux-4.1.27/arch/score/kernel/ |
D | vmlinux.lds.S | 47 . = ALIGN (4) ; 51 . = ALIGN(16); 62 . = ALIGN(8); 69 . = ALIGN(PAGE_SIZE); /* Init code and data */ 84 . = ALIGN(PAGE_SIZE);
|
/linux-4.1.27/arch/powerpc/kernel/vdso64/ |
D | vdso64.lds.S | 29 . = 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/s390/kernel/ |
D | vmlinux.lds.S | 44 . = 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/ |
D | vmlinux.lds.S | 52 . = ALIGN(PAGE_SIZE); 60 . = ALIGN(PAGE_SIZE); /* Init code and data */ 64 . = ALIGN(4); 75 . = ALIGN(PAGE_SIZE); 84 . = ALIGN(PAGE_SIZE);
|
/linux-4.1.27/arch/nios2/boot/compressed/ |
D | vmlinux.lds.S | 36 . = ALIGN(32 / 8); 38 . = ALIGN(32 / 8); 49 . = ALIGN(32 / 8); 52 . = ALIGN(32 / 8);
|
D | vmlinux.scr | 25 . = ALIGN(4);
|
/linux-4.1.27/arch/um/include/asm/ |
D | common.lds.S | 7 . = ALIGN(4096); 14 . = ALIGN(4096); 17 . = ALIGN(4096); 75 . = ALIGN(4); 103 . = ALIGN(4096);
|
/linux-4.1.27/arch/openrisc/kernel/ |
D | vmlinux.lds.S | 42 . = ALIGN(PAGE_SIZE); 78 . = ALIGN(PAGE_SIZE); 93 . = ALIGN(PAGE_SIZE); 100 . = ALIGN (PAGE_SIZE);
|
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr_v5.c | 77 enc_ref_y_size = ALIGN(ctx->img_width, S5P_FIMV_NV12MT_HALIGN) in s5p_mfc_alloc_codec_buffers_v5() 78 * ALIGN(ctx->img_height, S5P_FIMV_NV12MT_VALIGN); in s5p_mfc_alloc_codec_buffers_v5() 79 enc_ref_y_size = ALIGN(enc_ref_y_size, S5P_FIMV_NV12MT_SALIGN); in s5p_mfc_alloc_codec_buffers_v5() 82 enc_ref_c_size = ALIGN(ctx->img_width, in s5p_mfc_alloc_codec_buffers_v5() 84 * ALIGN(ctx->img_height >> 1, in s5p_mfc_alloc_codec_buffers_v5() 86 enc_ref_c_size = ALIGN(enc_ref_c_size, in s5p_mfc_alloc_codec_buffers_v5() 89 guard_width = ALIGN(ctx->img_width + 16, in s5p_mfc_alloc_codec_buffers_v5() 91 guard_height = ALIGN((ctx->img_height >> 1) + 4, in s5p_mfc_alloc_codec_buffers_v5() 93 enc_ref_c_size = ALIGN(guard_width * guard_height, in s5p_mfc_alloc_codec_buffers_v5() 105 ALIGN(S5P_FIMV_DEC_NB_IP_SIZE + in s5p_mfc_alloc_codec_buffers_v5() [all …]
|
D | s5p_mfc_opr_v6.c | 79 ALIGN(S5P_FIMV_TMV_BUFFER_SIZE_V8(mb_width, mb_height), in s5p_mfc_alloc_codec_buffers_v6() 83 ALIGN(S5P_FIMV_TMV_BUFFER_SIZE_V6(mb_width, mb_height), in s5p_mfc_alloc_codec_buffers_v6() 86 ctx->luma_dpb_size = ALIGN((mb_width * mb_height) * in s5p_mfc_alloc_codec_buffers_v6() 89 ctx->chroma_dpb_size = ALIGN((mb_width * mb_height) * in s5p_mfc_alloc_codec_buffers_v6() 93 ctx->me_buffer_size = ALIGN(S5P_FIMV_ME_BUFFER_SIZE_V8( in s5p_mfc_alloc_codec_buffers_v6() 98 ctx->me_buffer_size = ALIGN(S5P_FIMV_ME_BUFFER_SIZE_V6( in s5p_mfc_alloc_codec_buffers_v6() 123 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, in s5p_mfc_alloc_codec_buffers_v6() 142 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, in s5p_mfc_alloc_codec_buffers_v6() 152 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, in s5p_mfc_alloc_codec_buffers_v6() 165 ctx->scratch_buf_size = ALIGN(ctx->scratch_buf_size, in s5p_mfc_alloc_codec_buffers_v6() [all …]
|
/linux-4.1.27/arch/um/kernel/ |
D | dyn.lds.S | 15 . = 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);
|
D | uml.lds.S | 24 . = ALIGN(PAGE_SIZE); 38 . = ALIGN(PAGE_SIZE); 71 . = ALIGN(KERNEL_STACK_SIZE); 97 . = ALIGN(PAGE_SIZE);
|
/linux-4.1.27/arch/tile/kernel/ |
D | vmlinux.lds.S | 34 . = ALIGN(0x10000); 40 . = ALIGN(0x20000); 67 . = ALIGN(PAGE_SIZE); 71 . = ALIGN(PAGE_SIZE);
|
D | vdso.c | 163 vdso_base = ALIGN(vdso_base, VDSO_ALIGNMENT); in setup_vdso_pages()
|
/linux-4.1.27/arch/cris/kernel/ |
D | vmlinux.lds.S | 58 . = ALIGN (4); 71 . = ALIGN(PAGE_SIZE); /* Init code and data. */ 118 . = ALIGN(PAGE_SIZE); 125 . = ALIGN (0x20);
|
/linux-4.1.27/arch/powerpc/platforms/44x/ |
D | ppc476_modules.lds | 3 .text : ALIGN(4096) 7 .init.text : ALIGN(4096) 11 .exit.text : ALIGN(4096)
|
/linux-4.1.27/arch/x86/boot/ |
D | setup.ld | 26 . = ALIGN(16); 35 . = ALIGN(16); 44 . = ALIGN(16); 51 . = ALIGN(16);
|
/linux-4.1.27/arch/xtensa/kernel/ |
D | vmlinux.lds.S | 70 . = 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);
|
D | stacktrace.c | 25 sp_end = ALIGN(a1, THREAD_SIZE); in walk_stackframe()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | vmlinux.lds.S | 76 . = ALIGN(PAGE_SIZE); 77 __init_begin = ALIGN(PAGE_SIZE); 82 . = ALIGN(4); 148 . = ALIGN(PAGE_SIZE);
|
D | iommu_common.h | 26 #define IO_PAGE_ALIGN(addr) ALIGN(addr, IO_PAGE_SIZE)
|
/linux-4.1.27/arch/powerpc/kernel/vdso32/ |
D | vdso32.lds.S | 29 . = ALIGN(16); 37 . = ALIGN(8); 40 . = ALIGN(8); 43 . = ALIGN(8); 47 . = ALIGN(8);
|
/linux-4.1.27/arch/xtensa/boot/boot-redboot/ |
D | boot.ld | 15 .rodata ALIGN(0x04): 21 .data ALIGN(0x04): 34 . = ALIGN(0x10);
|
/linux-4.1.27/arch/x86/boot/compressed/ |
D | vmlinux.lds.S | 56 . = ALIGN(L1_CACHE_BYTES); 62 . = ALIGN(8); /* For convenience during zeroing */ 66 . = ALIGN(PAGE_SIZE);
|
D | aslr.c | 258 region.start = ALIGN(region.start, CONFIG_PHYSICAL_ALIGN); in process_e820_entry() 288 minimum = ALIGN(minimum, CONFIG_PHYSICAL_ALIGN); in find_random_addr()
|
/linux-4.1.27/arch/m32r/kernel/ |
D | vmlinux.lds.S | 39 . = ALIGN(65536); 53 . = ALIGN(PAGE_SIZE); /* Init code and data */ 58 . = ALIGN(PAGE_SIZE);
|
D | entry.S | 152 ALIGN 223 ALIGN
|
D | head.S | 272 ALIGN 278 ALIGN
|
/linux-4.1.27/arch/arm/boot/compressed/ |
D | vmlinux.lds.S | 55 . = ALIGN(4); 65 .pad : { BYTE(0); . = ALIGN(8); } 77 . = ALIGN(8); /* the stack must be 64-bit aligned */
|
/linux-4.1.27/arch/s390/kernel/vdso32/ |
D | vdso32.lds.S | 25 . = 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/ |
D | vdso64.lds.S | 25 . = ALIGN(16); 45 .rela.dyn ALIGN(8) : { *(.rela.dyn) } 46 .got ALIGN(8) : { *(.got .toc) } 94 . = ALIGN(4096);
|
/linux-4.1.27/arch/sh/kernel/ |
D | vmlinux.lds.S | 57 . = ALIGN(PAGE_SIZE); /* Init code and data */ 62 . = ALIGN(4); 78 . = ALIGN(PAGE_SIZE);
|
/linux-4.1.27/net/netfilter/ |
D | nf_conntrack_extend.c | 57 off = ALIGN(sizeof(struct nf_ct_ext), t->align); in nf_ct_ext_create() 93 newoff = ALIGN(old->len, t->align); in __nf_ct_ext_add_length() 144 t1->alloc_size = ALIGN(sizeof(struct nf_ct_ext), t1->align) + in update_alloc_size() 153 t1->alloc_size = ALIGN(t1->alloc_size, t2->align) in update_alloc_size() 172 type->alloc_size = ALIGN(sizeof(struct nf_ct_ext), type->align) in nf_ct_extend_register()
|
/linux-4.1.27/fs/gfs2/ |
D | xattr.h | 20 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/m68k/kernel/ |
D | vmlinux-std.lds | 39 . = ALIGN(PAGE_SIZE); /* Init code and data */ 50 /* This ALIGN be in a section so that _end is at the end of the 52 . = ALIGN(PAGE_SIZE);
|
D | vmlinux-nommu.lds | 50 . = ALIGN(16); 66 . = ALIGN(PAGE_SIZE); 77 . = ALIGN(PAGE_SIZE);
|
D | vmlinux-sun3.lds | 35 . = ALIGN(PAGE_SIZE); /* Init code and data */ 44 . = ALIGN(PAGE_SIZE);
|
/linux-4.1.27/fs/ubifs/ |
D | sb.c | 158 tmp = ALIGN(UBIFS_SB_NODE_SZ, c->min_io_size); in create_default_filesystem() 219 mst->ihead_offs = cpu_to_le32(ALIGN(tmp, c->min_io_size)); in create_default_filesystem() 220 mst->index_size = cpu_to_le64(ALIGN(tmp, 8)); in create_default_filesystem() 236 tmp64 -= ALIGN(ubifs_idx_node_sz(c, 1), c->min_io_size); in create_default_filesystem() 237 tmp64 -= ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size); in create_default_filesystem() 240 tmp64 = ALIGN(ubifs_idx_node_sz(c, 1), c->min_io_size); in create_default_filesystem() 241 ino_waste = ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size) - in create_default_filesystem() 244 tmp64 -= ALIGN(ubifs_idx_node_sz(c, 1), 8); in create_default_filesystem() 268 idx = kzalloc(ALIGN(tmp, c->min_io_size), GFP_KERNEL); in create_default_filesystem() 291 tmp = ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size); in create_default_filesystem() [all …]
|
D | tnc_commit.c | 84 c->calc_idx_sz += ALIGN(len, 8); in make_idx_node() 129 const int alen = ALIGN(len, 8); in fill_gap() 147 c->ileb_len = ALIGN(gap_pos, c->min_io_size); in fill_gap() 273 dirt += ALIGN(snod->len, 8); in layout_leb_in_gaps() 288 gap_start = ALIGN(snod->offs + snod->len, 8); in layout_leb_in_gaps() 427 buf_len = ALIGN(buf_len, c->min_io_size); in layout_in_empty_space() 475 c->calc_idx_sz += ALIGN(len, 8); in layout_in_empty_space() 495 used += ALIGN(len, 8); in layout_in_empty_space() 496 avail -= ALIGN(len, 8); in layout_in_empty_space() 507 blen = ALIGN(wlen, c->min_io_size); in layout_in_empty_space() [all …]
|
D | log.c | 371 max_len = ALIGN(max_len, c->min_io_size); in ubifs_log_start_commit() 407 ubifs_pad(c, buf + len, ALIGN(len, c->min_io_size) - len); in ubifs_log_start_commit() 421 len = ALIGN(len, c->min_io_size); in ubifs_log_start_commit() 609 int sz = ALIGN(*offs, c->min_io_size), err; in add_node() 619 *offs += ALIGN(len, 8); in add_node() 688 int sz = ALIGN(offs, c->min_io_size); in ubifs_consolidate_log() 694 offs = ALIGN(offs, c->min_io_size); in ubifs_consolidate_log()
|
D | journal.c | 572 aligned_dlen = ALIGN(dlen, 8); in ubifs_jnl_update() 573 aligned_ilen = ALIGN(ilen, 8); in ubifs_jnl_update() 958 aligned_dlen1 = ALIGN(dlen1, 8); in ubifs_jnl_rename() 959 aligned_dlen2 = ALIGN(dlen2, 8); in ubifs_jnl_rename() 960 len = aligned_dlen1 + aligned_dlen2 + ALIGN(ilen, 8) + ALIGN(plen, 8); in ubifs_jnl_rename() 999 p += ALIGN(ilen, 8); in ubifs_jnl_rename() 1006 p += ALIGN(plen, 8); in ubifs_jnl_rename() 1053 offs += ALIGN(ilen, 8); in ubifs_jnl_rename() 1062 offs += ALIGN(plen, 8); in ubifs_jnl_rename() 1307 aligned_xlen = ALIGN(xlen, 8); in ubifs_jnl_delete_xattr() [all …]
|
D | recovery.c | 422 empty_offs = ALIGN(offs + 1, c->max_write_size); in is_last_write() 449 empty_offs = ALIGN(*offs, c->min_io_size); in clean_buf() 477 skip = ALIGN(offs + UBIFS_CH_SZ, c->max_write_size) - offs; in no_more_nodes() 489 skip = ALIGN(offs + dlen, c->max_write_size) - offs; in no_more_nodes() 540 int len = ALIGN(endpt, c->min_io_size); in fix_unclean_leb() 550 int pad_len = len - ALIGN(endpt, 8); in fix_unclean_leb() 668 node_len = ALIGN(le32_to_cpu(ch->len), 8); in ubifs_recover_leb() 1024 node_len = ALIGN(le32_to_cpu(ch->len), 8); in clean_an_unclean_leb() 1056 len = ALIGN(ucleb->endpt, c->min_io_size); in clean_an_unclean_leb() 1058 int pad_len = len - ALIGN(ucleb->endpt, 8); in clean_an_unclean_leb() [all …]
|
D | scan.c | 119 lnum, offs, ALIGN(offs + node_len + pad_len, 8)); in ubifs_scan_a_node() 182 sleb->endpt = ALIGN(offs, c->min_io_size); in ubifs_end_scan() 320 node_len = ALIGN(le32_to_cpu(ch->len), 8); in ubifs_scan()
|
D | xattr.c | 107 .new_ino_d = ALIGN(size, 8), .dirtied_ino = 1, in create_xattr() 108 .dirtied_ino_d = ALIGN(host_ui->data_len, 8) }; in create_xattr() 204 .dirtied_ino_d = ALIGN(size, 8) + ALIGN(host_ui->data_len, 8) }; in change_xattr() 503 .dirtied_ino_d = ALIGN(host_ui->data_len, 8) }; in remove_xattr()
|
D | io.c | 396 len = ALIGN(len, 8); in ubifs_prepare_node() 397 pad = ALIGN(len, c->min_io_size) - len; in ubifs_prepare_node() 521 sync_len = ALIGN(wbuf->used, c->min_io_size); in ubifs_wbuf_sync_nolock() 544 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_sync_nolock() 585 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_seek_nolock() 678 int err, written, n, aligned_len = ALIGN(len, 8); in ubifs_wbuf_write_nolock() 861 int err, buf_len = ALIGN(len, c->min_io_size); in ubifs_write_node()
|
D | lpt_commit.c | 234 alen = ALIGN(offs, c->min_io_size); in layout_cnodes() 277 alen = ALIGN(offs, c->min_io_size); in layout_cnodes() 297 alen = ALIGN(offs, c->min_io_size); in layout_cnodes() 313 alen = ALIGN(offs, c->min_io_size); in layout_cnodes() 415 alen = ALIGN(wlen, c->min_io_size); in write_cnodes() 474 alen = ALIGN(wlen, c->min_io_size); in write_cnodes() 500 alen = ALIGN(wlen, c->min_io_size); in write_cnodes() 523 alen = ALIGN(wlen, c->min_io_size); in write_cnodes() 530 err = dbg_chk_lpt_sz(c, 3, ALIGN(offs, c->min_io_size)); in write_cnodes() 535 c->nhead_offs = ALIGN(offs, c->min_io_size); in write_cnodes() [all …]
|
D | lpt.c | 127 tot_wastage += ALIGN(sz, c->min_io_size) - sz; in do_calc_lpt_geom() 661 node_sz = ALIGN(ubifs_idx_node_sz(c, 1), 8); in ubifs_create_dflt_lpt() 662 iopos = ALIGN(node_sz, c->min_io_size); in ubifs_create_dflt_lpt() 668 iopos = ALIGN(node_sz, c->min_io_size); in ubifs_create_dflt_lpt() 701 alen = ALIGN(len, c->min_io_size); in ubifs_create_dflt_lpt() 730 alen = ALIGN(len, c->min_io_size); in ubifs_create_dflt_lpt() 778 alen = ALIGN(len, c->min_io_size); in ubifs_create_dflt_lpt() 803 alen = ALIGN(len, c->min_io_size); in ubifs_create_dflt_lpt() 818 alen = ALIGN(len, c->min_io_size); in ubifs_create_dflt_lpt() 831 c->nhead_offs = ALIGN(len, c->min_io_size); in ubifs_create_dflt_lpt()
|
D | super.c | 561 c->ref_node_alsz = ALIGN(UBIFS_REF_NODE_SZ, c->min_io_size); in init_constants_early() 562 c->mst_node_alsz = ALIGN(UBIFS_MST_NODE_SZ, c->min_io_size); in init_constants_early() 601 c->dead_wm = ALIGN(MIN_WRITE_SZ, c->min_io_size); in init_constants_early() 602 c->dark_wm = ALIGN(UBIFS_MAX_NODE_SZ, c->min_io_size); in init_constants_early() 658 c->min_idx_node_sz = ALIGN(tmp, 8); in init_constants_sb() 662 c->max_idx_node_sz = ALIGN(tmp, 8); in init_constants_sb() 666 tmp = ALIGN(tmp, c->min_io_size); in init_constants_sb() 1235 sz = ALIGN(c->max_idx_node_sz, c->min_io_size); in mount_ubifs() 1236 sz = ALIGN(sz + c->max_idx_node_sz, c->min_io_size); in mount_ubifs()
|
D | dir.c | 507 .dirtied_ino_d = ALIGN(ui->data_len, 8) }; in ubifs_link() 780 .new_ino_d = ALIGN(devlen, 8), in ubifs_mknod() 859 .new_ino_d = ALIGN(len, 8), in ubifs_symlink() 984 .dirtied_ino_d = ALIGN(old_inode_ui->data_len, 8) }; in ubifs_rename() 1162 size = ALIGN(size, UBIFS_BLOCK_SIZE); in ubifs_getattr()
|
/linux-4.1.27/arch/xtensa/lib/ |
D | usercopy.S | 59 #define ALIGN(R, W0, W1) src R, W0, W1 macro 62 #define ALIGN(R, W0, W1) src R, W1, W0 macro 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/ |
D | vmlinux.lds.S | 107 . = ALIGN(PAGE_SIZE); /* Init code and data */ 112 . = ALIGN(4); 136 . = ALIGN(0x10000);
|
/linux-4.1.27/tools/virtio/ |
D | vringh_test.c | 24 #define ALIGN 4096 macro 153 mapsize = vring_size(RINGSIZE, ALIGN) in parallel_test() 187 vring_init(&vrh.vring, RINGSIZE, host_map, ALIGN); in parallel_test() 299 data = guest_map + vring_size(RINGSIZE, ALIGN); in parallel_test() 316 vq = vring_new_virtqueue(0, RINGSIZE, ALIGN, &gvdev.vdev, true, in parallel_test() 479 memset(__user_addr_min, 0, vring_size(RINGSIZE, ALIGN)); in main() 482 vq = vring_new_virtqueue(0, RINGSIZE, ALIGN, &vdev, true, in main() 488 vring_init(&vrh.vring, RINGSIZE, __user_addr_min, ALIGN); in main() 507 __kmalloc_fake = __user_addr_min + vring_size(RINGSIZE, ALIGN); in main() 557 __kfree_ignore_start = __user_addr_min + vring_size(RINGSIZE, ALIGN); in main() [all …]
|
/linux-4.1.27/mm/ |
D | cma.c | 74 return (ALIGN(cma->base_pfn, (1UL << align_order)) in cma_bitmap_aligned_offset() 81 return ALIGN(pages, 1UL << cma->order_per_bit) >> cma->order_per_bit; in cma_bitmap_pages_to_bits() 192 if (ALIGN(base, alignment) != base || ALIGN(size, alignment) != size) in cma_init_reserved_mem() 271 base = ALIGN(base, alignment); in cma_declare_contiguous() 272 size = ALIGN(size, alignment); in cma_declare_contiguous()
|
D | bootmem.c | 61 return ALIGN(bytes, sizeof(long)); in bootmap_bytes() 219 start = ALIGN(start + 1, BITS_PER_LONG); in free_all_bootmem_core() 480 return ALIGN(base + idx, step) - base; in align_idx() 490 return ALIGN(base + off, align) - base; in align_off() 525 start = ALIGN(goal, step); in alloc_bootmem_bdata() 527 start = ALIGN(min, step); in alloc_bootmem_bdata()
|
D | sparse-vmemmap.c | 81 ptr = (void *)ALIGN((unsigned long)vmemmap_buf, size); in vmemmap_alloc_block_buf() 204 size = ALIGN(size, PMD_SIZE); in sparse_mem_maps_populate_node()
|
D | page_owner.c | 225 pfn = ALIGN(pfn + 1, MAX_ORDER_NR_PAGES); in init_pages_in_zone() 229 block_end_pfn = ALIGN(pfn + 1, pageblock_nr_pages); in init_pages_in_zone()
|
D | compaction.c | 541 block_end_pfn = ALIGN(pfn + 1, pageblock_nr_pages); in isolate_freepages_range() 556 block_end_pfn = ALIGN(pfn + 1, pageblock_nr_pages); in isolate_freepages_range() 742 low_pfn = ALIGN(low_pfn + 1, in isolate_migratepages_block() 843 block_end_pfn = ALIGN(pfn + 1, pageblock_nr_pages); in isolate_migratepages_range() 921 low_pfn = ALIGN(cc->migrate_pfn + 1, pageblock_nr_pages); in isolate_freepages() 1069 end_pfn = ALIGN(low_pfn + 1, pageblock_nr_pages); in isolate_migratepages()
|
D | memtest.c | 48 start_phys_aligned = ALIGN(start_phys, incr); in memtest()
|
/linux-4.1.27/arch/s390/boot/compressed/ |
D | vmlinux.lds.S | 40 . = ALIGN(256); 46 . = ALIGN(8); /* For convenience during zeroing */
|
/linux-4.1.27/arch/metag/kernel/ |
D | vmlinux.lds.S | 41 . = ALIGN(PAGE_SIZE); /* Init code and data */ 60 . = ALIGN(PAGE_SIZE);
|
/linux-4.1.27/arch/alpha/kernel/ |
D | vmlinux.lds.S | 41 __init_begin = ALIGN(PAGE_SIZE); 47 . = ALIGN(THREAD_SIZE);
|
D | pci.c | 167 start = ALIGN(start, alignto); in pcibios_align_resource() 172 start = ALIGN(start, alignto); in pcibios_align_resource() 177 start = ALIGN(start, alignto); in pcibios_align_resource()
|
/linux-4.1.27/arch/avr32/kernel/ |
D | vmlinux.lds.S | 38 . = ALIGN(4); 44 . = ALIGN(PAGE_SIZE);
|
/linux-4.1.27/include/linux/ |
D | kexec.h | 63 #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)
|
D | linkage.h | 78 #define ALIGN __ALIGN macro 84 ALIGN ASM_NL \
|
D | iova.h | 58 return ALIGN(size, iovad->granule); in iova_align()
|
D | percpu.h | 23 (ALIGN(__per_cpu_end - __per_cpu_start, SMP_CACHE_BYTES) + \
|
/linux-4.1.27/arch/mn10300/mm/ |
D | cache-inv-by-reg.S | 56 ALIGN 78 ALIGN 102 ALIGN
|
D | cache-dbg-flush-by-tag.S | 29 ALIGN 84 ALIGN
|
D | cache-flush-by-reg.S | 48 ALIGN 97 ALIGN 184 ALIGN 230 ALIGN
|
D | cache-inv-by-tag.S | 64 ALIGN 86 ALIGN 110 ALIGN
|
D | cache-dbg-inv.S | 31 ALIGN
|
D | cache-flush-by-tag.S | 48 ALIGN
|
D | cache-dbg-flush-by-reg.S | 28 ALIGN
|
/linux-4.1.27/arch/mips/boot/compressed/ |
D | ld.script | 33 . = ALIGN(16); 41 . = ALIGN(16);
|
/linux-4.1.27/include/scsi/ |
D | scsi_transport.h | 96 t->target_private_offset = ALIGN(t->target_size, sizeof(void *)); in scsi_transport_reserve_target() 103 t->device_private_offset = ALIGN(t->device_size, sizeof(void *)); in scsi_transport_reserve_device()
|
D | osd_protocol.h | 363 return ALIGN(len + sizeof(struct osdv1_attributes_list_element), in osdv1_attr_list_elem_size() 369 return ALIGN(len + sizeof(struct osdv2_attributes_list_element), in osdv2_attr_list_elem_size()
|
/linux-4.1.27/drivers/s390/cio/ |
D | fcx.c | 111 offset += sizeof(struct dcw) + ALIGN((int) dcw->cd_count, 4); in calc_dcw_count() 131 cbc_data = 4 + ALIGN(data_count, 4) - data_count; in calc_cbc_size() 175 tcat->count = ALIGN(count, 4) + 4; in tcw_finalize() 303 size = ALIGN(sizeof(struct dcw) + cd_count, 4); in tccb_add_dcw()
|
D | itcw.c | 141 addr = ALIGN(*start, align); in fit_chunk() 143 addr = ALIGN(addr, 4096); in fit_chunk() 144 addr = ALIGN(addr, align); in fit_chunk()
|
/linux-4.1.27/lib/ |
D | swiotlb.c | 105 io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); in setup_io_tlb_npages() 220 io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); in swiotlb_init() 252 io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); in swiotlb_late_init_with_default_size() 445 offset_slots = ALIGN(tbl_dma_addr, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; in swiotlb_tbl_map_single() 451 ? ALIGN(mask + 1, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT in swiotlb_tbl_map_single() 458 nslots = ALIGN(size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; in swiotlb_tbl_map_single() 471 index = ALIGN(io_tlb_index, stride); in swiotlb_tbl_map_single() 556 int i, count, nslots = ALIGN(size, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT; in swiotlb_tbl_unmap_single() 575 count = ((index + nslots) < ALIGN(index + 1, IO_TLB_SEGSIZE) ? in swiotlb_tbl_unmap_single()
|
D | iommu-common.c | 174 boundary_size = ALIGN(dma_get_seg_boundary(dev) + 1, in iommu_tbl_range_alloc() 177 boundary_size = ALIGN(1ULL << 32, 1 << iommu->table_shift); in iommu_tbl_range_alloc()
|
/linux-4.1.27/include/video/ |
D | udlfb.h | 94 #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/net/ipv6/ |
D | esp6.c | 76 len = ALIGN(len, crypto_tfm_ctx_alignment()); in esp_alloc_tmp() 80 len = ALIGN(len, __alignof__(struct scatterlist)); in esp_alloc_tmp() 123 return (void *)ALIGN((unsigned long)(req + 1) + in esp_req_sg() 131 return (void *)ALIGN((unsigned long)(req + 1) + in esp_givreq_sg() 180 blksize = ALIGN(crypto_aead_blocksize(aead), 4); in esp6_output() 181 clen = ALIGN(skb->len + 2 + tfclen, blksize); in esp6_output() 414 u32 blksize = ALIGN(crypto_aead_blocksize(aead), 4); in esp6_get_mtu() 614 align = ALIGN(crypto_aead_blocksize(aead), 4); in esp6_init_state()
|
/linux-4.1.27/net/ipv4/ |
D | esp4.c | 49 len = ALIGN(len, crypto_tfm_ctx_alignment()); in esp_alloc_tmp() 53 len = ALIGN(len, __alignof__(struct scatterlist)); in esp_alloc_tmp() 95 return (void *)ALIGN((unsigned long)(req + 1) + in esp_req_sg() 103 return (void *)ALIGN((unsigned long)(req + 1) + in esp_givreq_sg() 153 blksize = ALIGN(crypto_aead_blocksize(aead), 4); in esp_output() 154 clen = ALIGN(skb->len + 2 + tfclen, blksize); in esp_output() 460 u32 blksize = ALIGN(crypto_aead_blocksize(aead), 4); in esp4_get_mtu() 673 align = ALIGN(crypto_aead_blocksize(aead), 4); in esp_init_state()
|
D | ah4.c | 32 len = ALIGN(len, crypto_tfm_ctx_alignment()); in ah_alloc_tmp() 35 len = ALIGN(len, __alignof__(struct scatterlist)); in ah_alloc_tmp() 69 return (void *)ALIGN((unsigned long)(req + 1) + in ah_req_sg()
|
/linux-4.1.27/arch/x86/vdso/vdso32/ |
D | sigreturn.S | 21 ALIGN 33 ALIGN
|
D | int80.S | 12 ALIGN
|
D | syscall.S | 15 ALIGN
|
D | sysenter.S | 30 ALIGN
|
/linux-4.1.27/crypto/ |
D | blkcipher.c | 78 addr = (u8 *)ALIGN((unsigned long)walk->buffer, walk->alignmask + 1); in blkcipher_done_slow() 152 unsigned aligned_bsize = ALIGN(bsize, alignmask + 1); in blkcipher_next_slow() 168 walk->dst.virt.addr = (u8 *)ALIGN((unsigned long)walk->buffer, in blkcipher_next_slow() 278 unsigned aligned_bs = ALIGN(bs, walk->alignmask + 1); in blkcipher_copy_iv() 289 iv = (u8 *)ALIGN((unsigned long)walk->buffer, walk->alignmask + 1); in blkcipher_copy_iv() 388 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in setkey_unaligned() 453 len = ALIGN(len, (unsigned long)alg->cra_alignmask + 1); in crypto_blkcipher_ctxsize() 490 addr = ALIGN(addr, align); in crypto_init_blkcipher_ops_sync() 491 addr += ALIGN(tfm->__crt_alg->cra_ctxsize, align); in crypto_init_blkcipher_ops_sync()
|
D | cipher.c | 37 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in setkey_unaligned() 71 u8 *tmp = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in cipher_crypt_unaligned()
|
D | hmac.c | 34 return (void *)ALIGN((unsigned long)p, align); in align_ptr() 220 ss = ALIGN(ss, alg->cra_alignmask + 1); in hmac_create() 225 ALIGN(ss * 2, crypto_tfm_ctx_alignment()); in hmac_create()
|
D | ablkcipher.c | 155 unsigned aligned_bsize = ALIGN(bsize, alignmask + 1); in ablkcipher_next_slow() 160 n = ALIGN(sizeof(struct ablkcipher_buffer), alignmask + 1); in ablkcipher_next_slow() 170 dst = (u8 *)ALIGN((unsigned long)base, alignmask + 1); in ablkcipher_next_slow() 195 unsigned aligned_bs = ALIGN(bs, alignmask + 1); in ablkcipher_copy_iv() 205 iv = (u8 *)ALIGN((unsigned long)walk->iv_buffer, alignmask + 1); in ablkcipher_copy_iv() 321 alignbuffer = (u8 *)ALIGN((unsigned long)buffer, alignmask + 1); in setkey_unaligned()
|
D | xcbc.c | 239 inst->alg.descsize = ALIGN(sizeof(struct xcbc_desc_ctx), in xcbc_create() 245 inst->alg.base.cra_ctxsize = ALIGN(sizeof(struct xcbc_tfm_ctx), in xcbc_create()
|
D | cmac.c | 267 ALIGN(sizeof(struct cmac_desc_ctx), crypto_tfm_ctx_alignment()) in cmac_create() 272 ALIGN(sizeof(struct cmac_tfm_ctx), alignmask + 1) in cmac_create()
|
/linux-4.1.27/arch/ia64/hp/sim/boot/ |
D | bootloader.lds | 17 __gp = ALIGN (8) + 0x200000; 28 . = ALIGN(64 / 8);
|
/linux-4.1.27/drivers/video/fbdev/omap2/ |
D | vrfb.c | 141 *width = ALIGN(*width * bytespp, VRFB_PAGE_WIDTH) / bytespp; in omap_vrfb_adjust_size() 142 *height = ALIGN(*height, VRFB_PAGE_HEIGHT); in omap_vrfb_adjust_size() 211 vrfb_width = ALIGN(width * bytespp, VRFB_PAGE_WIDTH) / bytespp; in omap_vrfb_setup() 212 vrfb_height = ALIGN(height, VRFB_PAGE_HEIGHT); in omap_vrfb_setup()
|
/linux-4.1.27/arch/arm64/mm/ |
D | init.c | 251 start = min(start, ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap() 265 prev_end = ALIGN(__phys_to_pfn(reg->base + reg->size), in free_unused_memmap() 271 free_memmap(prev_end, ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
|
/linux-4.1.27/drivers/parisc/ |
D | iommu-helpers.h | 148 if (unlikely(ALIGN(dma_len + dma_offset + startsg->length, IOVP_SIZE) > in iommu_coalesce_chunks() 171 dma_len = ALIGN(dma_len + dma_offset, IOVP_SIZE); in iommu_coalesce_chunks()
|
/linux-4.1.27/scripts/dtc/ |
D | fdtdump.c | 16 #define ALIGN(x, a) (((x) + ((a) - 1)) & ~((a) - 1)) macro 17 #define PALIGN(p, a) ((void *)(ALIGN((unsigned long)(p), (a))))
|
/linux-4.1.27/net/openvswitch/ |
D | vport.h | 210 return (u8 *)(uintptr_t)vport + ALIGN(sizeof(struct vport), VPORT_ALIGN); in vport_priv() 225 return (struct vport *)((u8 *)priv - ALIGN(sizeof(struct vport), VPORT_ALIGN)); in vport_from_priv()
|
/linux-4.1.27/arch/mips/lasat/image/ |
D | romscript.normal | 12 .data ALIGN(0x10) :
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | linkage.h | 17 ALIGN !\
|
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/ |
D | wii.c | 83 memblock_remove(ALIGN(p[1].base + p[1].size, PAGE_SIZE), in wii_memory_fixups() 87 wii_hole_start = ALIGN(p[0].base + p[0].size, PAGE_SIZE); in wii_memory_fixups()
|
/linux-4.1.27/net/mac802154/ |
D | main.c | 85 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; in ieee802154_alloc_hw() 98 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee802154_alloc_hw()
|
/linux-4.1.27/arch/cris/boot/compressed/ |
D | decompress_v32.lds | 28 _end = ALIGN( 0x10 ) ;
|
D | decompress_v10.lds | 28 _end = ALIGN( 0x10 ) ;
|
/linux-4.1.27/drivers/dma/ |
D | ste_dma40_ll.c | 197 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); in d40_seg_size() 206 return ALIGN(size / 2, max_w); in d40_seg_size() 245 next = ALIGN(next + sizeof(struct d40_phy_lli), in d40_phy_buf_to_lli() 294 l_phys = ALIGN(lli_phys + (lli - lli_sg) * in d40_phy_sg_to_lli()
|
/linux-4.1.27/arch/tile/include/asm/ |
D | linkage.h | 47 ALIGN; \
|
/linux-4.1.27/drivers/mtd/ubi/ |
D | upd.c | 196 vol->upd_buf = vmalloc(ALIGN((int)req->bytes, ubi->min_io_size)); in ubi_start_leb_change() 238 int l = ALIGN(len, ubi->min_io_size); in write_leb() 414 int len = ALIGN((int)vol->upd_bytes, ubi->min_io_size); in ubi_more_leb_change_data()
|
D | misc.c | 47 length = ALIGN(i + 1, ubi->min_io_size); in ubi_calc_data_len()
|
/linux-4.1.27/sound/pci/ctxfi/ |
D | ctvmem.h | 34 #define CT_PAGE_ALIGN(addr) ALIGN(addr, CT_PAGE_SIZE)
|
/linux-4.1.27/arch/hexagon/kernel/ |
D | vmlinux.lds.S | 47 . = ALIGN(_PAGE_SIZE);
|
/linux-4.1.27/arch/nios2/kernel/ |
D | vmlinux.lds.S | 55 . = ALIGN(PAGE_SIZE);
|
/linux-4.1.27/drivers/staging/android/ion/ |
D | ion_chunk_heap.c | 52 allocated_size = ALIGN(size, chunk_heap->chunk_size); in ion_chunk_heap_allocate() 103 allocated_size = ALIGN(buffer->size, chunk_heap->chunk_size); in ion_chunk_heap_free()
|
/linux-4.1.27/scripts/ |
D | module-common.lds | 20 . = ALIGN(8);
|
/linux-4.1.27/drivers/gpu/drm/msm/ |
D | msm_ringbuffer.c | 26 size = ALIGN(size, 4); /* size should be dword aligned */ in msm_ringbuffer_new()
|
/linux-4.1.27/arch/cris/boot/rescue/ |
D | rescue_v32.lds | 34 _end = ALIGN( 0x10 ) ;
|
/linux-4.1.27/drivers/media/i2c/ |
D | mt9t001.c | 382 width = clamp_t(unsigned int, ALIGN(format->format.width, 2), in mt9t001_set_format() 386 height = clamp_t(unsigned int, ALIGN(format->format.height, 2), in mt9t001_set_format() 432 rect.left = clamp(ALIGN(sel->r.left, 2), in mt9t001_set_selection() 435 rect.top = clamp(ALIGN(sel->r.top, 2), in mt9t001_set_selection() 438 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9t001_set_selection() 441 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9t001_set_selection()
|
D | mt9v032.c | 530 width = clamp(ALIGN(format->format.width, 2), in mt9v032_set_format() 534 height = clamp(ALIGN(format->format.height, 2), in mt9v032_set_format() 586 rect.left = clamp(ALIGN(sel->r.left + 1, 2) - 1, in mt9v032_set_selection() 589 rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1, in mt9v032_set_selection() 592 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9v032_set_selection() 595 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9v032_set_selection()
|
D | mt9p031.c | 562 width = clamp_t(unsigned int, ALIGN(format->format.width, 2), in mt9p031_set_format() 566 height = clamp_t(unsigned int, ALIGN(format->format.height, 2), in mt9p031_set_format() 612 rect.left = clamp(ALIGN(sel->r.left, 2), MT9P031_COLUMN_START_MIN, in mt9p031_set_selection() 614 rect.top = clamp(ALIGN(sel->r.top, 2), MT9P031_ROW_START_MIN, in mt9p031_set_selection() 616 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9p031_set_selection() 619 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9p031_set_selection()
|
D | mt9m032.c | 464 rect.left = clamp(ALIGN(sel->r.left, 2), MT9M032_COLUMN_START_MIN, in mt9m032_set_pad_selection() 466 rect.top = clamp(ALIGN(sel->r.top, 2), MT9M032_ROW_START_MIN, in mt9m032_set_pad_selection() 468 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9m032_set_pad_selection() 470 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9m032_set_pad_selection()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | page_types.h | 36 #define __PHYSICAL_START ALIGN(CONFIG_PHYSICAL_START, \
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 369 mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((bpp + 7) / 8), 4096 >> pitch_lines); in psbfb_create() 372 size = ALIGN(size, PAGE_SIZE); in psbfb_create() 397 mode_cmd.pitches[0] = ALIGN(mode_cmd.width * ((bpp + 7) / 8), 64); in psbfb_create() 400 size = ALIGN(size, PAGE_SIZE); in psbfb_create() 556 if (ALIGN(sizes->fb_width * bytespp, 64) * sizes->fb_height > in psbfb_probe()
|
D | gem.c | 151 args->pitch = ALIGN(args->width * ((args->bpp + 7) / 8), 64); in psb_gem_dumb_create()
|
/linux-4.1.27/arch/x86/um/vdso/ |
D | vdso-layout.lds.S | 44 . = ALIGN(0x100);
|
/linux-4.1.27/drivers/staging/gdm724x/ |
D | TODO | 7 - Use ALIGN() macro for dummy_cnt in up_to_host()
|
/linux-4.1.27/drivers/crypto/qce/ |
D | dma.h | 36 ALIGN(sizeof(struct qce_result_dump), QCE_BAM_BURST_SIZE)
|
/linux-4.1.27/arch/mips/cavium-octeon/executive/ |
D | cvmx-bootmem.c | 256 address_min = ALIGN(address_min, alignment); in cvmx_bootmem_phy_alloc() 294 ALIGN(max(address_min, ent_addr), alignment); in cvmx_bootmem_phy_alloc() 674 size = ALIGN(size, CVMX_BOOTMEM_ALIGNMENT_SIZE); in cvmx_bootmem_phy_named_block_alloc()
|
/linux-4.1.27/arch/arm64/kernel/vdso/ |
D | vdso.lds.S | 44 . = ALIGN(16);
|
/linux-4.1.27/arch/mips/netlogic/common/ |
D | nlm-dma.c | 102 swiotlb_nslabs = ALIGN(swiotlb_nslabs, IO_TLB_SEGSIZE); in plat_swiotlb_setup()
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
D | qxl_dumb.c | 43 args->size = ALIGN(args->size, PAGE_SIZE); in qxl_mode_dumb_create()
|
/linux-4.1.27/drivers/scsi/fnic/ |
D | fnic_res.c | 77 c->wq_enet_desc_count = ALIGN(c->wq_enet_desc_count, 16); in fnic_get_vnic_config() 83 c->wq_copy_desc_count = ALIGN(c->wq_copy_desc_count, 16); in fnic_get_vnic_config() 89 c->rq_desc_count = ALIGN(c->rq_desc_count, 16); in fnic_get_vnic_config()
|
D | vnic_dev.c | 178 ring->desc_count = ALIGN(desc_count, count_align); in vnic_dev_desc_ring_size() 180 ring->desc_size = ALIGN(desc_size, desc_align); in vnic_dev_desc_ring_size() 209 ring->base_addr = ALIGN(ring->base_addr_unaligned, in vnic_dev_alloc_desc_ring()
|
/linux-4.1.27/arch/xtensa/mm/ |
D | mmu.c | 28 n_pages = ALIGN(n_pages, PTRS_PER_PTE); in init_pmd()
|
/linux-4.1.27/drivers/media/i2c/soc_camera/ |
D | mt9m001.c | 187 rect.height = ALIGN(rect.height, 2); in mt9m001_s_crop() 190 rect.width = ALIGN(rect.width, 2); in mt9m001_s_crop() 191 rect.left = ALIGN(rect.left, 2); in mt9m001_s_crop() 309 mf->height = ALIGN(mf->height - 1, 2); in mt9m001_try_fmt()
|
/linux-4.1.27/net/netlink/ |
D | af_netlink.h | 8 #define NLGRPSZ(x) (ALIGN(x, sizeof(unsigned long) * 8) / 8)
|
/linux-4.1.27/block/ |
D | blk-tag.c | 105 nr_ulongs = ALIGN(depth, BITS_PER_LONG) / BITS_PER_LONG; in init_tag_map() 242 nr_ulongs = ALIGN(max_depth, BITS_PER_LONG) / BITS_PER_LONG; in blk_queue_resize_tags()
|
/linux-4.1.27/arch/arm/mm/ |
D | init.c | 379 ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap() 400 prev_end = ALIGN(memblock_region_memory_end_pfn(reg), in free_unused_memmap() 407 ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
|
/linux-4.1.27/arch/x86/ia32/ |
D | ia32entry.S | 572 ALIGN 585 ALIGN 591 ALIGN
|
/linux-4.1.27/drivers/net/wimax/i2400m/ |
D | tx.c | 645 hdr_size = ALIGN(hdr_size, I2400M_PL_ALIGN); in i2400m_tx_close() 654 aligned_size = ALIGN(tx_msg_moved->size, i2400m->bus_tx_block_size); in i2400m_tx_close() 729 padded_len = ALIGN(buf_len, I2400M_PL_ALIGN); in i2400m_tx()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | omap-secure.c | 65 size = ALIGN(size, SECTION_SIZE); in omap_secure_ram_reserve_memblock()
|
/linux-4.1.27/arch/unicore32/boot/compressed/ |
D | vmlinux.lds.in | 39 . = ALIGN(4);
|
D | Makefile | 63 ZBSSADDR := ALIGN(4)
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | assembler.h | 35 ALIGN 188 ALIGN
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 92 ring->buf_size = ALIGN(size * ring->stride, MLX4_EN_PAGE_SIZE); in mlx4_en_create_tx_ring() 582 return ALIGN(skb->len + CTRL_SIZE + in inline_size() 585 return ALIGN(skb->len + CTRL_SIZE + 2 * in inline_size() 606 ALIGN(*lso_header_size + 4, DS_SIZE); in get_real_size() 745 desc_size = ALIGN(real_size, TXBB_SIZE); in mlx4_en_xmit() 783 data = ((void *)&tx_desc->lso + ALIGN(lso_header_size + 4, in mlx4_en_xmit()
|
/linux-4.1.27/drivers/gpu/drm/armada/ |
D | armada_drm.h | 37 return ALIGN(pitch, 128); in armada_pitch()
|
/linux-4.1.27/drivers/gpu/drm/udl/ |
D | udl_fb.c | 40 #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); in udlfb_create() 656 size = ALIGN(size, PAGE_SIZE); in udl_fb_user_fb_create()
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | stacktrace.c | 42 high = ALIGN(low, THREAD_SIZE); in unwind_frame()
|
/linux-4.1.27/arch/x86/kernel/acpi/ |
D | wakeup_32.S | 9 ALIGN
|
/linux-4.1.27/arch/mips/lantiq/xway/ |
D | xrx200_phy_fw.c | 68 dev_addr = ALIGN(dev_addr, XRX200_GPHY_FW_ALIGN); in xway_gphy_load()
|
/linux-4.1.27/fs/ |
D | readdir.c | 159 int reclen = ALIGN(offsetof(struct linux_dirent, d_name) + namlen + 2, in filldir() 243 int reclen = ALIGN(offsetof(struct linux_dirent64, d_name) + namlen + 1, in filldir64()
|
/linux-4.1.27/include/linux/iio/ |
D | iio.h | 590 return (char *)indio_dev + ALIGN(sizeof(struct iio_dev), IIO_ALIGN); in iio_priv() 596 ALIGN(sizeof(struct iio_dev), IIO_ALIGN)); in iio_priv_to_dev()
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_bitmap.c | 601 do_now = min_t(size_t, ALIGN(offset + 1, LWPP), end) - offset; in bm_memset() 673 bits = BM_SECT_TO_BIT(ALIGN(capacity, BM_SECT_PER_BIT)); in drbd_bm_resize() 680 words = ALIGN(bits, 64) >> LN2_BPL; in drbd_bm_resize() 693 want = ALIGN(words*sizeof(long), PAGE_SIZE) >> PAGE_SHIFT; in drbd_bm_resize() 837 do_now = min_t(size_t, ALIGN(offset+1, LWPP), end) - offset; in drbd_bm_merge_lel() 888 do_now = min_t(size_t, ALIGN(offset+1, LWPP), end) - offset; in drbd_bm_get_lel() 1462 unsigned long sl = ALIGN(s,BITS_PER_LONG); in _drbd_bm_set_bits()
|
/linux-4.1.27/arch/arm/mach-nspire/ |
D | clcd.c | 91 panel_size = ALIGN(panel_size, PAGE_SIZE); in nspire_clcd_setup()
|
/linux-4.1.27/arch/x86/lib/ |
D | copy_page_64.S | 14 ALIGN
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_param.c | 286 tx_ring->count = ALIGN(tx_ring->count, IXGB_REQ_TX_DESCRIPTOR_MULTIPLE); in ixgb_check_options() 305 rx_ring->count = ALIGN(rx_ring->count, IXGB_REQ_RX_DESCRIPTOR_MULTIPLE); in ixgb_check_options()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_uvd.c | 319 unsigned height_in_mb = ALIGN(height / 16, 2); in radeon_uvd_cs_msg_decode() 325 image_size = ALIGN(image_size, 1024); in radeon_uvd_cs_msg_decode() 356 min_dpb_size += ALIGN(tmp * 7 * 16, 64); in radeon_uvd_cs_msg_decode() 374 min_dpb_size += ALIGN(width_in_mb * height_in_mb * 32, 64); in radeon_uvd_cs_msg_decode()
|
D | radeon_fb.c | 155 height = ALIGN(mode_cmd->height, 8); in radeonfb_create_pinned_object() 157 aligned_size = ALIGN(size, PAGE_SIZE); in radeonfb_create_pinned_object()
|
/linux-4.1.27/drivers/hv/ |
D | channel.c | 590 u32 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); in vmbus_sendpacket_ctl() 692 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); in vmbus_sendpacket_pagebuffer_ctl() 771 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); in vmbus_sendpacket_mpb_desc() 827 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); in vmbus_sendpacket_multipagebuffer()
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_64_vio.c | 44 return ALIGN((window_size >> SPAPR_TCE_SHIFT) in kvmppc_stt_npages()
|
/linux-4.1.27/arch/metag/include/asm/ |
D | page.h | 53 # define ALIGN_HUGEPT(x) ALIGN(x, HUGEPT_ALIGN)
|
/linux-4.1.27/security/apparmor/include/ |
D | match.h | 116 return ALIGN(sizeof(struct table_header) + len * el_size, 8); in table_size()
|
/linux-4.1.27/drivers/gpu/drm/mga/ |
D | mga_warp.c | 47 #define WARP_UCODE_SIZE(size) ALIGN(size, MGA_WARP_CODE_ALIGN)
|
/linux-4.1.27/sound/pci/ymfpci/ |
D | ymfpci_main.c | 2122 size = ALIGN(playback_ctrl_size, 0x100) + in snd_ymfpci_memalloc() 2123 ALIGN(chip->bank_size_playback * 2 * YDSXG_PLAYBACK_VOICES, 0x100) + in snd_ymfpci_memalloc() 2124 ALIGN(chip->bank_size_capture * 2 * YDSXG_CAPTURE_VOICES, 0x100) + in snd_ymfpci_memalloc() 2125 ALIGN(chip->bank_size_effect * 2 * YDSXG_EFFECT_VOICES, 0x100) + in snd_ymfpci_memalloc() 2140 ptr += ALIGN(playback_ctrl_size, 0x100); in snd_ymfpci_memalloc() 2141 ptr_addr += ALIGN(playback_ctrl_size, 0x100); in snd_ymfpci_memalloc() 2152 ptr = (char *)ALIGN((unsigned long)ptr, 0x100); in snd_ymfpci_memalloc() 2153 ptr_addr = ALIGN(ptr_addr, 0x100); in snd_ymfpci_memalloc() 2162 ptr = (char *)ALIGN((unsigned long)ptr, 0x100); in snd_ymfpci_memalloc() 2163 ptr_addr = ALIGN(ptr_addr, 0x100); in snd_ymfpci_memalloc() [all …]
|
/linux-4.1.27/fs/logfs/ |
D | journal.c | 287 h_ofs += ALIGN(len, sizeof(*jh)) - sizeof(*jh); in logfs_read_segment() 393 unsigned char c[ALIGN(sizeof(struct logfs_segment_header), 16)]; in journal_erase_segment() 434 return ALIGN(len, 16) + sizeof(*jh); in __logfs_write_header() 622 pad_len = ALIGN(compr_len, 16); in __logfs_write_je() 643 area->a_used_bytes = ALIGN(area->a_used_bytes, writesize); in logfs_get_free_bytes()
|
/linux-4.1.27/drivers/scsi/csiostor/ |
D | csio_wr.c | 203 qsz = ALIGN(qsize, CSIO_QCREDIT_SZ) + csio_wr_qstat_pgsz(hw); in csio_wr_alloc_q() 222 qsz = ALIGN(qsize/wrsize, 16) * wrsize; in csio_wr_alloc_q() 226 qsz = ALIGN(qsize/wrsize, 8) * wrsize + csio_wr_qstat_pgsz(hw); in csio_wr_alloc_q() 867 uint32_t req_sz = ALIGN(size, CSIO_QCREDIT_SZ); in csio_wr_get() 908 q->pidx = (uint16_t)(ALIGN(wrp->size2, CSIO_QCREDIT_SZ) / in csio_wr_get() 1091 flq->un.fl.offset += ALIGN(lastlen, sge->csio_fl_align); in csio_wr_process_fl()
|
D | csio_scsi.c | 242 ALIGN((_imm), 16)) /* Immed data */ 245 (ALIGN(CSIO_SCSI_CMD_WR_SZ((_imm)), 16)) 398 sizeof(struct fw_scsi_read_wr) + ALIGN(imm, 16)); in csio_scsi_init_read_wr() 451 sizeof(struct fw_scsi_write_wr) + ALIGN(imm, 16)); in csio_scsi_init_write_wr() 461 ALIGN((imm), 16) + /* Immed data */ \ 466 (ALIGN(((req)->nsge - 1), 2) / 2)); \ 487 size = ALIGN(size, 16); in csio_scsi_read() 524 size = ALIGN(size, 16); in csio_scsi_write() 678 uint32_t size = ALIGN(sizeof(struct fw_scsi_abrt_cls_wr), 16); in csio_scsi_abrt_cls()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | i740fb.c | 471 xres = ALIGN(var->xres, 8); in i740fb_decode_var() 472 vxres = ALIGN(var->xres_virtual, 16); in i740fb_decode_var() 476 xoffset = ALIGN(var->xoffset, 8); in i740fb_decode_var() 480 left = ALIGN(var->left_margin, 8); in i740fb_decode_var() 481 right = ALIGN(var->right_margin, 8); in i740fb_decode_var() 482 hslen = ALIGN(var->hsync_len, 8); in i740fb_decode_var()
|
/linux-4.1.27/drivers/media/platform/ |
D | sh_veu.c | 80 #define VIDEO_MEM_LIMIT ALIGN(2048 * 1536 * 2 * 3, 1024 * 1024) 534 y_line = ALIGN(vfmt->frame.width, 16); in sh_veu_colour_offset() 734 return ALIGN((size_in * crop_out) / size_out, 4); in sh_veu_scale_v() 756 return ALIGN((size_in * crop_out) / size_out, 4); in sh_veu_scale_h() 770 src_stride = ALIGN(veu->vfmt_in.frame.width, 16); in sh_veu_configure()
|
/linux-4.1.27/arch/mips/oprofile/ |
D | backtrace.c | 170 const unsigned long low_addr = ALIGN(frame.sp, THREAD_SIZE); in op_mips_backtrace()
|
/linux-4.1.27/drivers/lguest/x86/ |
D | switcher_32.S | 336 ALIGN
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_mqd_manager_cik.c | 57 memset(m, 0, ALIGN(sizeof(struct cik_mqd), 256)); in init_mqd() 309 memset(m, 0, ALIGN(sizeof(struct cik_mqd), 256)); in init_mqd_hiq()
|
/linux-4.1.27/drivers/misc/mic/host/ |
D | mic_smpt.c | 49 return ALIGN(pa - mic_system_page_mask(mdev), in mic_smpt_align_low() 55 return ALIGN(pa, mdev->smpt->info.page_size); in mic_smpt_align_high()
|
/linux-4.1.27/arch/x86/mm/ |
D | hugetlbpage.c | 144 addr = ALIGN(addr, huge_page_size(h)); in hugetlb_get_unmapped_area()
|
/linux-4.1.27/drivers/misc/sgi-xp/ |
D | xp.h | 98 ALIGN(XPC_MSG_HDR_MAX_SIZE + (_payload_size), \
|
/linux-4.1.27/include/uapi/linux/ |
D | a.out.h | 147 #define _N_SEGMENT_ROUND(x) ALIGN(x, SEGMENT_SIZE)
|