Home
last modified time | relevance | path

Searched refs:aligned_size (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.1/drivers/staging/media/atomisp/pci/runtime/isys/src/
Dibuf_ctrl_rmgr.c52 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()
/Linux-v6.1/fs/exfat/
Dfile.c198 loff_t aligned_size; in exfat_truncate() local
217 aligned_size = i_size_read(inode); in exfat_truncate()
218 if (aligned_size & (blocksize - 1)) { in exfat_truncate()
219 aligned_size |= (blocksize - 1); in exfat_truncate()
220 aligned_size++; in exfat_truncate()
224 ei->i_size_ondisk = aligned_size; in exfat_truncate()
227 ei->i_size_aligned = aligned_size; in exfat_truncate()
/Linux-v6.1/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c259 u64 hole_size, aligned_size; in lowlevel_hole() local
261 aligned_size = max_t(u32, ilog2(min_alignment), size); in lowlevel_hole()
262 hole_size = (hole_end - hole_start) >> aligned_size; in lowlevel_hole()
283 GEM_BUG_ON(count * BIT_ULL(aligned_size) > vm->total); in lowlevel_hole()
284 GEM_BUG_ON(hole_start + count * BIT_ULL(aligned_size) > hole_end); in lowlevel_hole()
307 u64 addr = hole_start + order[n] * BIT_ULL(aligned_size); in lowlevel_hole()
310 GEM_BUG_ON(addr + BIT_ULL(aligned_size) > vm->total); in lowlevel_hole()
353 mock_vma_res->node_size = BIT_ULL(aligned_size); in lowlevel_hole()
364 u64 addr = hole_start + order[n] * BIT_ULL(aligned_size); in lowlevel_hole()
452 u64 aligned_size = round_up(obj->base.size, in fill_hole() local
[all …]
/Linux-v6.1/drivers/gpu/drm/radeon/
Dradeon_fb.c138 int aligned_size, size; in radeonfb_create_pinned_object() local
152 aligned_size = ALIGN(size, PAGE_SIZE); in radeonfb_create_pinned_object()
153 ret = radeon_gem_object_create(rdev, aligned_size, 0, in radeonfb_create_pinned_object()
157 pr_err("failed to allocate framebuffer (%d)\n", aligned_size); in radeonfb_create_pinned_object()
/Linux-v6.1/drivers/net/wwan/iosm/
Diosm_ipc_mux_codec.c1069 int aligned_size = 0; in ipc_mux_ul_adgh_encode() local
1110 aligned_size = ALIGN((pad_len + src_skb->len), 4); in ipc_mux_ul_adgh_encode()
1112 ipc_mux->size_needed = sizeof(struct mux_adgh) + aligned_size; in ipc_mux_ul_adgh_encode()
1205 int aligned_size, in mux_ul_dg_update_tbl_index() argument
1221 ipc_mux->size_needed += sizeof(*dg) + aligned_size; in mux_ul_dg_update_tbl_index()
1233 int aligned_size; in mux_ul_dg_encode() local
1247 aligned_size = ALIGN((head_pad_len + src_skb->len), 4); in mux_ul_dg_encode()
1248 ipc_mux->size_needed += sizeof(*dg) + aligned_size; in mux_ul_dg_encode()
1256 aligned_size, in mux_ul_dg_encode()
1277 offset += aligned_size; in mux_ul_dg_encode()
/Linux-v6.1/mm/kasan/
Dgeneric.c212 size_t aligned_size = round_up(global->size, KASAN_GRANULE_SIZE); in register_global() local
216 kasan_poison(global->beg + aligned_size, in register_global()
217 global->size_with_redzone - aligned_size, in register_global()
/Linux-v6.1/tools/perf/util/
Dsynthetic-events.c458 size_t size, aligned_size; in perf_event__synthesize_mmap_events() local
518 aligned_size = PERF_ALIGN(size, sizeof(u64)); in perf_event__synthesize_mmap_events()
521 (sizeof(event->mmap2.filename) - aligned_size)); in perf_event__synthesize_mmap_events()
523 (aligned_size - size)); in perf_event__synthesize_mmap_events()
2165 ssize_t size = 0, aligned_size = 0, padding; in perf_event__synthesize_tracing_data() local
2187 aligned_size = PERF_ALIGN(size, sizeof(u64)); in perf_event__synthesize_tracing_data()
2188 padding = aligned_size - size; in perf_event__synthesize_tracing_data()
2190 ev.tracing_data.size = aligned_size; in perf_event__synthesize_tracing_data()
2204 return aligned_size; in perf_event__synthesize_tracing_data()
/Linux-v6.1/drivers/net/phy/
Dmdio_bus.c140 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()
/Linux-v6.1/net/netfilter/
Dnft_compat.c313 unsigned int info_size, aligned_size = XT_ALIGN(size); in nft_extension_dump_info() local
316 nla = nla_reserve(skb, attr, aligned_size); in nft_extension_dump_info()
322 memset(nla_data(nla) + info_size, 0, aligned_size - info_size); in nft_extension_dump_info()
Dx_tables.c313 int usersize, int size, int aligned_size) in xt_data_to_user() argument
318 if (usersize != aligned_size && in xt_data_to_user()
319 clear_user(dst + usersize, aligned_size - usersize)) in xt_data_to_user()
/Linux-v6.1/drivers/iommu/
Ddma-iommu.c995 size_t padding_size, aligned_size; in iommu_dma_map_page() local
1002 aligned_size = iova_align(iovad, size); in iommu_dma_map_page()
1003 phys = swiotlb_tbl_map_single(dev, phys, size, aligned_size, in iommu_dma_map_page()
1011 padding_size = aligned_size; in iommu_dma_map_page()
/Linux-v6.1/include/linux/netfilter/
Dx_tables.h302 int usersize, int size, int aligned_size);
/Linux-v6.1/drivers/infiniband/hw/qedr/
Dverbs.c734 u64 size, aligned_size; in qedr_align_cq_entries() local
738 aligned_size = ALIGN(size, PAGE_SIZE); in qedr_align_cq_entries()
740 return aligned_size / QEDR_CQE_SIZE; in qedr_align_cq_entries()