alignment 87 arch/arm/mm/alignment.c core_param(alignment, ai_usermode, int, 0600); alignment 1353 arch/ia64/include/asm/pal.h ia64_pal_mem_for_test (u64 *bytes_needed, u64 *alignment) alignment 1359 arch/ia64/include/asm/pal.h if (alignment) alignment 1360 arch/ia64/include/asm/pal.h *alignment = iprv.v1; alignment 1288 arch/ia64/kernel/efi.c u64 alignment = 1UL << _PAGE_SIZE_64M; alignment 1301 arch/ia64/kernel/efi.c start = ALIGN(md->phys_addr, alignment); alignment 1307 arch/ia64/kernel/efi.c start = ALIGN(__pa(r[i].end), alignment); alignment 138 arch/mips/cavium-octeon/executive/cvmx-bootmem.c static void *cvmx_bootmem_alloc_range(uint64_t size, uint64_t alignment, alignment 143 arch/mips/cavium-octeon/executive/cvmx-bootmem.c cvmx_bootmem_phy_alloc(size, min_addr, max_addr, alignment, 0); alignment 152 arch/mips/cavium-octeon/executive/cvmx-bootmem.c uint64_t alignment) alignment 154 arch/mips/cavium-octeon/executive/cvmx-bootmem.c return cvmx_bootmem_alloc_range(size, alignment, address, alignment 172 arch/mips/cavium-octeon/executive/cvmx-bootmem.c void *cvmx_bootmem_alloc_named(uint64_t size, uint64_t alignment, char *name) alignment 174 arch/mips/cavium-octeon/executive/cvmx-bootmem.c return cvmx_bootmem_alloc_named_range(size, 0, 0, alignment, name); alignment 225 arch/mips/cavium-octeon/executive/cvmx-bootmem.c uint64_t address_max, uint64_t alignment, alignment 242 arch/mips/cavium-octeon/executive/cvmx-bootmem.c (unsigned long long)alignment); alignment 286 arch/mips/cavium-octeon/executive/cvmx-bootmem.c if (alignment < CVMX_BOOTMEM_ALIGNMENT_SIZE) alignment 287 arch/mips/cavium-octeon/executive/cvmx-bootmem.c alignment = CVMX_BOOTMEM_ALIGNMENT_SIZE; alignment 294 arch/mips/cavium-octeon/executive/cvmx-bootmem.c if (alignment) alignment 295 arch/mips/cavium-octeon/executive/cvmx-bootmem.c address_min = ALIGN(address_min, alignment); alignment 333 arch/mips/cavium-octeon/executive/cvmx-bootmem.c ALIGN(max(address_min, ent_addr), alignment); alignment 361 arch/mips/cavium-octeon/executive/cvmx-bootmem.c desired_min_addr &= ~(alignment - 1); alignment 727 arch/mips/cavium-octeon/executive/cvmx-bootmem.c uint64_t alignment, alignment 740 arch/mips/cavium-octeon/executive/cvmx-bootmem.c (unsigned long long)alignment, alignment 785 arch/mips/cavium-octeon/executive/cvmx-bootmem.c alignment, alignment 162 arch/mips/include/asm/octeon/cvmx-bootmem.h uint64_t alignment); alignment 186 arch/mips/include/asm/octeon/cvmx-bootmem.h extern void *cvmx_bootmem_alloc_named(uint64_t size, uint64_t alignment, alignment 274 arch/mips/include/asm/octeon/cvmx-bootmem.h uint64_t address_max, uint64_t alignment, alignment 301 arch/mips/include/asm/octeon/cvmx-bootmem.h uint64_t alignment, alignment 15 arch/mips/include/asm/octeon/octeon.h uint64_t alignment, alignment 19 arch/mips/include/asm/octeon/octeon.h extern void *octeon_bootmem_alloc(uint64_t size, uint64_t alignment, alignment 21 arch/mips/include/asm/octeon/octeon.h extern void *octeon_bootmem_alloc_range(uint64_t size, uint64_t alignment, alignment 24 arch/mips/include/asm/octeon/octeon.h extern void *octeon_bootmem_alloc_named(uint64_t size, uint64_t alignment, alignment 199 arch/parisc/kernel/pci.c resource_size_t size, resource_size_t alignment) alignment 206 arch/parisc/kernel/pci.c (int) res->flags, size, alignment); alignment 212 arch/parisc/kernel/pci.c mask = max(alignment, align) - 1; alignment 27 arch/powerpc/include/asm/rheap.h unsigned int alignment; alignment 50 arch/powerpc/include/asm/rheap.h extern rh_info_t *rh_create(unsigned int alignment); alignment 56 arch/powerpc/include/asm/rheap.h extern void rh_init(rh_info_t * info, unsigned int alignment, int max_blocks, alignment 66 arch/powerpc/include/asm/rheap.h extern unsigned long rh_alloc_align(rh_info_t * info, int size, int alignment, alignment 253 arch/powerpc/lib/rheap.c rh_info_t *rh_create(unsigned int alignment) alignment 258 arch/powerpc/lib/rheap.c if ((alignment & (alignment - 1)) != 0) alignment 265 arch/powerpc/lib/rheap.c info->alignment = alignment; alignment 300 arch/powerpc/lib/rheap.c void rh_init(rh_info_t * info, unsigned int alignment, int max_blocks, alignment 307 arch/powerpc/lib/rheap.c if ((alignment & (alignment - 1)) != 0) alignment 310 arch/powerpc/lib/rheap.c info->alignment = alignment; alignment 338 arch/powerpc/lib/rheap.c m = info->alignment - 1; alignment 383 arch/powerpc/lib/rheap.c m = info->alignment - 1; alignment 442 arch/powerpc/lib/rheap.c unsigned long rh_alloc_align(rh_info_t * info, int size, int alignment, const char *owner) alignment 450 arch/powerpc/lib/rheap.c if (size <= 0 || (alignment & (alignment - 1)) != 0) alignment 454 arch/powerpc/lib/rheap.c size = (size + (info->alignment - 1)) & ~(info->alignment - 1); alignment 463 arch/powerpc/lib/rheap.c start = (blk->start + alignment - 1) & ~(alignment - 1); alignment 519 arch/powerpc/lib/rheap.c return rh_alloc_align(info, size, info->alignment, owner); alignment 540 arch/powerpc/lib/rheap.c m = info->alignment - 1; alignment 32 arch/sh/mm/alignment.c core_param(alignment, se_usermode, int, 0600); alignment 8 arch/um/drivers/cow.h int sectorsize, int alignment, int *bitmap_offset_out, alignment 19 arch/um/drivers/cow.h int sectorsize, int alignment, alignment 91 arch/um/drivers/cow_user.c __u32 alignment; alignment 103 arch/um/drivers/cow_user.c __u32 alignment; alignment 197 arch/um/drivers/cow_user.c int sectorsize, int alignment, unsigned long long *size) alignment 251 arch/um/drivers/cow_user.c header->alignment = htobe32(alignment); alignment 346 arch/um/drivers/cow_user.c *align_out = be32toh(header->v3.alignment); alignment 377 arch/um/drivers/cow_user.c *align_out = be32toh(header->v3_b.alignment); alignment 403 arch/um/drivers/cow_user.c int alignment, int *bitmap_offset_out, alignment 411 arch/um/drivers/cow_user.c alignment, &size); alignment 415 arch/um/drivers/cow_user.c *bitmap_offset_out = ROUND_UP(sizeof(struct cow_header_v3), alignment); alignment 416 arch/um/drivers/cow_user.c cow_sizes(COW_VERSION, size, sectorsize, alignment, *bitmap_offset_out, alignment 750 arch/um/drivers/ubd_kern.c int sectorsize, int alignment, int *bitmap_offset_out, alignment 764 arch/um/drivers/ubd_kern.c err = init_cow_file(fd, cow_file, backing_file, sectorsize, alignment, alignment 685 arch/x86/kvm/emulate.c u64 alignment = ctxt->d & AlignMask; alignment 690 arch/x86/kvm/emulate.c switch (alignment) { alignment 1304 arch/x86/kvm/lapic.c unsigned char alignment = offset & 0xf; alignment 1346 arch/x86/kvm/lapic.c memcpy(data, (char *)&result + alignment, len); alignment 67 block/blk-merge.c int alignment; alignment 94 block/blk-merge.c alignment = (q->limits.discard_alignment >> 9) % granularity; alignment 96 block/blk-merge.c tmp = bio->bi_iter.bi_sector + split_sectors - alignment; alignment 500 block/blk-settings.c unsigned int top, bottom, alignment, ret = 0; alignment 527 block/blk-settings.c alignment = queue_limit_alignment_offset(b, start); alignment 532 block/blk-settings.c if (t->alignment_offset != alignment) { alignment 536 block/blk-settings.c bottom = max(b->physical_block_size, b->io_min) + alignment; alignment 580 block/blk-settings.c t->alignment_offset = lcm_not_zero(t->alignment_offset, alignment) alignment 591 block/blk-settings.c alignment = queue_limit_discard_alignment(b, start); alignment 594 block/blk-settings.c t->discard_alignment != alignment) { alignment 596 block/blk-settings.c bottom = b->discard_granularity + alignment; alignment 609 block/blk-settings.c t->discard_alignment = lcm_not_zero(t->discard_alignment, alignment) % alignment 145 drivers/acpi/acpica/amlresrc.h u8 alignment; alignment 187 drivers/acpi/acpica/amlresrc.h u16 alignment; alignment 198 drivers/acpi/acpica/amlresrc.h u32 alignment; alignment 79 drivers/acpi/acpica/rsdumpinfo.c {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(io.alignment), "Alignment", NULL}, alignment 114 drivers/acpi/acpica/rsdumpinfo.c {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(memory24.alignment), "Alignment", alignment 129 drivers/acpi/acpica/rsdumpinfo.c {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(memory32.alignment), "Alignment", alignment 41 drivers/acpi/acpica/rsio.c {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.io.alignment), alignment 42 drivers/acpi/acpica/rsio.c AML_OFFSET(io.alignment), alignment 1376 drivers/atm/firestream.c static void *aligned_kmalloc(int size, gfp_t flags, int alignment) alignment 1380 drivers/atm/firestream.c if (alignment <= 0x10) { alignment 1382 drivers/atm/firestream.c if ((unsigned long)t & (alignment-1)) { alignment 1385 drivers/atm/firestream.c return aligned_kmalloc (size, flags, alignment * 4); alignment 76 drivers/atm/fore200e.c #define FORE200E_ALIGN(addr, alignment) \ alignment 77 drivers/atm/fore200e.c ((((unsigned long)(addr) + (alignment - 1)) & ~(alignment - 1)) - (unsigned long)(addr)) alignment 165 drivers/atm/fore200e.c fore200e_chunk_alloc(struct fore200e* fore200e, struct chunk* chunk, int size, int alignment, int direction) alignment 169 drivers/atm/fore200e.c if (alignment <= sizeof(int)) alignment 170 drivers/atm/fore200e.c alignment = 0; alignment 172 drivers/atm/fore200e.c chunk->alloc_size = size + alignment; alignment 179 drivers/atm/fore200e.c if (alignment > 0) alignment 180 drivers/atm/fore200e.c offset = FORE200E_ALIGN(chunk->alloc_addr, alignment); alignment 211 drivers/atm/fore200e.c int size, int nbr, int alignment) alignment 431 drivers/atm/idt77252.h #define ALIGN_ADDRESS(addr, alignment) \ alignment 432 drivers/atm/idt77252.h ((((u32)(addr)) + (((u32)(alignment))-1)) & ~(((u32)(alignment)) - 1)) alignment 1517 drivers/block/drbd/drbd_receiver.c int alignment; alignment 1525 drivers/block/drbd/drbd_receiver.c alignment = (bdev_discard_alignment(bdev) >> 9) % granularity; alignment 1536 drivers/block/drbd/drbd_receiver.c if (sector_div(tmp, granularity) != alignment) { alignment 1540 drivers/block/drbd/drbd_receiver.c tmp = start + granularity - alignment; alignment 160 drivers/bluetooth/hci_h4.c u8 alignment = hu->alignment ? hu->alignment : 1; alignment 256 drivers/bluetooth/hci_h4.c hu->padding = (skb->len - 1) % alignment; alignment 257 drivers/bluetooth/hci_h4.c hu->padding = (alignment - hu->padding) % alignment; alignment 264 drivers/bluetooth/hci_h4.c hu->padding = (skb->len - 1) % alignment; alignment 265 drivers/bluetooth/hci_h4.c hu->padding = (alignment - hu->padding) % alignment; alignment 500 drivers/bluetooth/hci_ldisc.c hu->alignment = 1; alignment 744 drivers/bluetooth/hci_nokia.c btdev->hu.alignment = 2; /* Nokia H4+ is word aligned */ alignment 84 drivers/bluetooth/hci_uart.h u8 alignment; alignment 765 drivers/clk/tegra/clk-dfll.c int vstep = td->soc->alignment.step_uv; alignment 804 drivers/clk/tegra/clk-dfll.c align_step = dev_pm_opp_get_voltage(opp) / td->soc->alignment.step_uv; alignment 808 drivers/clk/tegra/clk-dfll.c if ((td->lut_uv[i] / td->soc->alignment.step_uv) >= align_step) alignment 1531 drivers/clk/tegra/clk-dfll.c align_step = uV / td->soc->alignment.step_uv; alignment 1538 drivers/clk/tegra/clk-dfll.c reg_volt_id = reg_uV / td->soc->alignment.step_uv; alignment 1559 drivers/clk/tegra/clk-dfll.c align_step = uV / td->soc->alignment.step_uv; alignment 1566 drivers/clk/tegra/clk-dfll.c reg_volt_id = reg_uV / td->soc->alignment.step_uv; alignment 1791 drivers/clk/tegra/clk-dfll.c if (!td->soc->alignment.step_uv || !td->soc->alignment.offset_uv) { alignment 1797 drivers/clk/tegra/clk-dfll.c td->lut_uv[i] = td->soc->alignment.offset_uv + alignment 1798 drivers/clk/tegra/clk-dfll.c i * td->soc->alignment.step_uv; alignment 33 drivers/clk/tegra/clk-dfll.h struct rail_alignment alignment; alignment 598 drivers/clk/tegra/clk-tegra124-dfll-fcpu.c soc->alignment = align; alignment 895 drivers/crypto/chelsio/chcr_algo.c u16 alignment = 0; alignment 903 drivers/crypto/chelsio/chcr_algo.c alignment = ck_size == CHCR_KEYCTX_CIPHER_KEY_SIZE_192 ? 8 : 0; alignment 908 drivers/crypto/chelsio/chcr_algo.c keylen + alignment) >> 4; alignment 927 drivers/crypto/chelsio/chcr_algo.c u16 alignment = 0; alignment 934 drivers/crypto/chelsio/chcr_algo.c alignment = (ck_size == CHCR_KEYCTX_CIPHER_KEY_SIZE_192) ? 8 : 0; alignment 938 drivers/crypto/chelsio/chcr_algo.c keylen + alignment) >> 4; alignment 958 drivers/crypto/chelsio/chcr_algo.c u16 alignment = 0; alignment 972 drivers/crypto/chelsio/chcr_algo.c alignment = (ck_size == CHCR_KEYCTX_CIPHER_KEY_SIZE_192) ? 8 : 0; alignment 976 drivers/crypto/chelsio/chcr_algo.c keylen + alignment) >> 4; alignment 971 drivers/crypto/nx/nx-842-powernv.c .alignment = DDE_BUFFER_ALIGN, alignment 23 drivers/crypto/nx/nx-842-pseries.c .alignment = DDE_BUFFER_ALIGN, alignment 31 drivers/crypto/nx/nx-842-pseries.c if (!IS_ALIGNED(buf, nx842_pseries_constraints.alignment)) { alignment 34 drivers/crypto/nx/nx-842-pseries.c nx842_pseries_constraints.alignment); alignment 183 drivers/crypto/nx/nx-842.c if (adj_slen > slen || (u64)src % c->alignment) { alignment 197 drivers/crypto/nx/nx-842.c if ((u64)dst % c->alignment) { alignment 198 drivers/crypto/nx/nx-842.c dskip = (int)(PTR_ALIGN(dst, c->alignment) - dst); alignment 282 drivers/crypto/nx/nx-842.c (u64)p.in % c.alignment || alignment 286 drivers/crypto/nx/nx-842.c (u64)p.out % c.alignment); alignment 367 drivers/crypto/nx/nx-842.c if (slen < adj_slen || (u64)src % c->alignment) { alignment 383 drivers/crypto/nx/nx-842.c if (dlen < required_len || (u64)dst % c->alignment) { alignment 132 drivers/crypto/nx/nx-842.h int alignment; alignment 83 drivers/dma/dmatest.c static int alignment = -1; alignment 84 drivers/dma/dmatest.c module_param(alignment, int, 0644); alignment 85 drivers/dma/dmatest.c MODULE_PARM_DESC(alignment, "Custom data address alignment taken as 2^(alignment) (default: not used (-1))"); alignment 115 drivers/dma/dmatest.c int alignment; alignment 596 drivers/dma/dmatest.c align = params->alignment < 0 ? dev->copy_align : alignment 597 drivers/dma/dmatest.c params->alignment; alignment 600 drivers/dma/dmatest.c align = params->alignment < 0 ? dev->fill_align : alignment 601 drivers/dma/dmatest.c params->alignment; alignment 608 drivers/dma/dmatest.c align = params->alignment < 0 ? dev->xor_align : alignment 609 drivers/dma/dmatest.c params->alignment; alignment 614 drivers/dma/dmatest.c align = params->alignment < 0 ? dev->pq_align : alignment 615 drivers/dma/dmatest.c params->alignment; alignment 1086 drivers/dma/dmatest.c params->alignment = alignment; alignment 696 drivers/firmware/efi/libstub/efi-stub-helper.c unsigned long alignment, alignment 731 drivers/firmware/efi/libstub/efi-stub-helper.c alignment, &new_addr, min_addr); alignment 51 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c int alignment, u32 initial_domain, alignment 64 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c bp.byte_align = alignment; alignment 84 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c size, initial_domain, alignment, r); alignment 258 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c r = amdgpu_gem_object_create(adev, size, args->in.alignment, alignment 695 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c info.alignment = robj->tbo.mem.page_alignment << PAGE_SHIFT; alignment 48 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h int alignment, u32 initial_domain, alignment 340 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c uint32_t alignment = mem->page_alignment; alignment 343 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c alignment = pages_per_node; alignment 346 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c pages, alignment, 0, alignment 465 drivers/gpu/drm/arm/malidp_drv.c u8 alignment = malidp_hw_get_pitch_align(malidp->dev, 1); alignment 467 drivers/gpu/drm/arm/malidp_drv.c args->pitch = ALIGN(DIV_ROUND_UP(args->width * args->bpp, 8), alignment); alignment 166 drivers/gpu/drm/arm/malidp_mw.c u8 alignment = malidp_hw_get_pitch_align(malidp->dev, 0); alignment 168 drivers/gpu/drm/arm/malidp_mw.c if (fb->pitches[i] & (alignment - 1)) { alignment 528 drivers/gpu/drm/arm/malidp_planes.c u8 alignment = malidp_hw_get_pitch_align(mp->hwdev, rotated); alignment 531 drivers/gpu/drm/arm/malidp_planes.c & (alignment - 1)) && !(fb->modifier)) { alignment 722 drivers/gpu/drm/drm_bufs.c int alignment; alignment 736 drivers/gpu/drm/drm_bufs.c alignment = (request->flags & _DRM_PAGE_ALIGN) alignment 748 drivers/gpu/drm/drm_bufs.c DRM_DEBUG("alignment: %d\n", alignment); alignment 805 drivers/gpu/drm/drm_bufs.c buf->total = alignment; alignment 830 drivers/gpu/drm/drm_bufs.c offset += alignment; alignment 886 drivers/gpu/drm/drm_bufs.c int alignment; alignment 913 drivers/gpu/drm/drm_bufs.c alignment = (request->flags & _DRM_PAGE_ALIGN) alignment 1002 drivers/gpu/drm/drm_bufs.c offset += alignment, ++entry->buf_count) { alignment 1005 drivers/gpu/drm/drm_bufs.c buf->total = alignment; alignment 1091 drivers/gpu/drm/drm_bufs.c int alignment; alignment 1111 drivers/gpu/drm/drm_bufs.c alignment = (request->flags & _DRM_PAGE_ALIGN) alignment 1123 drivers/gpu/drm/drm_bufs.c DRM_DEBUG("alignment: %d\n", alignment); alignment 1167 drivers/gpu/drm/drm_bufs.c buf->total = alignment; alignment 1193 drivers/gpu/drm/drm_bufs.c offset += alignment; alignment 466 drivers/gpu/drm/drm_mm.c u64 size, u64 alignment, alignment 483 drivers/gpu/drm/drm_mm.c if (alignment <= 1) alignment 484 drivers/gpu/drm/drm_mm.c alignment = 0; alignment 489 drivers/gpu/drm/drm_mm.c remainder_mask = is_power_of_2(alignment) ? alignment - 1 : 0; alignment 518 drivers/gpu/drm/drm_mm.c if (alignment) { alignment 524 drivers/gpu/drm/drm_mm.c div64_u64_rem(adj_start, alignment, &rem); alignment 528 drivers/gpu/drm/drm_mm.c adj_start += alignment; alignment 683 drivers/gpu/drm/drm_mm.c u64 alignment, alignment 695 drivers/gpu/drm/drm_mm.c if (alignment <= 1) alignment 696 drivers/gpu/drm/drm_mm.c alignment = 0; alignment 699 drivers/gpu/drm/drm_mm.c scan->alignment = alignment; alignment 700 drivers/gpu/drm/drm_mm.c scan->remainder_mask = is_power_of_2(alignment) ? alignment - 1 : 0; alignment 764 drivers/gpu/drm/drm_mm.c if (scan->alignment) { alignment 770 drivers/gpu/drm/drm_mm.c div64_u64_rem(adj_start, scan->alignment, &rem); alignment 774 drivers/gpu/drm/drm_mm.c adj_start += scan->alignment; alignment 2080 drivers/gpu/drm/i915/display/intel_display.c u32 alignment; alignment 2084 drivers/gpu/drm/i915/display/intel_display.c alignment = intel_surf_alignment(fb, 0); alignment 2091 drivers/gpu/drm/i915/display/intel_display.c if (intel_scanout_needs_vtd_wa(dev_priv) && alignment < 256 * 1024) alignment 2092 drivers/gpu/drm/i915/display/intel_display.c alignment = 256 * 1024; alignment 2119 drivers/gpu/drm/i915/display/intel_display.c alignment, view, pinctl); alignment 2321 drivers/gpu/drm/i915/display/intel_display.c u32 alignment) alignment 2326 drivers/gpu/drm/i915/display/intel_display.c if (alignment) alignment 2327 drivers/gpu/drm/i915/display/intel_display.c alignment--; alignment 2350 drivers/gpu/drm/i915/display/intel_display.c offset_aligned = offset & ~alignment; alignment 2357 drivers/gpu/drm/i915/display/intel_display.c offset_aligned = offset & ~alignment; alignment 2359 drivers/gpu/drm/i915/display/intel_display.c *y = (offset & alignment) / pitch; alignment 2360 drivers/gpu/drm/i915/display/intel_display.c *x = ((offset & alignment) - *y * pitch) / cpp; alignment 2375 drivers/gpu/drm/i915/display/intel_display.c u32 alignment; alignment 2378 drivers/gpu/drm/i915/display/intel_display.c alignment = intel_cursor_alignment(dev_priv); alignment 2380 drivers/gpu/drm/i915/display/intel_display.c alignment = intel_surf_alignment(fb, color_plane); alignment 2383 drivers/gpu/drm/i915/display/intel_display.c pitch, rotation, alignment); alignment 2588 drivers/gpu/drm/i915/display/intel_display.c unsigned int alignment = intel_tile_size(dev_priv) - 1; alignment 2591 drivers/gpu/drm/i915/display/intel_display.c if (fb->pitches[i] & alignment) alignment 3359 drivers/gpu/drm/i915/display/intel_display.c u32 alignment = intel_surf_alignment(fb, 1); alignment 3373 drivers/gpu/drm/i915/display/intel_display.c aux_offset, aux_offset - alignment); alignment 3399 drivers/gpu/drm/i915/display/intel_display.c u32 alignment, offset, aux_offset = plane_state->color_plane[1].offset; alignment 3416 drivers/gpu/drm/i915/display/intel_display.c alignment = intel_surf_alignment(fb, 0); alignment 3425 drivers/gpu/drm/i915/display/intel_display.c offset, aux_offset & ~(alignment - 1)); alignment 3443 drivers/gpu/drm/i915/display/intel_display.c offset, offset - alignment); alignment 3457 drivers/gpu/drm/i915/display/intel_display.c offset, offset - alignment); alignment 416 drivers/gpu/drm/i915/gem/i915_gem_domain.c u32 alignment, alignment 457 drivers/gpu/drm/i915/gem/i915_gem_domain.c vma = i915_gem_object_ggtt_pin(obj, view, 0, alignment, alignment 462 drivers/gpu/drm/i915/gem/i915_gem_domain.c vma = i915_gem_object_ggtt_pin(obj, view, 0, alignment, flags); alignment 466 drivers/gpu/drm/i915/gem/i915_gem_domain.c vma->display_alignment = max_t(u64, vma->display_alignment, alignment); alignment 358 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (entry->alignment && !IS_ALIGNED(vma->node.start, entry->alignment)) alignment 442 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c if (unlikely(entry->alignment && alignment 443 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c !is_power_of_2_u64(entry->alignment))) alignment 610 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c entry->pad_to_size, entry->alignment, alignment 2814 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c exec2_list[i].alignment = exec_list[i].alignment; alignment 398 drivers/gpu/drm/i915/gem/i915_gem_object.h u32 alignment, alignment 30 drivers/gpu/drm/i915/gem/i915_gem_stolen.c unsigned alignment, u64 start, u64 end) alignment 43 drivers/gpu/drm/i915/gem/i915_gem_stolen.c size, alignment, 0, alignment 52 drivers/gpu/drm/i915/gem/i915_gem_stolen.c unsigned alignment) alignment 55 drivers/gpu/drm/i915/gem/i915_gem_stolen.c alignment, 0, U64_MAX); alignment 17 drivers/gpu/drm/i915/gem/i915_gem_stolen.h unsigned alignment); alignment 20 drivers/gpu/drm/i915/gem/i915_gem_stolen.h unsigned alignment, u64 start, alignment 163 drivers/gpu/drm/i915/gem/i915_gem_tiling.c u32 size, alignment; alignment 172 drivers/gpu/drm/i915/gem/i915_gem_tiling.c alignment = i915_gem_fence_alignment(i915, vma->size, tiling_mode, stride); alignment 173 drivers/gpu/drm/i915/gem/i915_gem_tiling.c if (!IS_ALIGNED(vma->node.start, alignment)) alignment 2291 drivers/gpu/drm/i915/i915_drv.h u64 alignment, alignment 2303 drivers/gpu/drm/i915/i915_drv.h u64 alignment, alignment 2381 drivers/gpu/drm/i915/i915_drv.h u64 min_size, u64 alignment, alignment 962 drivers/gpu/drm/i915/i915_gem.c u64 alignment, alignment 968 drivers/gpu/drm/i915/i915_gem.c return i915_gem_object_pin(obj, vm, view, size, alignment, alignment 977 drivers/gpu/drm/i915/i915_gem.c u64 alignment, alignment 1025 drivers/gpu/drm/i915/i915_gem.c if (i915_vma_misplaced(vma, size, alignment, flags)) { alignment 1039 drivers/gpu/drm/i915/i915_gem.c i915_ggtt_offset(vma), alignment, alignment 1055 drivers/gpu/drm/i915/i915_gem.c ret = i915_vma_pin(vma, size, alignment, flags); alignment 93 drivers/gpu/drm/i915/i915_gem_evict.c u64 min_size, u64 alignment, alignment 108 drivers/gpu/drm/i915/i915_gem_evict.c trace_i915_gem_evict(vm, min_size, alignment, flags); alignment 127 drivers/gpu/drm/i915/i915_gem_evict.c min_size, alignment, cache_level, alignment 3724 drivers/gpu/drm/i915/i915_gem_gtt.c u64 size, u64 alignment, unsigned long color, alignment 3734 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(alignment && !is_power_of_2(alignment)); alignment 3735 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(alignment && !IS_ALIGNED(alignment, I915_GTT_MIN_ALIGNMENT)); alignment 3745 drivers/gpu/drm/i915/i915_gem_gtt.c if (unlikely(round_up(start, alignment) > round_down(end - size, alignment))) alignment 3761 drivers/gpu/drm/i915/i915_gem_gtt.c if (alignment <= I915_GTT_MIN_ALIGNMENT) alignment 3762 drivers/gpu/drm/i915/i915_gem_gtt.c alignment = 0; alignment 3765 drivers/gpu/drm/i915/i915_gem_gtt.c size, alignment, color, alignment 3772 drivers/gpu/drm/i915/i915_gem_gtt.c size, alignment, color, alignment 3806 drivers/gpu/drm/i915/i915_gem_gtt.c size, alignment ?: I915_GTT_MIN_ALIGNMENT); alignment 3815 drivers/gpu/drm/i915/i915_gem_gtt.c err = i915_gem_evict_something(vm, size, alignment, color, alignment 3821 drivers/gpu/drm/i915/i915_gem_gtt.c size, alignment, color, alignment 599 drivers/gpu/drm/i915/i915_gem_gtt.h u64 size, u64 alignment, unsigned long color, alignment 436 drivers/gpu/drm/i915/i915_vma.c u64 size, u64 alignment, u64 flags) alignment 444 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(alignment && !is_power_of_2(alignment)); alignment 445 drivers/gpu/drm/i915/i915_vma.c if (alignment && !IS_ALIGNED(vma->node.start, alignment)) alignment 542 drivers/gpu/drm/i915/i915_vma.c i915_vma_insert(struct i915_vma *vma, u64 size, u64 alignment, u64 flags) alignment 554 drivers/gpu/drm/i915/i915_vma.c alignment = max(alignment, vma->display_alignment); alignment 557 drivers/gpu/drm/i915/i915_vma.c alignment = max_t(typeof(alignment), alignment 558 drivers/gpu/drm/i915/i915_vma.c alignment, vma->fence_alignment); alignment 562 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ALIGNED(alignment, I915_GTT_MIN_ALIGNMENT)); alignment 563 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!is_power_of_2(alignment)); alignment 604 drivers/gpu/drm/i915/i915_vma.c if (!IS_ALIGNED(offset, alignment) || alignment 643 drivers/gpu/drm/i915/i915_vma.c alignment = max(alignment, page_alignment); alignment 650 drivers/gpu/drm/i915/i915_vma.c size, alignment, cache_level, alignment 713 drivers/gpu/drm/i915/i915_vma.c u64 size, u64 alignment, u64 flags) alignment 728 drivers/gpu/drm/i915/i915_vma.c ret = i915_vma_insert(vma, size, alignment, flags); alignment 743 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(i915_vma_misplaced(vma, size, alignment, flags)); alignment 300 drivers/gpu/drm/i915/i915_vma.h u64 size, u64 alignment, u64 flags); alignment 322 drivers/gpu/drm/i915/i915_vma.h u64 size, u64 alignment, u64 flags); alignment 324 drivers/gpu/drm/i915/i915_vma.h i915_vma_pin(struct i915_vma *vma, u64 size, u64 alignment, u64 flags) alignment 335 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(i915_vma_misplaced(vma, size, alignment, flags)); alignment 339 drivers/gpu/drm/i915/i915_vma.h return __i915_vma_do_pin(vma, size, alignment, flags); alignment 1465 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c u64 alignment; alignment 1501 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c ii->size, ii->alignment, alignment 1507 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c ii->size, ii->alignment, ii->start, ii->end, alignment 1072 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h unsigned int alignment = 0, bpp = 4; alignment 1079 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h alignment = 128; alignment 1082 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h alignment = 256; alignment 1087 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h alignment = 256; alignment 1093 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h return MSM_MEDIA_ALIGN(width * bpp, alignment); alignment 1098 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h unsigned int alignment = 0; alignment 1105 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h alignment = 32; alignment 1110 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h alignment = 16; alignment 1116 drivers/gpu/drm/msm/disp/dpu1/msm_media_info.h return MSM_MEDIA_ALIGN(height, alignment); alignment 645 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c u32 x_bits, y_bits, tmp, x_mask, y_mask, alignment; alignment 649 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c alignment = geom[fmt].x_shft + geom[fmt].y_shft; alignment 673 drivers/gpu/drm/omapdrm/omap_dmm_tiler.c return TIL_ADDR((tmp << alignment), orient, fmt); alignment 328 drivers/gpu/drm/qxl/qxl_drv.h int alignment, int initial_domain, alignment 46 drivers/gpu/drm/qxl/qxl_gem.c int alignment, int initial_domain, alignment 56 drivers/gpu/drm/qxl/qxl_gem.c if (alignment < PAGE_SIZE) alignment 57 drivers/gpu/drm/qxl/qxl_gem.c alignment = PAGE_SIZE; alignment 63 drivers/gpu/drm/qxl/qxl_gem.c size, initial_domain, alignment, r); alignment 578 drivers/gpu/drm/radeon/radeon.h int alignment, int initial_domain, alignment 48 drivers/gpu/drm/radeon/radeon_gem.c int alignment, int initial_domain, alignment 58 drivers/gpu/drm/radeon/radeon_gem.c if (alignment < PAGE_SIZE) { alignment 59 drivers/gpu/drm/radeon/radeon_gem.c alignment = PAGE_SIZE; alignment 73 drivers/gpu/drm/radeon/radeon_gem.c r = radeon_bo_create(rdev, size, alignment, kernel, initial_domain, alignment 82 drivers/gpu/drm/radeon/radeon_gem.c size, initial_domain, alignment, r); alignment 267 drivers/gpu/drm/radeon/radeon_gem.c r = radeon_gem_object_create(rdev, args->size, args->alignment, alignment 157 drivers/gpu/drm/selftests/test-drm_mm.c static u64 misalignment(struct drm_mm_node *node, u64 alignment) alignment 161 drivers/gpu/drm/selftests/test-drm_mm.c if (!alignment) alignment 164 drivers/gpu/drm/selftests/test-drm_mm.c div64_u64_rem(node->start, alignment, &rem); alignment 169 drivers/gpu/drm/selftests/test-drm_mm.c u64 size, u64 alignment, unsigned long color) alignment 184 drivers/gpu/drm/selftests/test-drm_mm.c if (misalignment(node, alignment)) { alignment 186 drivers/gpu/drm/selftests/test-drm_mm.c node->start, misalignment(node, alignment), alignment); alignment 526 drivers/gpu/drm/selftests/test-drm_mm.c u64 size, u64 alignment, unsigned long color, alignment 532 drivers/gpu/drm/selftests/test-drm_mm.c size, alignment, color, alignment 536 drivers/gpu/drm/selftests/test-drm_mm.c size, alignment, color, mode->name, err); alignment 540 drivers/gpu/drm/selftests/test-drm_mm.c if (!assert_node(node, mm, size, alignment, color)) { alignment 763 drivers/gpu/drm/selftests/test-drm_mm.c u64 size, u64 alignment, unsigned long color, alignment 770 drivers/gpu/drm/selftests/test-drm_mm.c size, alignment, color, alignment 775 drivers/gpu/drm/selftests/test-drm_mm.c size, alignment, color, mode->name, alignment 780 drivers/gpu/drm/selftests/test-drm_mm.c if (!assert_node(node, mm, size, alignment, color)) { alignment 1147 drivers/gpu/drm/selftests/test-drm_mm.c scan->size, scan->alignment, scan->color); alignment 1209 drivers/gpu/drm/selftests/test-drm_mm.c scan->size, count, scan->alignment, scan->color); alignment 1336 drivers/gpu/drm/selftests/test-drm_mm.c unsigned int alignment, alignment 1346 drivers/gpu/drm/selftests/test-drm_mm.c size, alignment, 0, alignment 1355 drivers/gpu/drm/selftests/test-drm_mm.c err = drm_mm_insert_node_generic(mm, &tmp, size, alignment, 0, alignment 1359 drivers/gpu/drm/selftests/test-drm_mm.c size, alignment); alignment 1371 drivers/gpu/drm/selftests/test-drm_mm.c if (!assert_node(&tmp, mm, size, alignment, 0) || alignment 1375 drivers/gpu/drm/selftests/test-drm_mm.c alignment, misalignment(&tmp, alignment), alignment 2089 drivers/gpu/drm/selftests/test-drm_mm.c unsigned int alignment, alignment 2100 drivers/gpu/drm/selftests/test-drm_mm.c size, alignment, color, alignment 2109 drivers/gpu/drm/selftests/test-drm_mm.c err = drm_mm_insert_node_generic(mm, &tmp, size, alignment, color, alignment 2113 drivers/gpu/drm/selftests/test-drm_mm.c size, alignment, color, err); alignment 2128 drivers/gpu/drm/selftests/test-drm_mm.c if (!assert_node(&tmp, mm, size, alignment, color)) { alignment 2131 drivers/gpu/drm/selftests/test-drm_mm.c alignment, misalignment(&tmp, alignment), tmp.start); alignment 857 drivers/ide/ide-cd.c unsigned int alignment; alignment 867 drivers/ide/ide-cd.c alignment = queue_dma_alignment(q) | q->dma_pad_mask; alignment 868 drivers/ide/ide-cd.c if ((unsigned long)buf & alignment alignment 70 drivers/infiniband/core/uverbs_std_types_dm.c ret = uverbs_copy_from(&attr.alignment, attrs, alignment 119 drivers/infiniband/hw/i40iw/i40iw_p.h u32 alignment); alignment 754 drivers/infiniband/hw/i40iw/i40iw_utils.c u32 alignment) alignment 760 drivers/infiniband/hw/i40iw/i40iw_utils.c mem->size = ALIGN(size, alignment); alignment 86 drivers/infiniband/hw/mlx5/cmd.c u64 length, u32 alignment) alignment 106 drivers/infiniband/hw/mlx5/cmd.c mlx5_alignment = (alignment < MLX5_MEMIC_BASE_ALIGN) ? 0 : alignment 107 drivers/infiniband/hw/mlx5/cmd.c alignment - MLX5_MEMIC_BASE_ALIGN; alignment 48 drivers/infiniband/hw/mlx5/cmd.h u64 length, u32 alignment); alignment 2298 drivers/infiniband/hw/mlx5/main.c dm->size, attr->alignment); alignment 2380 drivers/infiniband/hw/mlx5/main.c type, attr->length, attr->alignment); alignment 3827 drivers/iommu/amd_iommu.c int index, c, alignment = 1; alignment 3839 drivers/iommu/amd_iommu.c alignment = roundup_pow_of_two(count); alignment 3844 drivers/iommu/amd_iommu.c for (index = ALIGN(table->min_index, alignment), c = 0; alignment 3850 drivers/iommu/amd_iommu.c index = ALIGN(index + 1, alignment); alignment 247 drivers/media/platform/qcom/camss/camss-video.c unsigned int alignment) alignment 259 drivers/media/platform/qcom/camss/camss-video.c bytesperline = ALIGN(bytesperline, alignment); alignment 1043 drivers/media/platform/qcom/venus/hfi_helper.h u32 alignment; alignment 111 drivers/media/v4l2-core/v4l2-common.c unsigned int max, unsigned int alignment) alignment 114 drivers/media/v4l2-core/v4l2-common.c if (alignment) alignment 115 drivers/media/v4l2-core/v4l2-common.c x = round_up(x, alignment); alignment 106 drivers/misc/pci_endpoint_test.c size_t alignment; alignment 111 drivers/misc/pci_endpoint_test.c size_t alignment; alignment 336 drivers/misc/pci_endpoint_test.c size_t alignment = test->alignment; alignment 341 drivers/misc/pci_endpoint_test.c if (size > SIZE_MAX - alignment) alignment 349 drivers/misc/pci_endpoint_test.c orig_src_addr = dma_alloc_coherent(dev, size + alignment, alignment 357 drivers/misc/pci_endpoint_test.c if (alignment && !IS_ALIGNED(orig_src_phys_addr, alignment)) { alignment 358 drivers/misc/pci_endpoint_test.c src_phys_addr = PTR_ALIGN(orig_src_phys_addr, alignment); alignment 375 drivers/misc/pci_endpoint_test.c orig_dst_addr = dma_alloc_coherent(dev, size + alignment, alignment 383 drivers/misc/pci_endpoint_test.c if (alignment && !IS_ALIGNED(orig_dst_phys_addr, alignment)) { alignment 384 drivers/misc/pci_endpoint_test.c dst_phys_addr = PTR_ALIGN(orig_dst_phys_addr, alignment); alignment 411 drivers/misc/pci_endpoint_test.c dma_free_coherent(dev, size + alignment, orig_dst_addr, alignment 415 drivers/misc/pci_endpoint_test.c dma_free_coherent(dev, size + alignment, orig_src_addr, alignment 433 drivers/misc/pci_endpoint_test.c size_t alignment = test->alignment; alignment 437 drivers/misc/pci_endpoint_test.c if (size > SIZE_MAX - alignment) alignment 445 drivers/misc/pci_endpoint_test.c orig_addr = dma_alloc_coherent(dev, size + alignment, &orig_phys_addr, alignment 453 drivers/misc/pci_endpoint_test.c if (alignment && !IS_ALIGNED(orig_phys_addr, alignment)) { alignment 454 drivers/misc/pci_endpoint_test.c phys_addr = PTR_ALIGN(orig_phys_addr, alignment); alignment 486 drivers/misc/pci_endpoint_test.c dma_free_coherent(dev, size + alignment, orig_addr, orig_phys_addr); alignment 502 drivers/misc/pci_endpoint_test.c size_t alignment = test->alignment; alignment 506 drivers/misc/pci_endpoint_test.c if (size > SIZE_MAX - alignment) alignment 514 drivers/misc/pci_endpoint_test.c orig_addr = dma_alloc_coherent(dev, size + alignment, &orig_phys_addr, alignment 522 drivers/misc/pci_endpoint_test.c if (alignment && !IS_ALIGNED(orig_phys_addr, alignment)) { alignment 523 drivers/misc/pci_endpoint_test.c phys_addr = PTR_ALIGN(orig_phys_addr, alignment); alignment 549 drivers/misc/pci_endpoint_test.c dma_free_coherent(dev, size + alignment, orig_addr, orig_phys_addr); alignment 658 drivers/misc/pci_endpoint_test.c test->alignment = 0; alignment 669 drivers/misc/pci_endpoint_test.c test->alignment = data->alignment; alignment 794 drivers/misc/pci_endpoint_test.c .alignment = SZ_64K, alignment 598 drivers/mtd/ubi/cdev.c if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 || alignment 606 drivers/mtd/ubi/cdev.c if (req->alignment == 0) alignment 623 drivers/mtd/ubi/cdev.c if (req->alignment > ubi->leb_size) alignment 626 drivers/mtd/ubi/cdev.c n = req->alignment & (ubi->min_io_size - 1); alignment 627 drivers/mtd/ubi/cdev.c if (req->alignment != 1 && n) alignment 100 drivers/mtd/ubi/debug.c pr_err("\talignment %d\n", vol->alignment); alignment 132 drivers/mtd/ubi/debug.c pr_err("\talignment %d\n", be32_to_cpu(r->alignment)); alignment 198 drivers/mtd/ubi/debug.c pr_err("\talignment %d\n", req->alignment); alignment 77 drivers/mtd/ubi/kapi.c vi->alignment = vol->alignment; alignment 357 drivers/mtd/ubi/ubi-media.h __be32 alignment; alignment 355 drivers/mtd/ubi/ubi.h int alignment; alignment 34 drivers/mtd/ubi/vmt.c __ATTR(alignment, S_IRUGO, vol_attribute_show, NULL); alignment 90 drivers/mtd/ubi/vmt.c ret = sprintf(buf, "%d\n", vol->alignment); alignment 207 drivers/mtd/ubi/vmt.c vol->usable_leb_size = ubi->leb_size - ubi->leb_size % req->alignment; alignment 226 drivers/mtd/ubi/vmt.c vol->alignment = req->alignment; alignment 227 drivers/mtd/ubi/vmt.c vol->data_pad = ubi->leb_size % vol->alignment; alignment 285 drivers/mtd/ubi/vmt.c vtbl_rec.alignment = cpu_to_be32(vol->alignment); alignment 638 drivers/mtd/ubi/vmt.c int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; alignment 656 drivers/mtd/ubi/vmt.c if (vol->reserved_pebs < 0 || vol->alignment < 0 || vol->data_pad < 0 || alignment 661 drivers/mtd/ubi/vmt.c if (vol->alignment > ubi->leb_size || vol->alignment == 0) { alignment 666 drivers/mtd/ubi/vmt.c n = vol->alignment & (ubi->min_io_size - 1); alignment 667 drivers/mtd/ubi/vmt.c if (vol->alignment != 1 && n) { alignment 672 drivers/mtd/ubi/vmt.c n = ubi->leb_size % vol->alignment; alignment 752 drivers/mtd/ubi/vmt.c alignment = be32_to_cpu(ubi->vtbl[vol_id].alignment); alignment 762 drivers/mtd/ubi/vmt.c if (alignment != vol->alignment || data_pad != vol->data_pad || alignment 160 drivers/mtd/ubi/vtbl.c int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; alignment 169 drivers/mtd/ubi/vtbl.c alignment = be32_to_cpu(vtbl[i].alignment); alignment 193 drivers/mtd/ubi/vtbl.c if (reserved_pebs < 0 || alignment < 0 || data_pad < 0 || alignment 199 drivers/mtd/ubi/vtbl.c if (alignment > ubi->leb_size || alignment == 0) { alignment 204 drivers/mtd/ubi/vtbl.c n = alignment & (ubi->min_io_size - 1); alignment 205 drivers/mtd/ubi/vtbl.c if (alignment != 1 && n) { alignment 210 drivers/mtd/ubi/vtbl.c n = ubi->leb_size % alignment; alignment 539 drivers/mtd/ubi/vtbl.c vol->alignment = be32_to_cpu(vtbl[i].alignment); alignment 631 drivers/mtd/ubi/vtbl.c vol->alignment = UBI_LAYOUT_VOLUME_ALIGN; alignment 3668 drivers/net/ethernet/broadcom/bnx2.c u32 alignment, bool non_empty) alignment 3676 drivers/net/ethernet/broadcom/bnx2.c len & (alignment - 1)) alignment 26 drivers/net/ethernet/intel/i40e/i40e_alloc.h u64 size, u32 alignment); alignment 116 drivers/net/ethernet/intel/i40e/i40e_main.c u64 size, u32 alignment) alignment 120 drivers/net/ethernet/intel/i40e/i40e_main.c mem->size = ALIGN(size, alignment); alignment 26 drivers/net/ethernet/intel/iavf/iavf_alloc.h u64 size, u32 alignment); alignment 74 drivers/net/ethernet/intel/iavf/iavf_main.c u64 size, u32 alignment) alignment 81 drivers/net/ethernet/intel/iavf/iavf_main.c mem->size = ALIGN(size, alignment); alignment 1043 drivers/pci/controller/pcie-rcar.c u64 alignment = 1ULL << nr_zeros; alignment 1045 drivers/pci/controller/pcie-rcar.c size = min(range->size, alignment); alignment 397 drivers/pci/hotplug/cpqphp_ctrl.c struct pci_resource **orig_head, u32 alignment) alignment 427 drivers/pci/hotplug/cpqphp_ctrl.c if (node->length & (alignment - 1)) { alignment 436 drivers/pci/hotplug/cpqphp_ctrl.c temp_dword = (node->length | (alignment-1)) + 1 - alignment; alignment 449 drivers/pci/hotplug/cpqphp_ctrl.c if (node->length < alignment) alignment 473 drivers/pci/hotplug/cpqphp_ctrl.c static struct pci_resource *do_bridge_resource_split(struct pci_resource **head, u32 alignment) alignment 493 drivers/pci/hotplug/cpqphp_ctrl.c if (node->length < alignment) alignment 496 drivers/pci/hotplug/cpqphp_ctrl.c if (node->base & (alignment - 1)) { alignment 498 drivers/pci/hotplug/cpqphp_ctrl.c temp_dword = (node->base | (alignment-1)) + 1; alignment 499 drivers/pci/hotplug/cpqphp_ctrl.c if ((node->length - (temp_dword - node->base)) < alignment) alignment 506 drivers/pci/hotplug/cpqphp_ctrl.c if (node->length & (alignment - 1)) alignment 355 drivers/pnp/pnpacpi/rsparser.c io->alignment, io->address_length, flags); alignment 375 drivers/pnp/pnpacpi/rsparser.c p->alignment, p->address_length, flags); alignment 387 drivers/pnp/pnpacpi/rsparser.c p->alignment, p->address_length, flags); alignment 775 drivers/pnp/pnpacpi/rsparser.c io->alignment = 0; /* Correct? */ alignment 816 drivers/pnp/pnpacpi/rsparser.c memory24->alignment = 0; alignment 840 drivers/pnp/pnpacpi/rsparser.c memory32->alignment = 0; alignment 844 drivers/pnp/pnpacpi/rsparser.c memory32->alignment = 0; alignment 138 drivers/ps3/ps3stor_lib.c int error, res, alignment; alignment 166 drivers/ps3/ps3stor_lib.c alignment = min(__ffs(dev->bounce_size), alignment 168 drivers/ps3/ps3stor_lib.c if (alignment < 12) { alignment 174 drivers/ps3/ps3stor_lib.c } else if (alignment < 16) alignment 370 drivers/s390/char/sclp_cmd.c unsigned long long alignment) alignment 374 drivers/s390/char/sclp_cmd.c start_align = roundup(*start, alignment); alignment 375 drivers/s390/char/sclp_cmd.c size_align = rounddown(*start + *size, alignment) - start_align; alignment 932 drivers/scsi/aic7xxx/aic79xx_osm.c bus_size_t alignment, bus_size_t boundary, alignment 951 drivers/scsi/aic7xxx/aic79xx_osm.c dmat->alignment = alignment; alignment 138 drivers/scsi/aic7xxx/aic79xx_osm.h bus_size_t alignment; alignment 827 drivers/scsi/aic7xxx/aic7xxx_osm.c bus_size_t alignment, bus_size_t boundary, alignment 846 drivers/scsi/aic7xxx/aic7xxx_osm.c dmat->alignment = alignment; alignment 151 drivers/scsi/aic7xxx/aic7xxx_osm.h bus_size_t alignment; alignment 156 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[i].alignment), alignment 267 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[AAP1].alignment = 32; alignment 273 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IOP].alignment = 32; alignment 280 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[CI+i].alignment = 4; alignment 289 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IB+i].alignment = 128; alignment 296 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[IB+i].alignment = 64; alignment 305 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[PI+i].alignment = 4; alignment 314 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[OB+i].alignment = 128; alignment 322 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[OB+i].alignment = 64; alignment 350 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[FORENSIC_MEM].alignment = 0x10000; alignment 358 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->memoryMap.region[i].alignment) != 0) { alignment 317 drivers/scsi/pm8001/pm8001_sas.h u32 alignment; alignment 2279 drivers/scsi/sd.c unsigned int alignment; alignment 2343 drivers/scsi/sd.c alignment = ((buffer[14] & 0x3f) << 8 | buffer[15]) * sector_size; alignment 2344 drivers/scsi/sd.c blk_queue_alignment_offset(sdp->request_queue, alignment); alignment 2345 drivers/scsi/sd.c if (alignment && sdkp->first_scan) alignment 2347 drivers/scsi/sd.c "physical block alignment offset: %u\n", alignment); alignment 44 drivers/staging/rtl8712/rtl8712_recv.c int alignment = 0; alignment 79 drivers/staging/rtl8712/rtl8712_recv.c alignment = tmpaddr & (RECVBUFF_ALIGN_SZ - 1); alignment 80 drivers/staging/rtl8712/rtl8712_recv.c skb_reserve(pskb, (RECVBUFF_ALIGN_SZ - alignment)); alignment 247 drivers/staging/rtl8712/usb_ops_linux.c int alignment = 0; alignment 270 drivers/staging/rtl8712/usb_ops_linux.c alignment = tmpaddr & (RECVBUFF_ALIGN_SZ - 1); alignment 272 drivers/staging/rtl8712/usb_ops_linux.c (RECVBUFF_ALIGN_SZ - alignment)); alignment 440 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c SIZE_PTR alignment = 0; alignment 448 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c alignment = tmpaddr & (RECVBUFF_ALIGN_SZ-1); alignment 449 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c skb_reserve(precvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); alignment 915 drivers/staging/rtl8723bs/hal/sdio_ops.c SIZE_PTR alignment = 0; alignment 923 drivers/staging/rtl8723bs/hal/sdio_ops.c alignment = tmpaddr & (RECVBUFF_ALIGN_SZ - 1); alignment 924 drivers/staging/rtl8723bs/hal/sdio_ops.c skb_reserve(recvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); alignment 1239 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c port->current_buffer.alignment = 0; alignment 1245 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c camera_port->current_buffer.alignment = 0; alignment 709 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->minimum_buffer.size, port->minimum_buffer.alignment); alignment 714 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->recommended_buffer.alignment); alignment 718 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->current_buffer.size, port->current_buffer.alignment); alignment 753 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c p->buffer_alignment_min = port->minimum_buffer.alignment; alignment 873 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->minimum_buffer.alignment = alignment 876 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c port->recommended_buffer.alignment = alignment 39 drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.h u32 alignment; /* alignment of buffers */ alignment 534 drivers/target/target_core_device.c u32 alignment; alignment 539 drivers/target/target_core_device.c alignment = max(1ul, PAGE_SIZE / block_size); alignment 540 drivers/target/target_core_device.c aligned_max_sectors = rounddown(max_sectors, alignment); alignment 155 fs/btrfs/tests/free-space-tree-tests.c u32 alignment) alignment 169 fs/btrfs/tests/free-space-tree-tests.c u32 alignment) alignment 190 fs/btrfs/tests/free-space-tree-tests.c u32 alignment) alignment 193 fs/btrfs/tests/free-space-tree-tests.c {cache->key.objectid + alignment, alignment 194 fs/btrfs/tests/free-space-tree-tests.c cache->key.offset - alignment}, alignment 199 fs/btrfs/tests/free-space-tree-tests.c cache->key.objectid, alignment); alignment 214 fs/btrfs/tests/free-space-tree-tests.c u32 alignment) alignment 217 fs/btrfs/tests/free-space-tree-tests.c {cache->key.objectid, cache->key.offset - alignment}, alignment 223 fs/btrfs/tests/free-space-tree-tests.c cache->key.offset - alignment, alignment 224 fs/btrfs/tests/free-space-tree-tests.c alignment); alignment 238 fs/btrfs/tests/free-space-tree-tests.c u32 alignment) alignment 241 fs/btrfs/tests/free-space-tree-tests.c {cache->key.objectid, alignment}, alignment 242 fs/btrfs/tests/free-space-tree-tests.c {cache->key.objectid + 2 * alignment, alignment 243 fs/btrfs/tests/free-space-tree-tests.c cache->key.offset - 2 * alignment}, alignment 248 fs/btrfs/tests/free-space-tree-tests.c cache->key.objectid + alignment, alignment 249 fs/btrfs/tests/free-space-tree-tests.c alignment); alignment 263 fs/btrfs/tests/free-space-tree-tests.c u32 alignment) alignment 266 fs/btrfs/tests/free-space-tree-tests.c {cache->key.objectid, 2 * alignment}, alignment 279 fs/btrfs/tests/free-space-tree-tests.c alignment); alignment 286 fs/btrfs/tests/free-space-tree-tests.c cache->key.objectid + alignment, alignment 287 fs/btrfs/tests/free-space-tree-tests.c alignment); alignment 301 fs/btrfs/tests/free-space-tree-tests.c u32 alignment) alignment 304 fs/btrfs/tests/free-space-tree-tests.c {cache->key.objectid + alignment, 2 * alignment}, alignment 317 fs/btrfs/tests/free-space-tree-tests.c cache->key.objectid + 2 * alignment, alignment 318 fs/btrfs/tests/free-space-tree-tests.c alignment); alignment 325 fs/btrfs/tests/free-space-tree-tests.c cache->key.objectid + alignment, alignment 326 fs/btrfs/tests/free-space-tree-tests.c alignment); alignment 340 fs/btrfs/tests/free-space-tree-tests.c u32 alignment) alignment 343 fs/btrfs/tests/free-space-tree-tests.c {cache->key.objectid, 3 * alignment}, alignment 356 fs/btrfs/tests/free-space-tree-tests.c alignment); alignment 363 fs/btrfs/tests/free-space-tree-tests.c cache->key.objectid + 2 * alignment, alignment 364 fs/btrfs/tests/free-space-tree-tests.c alignment); alignment 371 fs/btrfs/tests/free-space-tree-tests.c cache->key.objectid + alignment, alignment 372 fs/btrfs/tests/free-space-tree-tests.c alignment); alignment 386 fs/btrfs/tests/free-space-tree-tests.c u32 alignment) alignment 389 fs/btrfs/tests/free-space-tree-tests.c {cache->key.objectid, alignment}, alignment 390 fs/btrfs/tests/free-space-tree-tests.c {cache->key.objectid + 2 * alignment, alignment}, alignment 391 fs/btrfs/tests/free-space-tree-tests.c {cache->key.objectid + 4 * alignment, alignment}, alignment 404 fs/btrfs/tests/free-space-tree-tests.c alignment); alignment 411 fs/btrfs/tests/free-space-tree-tests.c cache->key.objectid + 4 * alignment, alignment 412 fs/btrfs/tests/free-space-tree-tests.c alignment); alignment 419 fs/btrfs/tests/free-space-tree-tests.c cache->key.objectid + 2 * alignment, alignment 420 fs/btrfs/tests/free-space-tree-tests.c alignment); alignment 434 fs/btrfs/tests/free-space-tree-tests.c u32 alignment); alignment 437 fs/btrfs/tests/free-space-tree-tests.c u32 nodesize, u32 alignment) alignment 475 fs/btrfs/tests/free-space-tree-tests.c cache = btrfs_alloc_dummy_block_group(fs_info, 8 * alignment); alignment 509 fs/btrfs/tests/free-space-tree-tests.c ret = test_func(&trans, root->fs_info, cache, path, alignment); alignment 535 fs/btrfs/tests/free-space-tree-tests.c u32 nodesize, u32 alignment) alignment 540 fs/btrfs/tests/free-space-tree-tests.c ret = run_test(test_func, 0, sectorsize, nodesize, alignment); alignment 544 fs/btrfs/tests/free-space-tree-tests.c test_func, sectorsize, nodesize, alignment); alignment 548 fs/btrfs/tests/free-space-tree-tests.c ret = run_test(test_func, 1, sectorsize, nodesize, alignment); alignment 552 fs/btrfs/tests/free-space-tree-tests.c test_func, sectorsize, nodesize, alignment); alignment 100 fs/btrfs/tree-checker.c #define CHECK_FE_ALIGNED(leaf, slot, fi, name, alignment) \ alignment 102 fs/btrfs/tree-checker.c if (!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), (alignment))) \ alignment 106 fs/btrfs/tree-checker.c (alignment)); \ alignment 107 fs/btrfs/tree-checker.c (!IS_ALIGNED(btrfs_file_extent_##name((leaf), (fi)), (alignment))); \ alignment 276 fs/ceph/addr.c num_pages = calc_pages_for((u64)osd_data->alignment, alignment 733 fs/ceph/addr.c num_pages = calc_pages_for((u64)osd_data->alignment, alignment 825 fs/nfs/blocklayout/blocklayout.c struct nfs_page *req, unsigned int alignment, bool is_write) alignment 834 fs/nfs/blocklayout/blocklayout.c if (!IS_ALIGNED(req->wb_offset, alignment)) alignment 837 fs/nfs/blocklayout/blocklayout.c if (IS_ALIGNED(req->wb_bytes, alignment)) alignment 1711 fs/ntfs/layout.h u8 alignment; alignment 1740 fs/ntfs/layout.h u8 alignment; alignment 281 fs/xfs/libxfs/xfs_alloc.c if (args->alignment > 1 && len >= args->minlen) { alignment 282 fs/xfs/libxfs/xfs_alloc.c xfs_agblock_t aligned_bno = roundup(bno, args->alignment); alignment 304 fs/xfs/libxfs/xfs_alloc.c xfs_extlen_t alignment, /* target alignment */ alignment 329 fs/xfs/libxfs/xfs_alloc.c if ((newbno1 = roundup(freebno, alignment)) >= freeend) alignment 331 fs/xfs/libxfs/xfs_alloc.c } else if (freeend >= wantend && alignment > 1) { alignment 332 fs/xfs/libxfs/xfs_alloc.c newbno1 = roundup(wantbno, alignment); alignment 333 fs/xfs/libxfs/xfs_alloc.c newbno2 = newbno1 - alignment; alignment 352 fs/xfs/libxfs/xfs_alloc.c } else if (alignment > 1) { alignment 353 fs/xfs/libxfs/xfs_alloc.c newbno1 = roundup(freeend - wantlen, alignment); alignment 355 fs/xfs/libxfs/xfs_alloc.c newbno1 - alignment >= freebno) alignment 356 fs/xfs/libxfs/xfs_alloc.c newbno1 -= alignment; alignment 734 fs/xfs/libxfs/xfs_alloc.c if (args->minlen != 1 || args->alignment != 1 || alignment 817 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->alignment > 0); alignment 844 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->agbno % args->alignment == 0); alignment 893 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->alignment == 1); alignment 1046 fs/xfs/libxfs/xfs_alloc.c args->alignment, alignment 1194 fs/xfs/libxfs/xfs_alloc.c if (ltlen || args->alignment > 1) { alignment 1233 fs/xfs/libxfs/xfs_alloc.c args->alignment, args->datatype, ltbnoa, alignment 1381 fs/xfs/libxfs/xfs_alloc.c args->alignment, args->datatype, ltbnoa, alignment 1398 fs/xfs/libxfs/xfs_alloc.c args->alignment, args->datatype, gtbnoa, alignment 1451 fs/xfs/libxfs/xfs_alloc.c (void)xfs_alloc_compute_diff(args->agbno, rlen, args->alignment, alignment 1517 fs/xfs/libxfs/xfs_alloc.c args->maxlen + args->alignment - 1, &i))) alignment 2044 fs/xfs/libxfs/xfs_alloc.c alloc_len = args->minlen + (args->alignment - 1) + args->minalignslop; alignment 2334 fs/xfs/libxfs/xfs_alloc.c targs.alignment = targs.minlen = targs.prod = 1; alignment 2801 fs/xfs/libxfs/xfs_alloc.c if (args->alignment == 0) alignment 2802 fs/xfs/libxfs/xfs_alloc.c args->alignment = 1; alignment 2954 fs/xfs/libxfs/xfs_alloc.c ASSERT(args->agbno % args->alignment == 0); alignment 67 fs/xfs/libxfs/xfs_alloc.h xfs_extlen_t alignment; /* align answer to multiple of this */ alignment 3513 fs/xfs/libxfs/xfs_bmap.c args.alignment = stripe_align; alignment 3519 fs/xfs/libxfs/xfs_bmap.c if (blen > args.alignment && blen <= args.maxlen) alignment 3520 fs/xfs/libxfs/xfs_bmap.c args.minlen = blen - args.alignment; alignment 3531 fs/xfs/libxfs/xfs_bmap.c args.alignment = 1; alignment 3550 fs/xfs/libxfs/xfs_bmap.c args.alignment = 1; alignment 3571 fs/xfs/libxfs/xfs_bmap.c args.alignment = stripe_align; alignment 3585 fs/xfs/libxfs/xfs_bmap.c args.alignment = 0; alignment 678 fs/xfs/libxfs/xfs_ialloc.c args.alignment = 1; alignment 711 fs/xfs/libxfs/xfs_ialloc.c args.alignment = args.mp->m_dalign; alignment 714 fs/xfs/libxfs/xfs_ialloc.c args.alignment = igeo->cluster_align; alignment 743 fs/xfs/libxfs/xfs_ialloc.c args.alignment = igeo->cluster_align; alignment 759 fs/xfs/libxfs/xfs_ialloc.c args.alignment = args.mp->m_sb.sb_spino_align; alignment 475 fs/xfs/scrub/repair.c args.alignment = 1; alignment 1579 fs/xfs/xfs_trace.h __field(xfs_extlen_t, alignment) alignment 1600 fs/xfs/xfs_trace.h __entry->alignment = args->alignment; alignment 1624 fs/xfs/xfs_trace.h __entry->alignment, alignment 169 include/acpi/acrestyp.h u8 alignment; alignment 217 include/acpi/acrestyp.h u16 alignment; alignment 225 include/acpi/acrestyp.h u32 alignment; alignment 1423 include/acpi/actbl2.h u16 alignment; alignment 228 include/drm/drm_mm.h u64 alignment; alignment 406 include/drm/drm_mm.h u64 alignment, alignment 431 include/drm/drm_mm.h u64 size, u64 alignment, alignment 436 include/drm/drm_mm.h size, alignment, color, alignment 506 include/drm/drm_mm.h u64 size, u64 alignment, unsigned long color, alignment 532 include/drm/drm_mm.h u64 alignment, alignment 537 include/drm/drm_mm.h size, alignment, color, alignment 1086 include/linux/blkdev.h unsigned int alignment); alignment 1353 include/linux/blkdev.h unsigned int alignment = sector_div(sector, granularity >> SECTOR_SHIFT) alignment 1356 include/linux/blkdev.h return (granularity + lim->alignment_offset - alignment) % granularity; alignment 1382 include/linux/blkdev.h unsigned int alignment, granularity, offset; alignment 1388 include/linux/blkdev.h alignment = lim->discard_alignment >> SECTOR_SHIFT; alignment 1397 include/linux/blkdev.h offset = (granularity + alignment - offset) % granularity; alignment 1470 include/linux/blkdev.h unsigned int alignment = queue_dma_alignment(q) | q->dma_pad_mask; alignment 1471 include/linux/blkdev.h return !(addr & alignment) && !(len & alignment); alignment 180 include/linux/ceph/messenger.h unsigned int alignment; /* first page */ alignment 361 include/linux/ceph/messenger.h size_t length, size_t alignment, bool own_pages); alignment 69 include/linux/ceph/osd_client.h u32 alignment; alignment 408 include/linux/ceph/osd_client.h u32 alignment, bool pages_from_pool, alignment 427 include/linux/ceph/osd_client.h u32 alignment, bool pages_from_pool, alignment 452 include/linux/ceph/osd_client.h u32 alignment, bool pages_from_pool, alignment 461 include/linux/ceph/osd_client.h u32 alignment, bool pages_from_pool, alignment 29 include/linux/cma.h phys_addr_t alignment, unsigned int order_per_bit, alignment 1608 include/linux/efi.h unsigned long alignment, alignment 945 include/linux/filter.h unsigned int alignment, alignment 108 include/linux/mtd/ubi.h int alignment; alignment 390 include/rdma/ib_verbs.h u32 alignment; alignment 15 include/sound/wavefront.h of 22 bytes, corresponding to 16-bit alignment (as would have been alignment 140 include/uapi/drm/amdgpu_drm.h __u64 alignment; alignment 644 include/uapi/drm/i915_drm.h int alignment; alignment 891 include/uapi/drm/i915_drm.h __u64 alignment; alignment 941 include/uapi/drm/i915_drm.h __u64 alignment; alignment 1159 include/uapi/drm/i915_drm.h __u64 alignment; alignment 736 include/uapi/drm/radeon_drm.h int alignment; alignment 815 include/uapi/drm/radeon_drm.h __u64 alignment; alignment 340 include/uapi/mtd/ubi-user.h __s32 alignment; alignment 797 kernel/bpf/core.c unsigned int alignment, alignment 824 kernel/bpf/core.c start = (get_random_int() % hole) & ~(alignment - 1); alignment 665 lib/genalloc.c struct genpool_data_align *alignment; alignment 669 lib/genalloc.c alignment = data; alignment 671 lib/genalloc.c align_mask = ((alignment->align + (1UL << order) - 1) >> order) - 1; alignment 672 lib/genalloc.c align_off = (start_addr & (alignment->align - 1)) >> order; alignment 276 lib/ubsan.c pr_err("which requires %ld byte alignment\n", data->alignment); alignment 302 lib/ubsan.c else if (data->alignment && !IS_ALIGNED(ptr, data->alignment)) alignment 316 lib/ubsan.c .alignment = data->alignment, alignment 331 lib/ubsan.c .alignment = 1UL << data->log_alignment, alignment 36 lib/ubsan.h unsigned long alignment; alignment 50 lib/ubsan.h unsigned long alignment; alignment 180 mm/cma.c phys_addr_t alignment; alignment 192 mm/cma.c alignment = PAGE_SIZE << alignment 196 mm/cma.c if (!IS_ALIGNED(alignment >> PAGE_SHIFT, 1 << order_per_bit)) alignment 199 mm/cma.c if (ALIGN(base, alignment) != base || ALIGN(size, alignment) != size) alignment 245 mm/cma.c phys_addr_t alignment, unsigned int order_per_bit, alignment 260 mm/cma.c __func__, &size, &base, &limit, &alignment); alignment 270 mm/cma.c if (alignment && !is_power_of_2(alignment)) alignment 279 mm/cma.c alignment = max(alignment, (phys_addr_t)PAGE_SIZE << alignment 281 mm/cma.c if (fixed && base & (alignment - 1)) { alignment 284 mm/cma.c &base, &alignment); alignment 287 mm/cma.c base = ALIGN(base, alignment); alignment 288 mm/cma.c size = ALIGN(size, alignment); alignment 289 mm/cma.c limit &= ~(alignment - 1); alignment 341 mm/cma.c addr = memblock_phys_alloc_range(size, alignment, alignment 347 mm/cma.c addr = memblock_phys_alloc_range(size, alignment, base, alignment 945 net/ceph/messenger.c page_count = calc_pages_for(data->alignment, (u64)data->length); alignment 946 net/ceph/messenger.c cursor->page_offset = data->alignment & ~PAGE_MASK; alignment 3254 net/ceph/messenger.c int num_pages = calc_pages_for(data->alignment, data->length); alignment 3262 net/ceph/messenger.c size_t length, size_t alignment, bool own_pages) alignment 3273 net/ceph/messenger.c data->alignment = alignment & ~PAGE_MASK; alignment 133 net/ceph/osd_client.c struct page **pages, u64 length, u32 alignment, alignment 139 net/ceph/osd_client.c osd_data->alignment = alignment; alignment 192 net/ceph/osd_client.c u64 length, u32 alignment, alignment 198 net/ceph/osd_client.c ceph_osd_data_pages_init(osd_data, pages, length, alignment, alignment 205 net/ceph/osd_client.c u64 length, u32 alignment, alignment 211 net/ceph/osd_client.c ceph_osd_data_pages_init(osd_data, pages, length, alignment, alignment 292 net/ceph/osd_client.c u32 alignment, bool pages_from_pool, bool own_pages) alignment 297 net/ceph/osd_client.c ceph_osd_data_pages_init(osd_data, pages, length, alignment, alignment 324 net/ceph/osd_client.c u32 alignment, bool pages_from_pool, bool own_pages) alignment 329 net/ceph/osd_client.c ceph_osd_data_pages_init(osd_data, pages, length, alignment, alignment 360 net/ceph/osd_client.c num_pages = calc_pages_for((u64)osd_data->alignment, alignment 965 net/ceph/osd_client.c length, osd_data->alignment, false); alignment 524 net/netfilter/x_tables.c const size_t alignment) alignment 534 net/netfilter/x_tables.c if ((unsigned long)pos % alignment) alignment 1300 sound/pci/asihpi/hpi.h u16 mode, u16 alignment, u16 idle_bit); alignment 1027 sound/pci/asihpi/hpifunc.c u16 mode, u16 alignment, u16 idle_bit) alignment 1036 sound/pci/asihpi/hpifunc.c hm.u.d.u.data.format.format = (mode << 8) | (alignment & 0xff); alignment 644 tools/include/uapi/drm/i915_drm.h int alignment; alignment 891 tools/include/uapi/drm/i915_drm.h __u64 alignment; alignment 941 tools/include/uapi/drm/i915_drm.h __u64 alignment; alignment 1159 tools/include/uapi/drm/i915_drm.h __u64 alignment; alignment 201 tools/perf/arch/arm64/util/arm-spe.c sper->itr.alignment = 0; alignment 458 tools/perf/arch/x86/util/intel-bts.c btsr->itr.alignment = sizeof(struct branch); alignment 1999 tools/perf/builtin-trace.c int alignment = 0; alignment 2004 tools/perf/builtin-trace.c alignment = trace->args_alignment - printed; alignment 2005 tools/perf/builtin-trace.c fprintf(trace->output, "%*s= ?\n", alignment, " "); alignment 2101 tools/perf/builtin-trace.c int alignment = trace->args_alignment; alignment 2159 tools/perf/builtin-trace.c if (alignment > printed) alignment 2160 tools/perf/builtin-trace.c alignment -= printed; alignment 2162 tools/perf/builtin-trace.c alignment = 0; alignment 2164 tools/perf/builtin-trace.c fprintf(trace->output, ")%*s= ", alignment, " "); alignment 115 tools/perf/util/arm-spe-pkt-decoder.c unsigned int alignment = 1 << ((buf[0] & 0xf) + 1); alignment 117 tools/perf/util/arm-spe-pkt-decoder.c if (len < alignment) alignment 121 tools/perf/util/arm-spe-pkt-decoder.c return alignment - (((uintptr_t)buf) & (alignment - 1)); alignment 1301 tools/perf/util/auxtrace.c if (itr->alignment) { alignment 1302 tools/perf/util/auxtrace.c unsigned int unwanted = len1 % itr->alignment; alignment 338 tools/perf/util/auxtrace.h unsigned int alignment; alignment 583 tools/testing/selftests/kvm/lib/kvm_util.c size_t alignment; alignment 635 tools/testing/selftests/kvm/lib/kvm_util.c alignment = 0x100000; alignment 637 tools/testing/selftests/kvm/lib/kvm_util.c alignment = 1; alignment 641 tools/testing/selftests/kvm/lib/kvm_util.c alignment = max(huge_page_size, alignment); alignment 644 tools/testing/selftests/kvm/lib/kvm_util.c if (alignment > 1) alignment 645 tools/testing/selftests/kvm/lib/kvm_util.c region->mmap_size += alignment; alignment 657 tools/testing/selftests/kvm/lib/kvm_util.c region->host_mem = align(region->mmap_start, alignment); alignment 18 virt/kvm/arm/vgic/vgic-kvm-device.c phys_addr_t addr, phys_addr_t alignment) alignment 23 virt/kvm/arm/vgic/vgic-kvm-device.c if (!IS_ALIGNED(addr, alignment)) alignment 60 virt/kvm/arm/vgic/vgic-kvm-device.c phys_addr_t *addr_ptr, alignment; alignment 68 virt/kvm/arm/vgic/vgic-kvm-device.c alignment = SZ_4K; alignment 73 virt/kvm/arm/vgic/vgic-kvm-device.c alignment = SZ_4K; alignment 78 virt/kvm/arm/vgic/vgic-kvm-device.c alignment = SZ_64K; alignment 143 virt/kvm/arm/vgic/vgic-kvm-device.c r = vgic_check_ioaddr(kvm, addr_ptr, *addr, alignment); alignment 174 virt/kvm/arm/vgic/vgic.h phys_addr_t addr, phys_addr_t alignment);