/linux-master/drivers/gpu/drm/nouveau/nvkm/falcon/ |
H A D | cmdq.c | 32 size = ALIGN(size, QUEUE_ALIGNMENT); 55 cmdq->position += ALIGN(size, QUEUE_ALIGNMENT);
|
/linux-master/include/linux/ |
H A D | linkage.h | 94 #define SYM_A_ALIGN ALIGN 103 #define ALIGN __ALIGN macro
|
/linux-master/kernel/ |
H A D | compat.c | 199 bitmap_size = ALIGN(bitmap_size, BITS_PER_COMPAT_LONG); 228 bitmap_size = ALIGN(bitmap_size, BITS_PER_COMPAT_LONG);
|
H A D | kexec_file.c | 482 temp_start = ALIGN(temp_start, kbuf->buf_align); 677 kbuf->memsz = ALIGN(kbuf->memsz, PAGE_SIZE); 850 kbuf->bufsz = ALIGN(kbuf->bufsz, align); 855 bss_sz = ALIGN(bss_sz, align); 859 kbuf->bufsz = ALIGN(kbuf->bufsz, bss_align); 923 bss_addr = ALIGN(bss_addr, align); 929 offset = ALIGN(offset, align);
|
/linux-master/fs/udf/ |
H A D | truncate.c | 129 ALIGN(inode->i_size, bsize) == ALIGN(iinfo->i_lenExtents, bsize))
|
/linux-master/drivers/pci/endpoint/ |
H A D | pci-epc-mem.c | 192 align_size = ALIGN(size, mem->window.page_size); 263 size = ALIGN(size, page_size);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | migration.c | 21 #define ALIGN(x, a) (((x) + (a - 1)) & (~((a) - 1))) macro 190 ptr = (uint64_t *) ALIGN((uintptr_t) ptr, TWOMEG);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | iommu.h | 25 #define IOMMU_PAGE_ALIGN_4K(addr) ALIGN(addr, IOMMU_PAGE_SIZE_4K) 29 #define IOMMU_PAGE_ALIGN(addr, tblptr) ALIGN(addr, IOMMU_PAGE_SIZE(tblptr))
|
/linux-master/arch/x86/lib/ |
H A D | copy_page_64.S | 15 ALIGN
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | firmware.c | 240 len = ALIGN(fw->len, PAGE_SIZE); 254 len = ALIGN(fw->len, PAGE_SIZE);
|
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptvf_mbox.c | 30 u16 msgs_offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN); 164 offset = ALIGN(sizeof(struct mbox_hdr), MBOX_MSG_ALIGN);
|
H A D | otx2_cpt_reqmgr.h | 362 g_len = ALIGN(g_sz_bytes, align); 363 sg_len = ALIGN(g_len + s_sz_bytes, align); 364 info_len = ALIGN(sizeof(*info), align); 438 align_dlen = ALIGN(dlen, align); 439 info_len = ALIGN(sizeof(*info), align);
|
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_rwpf.c | 215 sel->r.left = ALIGN(sel->r.left, 2); 216 sel->r.top = ALIGN(sel->r.top, 2);
|
/linux-master/net/mac802154/ |
H A D | main.c | 75 priv_size = ALIGN(sizeof(*local), NETDEV_ALIGN) + priv_data_len; 88 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN);
|
/linux-master/arch/arm64/kvm/ |
H A D | pkvm.c | 88 hyp_mem_base = memblock_phys_alloc(ALIGN(hyp_mem_size, PMD_SIZE), 93 hyp_mem_size = ALIGN(hyp_mem_size, PMD_SIZE);
|
/linux-master/fs/smb/client/ |
H A D | smb2pdu.h | 436 (ALIGN((SMB2_WSL_NUM_XATTRS - 1) * \ 442 (ALIGN(SMB2_WSL_MIN_QUERY_EA_RESP_SIZE + \
|
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-common.c | 391 plane->bytesperline = ALIGN(width, v4l2_format_block_width(info, 0)) * info->bpp[0] / info->bpp_div[0]; 400 aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); 401 aligned_height = ALIGN(height, v4l2_format_block_height(info, i)); 414 aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); 415 aligned_height = ALIGN(height, v4l2_format_block_height(info, i)); 445 pixfmt->bytesperline = ALIGN(width, v4l2_format_block_width(info, 0)) * info->bpp[0] / info->bpp_div[0]; 454 aligned_width = ALIGN(width, v4l2_format_block_width(info, i)); 455 aligned_height = ALIGN(height, v4l2_format_block_height(info, i));
|
/linux-master/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_video.c | 129 bytesperline = ALIGN(width, 32); 132 height = ALIGN(height, 32); 138 sizeimage += bytesperline * ALIGN(height, 64) / 2; 144 bytesperline = ALIGN(width, 16); 147 height = ALIGN(height, 16);
|
/linux-master/fs/ubifs/ |
H A D | xattr.c | 88 .new_ino_d = ALIGN(size, 8), .dirtied_ino = 1, 89 .dirtied_ino_d = ALIGN(host_ui->data_len, 8) }; 199 .dirtied_ino_d = ALIGN(size, 8) + ALIGN(host_ui->data_len, 8) }; 468 .dirtied_ino_d = ALIGN(host_ui->data_len, 8) };
|
H A D | io.c | 392 len = ALIGN(len, 8); 393 pad = ALIGN(len, c->min_io_size) - len; 586 sync_len = ALIGN(wbuf->used, c->min_io_size); 609 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; 650 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; 743 int err, n, written = 0, aligned_len = ALIGN(len, 8); 960 int err, buf_len = ALIGN(len, c->min_io_size);
|
/linux-master/net/ipv6/ |
H A D | esp6.c | 74 len = ALIGN(len, crypto_tfm_ctx_alignment()); 78 len = ALIGN(len, __alignof__(struct scatterlist)); 110 return (void *)ALIGN((unsigned long)(req + 1) + 494 if (ALIGN(tailen, L1_CACHE_BYTES) > PAGE_SIZE || 495 ALIGN(skb->data_len, L1_CACHE_BYTES) > PAGE_SIZE) 513 allocsize = ALIGN(tailen, L1_CACHE_BYTES); 625 allocsize = ALIGN(skb->data_len, L1_CACHE_BYTES); 719 blksize = ALIGN(crypto_aead_blocksize(aead), 4); 720 esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); 1249 align = ALIGN(crypto_aead_blocksiz [all...] |
/linux-master/net/ipv4/ |
H A D | esp4.c | 57 len = ALIGN(len, crypto_tfm_ctx_alignment()); 61 len = ALIGN(len, __alignof__(struct scatterlist)); 93 return (void *)ALIGN((unsigned long)(req + 1) + 459 if (ALIGN(tailen, L1_CACHE_BYTES) > PAGE_SIZE || 460 ALIGN(skb->data_len, L1_CACHE_BYTES) > PAGE_SIZE) 478 allocsize = ALIGN(tailen, L1_CACHE_BYTES); 588 allocsize = ALIGN(skb->data_len, L1_CACHE_BYTES); 681 blksize = ALIGN(crypto_aead_blocksize(aead), 4); 682 esp.clen = ALIGN(skb->len + 2 + esp.tfclen, blksize); 1196 align = ALIGN(crypto_aead_blocksiz [all...] |
/linux-master/drivers/media/platform/verisilicon/ |
H A D | rockchip_vpu981_hw_av1_dec.c | 16 #define GLOBAL_MODEL_SIZE ALIGN(GM_GLOBAL_MODELS_PER_FRAME * GLOBAL_MODEL_TOTAL_SIZE, 2048) 24 #define AV1_TILE_SIZE ALIGN(32 * 128, 4096) 219 return ALIGN((cr_offset * 3) / 2, 64); 261 unsigned int height = ALIGN(ctrls->frame->frame_height_minus_1 + 1, 64); 267 ALIGN(height * 12 * ctx->bit_depth / 8, 128) * num_tile_cols) 272 size = ALIGN(height * 12 * ctx->bit_depth / 8, 128) * num_tile_cols; 280 size = ALIGN(height * 2 * 16 / 4, 128) * num_tile_cols; 288 size = ALIGN(height_in_sb * 44 * ctx->bit_depth * 16 / 8, 128) * num_tile_cols; 296 size = ALIGN(height_in_sb * (3040 + 1280), 128) * num_tile_cols; 304 size = ALIGN(stripe_nu [all...] |
/linux-master/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_qp.c | 49 #define SIZE_16BYTES(size) (ALIGN(size, 16) >> 4) 50 #define SIZE_8BYTES(size) (ALIGN(size, 8) >> 3) 413 pi_size = ALIGN(sizeof(*rq->pi_virt_addr), sizeof(u32)); 441 pi_size = ALIGN(sizeof(*rq->pi_virt_addr), sizeof(u32)); 641 prod_idx += ALIGN(wqe_size, wq->wqebb_size) / wq->wqebb_size; 735 *wqe_size = ALIGN(*wqe_size, sq->wq->wqebb_size); 881 wqe_size = ALIGN(wqe_size, wq->wqebb_size);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_uvd.c | 629 unsigned int height_in_mb = ALIGN(height / 16, 2); 637 image_size = ALIGN(image_size, 1024); 697 min_dpb_size += ALIGN(tmp * 7 * 16, 64); 715 min_dpb_size += ALIGN(width_in_mb * height_in_mb * 32, 64); 771 image_size = (ALIGN(width, 16) * ALIGN(height, 16) * 3) / 2; 772 image_size = ALIGN(image_size, 256);
|