Searched refs:ALIGN (Results 176 - 200 of 1192) sorted by relevance

1234567891011>>

/linux-master/arch/parisc/kernel/vdso32/
H A Dvdso32.lds.S26 . = ALIGN (16);
/linux-master/arch/parisc/kernel/vdso64/
H A Dvdso64.lds.S25 . = ALIGN (16);
/linux-master/drivers/infiniband/hw/mlx5/
H A Dwr.h87 stride = !n ? ALIGN(copysz, 16) : copysz;
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_wq.c310 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 Diova.h65 return ALIGN(size, iovad->granule);
/linux-master/mm/
H A Dshuffle.c89 start_pfn = ALIGN(start_pfn, order_pages);
/linux-master/drivers/mtd/ubi/
H A Dmisc.c34 length = ALIGN(i + 1, ubi->min_io_size);
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.h158 return ALIGN(val, sizeof(long));
/linux-master/arch/x86/kernel/fpu/
H A Dinit.c144 ALIGN(offsetofend(TYPE, MEMBER), _Alignof(TYPE)))
/linux-master/drivers/dma/
H A Dste_dma40_ll.c198 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 Domap-aes-gcm.c51 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 Ddrm_gem_framebuffer_helper.c559 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 Damdgpu_doorbell_mgr.c155 size = ALIGN(adev->doorbell.num_kernel_doorbells * sizeof(u32), PAGE_SIZE);
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_tlb.c118 return (s32)(cur - ALIGN(seqno, 2)) > 0;
/linux-master/arch/powerpc/include/asm/nohash/32/
H A Dpgtable.h105 #define VMALLOC_START (((ALIGN((long)high_memory, PPC_PIN_SIZE) + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1)))
/linux-master/arch/parisc/kernel/
H A Dkexec_file.c61 kbuf.bufsz = kbuf.memsz = ALIGN(cmdline_len, 8);
/linux-master/security/integrity/ima/
H A Dima_kexec.c103 kexec_segment_size = ALIGN(ima_get_binary_runtime_size() +
/linux-master/drivers/gpu/drm/xe/display/
H A Dintel_fbdev_fb.c33 mode_cmd.pitches[0] = ALIGN(mode_cmd.width *
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_fbdev_fb.c31 mode_cmd.pitches[0] = ALIGN(mode_cmd.width *
H A Dintel_dsb.c113 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 Dprocessor.h142 - ALIGN(sizeof(struct pt_regs), STACK_ALIGN)))
/linux-master/tools/testing/selftests/mm/
H A Dhmm-tests.c58 #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 Dkomeda_pipeline_state.c983 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 Dsti_vid.c153 dst_w = ALIGN(dst_w, 2);
154 dst_h = ALIGN(dst_h, 2);
/linux-master/arch/powerpc/platforms/ps3/
H A Dmm.c402 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);

Completed in 265 milliseconds

1234567891011>>