/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
D | ibuf_ctrl_rmgr.c | 52 u32 aligned_size; in ia_css_isys_ibuf_rmgr_acquire() local 59 aligned_size = (size + (IBUF_ALIGN - 1)) & ~(IBUF_ALIGN - 1); in ia_css_isys_ibuf_rmgr_acquire() 68 if (handle->size >= aligned_size) { in ia_css_isys_ibuf_rmgr_acquire() 83 (ibuf_rsrc.free_size >= aligned_size)) { in ia_css_isys_ibuf_rmgr_acquire() 86 handle->size = aligned_size; in ia_css_isys_ibuf_rmgr_acquire() 89 ibuf_rsrc.free_start_addr += aligned_size; in ia_css_isys_ibuf_rmgr_acquire() 90 ibuf_rsrc.free_size -= aligned_size; in ia_css_isys_ibuf_rmgr_acquire()
|
/kernel/linux/linux-5.10/fs/exfat/ |
D | file.c | 231 loff_t aligned_size; in exfat_truncate() local 256 aligned_size = i_size_read(inode); in exfat_truncate() 257 if (aligned_size & (blocksize - 1)) { in exfat_truncate() 258 aligned_size |= (blocksize - 1); in exfat_truncate() 259 aligned_size++; in exfat_truncate() 263 ei->i_size_ondisk = aligned_size; in exfat_truncate() 266 ei->i_size_aligned = aligned_size; in exfat_truncate()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_fb.c | 136 int aligned_size, size; in radeonfb_create_pinned_object() local 150 aligned_size = ALIGN(size, PAGE_SIZE); in radeonfb_create_pinned_object() 151 ret = radeon_gem_object_create(rdev, aligned_size, 0, in radeonfb_create_pinned_object() 155 pr_err("failed to allocate framebuffer (%d)\n", aligned_size); in radeonfb_create_pinned_object()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fb.c | 131 int aligned_size, size; in amdgpufb_create_pinned_object() local 147 aligned_size = ALIGN(size, PAGE_SIZE); in amdgpufb_create_pinned_object() 148 ret = amdgpu_gem_object_create(adev, aligned_size, 0, domain, flags, in amdgpufb_create_pinned_object() 151 pr_err("failed to allocate framebuffer (%d)\n", aligned_size); in amdgpufb_create_pinned_object()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | inode_cloud.c | 149 uint64_t aligned_size; in hmdfs_update_inode_size() local 161 aligned_size = round_down(size, HMDFS_PAGE_SIZE); in hmdfs_update_inode_size() 162 if (aligned_size != size) in hmdfs_update_inode_size() 163 truncate_inode_pages(inode->i_mapping, aligned_size); in hmdfs_update_inode_size()
|
D | inode_remote.c | 272 uint64_t aligned_size; in hmdfs_update_inode_size() local 284 aligned_size = round_down(size, HMDFS_PAGE_SIZE); in hmdfs_update_inode_size() 285 if (aligned_size != size) in hmdfs_update_inode_size() 286 truncate_inode_pages(inode->i_mapping, aligned_size); in hmdfs_update_inode_size()
|
/kernel/linux/linux-5.10/mm/kasan/ |
D | generic.c | 208 size_t aligned_size = round_up(global->size, KASAN_SHADOW_SCALE_SIZE); in register_global() local 212 kasan_poison_shadow(global->beg + aligned_size, in register_global() 213 global->size_with_redzone - aligned_size, in register_global()
|
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/ |
D | tx.c | 618 size_t aligned_size, padding, hdr_size; in i2400m_tx_close() local 653 aligned_size = ALIGN(tx_msg_moved->size, i2400m->bus_tx_block_size); in i2400m_tx_close() 654 padding = aligned_size - tx_msg_moved->size; in i2400m_tx_close() 667 aligned_size, i2400m->tx_buf, i2400m->tx_in, in i2400m_tx_close()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
D | framebuffer.c | 282 static struct gtt_range *psbfb_alloc(struct drm_device *dev, int aligned_size) in psbfb_alloc() argument 286 backing = psb_gtt_alloc_range(dev, aligned_size, "fb", 1, PAGE_SIZE); in psbfb_alloc() 288 drm_gem_private_object_init(dev, &backing->gem, aligned_size); in psbfb_alloc()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | synthetic-events.c | 387 size_t size, aligned_size; in perf_event__synthesize_mmap_events() local 447 aligned_size = PERF_ALIGN(size, sizeof(u64)); in perf_event__synthesize_mmap_events() 450 (sizeof(event->mmap2.filename) - aligned_size)); in perf_event__synthesize_mmap_events() 452 (aligned_size - size)); in perf_event__synthesize_mmap_events() 1913 ssize_t size = 0, aligned_size = 0, padding; in perf_event__synthesize_tracing_data() local 1935 aligned_size = PERF_ALIGN(size, sizeof(u64)); in perf_event__synthesize_tracing_data() 1936 padding = aligned_size - size; in perf_event__synthesize_tracing_data() 1938 ev.tracing_data.size = aligned_size; in perf_event__synthesize_tracing_data() 1952 return aligned_size; in perf_event__synthesize_tracing_data()
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
D | mdio_bus.c | 140 size_t aligned_size = ALIGN(sizeof(*bus), NETDEV_ALIGN); in mdiobus_alloc_size() local 146 alloc_size = aligned_size + size; in mdiobus_alloc_size() 156 bus->priv = (void *)bus + aligned_size; in mdiobus_alloc_size()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_compat.c | 291 unsigned int info_size, aligned_size = XT_ALIGN(size); in nft_extension_dump_info() local 294 nla = nla_reserve(skb, attr, aligned_size); in nft_extension_dump_info() 300 memset(nla_data(nla) + info_size, 0, aligned_size - info_size); in nft_extension_dump_info()
|
D | x_tables.c | 293 int usersize, int size, int aligned_size) in xt_data_to_user() argument 298 if (usersize != aligned_size && in xt_data_to_user() 299 clear_user(dst + usersize, aligned_size - usersize)) in xt_data_to_user()
|
/kernel/linux/linux-5.10/include/linux/netfilter/ |
D | x_tables.h | 302 int usersize, int size, int aligned_size);
|
/kernel/linux/linux-5.10/drivers/iommu/intel/ |
D | iommu.c | 3875 size_t aligned_size = ALIGN(size, VTD_PAGE_SIZE); in bounce_map_single() local 3918 aligned_size, dir, attrs); in bounce_map_single() 3924 size_t padding_size = aligned_size; in bounce_map_single() 3951 aligned_size, dir, attrs); in bounce_map_single() 3964 size_t aligned_size = ALIGN(size, VTD_PAGE_SIZE); in bounce_unmap_single() local 3979 aligned_size, dir, attrs); in bounce_unmap_single()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | verbs.c | 732 u64 size, aligned_size; in qedr_align_cq_entries() local 736 aligned_size = ALIGN(size, PAGE_SIZE); in qedr_align_cq_entries() 738 return aligned_size / QEDR_CQE_SIZE; in qedr_align_cq_entries()
|
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
D | linux-5.10.patch | 39479 + int aligned_size = PAGE_ALIGN(need_size); 39481 + if (aligned_size <= mgt->total_reserved_size - mgt->alloced_res_size) 39483 + if (aligned_size <= mgt->cma_res_pool.total_size - 39487 + if (aligned_size <= mgt->total_cma_size - mgt->alloced_cma_size) 39490 + if (aligned_size / PAGE_SIZE <= mgt->alloc_from_sys_pages_max) 39492 + if (aligned_size <= mgt->tvp_pool.total_size - 41048 + int aligned_size; 41056 + aligned_size = mgt->rmem.size - 41059 + aligned_addr, aligned_size, -1); 41062 + (int)mgt->rmem.size, (int)aligned_size); [all …]
|