/linux-master/include/linux/ |
H A D | ihex.h | 35 return p + ALIGN(ihex_binrec_size(rec), 4);
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | gen6_ppgtt.h | 61 ({ u32 temp = ALIGN(start + 1, 1 << GEN6_PDE_SHIFT); \
|
/linux-master/include/trace/ |
H A D | perf.h | 39 __entry_size = ALIGN(__data_size + sizeof(*entry) + sizeof(u32),\
|
/linux-master/tools/bootconfig/ |
H A D | test-bootconfig.sh | 12 ALIGN=4 63 total_size=$(expr $bconf_size + $initrd_size + 9 + 12 + $ALIGN - 1 ) 64 total_size=$(expr $total_size / $ALIGN) 65 total_size=$(expr $total_size \* $ALIGN)
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | umr.h | 75 return ALIGN(bytes, MLX5_IB_UMR_XLT_ALIGNMENT) /
|
/linux-master/arch/x86/include/asm/ |
H A D | realmode.h | 86 return ALIGN(real_mode_blob_end - real_mode_blob, PAGE_SIZE);
|
H A D | page_types.h | 34 #define __PHYSICAL_START ALIGN(CONFIG_PHYSICAL_START, \
|
/linux-master/drivers/gpu/drm/armada/ |
H A D | armada_drm.h | 36 return ALIGN(pitch, 128);
|
/linux-master/arch/arc/include/asm/ |
H A D | linkage.h | 56 ALIGN ASM_NL \
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_dumb.c | 45 args->size = ALIGN(args->size, PAGE_SIZE);
|
/linux-master/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_hw.c | 89 chroma_size = ALIGN(width, 16) * ALIGN(height, 16) / 2; 97 reg = VE_PRIMARY_FB_LINE_STRIDE_LUMA(ALIGN(width, 16)) | 98 VE_PRIMARY_FB_LINE_STRIDE_CHROMA(ALIGN(width, 16) / 2);
|
/linux-master/arch/mips/boot/compressed/ |
H A D | decompress.c | 116 image_size = ALIGN(image_size, STRUCT_ALIGNMENT);
|
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_cccb.h | 84 return sizeof(struct rogue_fwif_ccb_cmd_header) + ALIGN(cmd_size, 8);
|
/linux-master/drivers/s390/cio/ |
H A D | fcx.c | 113 offset += sizeof(struct dcw) + ALIGN((int) dcw->cd_count, 4); 133 cbc_data = 4 + ALIGN(data_count, 4) - data_count; 177 tcat->count = ALIGN(count, 4) + 4; 305 size = ALIGN(sizeof(struct dcw) + cd_count, 4);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_memcpy.c | 150 unsigned long x = min(ALIGN(addr, 16) - addr, len);
|
/linux-master/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_buffer.c | 40 buffer->user_size = ALIGN(buffer->user_size, 8); 51 buffer->user_size = ALIGN(buffer->user_size, 8); 59 buffer->user_size = ALIGN(buffer->user_size, 8); 67 buffer->user_size = ALIGN(buffer->user_size, 8); 77 buffer->user_size = ALIGN(buffer->user_size, 8); 210 buffer->user_size = ALIGN(buffer->user_size, 8); 228 buffer->user_size = ALIGN(buffer->user_size, 8);
|
/linux-master/fs/ubifs/ |
H A D | journal.c | 247 node += ALIGN(nodelen, 8); 248 len -= ALIGN(nodelen, 8); 697 aligned_dlen = ALIGN(dlen, 8); 698 aligned_ilen = ALIGN(ilen, 8); 703 len += ALIGN(host_ui->data_len, 8) + ubifs_auth_node_sz(c); 910 write_len = ALIGN(dlen, 8) + auth_len; 992 write_len += ALIGN(ilen, 8) + ubifs_auth_node_sz(c); 1203 aligned_dlen1 = ALIGN(dlen1, 8); 1204 aligned_dlen2 = ALIGN(dlen2, 8); 1206 len = aligned_dlen1 + aligned_dlen2 + ALIGN(ple [all...] |
H A D | sb.c | 163 sup = kzalloc(ALIGN(UBIFS_SB_NODE_SZ, c->min_io_size), GFP_KERNEL); 166 idx = kzalloc(ALIGN(idx_node_size, c->min_io_size), GFP_KERNEL); 167 ino = kzalloc(ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size), GFP_KERNEL); 168 cs = kzalloc(ALIGN(UBIFS_CS_NODE_SZ, c->min_io_size), GFP_KERNEL); 237 mst->ihead_offs = cpu_to_le32(ALIGN(tmp, c->min_io_size)); 238 mst->index_size = cpu_to_le64(ALIGN(tmp, 8)); 255 tmp64 -= ALIGN(ubifs_idx_node_sz(c, 1), c->min_io_size); 256 tmp64 -= ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size); 259 tmp64 = ALIGN(ubifs_idx_node_sz(c, 1), c->min_io_size); 260 ino_waste = ALIGN(UBIFS_INO_NODE_S [all...] |
H A D | tnc_commit.c | 79 c->calc_idx_sz += ALIGN(len, 8); 124 const int alen = ALIGN(len, 8); 142 c->ileb_len = ALIGN(gap_pos, c->min_io_size); 268 dirt += ALIGN(snod->len, 8); 283 gap_start = ALIGN(snod->offs + snod->len, 8); 443 buf_len = ALIGN(buf_len, c->min_io_size); 491 c->calc_idx_sz += ALIGN(len, 8); 511 used += ALIGN(len, 8); 512 avail -= ALIGN(len, 8); 523 blen = ALIGN(wle [all...] |
/linux-master/drivers/media/platform/chips-media/wave5/ |
H A D | wave5-vpuapi.h | 48 #define WAVE5_DEC_AVC_BUF_SIZE(_w, _h) ((((ALIGN(_w, 256) / 16) * (ALIGN(_h, 16) / 16)) + 16) * 80) 50 #define WAVE5_FBC_LUMA_TABLE_SIZE(_w, _h) (ALIGN(_h, 64) * ALIGN(_w, 256) / 32) 51 #define WAVE5_FBC_CHROMA_TABLE_SIZE(_w, _h) (ALIGN((_h), 64) * ALIGN((_w) / 2, 256) / 32) 52 #define WAVE5_ENC_AVC_BUF_SIZE(_w, _h) (ALIGN(_w, 64) * ALIGN(_h, 64) / 32) 53 #define WAVE5_ENC_HEVC_BUF_SIZE(_w, _h) (ALIGN(_w, 64) / 64 * ALIGN(_ [all...] |
H A D | wave5-hw.c | 383 /* ALIGN TO 4KB */ 714 size = ALIGN(ALIGN(mv_col_size, 16), BUFFER_MARGIN) + BUFFER_MARGIN; 722 fbc_y_tbl_size = ALIGN(WAVE5_FBC_LUMA_TABLE_SIZE(frame_width, frame_height), 16); 723 fbc_c_tbl_size = ALIGN(WAVE5_FBC_CHROMA_TABLE_SIZE(frame_width, frame_height), 16); 725 size = ALIGN(fbc_y_tbl_size, BUFFER_MARGIN) + BUFFER_MARGIN; 730 size = ALIGN(fbc_c_tbl_size, BUFFER_MARGIN) + BUFFER_MARGIN; 995 /* ALIGN TO 4KB */ 1114 /* ALIGN TO 4KB */ 1436 int aligned_width = (codec == W_HEVC_ENC) ? ALIGN(src_widt [all...] |
/linux-master/fs/smb/server/ |
H A D | ndr.c | 106 n->offset = ALIGN(n->offset, 2); 122 n->offset = ALIGN(n->offset, 2); 304 n->offset = ALIGN(n->offset, 8); 314 n->offset = ALIGN(n->offset, 8); 324 n->offset = ALIGN(n->offset, 8); 327 n->offset = ALIGN(n->offset, 8);
|
/linux-master/tools/virtio/ |
H A D | vringh_test.c | 25 #define ALIGN 4096 macro 154 mapsize = vring_size(RINGSIZE, ALIGN) 188 vring_init(&vrh.vring, RINGSIZE, host_map, ALIGN); 300 data = guest_map + vring_size(RINGSIZE, ALIGN); 319 vq = vring_new_virtqueue(0, RINGSIZE, ALIGN, &gvdev.vdev, true, 485 memset(__user_addr_min, 0, vring_size(RINGSIZE, ALIGN)); 488 vq = vring_new_virtqueue(0, RINGSIZE, ALIGN, &vdev, true, false, 494 vring_init(&vrh.vring, RINGSIZE, __user_addr_min, ALIGN); 513 __kmalloc_fake = __user_addr_min + vring_size(RINGSIZE, ALIGN); 563 __kfree_ignore_start = __user_addr_min + vring_size(RINGSIZE, ALIGN); [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_rlc.c | 338 ALIGN(le32_to_cpu(common_hdr->ucode_size_bytes), PAGE_SIZE); 372 ALIGN(adev->gfx.rlc.save_restore_list_cntl_size_bytes, PAGE_SIZE); 380 ALIGN(adev->gfx.rlc.save_restore_list_gpm_size_bytes, PAGE_SIZE); 388 ALIGN(adev->gfx.rlc.save_restore_list_srm_size_bytes, PAGE_SIZE); 410 ALIGN(adev->gfx.rlc.rlc_iram_ucode_size_bytes, PAGE_SIZE); 418 ALIGN(adev->gfx.rlc.rlc_dram_ucode_size_bytes, PAGE_SIZE); 445 ALIGN(adev->gfx.rlc.rlcp_ucode_size_bytes, PAGE_SIZE); 453 ALIGN(adev->gfx.rlc.rlcv_ucode_size_bytes, PAGE_SIZE); 481 ALIGN(adev->gfx.rlc.global_tap_delays_ucode_size_bytes, PAGE_SIZE); 489 ALIGN(ade [all...] |
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_alloc.c | 89 buf->trunk_shift = order_base_2(ALIGN(size, PAGE_SIZE)); 92 buf->trunk_shift = order_base_2(ALIGN(page_size, PAGE_SIZE));
|