/linux-master/arch/parisc/kernel/vdso32/ |
H A D | vdso32.lds.S | 26 . = ALIGN (16);
|
/linux-master/arch/parisc/kernel/vdso64/ |
H A D | vdso64.lds.S | 25 . = ALIGN (16);
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | wr.h | 87 stride = !n ? ALIGN(copysz, 16) : copysz;
|
/linux-master/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_wq.c | 310 max_wqs = ALIGN(max_wqs, WQS_BLOCKS_PER_PAGE); 450 num_q_pages = ALIGN(WQ_SIZE(wq), wq->wq_page_size) / wq->wq_page_size; 529 num_wqebbs_per_page = ALIGN(wq_page_size, wqebb_size) 626 num_wqebbs_per_page = ALIGN(wq_page_size, wqebb_size) 748 num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) >> wq->wqebb_size_shift; 791 int num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) / wq->wqebb_size; 805 int num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) 824 int num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) 899 num_wqebbs = ALIGN(wqe_size, wq->wqebb_size) / wq->wqebb_size;
|
/linux-master/include/linux/ |
H A D | iova.h | 65 return ALIGN(size, iovad->granule);
|
/linux-master/mm/ |
H A D | shuffle.c | 89 start_pfn = ALIGN(start_pfn, order_pages);
|
/linux-master/drivers/mtd/ubi/ |
H A D | misc.c | 34 length = ALIGN(i + 1, ubi->min_io_size);
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_validation.h | 158 return ALIGN(val, sizeof(long));
|
/linux-master/arch/x86/kernel/fpu/ |
H A D | init.c | 144 ALIGN(offsetofend(TYPE, MEMBER), _Alignof(TYPE)))
|
/linux-master/drivers/dma/ |
H A D | ste_dma40_ll.c | 198 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); 207 return ALIGN(size / 2, max_w); 246 next = ALIGN(next + sizeof(struct d40_phy_lli), 295 l_phys = ALIGN(lli_phys + (lli - lli_sg) *
|
/linux-master/drivers/crypto/ |
H A D | omap-aes-gcm.c | 51 alen = ALIGN(dd->assoc_len, AES_BLOCK_SIZE); 52 clen = ALIGN(dd->total, AES_BLOCK_SIZE); 110 alen = ALIGN(assoclen, AES_BLOCK_SIZE); 111 clen = ALIGN(cryptlen, AES_BLOCK_SIZE);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_gem_framebuffer_helper.c | 559 afbc_fb->aligned_width = ALIGN(mode_cmd->width, w_alignment); 560 afbc_fb->aligned_height = ALIGN(mode_cmd->height, h_alignment); 571 afbc_fb->afbc_size = ALIGN(n_blocks * AFBC_HEADER_SIZE, hdr_alignment); 572 afbc_fb->afbc_size += n_blocks * ALIGN(bpp * AFBC_SUPERBLOCK_PIXELS / 8,
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_doorbell_mgr.c | 155 size = ALIGN(adev->doorbell.num_kernel_doorbells * sizeof(u32), PAGE_SIZE);
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_tlb.c | 118 return (s32)(cur - ALIGN(seqno, 2)) > 0;
|
/linux-master/arch/powerpc/include/asm/nohash/32/ |
H A D | pgtable.h | 105 #define VMALLOC_START (((ALIGN((long)high_memory, PPC_PIN_SIZE) + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1)))
|
/linux-master/arch/parisc/kernel/ |
H A D | kexec_file.c | 61 kbuf.bufsz = kbuf.memsz = ALIGN(cmdline_len, 8);
|
/linux-master/security/integrity/ima/ |
H A D | ima_kexec.c | 103 kexec_segment_size = ALIGN(ima_get_binary_runtime_size() +
|
/linux-master/drivers/gpu/drm/xe/display/ |
H A D | intel_fbdev_fb.c | 33 mode_cmd.pitches[0] = ALIGN(mode_cmd.width *
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_fbdev_fb.c | 31 mode_cmd.pitches[0] = ALIGN(mode_cmd.width *
|
H A D | intel_dsb.c | 113 for (i = 0; i < ALIGN(dsb->free_pos, 64 / 4); i += 4) 135 dsb->free_pos = ALIGN(dsb->free_pos, 2); 298 aligned_tail = ALIGN(tail, CACHELINE_BYTES); 481 size = ALIGN(max_cmds * 8, CACHELINE_BYTES);
|
/linux-master/arch/riscv/include/asm/ |
H A D | processor.h | 142 - ALIGN(sizeof(struct pt_regs), STACK_ALIGN)))
|
/linux-master/tools/testing/selftests/mm/ |
H A D | hmm-tests.c | 58 #define ALIGN(x, a) (((x) + (a - 1)) & (~((a) - 1))) macro 302 npages = ALIGN(HMM_BUFFER_SIZE, self->page_size) >> self->page_shift; 365 npages = ALIGN(HMM_BUFFER_SIZE, self->page_size) >> self->page_shift; 424 npages = ALIGN(HMM_BUFFER_SIZE, self->page_size) >> self->page_shift; 472 npages = ALIGN(HMM_BUFFER_SIZE, self->page_size) >> self->page_shift; 540 npages = ALIGN(HMM_BUFFER_SIZE, self->page_size) >> self->page_shift; 618 npages = ALIGN(HMM_BUFFER_SIZE, self->page_size) >> self->page_shift; 713 map = (void *)ALIGN((uintptr_t)buffer->ptr, size); 803 size = ALIGN(TWOMEG, default_hsize); 856 npages = ALIGN(HMM_BUFFER_SIZ [all...] |
/linux-master/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_pipeline_state.c | 983 l_dflow->in_h = ALIGN(dflow->in_h, 2) / 2 + l_dflow->overlap; 987 l_dflow->in_h = ALIGN(dflow->in_h, 2) / 2 + l_dflow->overlap; 991 l_dflow->in_h = ALIGN(((dflow->in_h + 1) >> 1), 2); 1003 l_dflow->in_h = ALIGN(l_dflow->in_h, 2); 1004 r_dflow->in_h = ALIGN(r_dflow->in_h, 2); 1013 l_dflow->in_w = ALIGN(dflow->in_w, 2) / 2 + l_dflow->overlap; 1016 l_dflow->in_w = ALIGN(dflow->in_w, 2) / 2 + l_dflow->overlap; 1019 l_dflow->in_w = ALIGN(((dflow->in_w + 1) >> 1), 2); 1025 l_dflow->in_w = ALIGN(l_dflow->in_w, 2); 1026 r_dflow->in_w = ALIGN(r_dflo [all...] |
/linux-master/drivers/gpu/drm/sti/ |
H A D | sti_vid.c | 153 dst_w = ALIGN(dst_w, 2); 154 dst_h = ALIGN(dst_h, 2);
|
/linux-master/arch/powerpc/platforms/ps3/ |
H A D | mm.c | 402 unsigned long aligned_len = ALIGN(len+bus_addr-aligned_bus, 431 unsigned long aligned_len = ALIGN(len + lpar_addr - aligned_lpar, 783 unsigned long aligned_len = ALIGN(len + phys_addr - aligned_phys, 838 unsigned long aligned_len = ALIGN(len + phys_addr - aligned_phys, 898 unsigned long aligned_len = ALIGN(len + bus_addr 935 unsigned long aligned_len = ALIGN(len + bus_addr 981 r->len = ALIGN(r->len, 1 << r->page_size); 1133 r->len = len ? len : ALIGN(map.total, 1 << r->page_size);
|