Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 200 of 224) sorted by relevance

12

/linux-4.1.27/arch/cris/arch-v32/mm/
Dintmem.c59 int alignment = allocation->offset % align; in crisv32_intmem_alloc() local
60 alignment = alignment ? align - alignment : alignment; in crisv32_intmem_alloc()
63 allocation->size >= size + alignment) { in crisv32_intmem_alloc()
64 if (allocation->size > size + alignment) { in crisv32_intmem_alloc()
69 alignment; in crisv32_intmem_alloc()
71 alignment; in crisv32_intmem_alloc()
74 if (alignment) { in crisv32_intmem_alloc()
78 tmp->size = alignment; in crisv32_intmem_alloc()
80 allocation->offset += alignment; in crisv32_intmem_alloc()
/linux-4.1.27/mm/
Dcma.c174 phys_addr_t alignment; in cma_init_reserved_mem() local
186 alignment = PAGE_SIZE << max(MAX_ORDER - 1, pageblock_order); in cma_init_reserved_mem()
189 if (!IS_ALIGNED(alignment >> PAGE_SHIFT, 1 << order_per_bit)) in cma_init_reserved_mem()
192 if (ALIGN(base, alignment) != base || ALIGN(size, alignment) != size) in cma_init_reserved_mem()
230 phys_addr_t alignment, unsigned int order_per_bit, in cma_declare_contiguous() argument
250 __func__, &size, &base, &limit, &alignment); in cma_declare_contiguous()
260 if (alignment && !is_power_of_2(alignment)) in cma_declare_contiguous()
269 alignment = max(alignment, in cma_declare_contiguous()
271 base = ALIGN(base, alignment); in cma_declare_contiguous()
272 size = ALIGN(size, alignment); in cma_declare_contiguous()
[all …]
/linux-4.1.27/drivers/gpu/drm/
Ddrm_mm.c95 unsigned alignment,
100 unsigned alignment,
108 u64 size, unsigned alignment, in drm_mm_insert_helper() argument
126 if (alignment) { in drm_mm_insert_helper()
130 rem = do_div(tmp, alignment); in drm_mm_insert_helper()
135 adj_start += alignment - rem; in drm_mm_insert_helper()
233 u64 size, unsigned alignment, in drm_mm_insert_node_generic() argument
240 hole_node = drm_mm_search_free_generic(mm, size, alignment, in drm_mm_insert_node_generic()
245 drm_mm_insert_helper(hole_node, node, size, alignment, color, aflags); in drm_mm_insert_node_generic()
252 u64 size, unsigned alignment, in drm_mm_insert_helper_range() argument
[all …]
Ddrm_bufs.c609 int alignment; in drm_legacy_addbufs_agp() local
623 alignment = (request->flags & _DRM_PAGE_ALIGN) in drm_legacy_addbufs_agp()
635 DRM_DEBUG("alignment: %d\n", alignment); in drm_legacy_addbufs_agp()
692 buf->total = alignment; in drm_legacy_addbufs_agp()
717 offset += alignment; in drm_legacy_addbufs_agp()
773 int alignment; in drm_legacy_addbufs_pci() local
800 alignment = (request->flags & _DRM_PAGE_ALIGN) in drm_legacy_addbufs_pci()
888 offset += alignment, ++entry->buf_count) { in drm_legacy_addbufs_pci()
891 buf->total = alignment; in drm_legacy_addbufs_pci()
977 int alignment; in drm_legacy_addbufs_sg() local
[all …]
/linux-4.1.27/arch/mips/cavium-octeon/executive/
Dcvmx-bootmem.c76 void *cvmx_bootmem_alloc_range(uint64_t size, uint64_t alignment, in cvmx_bootmem_alloc_range() argument
81 cvmx_bootmem_phy_alloc(size, min_addr, max_addr, alignment, 0); in cvmx_bootmem_alloc_range()
90 uint64_t alignment) in cvmx_bootmem_alloc_address() argument
92 return cvmx_bootmem_alloc_range(size, alignment, address, in cvmx_bootmem_alloc_address()
96 void *cvmx_bootmem_alloc(uint64_t size, uint64_t alignment) in cvmx_bootmem_alloc() argument
98 return cvmx_bootmem_alloc_range(size, alignment, 0, 0); in cvmx_bootmem_alloc()
122 void *cvmx_bootmem_alloc_named(uint64_t size, uint64_t alignment, char *name) in cvmx_bootmem_alloc_named() argument
124 return cvmx_bootmem_alloc_named_range(size, 0, 0, alignment, name); in cvmx_bootmem_alloc_named()
186 uint64_t address_max, uint64_t alignment, in cvmx_bootmem_phy_alloc() argument
203 (unsigned long long)alignment); in cvmx_bootmem_phy_alloc()
[all …]
/linux-4.1.27/scripts/
Drecordmcount.pl165 my $alignment; # The .align value to use for $mcount_section
225 $alignment = 8;
235 $alignment = 4;
252 $alignment = 8;
258 $alignment = 2;
275 $alignment = 2;
281 $alignment = 3;
307 $alignment = 8;
374 $alignment = 8;
461 print FILE "\t.align $alignment\n" if (defined($alignment));
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-bootmem.h158 extern void *cvmx_bootmem_alloc(uint64_t size, uint64_t alignment);
174 uint64_t alignment);
189 extern void *cvmx_bootmem_alloc_range(uint64_t size, uint64_t alignment,
214 extern void *cvmx_bootmem_alloc_named(uint64_t size, uint64_t alignment,
295 uint64_t address_max, uint64_t alignment,
322 uint64_t alignment,
Docteon.h15 uint64_t alignment,
19 extern void *octeon_bootmem_alloc(uint64_t size, uint64_t alignment,
21 extern void *octeon_bootmem_alloc_range(uint64_t size, uint64_t alignment,
24 extern void *octeon_bootmem_alloc_named(uint64_t size, uint64_t alignment,
/linux-4.1.27/arch/powerpc/lib/
Drheap.c253 rh_info_t *rh_create(unsigned int alignment) in rh_create() argument
258 if ((alignment & (alignment - 1)) != 0) in rh_create()
265 info->alignment = alignment; in rh_create()
300 void rh_init(rh_info_t * info, unsigned int alignment, int max_blocks, in rh_init() argument
307 if ((alignment & (alignment - 1)) != 0) in rh_init()
310 info->alignment = alignment; in rh_init()
338 m = info->alignment - 1; in rh_attach_region()
383 m = info->alignment - 1; in rh_detach_region()
442 unsigned long rh_alloc_align(rh_info_t * info, int size, int alignment, const char *owner) in rh_alloc_align() argument
450 if (size <= 0 || (alignment & (alignment - 1)) != 0) in rh_alloc_align()
[all …]
/linux-4.1.27/include/drm/
Ddrm_mm.h226 unsigned alignment,
249 unsigned alignment, in drm_mm_insert_node() argument
252 return drm_mm_insert_node_generic(mm, node, size, alignment, 0, flags, in drm_mm_insert_node()
259 unsigned alignment,
286 unsigned alignment, in drm_mm_insert_node_in_range() argument
291 return drm_mm_insert_node_in_range_generic(mm, node, size, alignment, in drm_mm_insert_node_in_range()
306 unsigned alignment,
310 unsigned alignment,
/linux-4.1.27/arch/powerpc/include/asm/
Drheap.h27 unsigned int alignment; member
50 extern rh_info_t *rh_create(unsigned int alignment);
56 extern void rh_init(rh_info_t * info, unsigned int alignment, int max_blocks,
66 extern unsigned long rh_alloc_align(rh_info_t * info, int size, int alignment,
/linux-4.1.27/arch/um/drivers/
Dcow_user.c91 __u32 alignment; member
103 __u32 alignment; member
197 int sectorsize, int alignment, unsigned long long *size) in write_cow_header() argument
251 header->alignment = htobe32(alignment); in write_cow_header()
346 *align_out = be32toh(header->v3.alignment); in read_cow_header()
377 *align_out = be32toh(header->v3_b.alignment); in read_cow_header()
403 int alignment, int *bitmap_offset_out, in init_cow_file() argument
411 alignment, &size); in init_cow_file()
415 *bitmap_offset_out = ROUND_UP(sizeof(struct cow_header_v3), alignment); in init_cow_file()
416 cow_sizes(COW_VERSION, size, sectorsize, alignment, *bitmap_offset_out, in init_cow_file()
Dcow.h7 int sectorsize, int alignment, int *bitmap_offset_out,
18 int sectorsize, int alignment,
Dubd_kern.c696 int sectorsize, int alignment, int *bitmap_offset_out, in create_cow_file() argument
710 err = init_cow_file(fd, cow_file, backing_file, sectorsize, alignment, in create_cow_file()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_gem.c40 int alignment, int initial_domain, in qxl_gem_object_create() argument
50 if (alignment < PAGE_SIZE) in qxl_gem_object_create()
51 alignment = PAGE_SIZE; in qxl_gem_object_create()
57 size, initial_domain, alignment, r); in qxl_gem_object_create()
Dqxl_drv.h410 int alignment, int initial_domain,
/linux-4.1.27/Documentation/arm/
Dmem_alignment2 kernel code lately. Therefore the alignment fixup is now unconditionally
9 Of course this is a bad idea to rely on the alignment trap to perform
12 alignment trap can fixup misaligned access for the exception cases, but at
15 Now for user space applications, it is possible to configure the alignment
26 To change the alignment trap behavior, simply echo a number into
27 /proc/cpu/alignment. The number is made up from various bits:
51 echo 1 > /proc/sys/debug/alignment
D00-INDEX40 - alignment abort handler documentation
/linux-4.1.27/drivers/mtd/ubi/
Dvmt.c47 __ATTR(alignment, S_IRUGO, vol_attribute_show, NULL);
103 ret = sprintf(buf, "%d\n", vol->alignment); in vol_attribute_show()
255 vol->usable_leb_size = ubi->leb_size - ubi->leb_size % req->alignment; in ubi_create_volume()
274 vol->alignment = req->alignment; in ubi_create_volume()
275 vol->data_pad = ubi->leb_size % vol->alignment; in ubi_create_volume()
342 vtbl_rec.alignment = cpu_to_be32(vol->alignment); in ubi_create_volume()
704 int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; in self_check_volume() local
722 if (vol->reserved_pebs < 0 || vol->alignment < 0 || vol->data_pad < 0 || in self_check_volume()
727 if (vol->alignment > ubi->leb_size || vol->alignment == 0) { in self_check_volume()
732 n = vol->alignment & (ubi->min_io_size - 1); in self_check_volume()
[all …]
Dvtbl.c170 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; in vtbl_check() local
179 alignment = be32_to_cpu(vtbl[i].alignment); in vtbl_check()
203 if (reserved_pebs < 0 || alignment < 0 || data_pad < 0 || in vtbl_check()
209 if (alignment > ubi->leb_size || alignment == 0) { in vtbl_check()
214 n = alignment & (ubi->min_io_size - 1); in vtbl_check()
215 if (alignment != 1 && n) { in vtbl_check()
220 n = ubi->leb_size % alignment; in vtbl_check()
546 vol->alignment = be32_to_cpu(vtbl[i].alignment); in init_volumes()
625 vol->alignment = UBI_LAYOUT_VOLUME_ALIGN; in init_volumes()
Ddebug.c112 pr_err("\talignment %d\n", vol->alignment); in ubi_dump_vol_info()
144 pr_err("\talignment %d\n", be32_to_cpu(r->alignment)); in ubi_dump_vtbl_record()
210 pr_err("\talignment %d\n", req->alignment); in ubi_dump_mkvol_req()
Dcdev.c607 if (req->bytes < 0 || req->alignment < 0 || req->vol_type < 0 || in verify_mkvol_req()
615 if (req->alignment == 0) in verify_mkvol_req()
625 if (req->alignment > ubi->leb_size) in verify_mkvol_req()
628 n = req->alignment & (ubi->min_io_size - 1); in verify_mkvol_req()
629 if (req->alignment != 1 && n) in verify_mkvol_req()
Dubi-media.h367 __be32 alignment; member
Dkapi.c90 vi->alignment = vol->alignment; in ubi_do_get_volume_info()
Dubi.h332 int alignment; member
/linux-4.1.27/arch/metag/lib/
Dmemcpy.S33 ANDS D1Ar5, D1Ar1, #7 ! test destination alignment
38 ! destination address alignment (i.e we should never copy more than 7
54 ANDS D0Ar4, D0Ar4, #7 ! test source alignment
88 ! Save the number of bytes of mis-alignment in D0Ar4 for use later
91 ! if there is no mis-alignment after all, use the aligned copy loop
99 ! There are 3 mis-alignment cases to be considered. Less than 4 bytes, exactly
102 BLT $Lunaligned_1_2_3 ! use 1-3 byte mis-alignment loop
103 BZ $Lunaligned_4 ! use 4 byte mis-alignment loop
105 ! The mis-alignment is more than 4 bytes
163 ! The 4 byte mis-alignment case - this does not require any shifting, just a
Ddivsi3.S71 !! Calculate alignment using FFB instruction
Dmemmove.S36 ! test 8 byte alignment
/linux-4.1.27/arch/xtensa/lib/
Dmemset.S53 movi a6, 3 # for alignment tests
65 .align 4 # 1 mod 4 alignment for LOOPNEZ
66 .byte 0 # (0 mod 4 alignment for LBEG)
114 bbci.l a5, 0, .L20 # branch if dst alignment half-aligned
134 .byte 0 # 1 mod 4 alignment for LOOPNEZ
135 # (0 mod 4 alignment for LBEG)
Dusercopy.S128 .byte 0 # 1 mod 4 alignment for LOOPNEZ
129 # (0 mod 4 alignment for LBEG)
153 .align 4 # 1 mod 4 alignment for LOOPNEZ
154 .byte 0 # (0 mod 4 alignment for LBEG)
215 # (0 mod 4 alignment for LBEG)
Dstrncpy_user.S109 .align 4 # 1 mod 4 alignment for LOOPNEZ
110 .byte 0 # (0 mod 4 alignment for LBEG)
186 .align 4 # 1 mod 4 alignment for LOOPNEZ
187 .byte 0 # (0 mod 4 alignment for LBEG)
Dmemcopy.S78 .byte 0 # 1 mod 4 alignment for LOOPNEZ
79 # (0 mod 4 alignment for LBEG)
344 .byte 0 # 1 mod 4 alignment for LOOPNEZ
345 # (0 mod 4 alignment for LBEG)
/linux-4.1.27/arch/m32r/lib/
Dchecksum.S60 and3 r7, r0, #1 ; Check alignment.
61 beqz r7, 1f ; Jump if alignment is ok.
70 and3 r4, r0, #2 ; Check alignment.
71 beqz r4, 2f ; Jump if alignment is ok.
176 and3 r7, r0, #1 ; Check alignment.
177 beqz r7, 1f ; Jump if alignment is ok.
188 and3 r4, r0, #2 ; Check alignment.
189 beqz r4, 2f ; Jump if alignment is ok.
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem_evict.c75 int min_size, unsigned alignment, unsigned cache_level, in i915_gem_evict_something() argument
84 trace_i915_gem_evict(dev, min_size, alignment, flags); in i915_gem_evict_something()
112 alignment, cache_level, in i915_gem_evict_something()
115 drm_mm_init_scan(&vm->mm, min_size, alignment, cache_level); in i915_gem_evict_something()
Di915_ioc32.c157 int alignment; member
174 || __put_user(req32.alignment, &request->alignment) in compat_i915_alloc()
Di915_gem.c3433 unsigned alignment, in i915_gem_object_bind_to_vm() argument
3460 if (alignment == 0) in i915_gem_object_bind_to_vm()
3461 alignment = flags & PIN_MAPPABLE ? fence_alignment : in i915_gem_object_bind_to_vm()
3463 if (flags & PIN_MAPPABLE && alignment & (fence_alignment - 1)) { in i915_gem_object_bind_to_vm()
3464 DRM_DEBUG("Invalid object alignment requested %u\n", alignment); in i915_gem_object_bind_to_vm()
3495 size, alignment, in i915_gem_object_bind_to_vm()
3501 ret = i915_gem_evict_something(dev, vm, size, alignment, in i915_gem_object_bind_to_vm()
3881 u32 alignment, in i915_gem_object_pin_to_display_plane() argument
3919 ret = i915_gem_object_ggtt_pin(obj, view, alignment, in i915_gem_object_pin_to_display_plane()
4084 i915_vma_misplaced(struct i915_vma *vma, uint32_t alignment, uint64_t flags) in i915_vma_misplaced() argument
[all …]
Di915_gem_execbuffer.c604 ret = i915_gem_object_pin(obj, vma->vm, entry->alignment, flags); in i915_gem_execbuffer_reserve_vma()
608 entry->alignment, in i915_gem_execbuffer_reserve_vma()
667 if (entry->alignment && in eb_vma_misplaced()
668 vma->node.start & (entry->alignment - 1)) in eb_vma_misplaced()
1674 exec2_list[i].alignment = exec_list[i].alignment; in i915_gem_execbuffer()
Di915_drv.h2625 uint32_t alignment,
2630 uint32_t alignment,
2770 u32 alignment,
2870 uint32_t alignment, in i915_gem_obj_ggtt_pin() argument
2874 alignment, flags | PIN_GLOBAL); in i915_gem_obj_ggtt_pin()
2933 unsigned alignment,
Dintel_display.c2363 u32 alignment; in intel_pin_and_fence_fb_obj() local
2371 alignment = 256 * 1024; in intel_pin_and_fence_fb_obj()
2373 alignment = 128 * 1024; in intel_pin_and_fence_fb_obj()
2375 alignment = 4 * 1024; in intel_pin_and_fence_fb_obj()
2377 alignment = 64 * 1024; in intel_pin_and_fence_fb_obj()
2381 alignment = 256 * 1024; in intel_pin_and_fence_fb_obj()
2384 alignment = 0; in intel_pin_and_fence_fb_obj()
2392 alignment = 1 * 1024 * 1024; in intel_pin_and_fence_fb_obj()
2408 if (need_vtd_wa(dev) && alignment < 256 * 1024) in intel_pin_and_fence_fb_obj()
2409 alignment = 256 * 1024; in intel_pin_and_fence_fb_obj()
[all …]
/linux-4.1.27/block/
Dblk-settings.c543 unsigned int top, bottom, alignment, ret = 0; in blk_stack_limits() local
563 alignment = queue_limit_alignment_offset(b, start); in blk_stack_limits()
568 if (t->alignment_offset != alignment) { in blk_stack_limits()
572 bottom = max(b->physical_block_size, b->io_min) + alignment; in blk_stack_limits()
619 t->alignment_offset = lcm_not_zero(t->alignment_offset, alignment) in blk_stack_limits()
630 alignment = queue_limit_discard_alignment(b, start); in blk_stack_limits()
633 t->discard_alignment != alignment) { in blk_stack_limits()
635 bottom = b->discard_granularity + alignment; in blk_stack_limits()
646 t->discard_alignment = lcm_not_zero(t->discard_alignment, alignment) % in blk_stack_limits()
Dblk-lib.c47 int alignment; in blkdev_issue_discard() local
61 alignment = (bdev_discard_alignment(bdev) >> 9) % granularity; in blkdev_issue_discard()
104 sector_div(tmp, granularity) != alignment) { in blkdev_issue_discard()
105 end_sect = end_sect - alignment; in blkdev_issue_discard()
107 end_sect = end_sect * granularity + alignment; in blkdev_issue_discard()
/linux-4.1.27/Documentation/
Dunaligned-memory-access.txt27 Natural alignment
30 The rule mentioned above forms what we refer to as natural alignment:
34 When writing code, assume the target architecture has natural alignment
37 In reality, only a few architectures require natural alignment on all sizes
39 writing code that satisfies natural alignment requirements is the easiest way
91 Fortunately, the compiler understands the alignment constraints, so in the
117 For a natural alignment scheme, the compiler would only have to add a single
119 to satisfy alignment constraints for arrays of these structures.
128 architectural alignment requirements. However, again, the compiler is aware
129 of the alignment constraints and will generate extra instructions to perform
[all …]
DDMA-API.txt88 for alignment, like queue heads needing to be aligned on N-byte boundaries.
101 alignment requirement for this type of data is "align" (which is expressed
111 size and alignment requirements specified at creation time. Pass
481 Returns the processor cache alignment. This is the absolute minimum
482 alignment *and* width that you must observe when either mapping
488 of two for easy alignment.
DDMA-API-HOWTO.txt374 Neither type of DMA mapping has alignment restrictions that come from
430 Also, it understands common hardware constraints for alignment,
440 are as above. The device's hardware alignment requirement for this
944 Note that ARCH_DMA_MINALIGN is about DMA memory alignment
946 alignment constraints (e.g. the alignment constraints about 64-bit
Dstable_api_nonsense.txt55 data structures will contain different alignment of structures, and
/linux-4.1.27/Documentation/cris/
DREADME91 kmem_create: Forcing size word alignment - vm_area_struct
92 kmem_create: Forcing size word alignment - filp
96 kmem_create: Forcing size word alignment - kiobuf
97 kmem_create: Forcing size word alignment - bdev_cache
99 kmem_create: Forcing size word alignment - inode_cache
104 kmem_create: Forcing size word alignment - file lock cache
105 kmem_create: Forcing size word alignment - blkdev_requests
126 kmem_create: Forcing size word alignment - ip_dst_cache
/linux-4.1.27/arch/powerpc/sysdev/
Dppc4xx_ocm.c64 int alignment; member
213 ocm->alignment = 4; /* default 4 byte alignment */ in ocm_init_node()
216 ocm->nc.rh = rh_create(ocm->alignment); in ocm_init_node()
221 ocm->c.rh = rh_create(ocm->alignment); in ocm_init_node()
334 if (align < ocm->alignment) in ppc4xx_ocm_alloc()
335 align = ocm->alignment; in ppc4xx_ocm_alloc()
Dcpm_common.c148 cpm_muram_info.alignment = align; in cpm_muram_alloc()
189 cpm_muram_info.alignment = 1; in cpm_muram_alloc_fixed()
/linux-4.1.27/arch/sh/lib/
Dchecksum.S52 tst #3, r0 ! Check alignment.
53 bt/s 2f ! Jump if alignment is ok.
54 mov r4, r7 ! Keep a copy to check for alignment
56 tst #1, r0 ! Check alignment.
57 bt 21f ! Jump if alignment is boundary of 2bytes.
230 tst r0,r5 ! Check dest alignment.
231 bt 2f ! Jump if alignment is ok.
Dmemcpy-sh4.S261 ! alignment of src and dst.
/linux-4.1.27/include/linux/ceph/
Dosd_client.h63 u32 alignment; member
257 u32 alignment, bool pages_from_pool,
277 u32 alignment, bool pages_from_pool,
294 u32 alignment, bool pages_from_pool,
299 u32 alignment, bool pages_from_pool,
Dmessenger.h110 unsigned int alignment; /* first page */ member
287 size_t length, size_t alignment);
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_alloc.c156 if (args->alignment > 1 && len >= args->minlen) { in xfs_alloc_compute_aligned()
157 xfs_agblock_t aligned_bno = roundup(bno, args->alignment); in xfs_alloc_compute_aligned()
176 xfs_extlen_t alignment, /* target alignment */ in xfs_alloc_compute_diff() argument
200 if ((newbno1 = roundup(freebno, alignment)) >= freeend) in xfs_alloc_compute_diff()
202 } else if (freeend >= wantend && alignment > 1) { in xfs_alloc_compute_diff()
203 newbno1 = roundup(wantbno, alignment); in xfs_alloc_compute_diff()
204 newbno2 = newbno1 - alignment; in xfs_alloc_compute_diff()
223 } else if (alignment > 1) { in xfs_alloc_compute_diff()
224 newbno1 = roundup(freeend - wantlen, alignment); in xfs_alloc_compute_diff()
226 newbno1 - alignment >= freebno) in xfs_alloc_compute_diff()
[all …]
Dxfs_alloc.h113 xfs_extlen_t alignment; /* align answer to multiple of this */ member
Dxfs_ialloc.c412 args.alignment = 1; in xfs_ialloc_ag_alloc()
446 args.alignment = args.mp->m_dalign; in xfs_ialloc_ag_alloc()
449 args.alignment = xfs_ialloc_cluster_alignment(args.mp); in xfs_ialloc_ag_alloc()
478 args.alignment = xfs_ialloc_cluster_alignment(args.mp); in xfs_ialloc_ag_alloc()
Dxfs_bmap.c3761 args.alignment = stripe_align; in xfs_bmap_btalloc()
3767 if (blen > args.alignment && blen <= args.maxlen) in xfs_bmap_btalloc()
3768 args.minlen = blen - args.alignment; in xfs_bmap_btalloc()
3779 args.alignment = 1; in xfs_bmap_btalloc()
3798 args.alignment = 1; in xfs_bmap_btalloc()
3814 args.alignment = stripe_align; in xfs_bmap_btalloc()
3828 args.alignment = 0; in xfs_bmap_btalloc()
/linux-4.1.27/arch/x86/crypto/sha-mb/
Dsha1_mb_mgr_datastruct.S92 # RES_* macros take a name, a count and an optional alignment.
94 # default alignment is the base size.
/linux-4.1.27/arch/parisc/kernel/
Dpci.c202 resource_size_t size, resource_size_t alignment) in pcibios_align_resource() argument
209 (int) res->flags, size, alignment); in pcibios_align_resource()
215 mask = max(alignment, align) - 1; in pcibios_align_resource()
/linux-4.1.27/drivers/ps3/
Dps3stor_lib.c150 int error, res, alignment; in ps3stor_setup() local
178 alignment = min(__ffs(dev->bounce_size), in ps3stor_setup()
180 if (alignment < 12) { in ps3stor_setup()
186 } else if (alignment < 16) in ps3stor_setup()
/linux-4.1.27/drivers/acpi/acpica/
Drsio.c77 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.io.alignment),
78 AML_OFFSET(io.alignment),
Damlresrc.h176 u8 alignment; member
218 u16 alignment; member
229 u32 alignment; member
Drsdumpinfo.c115 {ACPI_RSD_UINT8, ACPI_RSD_OFFSET(io.alignment), "Alignment", NULL},
150 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(memory24.alignment), "Alignment",
165 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(memory32.alignment), "Alignment",
/linux-4.1.27/drivers/scsi/pm8001/
Dpm8001_init.c156 pm8001_ha->memoryMap.region[i].alignment), in pm8001_free()
269 pm8001_ha->memoryMap.region[AAP1].alignment = 32; in pm8001_alloc()
275 pm8001_ha->memoryMap.region[IOP].alignment = 32; in pm8001_alloc()
282 pm8001_ha->memoryMap.region[CI+i].alignment = 4; in pm8001_alloc()
291 pm8001_ha->memoryMap.region[IB+i].alignment = 128; in pm8001_alloc()
298 pm8001_ha->memoryMap.region[IB+i].alignment = 64; in pm8001_alloc()
307 pm8001_ha->memoryMap.region[PI+i].alignment = 4; in pm8001_alloc()
316 pm8001_ha->memoryMap.region[OB+i].alignment = 128; in pm8001_alloc()
324 pm8001_ha->memoryMap.region[OB+i].alignment = 64; in pm8001_alloc()
352 pm8001_ha->memoryMap.region[FORENSIC_MEM].alignment = 0x10000; in pm8001_alloc()
[all …]
Dpm8001_sas.h309 u32 alignment; member
/linux-4.1.27/arch/x86/lib/
Dchecksum_32.S59 testl $3, %esi # Check alignment.
60 jz 2f # Jump if alignment is ok.
61 testl $1, %esi # Check alignment.
62 jz 10f # Jump if alignment is boundary of 2 bytes.
301 testl $2, %edi # Check alignment.
302 jz 2f # Jump if alignment is ok.
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_mem.c238 if (alloc->alignment < 12) in radeon_mem_alloc()
239 alloc->alignment = 12; in radeon_mem_alloc()
241 block = alloc_block(*heap, alloc->size, alloc->alignment, file_priv); in radeon_mem_alloc()
Dradeon_gem.c45 int alignment, int initial_domain, in radeon_gem_object_create() argument
55 if (alignment < PAGE_SIZE) { in radeon_gem_object_create()
56 alignment = PAGE_SIZE; in radeon_gem_object_create()
70 r = radeon_bo_create(rdev, size, alignment, kernel, initial_domain, in radeon_gem_object_create()
79 size, initial_domain, alignment, r); in radeon_gem_object_create()
260 r = radeon_gem_object_create(rdev, args->size, args->alignment, in radeon_gem_create_ioctl()
Dradeon_ioc32.c294 int alignment; member
311 || __put_user(req32.alignment, &request->alignment) in compat_radeon_mem_alloc()
/linux-4.1.27/Documentation/networking/
Dradiotap-headers.txt56 - "alignment" is relative to the start of the ieee80211_radiotap_header, ie,
57 the first byte of the radiotap header. The absolute alignment of that first
60 0 for alignment purposes.
62 - the above point that there may be no absolute alignment for multibyte
Dde4x5.txt111 aligned DMA transfers and the Alphas get alignment traps with non
Dfilter.txt1043 are PTR_TO_CTX, PTR_TO_MAP, FRAME_PTR. They are bounds and alignment checked.
1054 certain fields within ctx structure with specified size and alignment.
1220 accesses the memory with incorrect alignment:
1241 accesses memory with correct alignment in one side of 'if' branch, but fails
Daltera_tse.txt142 length errors, or alignment errors.
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-net-cdc_ncm91 Divisor used for IN NTB Datagram payload alignment
107 NDP alignment modulus for NTBs on the IN pipe. Shall
122 OUT NTB Datagram alignment modulus
139 NDP alignment modulus for use in NTBs on the OUT
Dsysfs-block81 offset from the disk's natural alignment.
92 is offset from the disk's natural alignment.
163 natural alignment.
174 natural alignment.
Dsysfs-class-net-statistics69 alignment errors. Note that the specific meaning depends on
Dsysfs-kernel-slab29 alignment in bytes.
444 with metadata (debugging information and alignment) in bytes.
/linux-4.1.27/drivers/staging/rtl8723au/hal/
Drtl8723au_recv.c32 unsigned long alignment; in rtl8723au_init_recv_priv() local
80 alignment = tmpaddr & (RECVBUFF_ALIGN_SZ-1); in rtl8723au_init_recv_priv()
81 skb_reserve(pskb, (RECVBUFF_ALIGN_SZ - alignment)); in rtl8723au_init_recv_priv()
Dusb_ops_linux.c610 unsigned long alignment; in rtl8723au_read_port() local
638 alignment = tmpaddr & (RECVBUFF_ALIGN_SZ-1); in rtl8723au_read_port()
639 skb_reserve(precvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); in rtl8723au_read_port()
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-class-ubi72 alignment.
134 What: /sys/class/ubi/ubiX/ubiX_Y/alignment
139 Volume alignment - the value the logical eraseblock size of
143 size aligned to the alignment value.
211 eraseblock size of the device aligned on the volume alignment
/linux-4.1.27/drivers/pnp/pnpacpi/
Drsparser.c349 io->alignment, io->address_length, flags); in pnpacpi_parse_port_option()
369 p->alignment, p->address_length, flags); in pnpacpi_parse_mem24_option()
381 p->alignment, p->address_length, flags); in pnpacpi_parse_mem32_option()
769 io->alignment = 0; /* Correct? */ in pnpacpi_encode_io()
810 memory24->alignment = 0; in pnpacpi_encode_mem24()
834 memory32->alignment = 0; in pnpacpi_encode_mem32()
838 memory32->alignment = 0; in pnpacpi_encode_mem32()
/linux-4.1.27/arch/unicore32/mm/
DMakefile12 obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40e_alloc.h49 u64 size, u32 alignment);
Di40evf_main.c72 u64 size, u32 alignment) in i40evf_allocate_dma_mem_d() argument
79 mem->size = ALIGN(size, alignment); in i40evf_allocate_dma_mem_d()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_alloc.h49 u64 size, u32 alignment);
/linux-4.1.27/arch/alpha/lib/
Dev6-memcpy.S63 and $16, 63, $1 # E : get mod64 alignment
74 and $16, 63, $1 # E : get mod64 alignment
182 and $0, 7, $1 # E : dest alignment mod8
Dev6-memset.S137 addq $1, 8, $1 # E : Increment towards zero for alignment
314 addq $1, 8, $1 # E : Increment towards zero for alignment
501 addq $1, 8, $1 # E : Increment towards zero for alignment
Dev6-copy_user.S94 and $7,7,$1 # .. .. .. E : Check _current_ source alignment
/linux-4.1.27/include/acpi/
Dacrestyp.h203 u8 alignment; member
251 u16 alignment; member
259 u32 alignment; member
Dactbl3.h569 u16 alignment; member
/linux-4.1.27/include/linux/
Dcma.h24 phys_addr_t alignment, unsigned int order_per_bit,
Dblkdev.h1016 unsigned int alignment);
1280 unsigned int alignment = sector_div(sector, granularity >> 9) << 9; in queue_limit_alignment_offset() local
1282 return (granularity + lim->alignment_offset - alignment) % granularity; in queue_limit_alignment_offset()
1308 unsigned int alignment, granularity, offset; in queue_limit_discard_alignment() local
1314 alignment = lim->discard_alignment >> 9; in queue_limit_discard_alignment()
1323 offset = (granularity + alignment - offset) % granularity; in queue_limit_discard_alignment()
1370 unsigned int alignment = queue_dma_alignment(q) | q->dma_pad_mask; in blk_rq_aligned() local
1371 return !(addr & alignment) && !(len & alignment); in blk_rq_aligned()
Dfilter.h402 unsigned int alignment,
Defi.h1245 unsigned long alignment);
/linux-4.1.27/Documentation/devicetree/bindings/soc/fsl/
Dqman.txt100 - The alignment must be a muliptle of the memory size
123 alignment = <0 0x400000>;
129 alignment = <0 0x2000000>;
Dbman.txt83 - The alignment must be a muliptle of the memory size
106 alignment = <0 0x1000000>;
/linux-4.1.27/Documentation/devicetree/bindings/reserved-memory/
Dreserved-memory.txt38 alignment (optional) - length based on parent's #size-cells
39 - Address boundary for alignment of allocation.
103 alignment = <0x2000>;
/linux-4.1.27/arch/arm/lib/
Dcsumpartial.S76 tst td0, #1 @ check buffer alignment
111 tst buf, #3 @ Test destination alignment
Dcsumpartialcopygeneric.S97 tst dst, #3 @ Test destination alignment
106 tst src, #3 @ Test source alignment
168 adc sum, sum, #0 @ include C from dst alignment
/linux-4.1.27/arch/x86/kernel/
Dsetup.c520 const unsigned long long alignment = 16<<20; /* 16M */ in reserve_crashkernel_low() local
548 low_size, alignment); in reserve_crashkernel_low()
570 const unsigned long long alignment = 16<<20; /* 16M */ in reserve_crashkernel() local
595 crash_base = memblock_find_in_range(alignment, in reserve_crashkernel()
598 crash_size, alignment); in reserve_crashkernel()
/linux-4.1.27/include/uapi/drm/
Di915_drm.h377 int alignment; member
622 __u64 alignment; member
672 __u64 alignment; member
777 __u64 alignment; member
Dradeon_drm.h732 int alignment; member
811 uint64_t alignment; member
/linux-4.1.27/drivers/s390/char/
Dsclp_cmd.c394 unsigned long long start_align, size_align, alignment; in align_to_block_size() local
396 alignment = memory_block_size_bytes(); in align_to_block_size()
397 start_align = roundup(*start, alignment); in align_to_block_size()
398 size_align = rounddown(*start + *size, alignment) - start_align; in align_to_block_size()
/linux-4.1.27/arch/x86/um/
Dchecksum_32.S58 testl $2, %esi # Check alignment.
59 jz 2f # Jump if alignment is ok.
/linux-4.1.27/drivers/atm/
Didt77252.h428 #define ALIGN_ADDRESS(addr, alignment) \ argument
429 ((((u32)(addr)) + (((u32)(alignment))-1)) & ~(((u32)(alignment)) - 1))
Dfore200e.c88 #define FORE200E_ALIGN(addr, alignment) \ argument
89 ((((unsigned long)(addr) + (alignment - 1)) & ~(alignment - 1)) - (unsigned long)(addr))
178 fore200e_chunk_alloc(struct fore200e* fore200e, struct chunk* chunk, int size, int alignment, int d… in fore200e_chunk_alloc() argument
182 if (alignment <= sizeof(int)) in fore200e_chunk_alloc()
183 alignment = 0; in fore200e_chunk_alloc()
185 chunk->alloc_size = size + alignment; in fore200e_chunk_alloc()
193 if (alignment > 0) in fore200e_chunk_alloc()
194 offset = FORE200E_ALIGN(chunk->alloc_addr, alignment); in fore200e_chunk_alloc()
469 int size, int nbr, int alignment) in fore200e_pca_dma_chunk_alloc() argument
719 int size, int nbr, int alignment) in fore200e_sba_dma_chunk_alloc() argument
Dfirestream.c1384 static void *aligned_kmalloc(int size, gfp_t flags, int alignment) in aligned_kmalloc() argument
1388 if (alignment <= 0x10) { in aligned_kmalloc()
1390 if ((unsigned long)t & (alignment-1)) { in aligned_kmalloc()
1393 return aligned_kmalloc (size, flags, alignment * 4); in aligned_kmalloc()
/linux-4.1.27/include/uapi/mtd/
Dubi-user.h320 __s32 alignment; member
/linux-4.1.27/drivers/staging/rtl8712/
Dusb_ops_linux.c256 int alignment = 0; in r8712_usb_read_port() local
283 alignment = tmpaddr & (RECVBUFF_ALIGN_SZ-1); in r8712_usb_read_port()
285 (RECVBUFF_ALIGN_SZ - alignment)); in r8712_usb_read_port()
Drtl8712_recv.c56 int alignment = 0; in r8712_init_recv_priv() local
92 alignment = tmpaddr & (RECVBUFF_ALIGN_SZ-1); in r8712_init_recv_priv()
93 skb_reserve(pskb, (RECVBUFF_ALIGN_SZ - alignment)); in r8712_init_recv_priv()
/linux-4.1.27/include/linux/mtd/
Dubi.h121 int alignment; member
/linux-4.1.27/drivers/pci/hotplug/
Dcpqphp_ctrl.c411 struct pci_resource **orig_head, u32 alignment) in do_pre_bridge_resource_split() argument
441 if (node->length & (alignment -1)) { in do_pre_bridge_resource_split()
450 temp_dword = (node->length | (alignment-1)) + 1 - alignment; in do_pre_bridge_resource_split()
463 if (node->length < alignment) in do_pre_bridge_resource_split()
487 static struct pci_resource *do_bridge_resource_split(struct pci_resource **head, u32 alignment) in do_bridge_resource_split() argument
507 if (node->length < alignment) in do_bridge_resource_split()
510 if (node->base & (alignment - 1)) { in do_bridge_resource_split()
512 temp_dword = (node->base | (alignment-1)) + 1; in do_bridge_resource_split()
513 if ((node->length - (temp_dword - node->base)) < alignment) in do_bridge_resource_split()
520 if (node->length & (alignment - 1)) in do_bridge_resource_split()
/linux-4.1.27/arch/sh/mm/
Dalignment.c32 core_param(alignment, se_usermode, int, 0600);
DMakefile5 obj-y := alignment.o cache.o init.o consistent.o mmap.o
/linux-4.1.27/arch/metag/
DKconfig.soc49 All memory accesses will be checked for alignment and an exception
/linux-4.1.27/arch/microblaze/
DKconfig.platform14 They are optimized by using word alignment. This will work
/linux-4.1.27/Documentation/powerpc/
Dptrace.txt17 be returned here is the minimum alignment for the hardware watchpoints.
19 an 8-byte alignment restriction for hardware watchpoints. We'd like to avoid
Dqe_firmware.txt228 'padding' is necessary for structure alignment. This field ensures that the
269 'reserved' is necessary for structure alignment. Since 'microcode'
Dpci_iov_resource_on_powernv.txt93 onto a segment alignment/granularity so that the space behind a bridge
125 Then we do the same thing as with M32, using the bridge alignment
173 describes an 8MB region, the alignment requirement is for a single VF,
/linux-4.1.27/net/ceph/
Dosd_client.c95 struct page **pages, u64 length, u32 alignment, in ceph_osd_data_pages_init() argument
101 osd_data->alignment = alignment; in ceph_osd_data_pages_init()
155 u64 length, u32 alignment, in osd_req_op_raw_data_in_pages() argument
161 ceph_osd_data_pages_init(osd_data, pages, length, alignment, in osd_req_op_raw_data_in_pages()
168 u64 length, u32 alignment, in osd_req_op_extent_osd_data_pages() argument
174 ceph_osd_data_pages_init(osd_data, pages, length, alignment, in osd_req_op_extent_osd_data_pages()
224 u32 alignment, bool pages_from_pool, bool own_pages) in osd_req_op_cls_request_data_pages() argument
229 ceph_osd_data_pages_init(osd_data, pages, length, alignment, in osd_req_op_cls_request_data_pages()
236 u32 alignment, bool pages_from_pool, bool own_pages) in osd_req_op_cls_response_data_pages() argument
241 ceph_osd_data_pages_init(osd_data, pages, length, alignment, in osd_req_op_cls_response_data_pages()
[all …]
Dmessenger.c936 page_count = calc_pages_for(data->alignment, (u64)data->length); in ceph_msg_data_pages_cursor_init()
937 cursor->page_offset = data->alignment & ~PAGE_MASK; in ceph_msg_data_pages_cursor_init()
3171 size_t length, size_t alignment) in ceph_msg_data_add_pages() argument
3182 data->alignment = alignment & ~PAGE_MASK; in ceph_msg_data_add_pages()
/linux-4.1.27/Documentation/video4linux/cx88/
Dhauppauge-wintv-cx88-ir.txt36 actual raw RC5 code will span 2-3 DWORDS, depending on the actual alignment.
/linux-4.1.27/Documentation/video4linux/
Dhauppauge-wintv-cx88-ir.txt36 actual raw RC5 code will span 2-3 DWORDS, depending on the actual alignment.
Dfimc.txt11 slightly different capabilities, like pixel alignment constraints, rotator
/linux-4.1.27/arch/arm/mm/
Dproc-v7m.S118 @ Configure the System Control Register to ensure 8-byte stack alignment
DMakefile18 obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o
Dalignment.c89 core_param(alignment, ai_usermode, int, 0600);
/linux-4.1.27/drivers/firmware/efi/libstub/
Defi-stub-helper.c550 unsigned long alignment) in efi_relocate_kernel() argument
583 status = efi_low_alloc(sys_table_arg, alloc_size, alignment, in efi_relocate_kernel()
/linux-4.1.27/drivers/isdn/hardware/eicon/
Ddsp_defs.h144 word alignment; /* ==0 -> no other legal start address than base */ member
/linux-4.1.27/arch/powerpc/boot/dts/
Dkmcoge4.dts35 alignment = <0 0x1000000>;
Doca4080.dts59 alignment = <0 0x1000000>;
Dt104xrdb.dtsi43 alignment = <0 0x1000000>;
Dt104xqds.dtsi48 alignment = <0 0x1000000>;
Db4qds.dtsi107 alignment = <0 0x1000000>;
Dt208xrdb.dtsi49 alignment = <0 0x1000000>;
Dp4080ds.dts55 alignment = <0 0x1000000>;
Dt4240rdb.dts79 alignment = <0 0x1000000>;
Dt208xqds.dtsi49 alignment = <0 0x1000000>;
Dp5040ds.dts55 alignment = <0 0x1000000>;
Dp2041rdb.dts55 alignment = <0 0x1000000>;
Dp5020ds.dts55 alignment = <0 0x1000000>;
Dt4240qds.dts110 alignment = <0 0x1000000>;
Dp1023rdb.dts57 alignment = <0 0x1000000>;
Dp3041ds.dts55 alignment = <0 0x1000000>;
/linux-4.1.27/arch/c6x/lib/
Dstrasgi.S23 ;; This is essentially memcpy, with alignment known to be at least
Dcsum_64plus.S35 ;; Check alignment and size
/linux-4.1.27/arch/arm/kvm/
Dinit.S113 @ - Memory alignment checks: enabled
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c464 size_t alignment = 0; in usb_read_port() local
497 alignment = tmpaddr & (RECVBUFF_ALIGN_SZ-1); in usb_read_port()
498 skb_reserve(precvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); in usb_read_port()
/linux-4.1.27/fs/nfs/blocklayout/
Dblocklayout.c751 struct nfs_page *req, unsigned int alignment) in is_aligned_req() argument
760 if (!IS_ALIGNED(req->wb_offset, alignment)) in is_aligned_req()
763 if (IS_ALIGNED(req->wb_bytes, alignment)) in is_aligned_req()
/linux-4.1.27/virt/kvm/arm/
Dvgic.c1912 phys_addr_t alignment; in kvm_vgic_addr() local
1920 alignment = SZ_4K; in kvm_vgic_addr()
1926 alignment = SZ_4K; in kvm_vgic_addr()
1933 alignment = SZ_64K; in kvm_vgic_addr()
1939 alignment = SZ_64K; in kvm_vgic_addr()
1953 if (!IS_ALIGNED(*addr, alignment)) in kvm_vgic_addr()
/linux-4.1.27/Documentation/devicetree/bindings/media/
Dsamsung-fimc.txt76 - samsung,min-pix-alignment: minimum supported image height alignment (first
/linux-4.1.27/Documentation/x86/
Dboot.txt53 Protocol 2.10: (Kernel 2.6.31) Added a protocol for relaxed alignment
186 0230/4 2.05+ kernel_alignment Physical addr alignment required for kernel
188 0235/1 2.10+ min_alignment Minimum alignment, as a power of two
561 true.) A relocatable kernel that is loaded at an alignment
566 alignment preferred for optimal performance; it is possible for the
567 loader to modify this field to permit a lesser alignment. See the
586 alignment required, as opposed to preferred, by the kernel to boot.
588 kernel_alignment field with the alignment unit desired; typically:
594 power-of-two alignment from kernel_alignment down to this alignment.
/linux-4.1.27/arch/x86/
DMakefile_32.cpu49 # does stack alignment by generating horrible code _before_ the mcount
DKconfig.cpu170 Pentium Pro with no alignment requirements).
184 and alignment requirements.
192 and alignment requirements. Also enable out of order memory
DKconfig.debug318 Some simple tests are run to verify IMR bounds checking, alignment
/linux-4.1.27/tools/perf/util/
Dparse-events.l196 alignment-faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_ALIGNMENT_FAULTS); }
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c459 u32 x_bits, y_bits, tmp, x_mask, y_mask, alignment; in tiler_get_address() local
463 alignment = geom[fmt].x_shft + geom[fmt].y_shft; in tiler_get_address()
487 return TIL_ADDR((tmp << alignment), orient, fmt); in tiler_get_address()
/linux-4.1.27/Documentation/filesystems/
Dxfs.txt163 with non-zero data alignment parameters (sunit, swidth) by
200 that were created with non-zero data alignment parameters.
203 with the existing filesystem alignment characteristics. In
Dromfs.txt170 - Since the files are only required to have alignment on a 16 byte
Dsquashfs.txt65 byte alignment:
/linux-4.1.27/kernel/bpf/
Dcore.c135 unsigned int alignment, in bpf_jit_binary_alloc() argument
156 start = (prandom_u32() % hole) & ~(alignment - 1); in bpf_jit_binary_alloc()
/linux-4.1.27/arch/arm64/
DKconfig.debug87 alignment and potentially wasted space. Turn on this option if
/linux-4.1.27/fs/ntfs/
Dlayout.h1725 u8 alignment; member
1754 u8 alignment; member
/linux-4.1.27/arch/ia64/kernel/
Defi.c1277 u64 alignment = 1UL << _PAGE_SIZE_64M; in kdump_find_rsvd_region() local
1290 start = ALIGN(md->phys_addr, alignment); in kdump_find_rsvd_region()
1296 start = ALIGN(__pa(r[i].end), alignment); in kdump_find_rsvd_region()
/linux-4.1.27/arch/ia64/include/asm/
Dpal.h1352 ia64_pal_mem_for_test (u64 *bytes_needed, u64 *alignment) in ia64_pal_mem_for_test() argument
1358 if (alignment) in ia64_pal_mem_for_test()
1359 *alignment = iprv.v1; in ia64_pal_mem_for_test()
/linux-4.1.27/Documentation/misc-devices/
Dspear-pcie-gadget.txt59 address. Kernel might modify bar size and address for alignment, so
/linux-4.1.27/drivers/scsi/aic7xxx/
Daic7xxx_osm.h156 bus_size_t alignment; member
Daic79xx_osm.h143 bus_size_t alignment; member
Daic7xxx_osm.c829 bus_size_t alignment, bus_size_t boundary, in ahc_dma_tag_create() argument
848 dmat->alignment = alignment; in ahc_dma_tag_create()
Daic79xx_osm.c934 bus_size_t alignment, bus_size_t boundary, in ahd_dma_tag_create() argument
953 dmat->alignment = alignment; in ahd_dma_tag_create()
/linux-4.1.27/Documentation/virtual/kvm/
Dmsr.txt18 data: 4-byte alignment physical address of a memory area which must be
203 data: 64-byte alignment physical address of a memory area which must be
/linux-4.1.27/drivers/pci/host/
Dpcie-rcar.c813 u64 alignment = 1ULL << nr_zeros; in rcar_pcie_inbound_ranges() local
815 size = min(range->size, alignment); in rcar_pcie_inbound_ranges()
/linux-4.1.27/Documentation/video4linux/cx2341x/
Dfw-decoder-regs.txt205 Offsets the actual video output. Controls output alignment of the Y & UV
350 Controls field output vertical alignment. The higher the number, the lower
379 Controls field output vertical alignment. The higher the number, the lower
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/
Dmsi-pic.txt106 physical"). However, each subwindow has to have the same alignment, which
/linux-4.1.27/include/sound/
Dwavefront.h28 of 22 bytes, corresponding to 16-bit alignment (as would have been
/linux-4.1.27/arch/nios2/
DKconfig88 bool "Catch alignment trap"
/linux-4.1.27/drivers/scsi/
Dsd.c1947 unsigned int alignment; in read_capacity_16() local
2016 alignment = ((buffer[14] & 0x3f) << 8 | buffer[15]) * sector_size; in read_capacity_16()
2017 blk_queue_alignment_offset(sdp->request_queue, alignment); in read_capacity_16()
2018 if (alignment && sdkp->first_scan) in read_capacity_16()
2020 "physical block alignment offset: %u\n", alignment); in read_capacity_16()
/linux-4.1.27/drivers/ide/
Dide-cd.c758 unsigned int alignment; in cdrom_do_block_pc() local
768 alignment = queue_dma_alignment(q) | q->dma_pad_mask; in cdrom_do_block_pc()
769 if ((unsigned long)buf & alignment in cdrom_do_block_pc()
/linux-4.1.27/drivers/target/
Dtarget_core_device.c639 u32 alignment; in se_dev_align_max_sectors() local
644 alignment = max(1ul, PAGE_SIZE / block_size); in se_dev_align_max_sectors()
645 aligned_max_sectors = rounddown(max_sectors, alignment); in se_dev_align_max_sectors()
/linux-4.1.27/arch/powerpc/
DKconfig574 As the ELF standard only requires alignment to support page
936 location the kernel is loaded at, without any alignment restrictions.
1001 This value puts the alignment restrictions on physical address
1003 address which meets above alignment restriction.
/linux-4.1.27/arch/arm/kernel/
Diwmmxt.S296 bic r2, r2, #0x7 @ 64-bit alignment
Dentry-armv.S157 SPFIX( tst r0, #4 ) @ test original stack alignment
/linux-4.1.27/arch/x86/kvm/
Dlapic.c1026 unsigned char alignment = offset & 0xf; in apic_reg_read() local
1031 if ((alignment + len) > 4) { in apic_reg_read()
1051 memcpy(data, (char *)&result + alignment, len); in apic_reg_read()
/linux-4.1.27/arch/sparc/lib/
Dchecksum_32.S108 andcc %o0, 0x7, %g0 ! alignment problems?
341 andcc %o4, 3, %g0 ! check for mismatched alignment
/linux-4.1.27/Documentation/devicetree/
Dbooting-without-of.txt89 required alignment between property size
91 alignment would make it impossible to do
95 - Correct a few more alignment constraints
481 | (alignment gap) (*) |
485 | (alignment gap) |
491 | (alignment gap) |
501 (*) The alignment gaps are not necessarily present; their presence
502 and size are dependent on the various alignment requirements of
/linux-4.1.27/fs/xfs/
Dxfs_trace.h1542 __field(xfs_extlen_t, alignment)
1563 __entry->alignment = args->alignment;
1587 __entry->alignment,
/linux-4.1.27/Documentation/scsi/
Dosd.txt156 The OSD standard also mandates alignment restrictions at start of each segment.
/linux-4.1.27/drivers/usb/usbip/
Dusbip_protocol.txt164 0x147 | 1 | | padding byte for alignment, shall be set to zero
/linux-4.1.27/Documentation/devicetree/bindings/bus/
Dmvebu-mbus.txt190 a region large enough available, and with the required alignment.
/linux-4.1.27/Documentation/driver-model/
Ddevres.txt222 up to ull alignment). If singly linked list is used, it can be
/linux-4.1.27/Documentation/netlabel/
Ddraft-ietf-cipso-ipsecurity-01.txt152 octet boundary. The tag types defined in this document contain alignment
153 bytes to assist alignment of some information, however alignment can not
/linux-4.1.27/Documentation/kdump/
Dkdump.txt242 any space below the alignment point will be wasted.
312 any space below the alignment point may be overwritten by the dump-capture kernel,
/linux-4.1.27/fs/ceph/
Daddr.c270 num_pages = calc_pages_for((u64)osd_data->alignment, in finish_read()
618 num_pages = calc_pages_for((u64)osd_data->alignment, in writepages_finish()
/linux-4.1.27/arch/powerpc/kernel/
Dexceptions-64s.S284 STD_EXCEPTION_PSERIES(0x600, 0x600, alignment)
890 STD_RELON_EXCEPTION_PSERIES(0x4600, 0x600, alignment)
Dexceptions-64e.S524 EXCEPTION_STUB(0x0c0, alignment) /* 0x0600 */
597 START_EXCEPTION(alignment);
/linux-4.1.27/lib/
DKconfig115 and crc32_be over byte strings with random alignment and length
/linux-4.1.27/Documentation/ia64/
Dmca.txt189 ia64_sal_os_state), with 16 byte alignment for all structures.
/linux-4.1.27/sound/pci/asihpi/
Dhpi.h1311 u16 mode, u16 alignment, u16 idle_bit);
/linux-4.1.27/drivers/base/
DKconfig308 int "Maximum PAGE_SIZE order of alignment for contiguous buffers"
/linux-4.1.27/arch/unicore32/kernel/
Dentry.S216 @ Enable the alignment trap while in kernel mode
/linux-4.1.27/drivers/usb/gadget/
DKconfig273 different alignment possibilities.

12