Home
last modified time | relevance | path

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

12

/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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()
210 vol->usable_leb_size = ubi->leb_size - ubi->leb_size % req->alignment; in ubi_create_volume()
229 vol->alignment = req->alignment; in ubi_create_volume()
230 vol->data_pad = ubi->leb_size % vol->alignment; in ubi_create_volume()
294 vtbl_rec.alignment = cpu_to_be32(vol->alignment); in ubi_create_volume()
650 int reserved_pebs, alignment, data_pad, vol_type, name_len, upd_marker; in self_check_volume() local
668 if (vol->reserved_pebs < 0 || vol->alignment < 0 || vol->data_pad < 0 || in self_check_volume()
673 if (vol->alignment > ubi->leb_size || vol->alignment == 0) { in self_check_volume()
678 n = vol->alignment & (ubi->min_io_size - 1); in self_check_volume()
[all …]
Dvtbl.c173 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len; in vtbl_check() local
182 alignment = be32_to_cpu(vtbl[i].alignment); in vtbl_check()
206 if (reserved_pebs < 0 || alignment < 0 || data_pad < 0 || in vtbl_check()
212 if (alignment > ubi->leb_size || alignment == 0) { in vtbl_check()
217 n = alignment & (ubi->min_io_size - 1); in vtbl_check()
218 if (alignment != 1 && n) { in vtbl_check()
223 n = ubi->leb_size % alignment; in vtbl_check()
549 vol->alignment = be32_to_cpu(vtbl[i].alignment); in init_volumes()
628 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.4.14/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.4.14/drivers/gpu/drm/qxl/
Dqxl_gem.c46 int alignment, int initial_domain, in qxl_gem_object_create() argument
56 if (alignment < PAGE_SIZE) in qxl_gem_object_create()
57 alignment = PAGE_SIZE; in qxl_gem_object_create()
63 size, initial_domain, alignment, r); in qxl_gem_object_create()
Dqxl_drv.h410 int alignment, int initial_domain,
/linux-4.4.14/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.4.14/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.4.14/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_gem_stolen.c50 unsigned alignment, u64 start, u64 end) in i915_gem_stolen_insert_node_in_range() argument
64 alignment, start, end, in i915_gem_stolen_insert_node_in_range()
73 unsigned alignment) in i915_gem_stolen_insert_node() argument
76 alignment, 0, in i915_gem_stolen_insert_node()
Di915_gem_execbuffer.c606 ret = i915_gem_object_pin(obj, vma->vm, entry->alignment, flags); in i915_gem_execbuffer_reserve_vma()
610 entry->alignment, in i915_gem_execbuffer_reserve_vma()
669 if (entry->alignment && in eb_vma_misplaced()
670 vma->node.start & (entry->alignment - 1)) in eb_vma_misplaced()
986 if (exec[i].alignment && !is_power_of_2(exec[i].alignment)) in validate_exec_list()
1652 exec2_list[i].alignment = exec_list[i].alignment; in i915_gem_execbuffer()
Di915_gem.c3422 unsigned alignment, in i915_gem_object_bind_to_vm() argument
3477 if (alignment == 0) in i915_gem_object_bind_to_vm()
3478 alignment = flags & PIN_MAPPABLE ? fence_alignment : in i915_gem_object_bind_to_vm()
3480 if (flags & PIN_MAPPABLE && alignment & (fence_alignment - 1)) { in i915_gem_object_bind_to_vm()
3483 alignment); in i915_gem_object_bind_to_vm()
3522 size, alignment, in i915_gem_object_bind_to_vm()
3528 ret = i915_gem_evict_something(dev, vm, size, alignment, in i915_gem_object_bind_to_vm()
3931 u32 alignment, in i915_gem_object_pin_to_display_plane() argument
3966 ret = i915_gem_object_ggtt_pin(obj, view, alignment, in i915_gem_object_pin_to_display_plane()
4117 i915_vma_misplaced(struct i915_vma *vma, uint32_t alignment, uint64_t flags) in i915_vma_misplaced() argument
[all …]
Di915_drv.h2842 uint32_t alignment,
2847 uint32_t alignment,
3011 u32 alignment,
3108 uint32_t alignment, in i915_gem_obj_ggtt_pin() argument
3112 alignment, flags | PIN_GLOBAL); in i915_gem_obj_ggtt_pin()
3183 unsigned alignment,
3200 unsigned alignment);
3203 unsigned alignment, u64 start,
/linux-4.4.14/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.4.14/block/
Dblk-lib.c47 int alignment; in blkdev_issue_discard() local
61 alignment = (bdev_discard_alignment(bdev) >> 9) % granularity; in blkdev_issue_discard()
94 sector_div(tmp, granularity) != alignment) { in blkdev_issue_discard()
95 end_sect = end_sect - alignment; in blkdev_issue_discard()
97 end_sect = end_sect * granularity + alignment; in blkdev_issue_discard()
Dblk-settings.c521 unsigned int top, bottom, alignment, ret = 0; in blk_stack_limits() local
544 alignment = queue_limit_alignment_offset(b, start); in blk_stack_limits()
549 if (t->alignment_offset != alignment) { in blk_stack_limits()
553 bottom = max(b->physical_block_size, b->io_min) + alignment; in blk_stack_limits()
600 t->alignment_offset = lcm_not_zero(t->alignment_offset, alignment) in blk_stack_limits()
611 alignment = queue_limit_discard_alignment(b, start); in blk_stack_limits()
614 t->discard_alignment != alignment) { in blk_stack_limits()
616 bottom = b->discard_granularity + alignment; in blk_stack_limits()
629 t->discard_alignment = lcm_not_zero(t->discard_alignment, alignment) % in blk_stack_limits()
Dblk-merge.c18 int alignment; in blk_bio_discard_split() local
44 alignment = (q->limits.discard_alignment >> 9) % granularity; in blk_bio_discard_split()
46 tmp = bio->bi_iter.bi_sector + split_sectors - alignment; in blk_bio_discard_split()
/linux-4.4.14/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
118 size and alignment requirements specified at creation time. Pass
475 Returns the processor cache alignment. This is the absolute minimum
476 alignment *and* width that you must observe when either mapping
482 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
949 Note that ARCH_DMA_MINALIGN is about DMA memory alignment
951 alignment constraints (e.g. the alignment constraints about 64-bit
/linux-4.4.14/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.4.14/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()
190 cpm_muram_info.alignment = 1; in cpm_muram_alloc_fixed()
/linux-4.4.14/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.
/linux-4.4.14/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.h106 unsigned int alignment; /* first page */ member
286 size_t length, size_t alignment);
/linux-4.4.14/arch/parisc/kernel/
Dpci.c184 resource_size_t size, resource_size_t alignment) in pcibios_align_resource() argument
191 (int) res->flags, size, alignment); in pcibios_align_resource()
197 mask = max(alignment, align) - 1; in pcibios_align_resource()
/linux-4.4.14/drivers/crypto/nx/
Dnx-842.c192 if (adj_slen > slen || (u64)src % c->alignment) { in compress()
206 if ((u64)dst % c->alignment) { in compress()
207 dskip = (int)(PTR_ALIGN(dst, c->alignment) - dst); in compress()
291 (u64)p.in % c.alignment || in nx842_crypto_compress()
295 (u64)p.out % c.alignment); in nx842_crypto_compress()
376 if (slen < adj_slen || (u64)src % c->alignment) { in decompress()
392 if (dlen < required_len || (u64)dst % c->alignment) { in decompress()
Dnx-842.h128 int alignment; member
Dnx-842-pseries.c36 .alignment = DDE_BUFFER_ALIGN,
44 if (!IS_ALIGNED(buf, nx842_pseries_constraints.alignment)) { in check_constraints()
47 nx842_pseries_constraints.alignment); in check_constraints()
Dnx-842-powernv.c572 .alignment = DDE_BUFFER_ALIGN,
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_alloc.c169 if (args->alignment > 1 && len >= args->minlen) { in xfs_alloc_compute_aligned()
170 xfs_agblock_t aligned_bno = roundup(bno, args->alignment); in xfs_alloc_compute_aligned()
190 xfs_extlen_t alignment, /* target alignment */ in xfs_alloc_compute_diff() argument
214 if ((newbno1 = roundup(freebno, alignment)) >= freeend) in xfs_alloc_compute_diff()
216 } else if (freeend >= wantend && alignment > 1) { in xfs_alloc_compute_diff()
217 newbno1 = roundup(wantbno, alignment); in xfs_alloc_compute_diff()
218 newbno2 = newbno1 - alignment; in xfs_alloc_compute_diff()
237 } else if (alignment > 1) { in xfs_alloc_compute_diff()
238 newbno1 = roundup(freeend - wantlen, alignment); in xfs_alloc_compute_diff()
240 newbno1 - alignment >= freebno) in xfs_alloc_compute_diff()
[all …]
Dxfs_alloc.h114 xfs_extlen_t alignment; /* align answer to multiple of this */ member
Dxfs_ialloc.c666 args.alignment = 1; in xfs_ialloc_ag_alloc()
699 args.alignment = args.mp->m_dalign; in xfs_ialloc_ag_alloc()
702 args.alignment = xfs_ialloc_cluster_alignment(args.mp); in xfs_ialloc_ag_alloc()
731 args.alignment = xfs_ialloc_cluster_alignment(args.mp); in xfs_ialloc_ag_alloc()
747 args.alignment = args.mp->m_sb.sb_spino_align; 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()
3819 args.alignment = stripe_align; in xfs_bmap_btalloc()
3833 args.alignment = 0; in xfs_bmap_btalloc()
/linux-4.4.14/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.4.14/arch/powerpc/boot/dts/fsl/
Dcyrus_p5020.dts35 alignment = <0 0x1000000>;
39 alignment = <0 0x400000>;
43 alignment = <0 0x2000000>;
Dkmcoge4.dts35 alignment = <0 0x1000000>;
39 alignment = <0 0x400000>;
43 alignment = <0 0x2000000>;
Doca4080.dts59 alignment = <0 0x1000000>;
63 alignment = <0 0x400000>;
67 alignment = <0 0x2000000>;
Dt104xrdb.dtsi43 alignment = <0 0x1000000>;
47 alignment = <0 0x400000>;
51 alignment = <0 0x2000000>;
Dt4240rdb.dts79 alignment = <0 0x1000000>;
83 alignment = <0 0x400000>;
87 alignment = <0 0x2000000>;
Dp4080ds.dts55 alignment = <0 0x1000000>;
59 alignment = <0 0x400000>;
63 alignment = <0 0x2000000>;
Dt104xqds.dtsi48 alignment = <0 0x1000000>;
52 alignment = <0 0x400000>;
56 alignment = <0 0x2000000>;
Db4qds.dtsi107 alignment = <0 0x1000000>;
111 alignment = <0 0x400000>;
115 alignment = <0 0x2000000>;
Dt208xrdb.dtsi49 alignment = <0 0x1000000>;
53 alignment = <0 0x400000>;
57 alignment = <0 0x2000000>;
Dp2041rdb.dts55 alignment = <0 0x1000000>;
59 alignment = <0 0x400000>;
63 alignment = <0 0x2000000>;
Dt104xd4rdb.dtsi43 alignment = <0 0x1000000>;
47 alignment = <0 0x400000>;
51 alignment = <0 0x2000000>;
Dp5040ds.dts55 alignment = <0 0x1000000>;
59 alignment = <0 0x400000>;
63 alignment = <0 0x2000000>;
Dt208xqds.dtsi49 alignment = <0 0x1000000>;
53 alignment = <0 0x400000>;
57 alignment = <0 0x2000000>;
Dp3041ds.dts55 alignment = <0 0x1000000>;
59 alignment = <0 0x400000>;
63 alignment = <0 0x2000000>;
Dp5020ds.dts55 alignment = <0 0x1000000>;
59 alignment = <0 0x400000>;
63 alignment = <0 0x2000000>;
Dp1023rdb.dts57 alignment = <0 0x1000000>;
61 alignment = <0 0x400000>;
65 alignment = <0 0x2000000>;
Dt4240qds.dts110 alignment = <0 0x1000000>;
114 alignment = <0 0x400000>;
118 alignment = <0 0x2000000>;
/linux-4.4.14/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.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.c46 int alignment, u32 initial_domain, in amdgpu_gem_object_create() argument
56 if (alignment < PAGE_SIZE) { in amdgpu_gem_object_create()
57 alignment = PAGE_SIZE; in amdgpu_gem_object_create()
72 r = amdgpu_bo_create(adev, size, alignment, kernel, initial_domain, in amdgpu_gem_object_create()
81 size, initial_domain, alignment, r); in amdgpu_gem_object_create()
197 r = amdgpu_gem_object_create(adev, size, args->in.alignment, in amdgpu_gem_create_ioctl()
633 info.alignment = robj->tbo.mem.page_alignment << PAGE_SHIFT; in amdgpu_gem_op_ioctl()
/linux-4.4.14/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.4.14/arch/x86/lib/
Dchecksum_32.S57 testl $3, %esi # Check alignment.
58 jz 2f # Jump if alignment is ok.
59 testl $1, %esi # Check alignment.
60 jz 10f # Jump if alignment is boundary of 2 bytes.
294 testl $2, %edi # Check alignment.
295 jz 2f # Jump if alignment is ok.
/linux-4.4.14/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.4.14/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-block88 offset from the disk's natural alignment.
99 is offset from the disk's natural alignment.
170 natural alignment.
181 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.4.14/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
/linux-4.4.14/arch/arc/lib/
Dmemcpy-archs.S65 ;;; Check the alignment of the source
106 ;; Hence I need to read 1 byte for a 16bit alignment
107 ;; and 2bytes to reach 32bit alignment
196 ;;; Hence, I need to read 1byte for achieve the 32bit alignment
/linux-4.4.14/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.4.14/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.4.14/drivers/scsi/pm8001/
Dpm8001_init.c157 pm8001_ha->memoryMap.region[i].alignment), in pm8001_free()
270 pm8001_ha->memoryMap.region[AAP1].alignment = 32; in pm8001_alloc()
276 pm8001_ha->memoryMap.region[IOP].alignment = 32; in pm8001_alloc()
283 pm8001_ha->memoryMap.region[CI+i].alignment = 4; in pm8001_alloc()
292 pm8001_ha->memoryMap.region[IB+i].alignment = 128; in pm8001_alloc()
299 pm8001_ha->memoryMap.region[IB+i].alignment = 64; in pm8001_alloc()
308 pm8001_ha->memoryMap.region[PI+i].alignment = 4; in pm8001_alloc()
317 pm8001_ha->memoryMap.region[OB+i].alignment = 128; in pm8001_alloc()
325 pm8001_ha->memoryMap.region[OB+i].alignment = 64; in pm8001_alloc()
353 pm8001_ha->memoryMap.region[FORENSIC_MEM].alignment = 0x10000; in pm8001_alloc()
[all …]
Dpm8001_sas.h311 u32 alignment; member
/linux-4.4.14/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.4.14/arch/unicore32/mm/
DMakefile12 obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_alloc.h49 u64 size, u32 alignment);
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_alloc.h49 u64 size, u32 alignment);
/linux-4.4.14/include/acpi/
Dacrestyp.h203 u8 alignment; member
251 u16 alignment; member
259 u32 alignment; member
Dactbl3.h591 u16 alignment; member
/linux-4.4.14/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.4.14/drivers/clk/tegra/
Dcvb.h52 struct rail_alignment alignment; member
Dclk-tegra124-dfll-fcpu.c45 .alignment = {
Dcvb.c71 const struct rail_alignment *align = &d->alignment; in build_opp_table()
/linux-4.4.14/include/linux/
Dcma.h24 phys_addr_t alignment, unsigned int order_per_bit,
Dblkdev.h975 unsigned int alignment);
1246 unsigned int alignment = sector_div(sector, granularity >> 9) << 9; in queue_limit_alignment_offset() local
1248 return (granularity + lim->alignment_offset - alignment) % granularity; in queue_limit_alignment_offset()
1274 unsigned int alignment, granularity, offset; in queue_limit_discard_alignment() local
1280 alignment = lim->discard_alignment >> 9; in queue_limit_discard_alignment()
1289 offset = (granularity + alignment - offset) % granularity; in queue_limit_discard_alignment()
1336 unsigned int alignment = queue_dma_alignment(q) | q->dma_pad_mask; in blk_rq_aligned() local
1337 return !(addr & alignment) && !(len & alignment); in blk_rq_aligned()
Dfilter.h470 unsigned int alignment,
/linux-4.4.14/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.4.14/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.4.14/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.4.14/include/uapi/drm/
Di915_drm.h387 int alignment; member
632 __u64 alignment; member
682 __u64 alignment; member
793 __u64 alignment; member
Dradeon_drm.h732 int alignment; member
811 uint64_t alignment; member
Damdgpu_drm.h81 uint64_t alignment; member
/linux-4.4.14/arch/x86/um/
Dchecksum_32.S58 testl $2, %esi # Check alignment.
59 jz 2f # Jump if alignment is ok.
/linux-4.4.14/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.4.14/include/uapi/mtd/
Dubi-user.h320 __s32 alignment; member
/linux-4.4.14/drivers/staging/rtl8712/
Dusb_ops_linux.c257 int alignment = 0; in r8712_usb_read_port() local
284 alignment = tmpaddr & (RECVBUFF_ALIGN_SZ - 1); in r8712_usb_read_port()
286 (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.4.14/include/linux/mtd/
Dubi.h121 int alignment; member
/linux-4.4.14/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.4.14/arch/microblaze/
DKconfig.platform14 They are optimized by using word alignment. This will work
/linux-4.4.14/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.4.14/arch/metag/
DKconfig.soc49 All memory accesses will be checked for alignment and an exception
/linux-4.4.14/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.4.14/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()
157 u64 length, u32 alignment, in osd_req_op_raw_data_in_pages() argument
163 ceph_osd_data_pages_init(osd_data, pages, length, alignment, in osd_req_op_raw_data_in_pages()
170 u64 length, u32 alignment, in osd_req_op_extent_osd_data_pages() argument
176 ceph_osd_data_pages_init(osd_data, pages, length, alignment, in osd_req_op_extent_osd_data_pages()
226 u32 alignment, bool pages_from_pool, bool own_pages) in osd_req_op_cls_request_data_pages() argument
231 ceph_osd_data_pages_init(osd_data, pages, length, alignment, in osd_req_op_cls_request_data_pages()
238 u32 alignment, bool pages_from_pool, bool own_pages) in osd_req_op_cls_response_data_pages() argument
243 ceph_osd_data_pages_init(osd_data, pages, length, alignment, in osd_req_op_cls_response_data_pages()
[all …]
Dmessenger.c933 page_count = calc_pages_for(data->alignment, (u64)data->length); in ceph_msg_data_pages_cursor_init()
934 cursor->page_offset = data->alignment & ~PAGE_MASK; in ceph_msg_data_pages_cursor_init()
3206 size_t length, size_t alignment) in ceph_msg_data_add_pages() argument
3217 data->alignment = alignment & ~PAGE_MASK; in ceph_msg_data_add_pages()
/linux-4.4.14/drivers/s390/char/
Dsclp_cmd.c393 unsigned long long alignment) in align_to_block_size() argument
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.4.14/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.4.14/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.4.14/Documentation/video4linux/cx88/
Dhauppauge-wintv-cx88-ir.txt36 actual raw RC5 code will span 2-3 DWORDS, depending on the actual alignment.
/linux-4.4.14/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.4.14/drivers/isdn/hardware/eicon/
Ddsp_defs.h144 word alignment; /* ==0 -> no other legal start address than base */ member
/linux-4.4.14/arch/arm/kvm/
Dinit.S113 @ - Memory alignment checks: enabled
/linux-4.4.14/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.4.14/fs/nfs/blocklayout/
Dblocklayout.c746 struct nfs_page *req, unsigned int alignment) in is_aligned_req() argument
755 if (!IS_ALIGNED(req->wb_offset, alignment)) in is_aligned_req()
758 if (IS_ALIGNED(req->wb_bytes, alignment)) in is_aligned_req()
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c467 size_t alignment = 0; in usb_read_port() local
500 alignment = tmpaddr & (RECVBUFF_ALIGN_SZ-1); in usb_read_port()
501 skb_reserve(precvbuf->pskb, (RECVBUFF_ALIGN_SZ - alignment)); in usb_read_port()
/linux-4.4.14/Documentation/devicetree/bindings/media/
Dsamsung-fimc.txt76 - samsung,min-pix-alignment: minimum supported image height alignment (first
/linux-4.4.14/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.4.14/arch/x86/
DMakefile_32.cpu49 # does stack alignment by generating horrible code _before_ the mcount
DKconfig.cpu180 Pentium Pro with no alignment requirements).
194 and alignment requirements.
202 and alignment requirements. Also enable out of order memory
/linux-4.4.14/Documentation/DocBook/
Dkernel-api.xml.db242 API-node-map-pfn-alignment
391 API-resource-alignment
665 API-blk-queue-alignment-offset
679 API-blk-queue-dma-alignment
680 API-blk-queue-update-dma-alignment
/linux-4.4.14/drivers/target/
Dtarget_core_device.c539 u32 alignment; in se_dev_align_max_sectors() local
544 alignment = max(1ul, PAGE_SIZE / block_size); in se_dev_align_max_sectors()
545 aligned_max_sectors = rounddown(max_sectors, alignment); in se_dev_align_max_sectors()
/linux-4.4.14/virt/kvm/arm/
Dvgic.c2214 phys_addr_t alignment; in kvm_vgic_addr() local
2222 alignment = SZ_4K; in kvm_vgic_addr()
2228 alignment = SZ_4K; in kvm_vgic_addr()
2235 alignment = SZ_64K; in kvm_vgic_addr()
2241 alignment = SZ_64K; in kvm_vgic_addr()
2255 if (!IS_ALIGNED(*addr, alignment)) in kvm_vgic_addr()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c460 u32 x_bits, y_bits, tmp, x_mask, y_mask, alignment; in tiler_get_address() local
464 alignment = geom[fmt].x_shft + geom[fmt].y_shft; in tiler_get_address()
488 return TIL_ADDR((tmp << alignment), orient, fmt); in tiler_get_address()
/linux-4.4.14/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
/linux-4.4.14/arch/arm64/
DKconfig.debug83 alignment and potentially wasted space. Turn on this option if
/linux-4.4.14/tools/perf/util/
Dparse-events.l238 alignment-faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_ALIGNMENT_FAULTS); }
Dauxtrace.h312 unsigned int alignment; member
Dauxtrace.c1218 if (itr->alignment) { in __auxtrace_mmap__read()
1219 unsigned int unwanted = len1 % itr->alignment; in __auxtrace_mmap__read()
/linux-4.4.14/fs/ntfs/
Dlayout.h1725 u8 alignment; member
1754 u8 alignment; member
/linux-4.4.14/kernel/bpf/
Dcore.c143 unsigned int alignment, in bpf_jit_binary_alloc() argument
164 start = (prandom_u32() % hole) & ~(alignment - 1); in bpf_jit_binary_alloc()
/linux-4.4.14/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.4.14/arch/ia64/kernel/
Defi.c1280 u64 alignment = 1UL << _PAGE_SIZE_64M; in kdump_find_rsvd_region() local
1293 start = ALIGN(md->phys_addr, alignment); in kdump_find_rsvd_region()
1299 start = ALIGN(__pa(r[i].end), alignment); in kdump_find_rsvd_region()
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic7xxx_osm.h156 bus_size_t alignment; member
Daic79xx_osm.h143 bus_size_t alignment; member
Daic7xxx_osm.c828 bus_size_t alignment, bus_size_t boundary, in ahc_dma_tag_create() argument
847 dmat->alignment = alignment; in ahc_dma_tag_create()
Daic79xx_osm.c933 bus_size_t alignment, bus_size_t boundary, in ahd_dma_tag_create() argument
952 dmat->alignment = alignment; in ahd_dma_tag_create()
/linux-4.4.14/Documentation/misc-devices/
Dspear-pcie-gadget.txt59 address. Kernel might modify bar size and address for alignment, so
/linux-4.4.14/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.4.14/drivers/pci/host/
Dpcie-rcar.c838 u64 alignment = 1ULL << nr_zeros; in rcar_pcie_inbound_ranges() local
840 size = min(range->size, alignment); in rcar_pcie_inbound_ranges()
/linux-4.4.14/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.4.14/include/sound/
Dwavefront.h28 of 22 bytes, corresponding to 16-bit alignment (as would have been
/linux-4.4.14/tools/perf/arch/x86/util/
Dintel-bts.c456 btsr->itr.alignment = sizeof(struct branch); in intel_bts_recording_init()
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dmsi-pic.txt106 physical"). However, each subwindow has to have the same alignment, which
/linux-4.4.14/arch/nios2/
DKconfig88 bool "Catch alignment trap"
/linux-4.4.14/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.4.14/drivers/scsi/
Dsd.c2057 unsigned int alignment; in read_capacity_16() local
2126 alignment = ((buffer[14] & 0x3f) << 8 | buffer[15]) * sector_size; in read_capacity_16()
2127 blk_queue_alignment_offset(sdp->request_queue, alignment); in read_capacity_16()
2128 if (alignment && sdkp->first_scan) in read_capacity_16()
2130 "physical block alignment offset: %u\n", alignment); in read_capacity_16()
/linux-4.4.14/arch/powerpc/
DKconfig577 As the ELF standard only requires alignment to support page
939 location the kernel is loaded at, without any alignment restrictions.
1004 This value puts the alignment restrictions on physical address
1006 address which meets above alignment restriction.
/linux-4.4.14/arch/arm/kernel/
Diwmmxt.S296 bic r2, r2, #0x7 @ 64-bit alignment
Dentry-armv.S159 SPFIX( tst r0, #4 ) @ test original stack alignment
/linux-4.4.14/arch/sparc/lib/
Dchecksum_32.S108 andcc %o0, 0x7, %g0 ! alignment problems?
341 andcc %o4, 3, %g0 ! check for mismatched alignment
/linux-4.4.14/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.4.14/arch/x86/kvm/
Dlapic.c1115 unsigned char alignment = offset & 0xf; in apic_reg_read() local
1120 if ((alignment + len) > 4) { in apic_reg_read()
1140 memcpy(data, (char *)&result + alignment, len); in apic_reg_read()
/linux-4.4.14/Documentation/driver-model/
Ddevres.txt222 up to ull alignment). If singly linked list is used, it can be
/linux-4.4.14/drivers/usb/usbip/
Dusbip_protocol.txt164 0x147 | 1 | | padding byte for alignment, shall be set to zero
/linux-4.4.14/Documentation/scsi/
Dosd.txt156 The OSD standard also mandates alignment restrictions at start of each segment.
/linux-4.4.14/Documentation/devicetree/bindings/bus/
Dmvebu-mbus.txt190 a region large enough available, and with the required alignment.
/linux-4.4.14/fs/xfs/
Dxfs_trace.h1592 __field(xfs_extlen_t, alignment)
1613 __entry->alignment = args->alignment;
1637 __entry->alignment,
/linux-4.4.14/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.4.14/net/netfilter/
Dx_tables.c430 const size_t alignment) in xt_check_entry_match() argument
440 if ((unsigned long)pos % alignment) in xt_check_entry_match()
/linux-4.4.14/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.4.14/arch/powerpc/kernel/
Dexceptions-64s.S283 STD_EXCEPTION_PSERIES(0x600, 0x600, alignment)
889 STD_RELON_EXCEPTION_PSERIES(0x4600, 0x600, alignment)

12