/linux-4.1.27/arch/cris/arch-v32/mm/ |
D | intmem.c | 59 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/ |
D | cma.c | 174 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/ |
D | drm_mm.c | 95 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 …]
|
D | drm_bufs.c | 609 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/ |
D | cvmx-bootmem.c | 76 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/ |
D | recordmcount.pl | 165 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/ |
D | cvmx-bootmem.h | 158 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,
|
D | octeon.h | 15 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/ |
D | rheap.c | 253 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/ |
D | drm_mm.h | 226 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/ |
D | rheap.h | 27 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/ |
D | cow_user.c | 91 __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()
|
D | cow.h | 7 int sectorsize, int alignment, int *bitmap_offset_out, 18 int sectorsize, int alignment,
|
D | ubd_kern.c | 696 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/ |
D | qxl_gem.c | 40 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()
|
D | qxl_drv.h | 410 int alignment, int initial_domain,
|
/linux-4.1.27/Documentation/arm/ |
D | mem_alignment | 2 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
|
D | 00-INDEX | 40 - alignment abort handler documentation
|
/linux-4.1.27/drivers/mtd/ubi/ |
D | vmt.c | 47 __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 …]
|
D | vtbl.c | 170 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()
|
D | debug.c | 112 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()
|
D | cdev.c | 607 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()
|
D | ubi-media.h | 367 __be32 alignment; member
|
D | kapi.c | 90 vi->alignment = vol->alignment; in ubi_do_get_volume_info()
|
D | ubi.h | 332 int alignment; member
|
/linux-4.1.27/arch/metag/lib/ |
D | memcpy.S | 33 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
|
D | divsi3.S | 71 !! Calculate alignment using FFB instruction
|
D | memmove.S | 36 ! test 8 byte alignment
|
/linux-4.1.27/arch/xtensa/lib/ |
D | memset.S | 53 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)
|
D | usercopy.S | 128 .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)
|
D | strncpy_user.S | 109 .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)
|
D | memcopy.S | 78 .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/ |
D | checksum.S | 60 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/ |
D | i915_gem_evict.c | 75 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()
|
D | i915_ioc32.c | 157 int alignment; member 174 || __put_user(req32.alignment, &request->alignment) in compat_i915_alloc()
|
D | i915_gem.c | 3433 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 …]
|
D | i915_gem_execbuffer.c | 604 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()
|
D | i915_drv.h | 2625 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,
|
D | intel_display.c | 2363 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/ |
D | blk-settings.c | 543 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()
|
D | blk-lib.c | 47 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/ |
D | unaligned-memory-access.txt | 27 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 …]
|
D | DMA-API.txt | 88 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.
|
D | DMA-API-HOWTO.txt | 374 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
|
D | stable_api_nonsense.txt | 55 data structures will contain different alignment of structures, and
|
/linux-4.1.27/Documentation/cris/ |
D | README | 91 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/ |
D | ppc4xx_ocm.c | 64 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()
|
D | cpm_common.c | 148 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/ |
D | checksum.S | 52 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.
|
D | memcpy-sh4.S | 261 ! alignment of src and dst.
|
/linux-4.1.27/include/linux/ceph/ |
D | osd_client.h | 63 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,
|
D | messenger.h | 110 unsigned int alignment; /* first page */ member 287 size_t length, size_t alignment);
|
/linux-4.1.27/fs/xfs/libxfs/ |
D | xfs_alloc.c | 156 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 …]
|
D | xfs_alloc.h | 113 xfs_extlen_t alignment; /* align answer to multiple of this */ member
|
D | xfs_ialloc.c | 412 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()
|
D | xfs_bmap.c | 3761 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/ |
D | sha1_mb_mgr_datastruct.S | 92 # 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/ |
D | pci.c | 202 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/ |
D | ps3stor_lib.c | 150 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/ |
D | rsio.c | 77 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.io.alignment), 78 AML_OFFSET(io.alignment),
|
D | amlresrc.h | 176 u8 alignment; member 218 u16 alignment; member 229 u32 alignment; member
|
D | rsdumpinfo.c | 115 {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/ |
D | pm8001_init.c | 156 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 …]
|
D | pm8001_sas.h | 309 u32 alignment; member
|
/linux-4.1.27/arch/x86/lib/ |
D | checksum_32.S | 59 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/ |
D | radeon_mem.c | 238 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()
|
D | radeon_gem.c | 45 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()
|
D | radeon_ioc32.c | 294 int alignment; member 311 || __put_user(req32.alignment, &request->alignment) in compat_radeon_mem_alloc()
|
/linux-4.1.27/Documentation/networking/ |
D | radiotap-headers.txt | 56 - "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
|
D | de4x5.txt | 111 aligned DMA transfers and the Alphas get alignment traps with non
|
D | filter.txt | 1043 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
|
D | altera_tse.txt | 142 length errors, or alignment errors.
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-class-net-cdc_ncm | 91 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
|
D | sysfs-block | 81 offset from the disk's natural alignment. 92 is offset from the disk's natural alignment. 163 natural alignment. 174 natural alignment.
|
D | sysfs-class-net-statistics | 69 alignment errors. Note that the specific meaning depends on
|
D | sysfs-kernel-slab | 29 alignment in bytes. 444 with metadata (debugging information and alignment) in bytes.
|
/linux-4.1.27/drivers/staging/rtl8723au/hal/ |
D | rtl8723au_recv.c | 32 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()
|
D | usb_ops_linux.c | 610 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/ |
D | sysfs-class-ubi | 72 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/ |
D | rsparser.c | 349 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/ |
D | Makefile | 12 obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40e_alloc.h | 49 u64 size, u32 alignment);
|
D | i40evf_main.c | 72 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/ |
D | i40e_alloc.h | 49 u64 size, u32 alignment);
|
/linux-4.1.27/arch/alpha/lib/ |
D | ev6-memcpy.S | 63 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
|
D | ev6-memset.S | 137 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
|
D | ev6-copy_user.S | 94 and $7,7,$1 # .. .. .. E : Check _current_ source alignment
|
/linux-4.1.27/include/acpi/ |
D | acrestyp.h | 203 u8 alignment; member 251 u16 alignment; member 259 u32 alignment; member
|
D | actbl3.h | 569 u16 alignment; member
|
/linux-4.1.27/include/linux/ |
D | cma.h | 24 phys_addr_t alignment, unsigned int order_per_bit,
|
D | blkdev.h | 1016 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()
|
D | filter.h | 402 unsigned int alignment,
|
D | efi.h | 1245 unsigned long alignment);
|
/linux-4.1.27/Documentation/devicetree/bindings/soc/fsl/ |
D | qman.txt | 100 - The alignment must be a muliptle of the memory size 123 alignment = <0 0x400000>; 129 alignment = <0 0x2000000>;
|
D | bman.txt | 83 - The alignment must be a muliptle of the memory size 106 alignment = <0 0x1000000>;
|
/linux-4.1.27/Documentation/devicetree/bindings/reserved-memory/ |
D | reserved-memory.txt | 38 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/ |
D | csumpartial.S | 76 tst td0, #1 @ check buffer alignment 111 tst buf, #3 @ Test destination alignment
|
D | csumpartialcopygeneric.S | 97 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/ |
D | setup.c | 520 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/ |
D | i915_drm.h | 377 int alignment; member 622 __u64 alignment; member 672 __u64 alignment; member 777 __u64 alignment; member
|
D | radeon_drm.h | 732 int alignment; member 811 uint64_t alignment; member
|
/linux-4.1.27/drivers/s390/char/ |
D | sclp_cmd.c | 394 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/ |
D | checksum_32.S | 58 testl $2, %esi # Check alignment. 59 jz 2f # Jump if alignment is ok.
|
/linux-4.1.27/drivers/atm/ |
D | idt77252.h | 428 #define ALIGN_ADDRESS(addr, alignment) \ argument 429 ((((u32)(addr)) + (((u32)(alignment))-1)) & ~(((u32)(alignment)) - 1))
|
D | fore200e.c | 88 #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
|
D | firestream.c | 1384 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/ |
D | ubi-user.h | 320 __s32 alignment; member
|
/linux-4.1.27/drivers/staging/rtl8712/ |
D | usb_ops_linux.c | 256 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()
|
D | rtl8712_recv.c | 56 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/ |
D | ubi.h | 121 int alignment; member
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | cpqphp_ctrl.c | 411 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/ |
D | alignment.c | 32 core_param(alignment, se_usermode, int, 0600);
|
D | Makefile | 5 obj-y := alignment.o cache.o init.o consistent.o mmap.o
|
/linux-4.1.27/arch/metag/ |
D | Kconfig.soc | 49 All memory accesses will be checked for alignment and an exception
|
/linux-4.1.27/arch/microblaze/ |
D | Kconfig.platform | 14 They are optimized by using word alignment. This will work
|
/linux-4.1.27/Documentation/powerpc/ |
D | ptrace.txt | 17 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
|
D | qe_firmware.txt | 228 'padding' is necessary for structure alignment. This field ensures that the 269 'reserved' is necessary for structure alignment. Since 'microcode'
|
D | pci_iov_resource_on_powernv.txt | 93 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/ |
D | osd_client.c | 95 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 …]
|
D | messenger.c | 936 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/ |
D | hauppauge-wintv-cx88-ir.txt | 36 actual raw RC5 code will span 2-3 DWORDS, depending on the actual alignment.
|
/linux-4.1.27/Documentation/video4linux/ |
D | hauppauge-wintv-cx88-ir.txt | 36 actual raw RC5 code will span 2-3 DWORDS, depending on the actual alignment.
|
D | fimc.txt | 11 slightly different capabilities, like pixel alignment constraints, rotator
|
/linux-4.1.27/arch/arm/mm/ |
D | proc-v7m.S | 118 @ Configure the System Control Register to ensure 8-byte stack alignment
|
D | Makefile | 18 obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o
|
D | alignment.c | 89 core_param(alignment, ai_usermode, int, 0600);
|
/linux-4.1.27/drivers/firmware/efi/libstub/ |
D | efi-stub-helper.c | 550 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/ |
D | dsp_defs.h | 144 word alignment; /* ==0 -> no other legal start address than base */ member
|
/linux-4.1.27/arch/powerpc/boot/dts/ |
D | kmcoge4.dts | 35 alignment = <0 0x1000000>;
|
D | oca4080.dts | 59 alignment = <0 0x1000000>;
|
D | t104xrdb.dtsi | 43 alignment = <0 0x1000000>;
|
D | t104xqds.dtsi | 48 alignment = <0 0x1000000>;
|
D | b4qds.dtsi | 107 alignment = <0 0x1000000>;
|
D | t208xrdb.dtsi | 49 alignment = <0 0x1000000>;
|
D | p4080ds.dts | 55 alignment = <0 0x1000000>;
|
D | t4240rdb.dts | 79 alignment = <0 0x1000000>;
|
D | t208xqds.dtsi | 49 alignment = <0 0x1000000>;
|
D | p5040ds.dts | 55 alignment = <0 0x1000000>;
|
D | p2041rdb.dts | 55 alignment = <0 0x1000000>;
|
D | p5020ds.dts | 55 alignment = <0 0x1000000>;
|
D | t4240qds.dts | 110 alignment = <0 0x1000000>;
|
D | p1023rdb.dts | 57 alignment = <0 0x1000000>;
|
D | p3041ds.dts | 55 alignment = <0 0x1000000>;
|
/linux-4.1.27/arch/c6x/lib/ |
D | strasgi.S | 23 ;; This is essentially memcpy, with alignment known to be at least
|
D | csum_64plus.S | 35 ;; Check alignment and size
|
/linux-4.1.27/arch/arm/kvm/ |
D | init.S | 113 @ - Memory alignment checks: enabled
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
D | usb_ops_linux.c | 464 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/ |
D | blocklayout.c | 751 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/ |
D | vgic.c | 1912 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/ |
D | samsung-fimc.txt | 76 - samsung,min-pix-alignment: minimum supported image height alignment (first
|
/linux-4.1.27/Documentation/x86/ |
D | boot.txt | 53 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/ |
D | Makefile_32.cpu | 49 # does stack alignment by generating horrible code _before_ the mcount
|
D | Kconfig.cpu | 170 Pentium Pro with no alignment requirements). 184 and alignment requirements. 192 and alignment requirements. Also enable out of order memory
|
D | Kconfig.debug | 318 Some simple tests are run to verify IMR bounds checking, alignment
|
/linux-4.1.27/tools/perf/util/ |
D | parse-events.l | 196 alignment-faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_ALIGNMENT_FAULTS); }
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 459 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/ |
D | xfs.txt | 163 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
|
D | romfs.txt | 170 - Since the files are only required to have alignment on a 16 byte
|
D | squashfs.txt | 65 byte alignment:
|
/linux-4.1.27/kernel/bpf/ |
D | core.c | 135 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/ |
D | Kconfig.debug | 87 alignment and potentially wasted space. Turn on this option if
|
/linux-4.1.27/fs/ntfs/ |
D | layout.h | 1725 u8 alignment; member 1754 u8 alignment; member
|
/linux-4.1.27/arch/ia64/kernel/ |
D | efi.c | 1277 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/ |
D | pal.h | 1352 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/ |
D | spear-pcie-gadget.txt | 59 address. Kernel might modify bar size and address for alignment, so
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.h | 156 bus_size_t alignment; member
|
D | aic79xx_osm.h | 143 bus_size_t alignment; member
|
D | aic7xxx_osm.c | 829 bus_size_t alignment, bus_size_t boundary, in ahc_dma_tag_create() argument 848 dmat->alignment = alignment; in ahc_dma_tag_create()
|
D | aic79xx_osm.c | 934 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/ |
D | msr.txt | 18 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/ |
D | pcie-rcar.c | 813 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/ |
D | fw-decoder-regs.txt | 205 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/ |
D | msi-pic.txt | 106 physical"). However, each subwindow has to have the same alignment, which
|
/linux-4.1.27/include/sound/ |
D | wavefront.h | 28 of 22 bytes, corresponding to 16-bit alignment (as would have been
|
/linux-4.1.27/arch/nios2/ |
D | Kconfig | 88 bool "Catch alignment trap"
|
/linux-4.1.27/drivers/scsi/ |
D | sd.c | 1947 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/ |
D | ide-cd.c | 758 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/ |
D | target_core_device.c | 639 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/ |
D | Kconfig | 574 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/ |
D | iwmmxt.S | 296 bic r2, r2, #0x7 @ 64-bit alignment
|
D | entry-armv.S | 157 SPFIX( tst r0, #4 ) @ test original stack alignment
|
/linux-4.1.27/arch/x86/kvm/ |
D | lapic.c | 1026 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/ |
D | checksum_32.S | 108 andcc %o0, 0x7, %g0 ! alignment problems? 341 andcc %o4, 3, %g0 ! check for mismatched alignment
|
/linux-4.1.27/Documentation/devicetree/ |
D | booting-without-of.txt | 89 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/ |
D | xfs_trace.h | 1542 __field(xfs_extlen_t, alignment) 1563 __entry->alignment = args->alignment; 1587 __entry->alignment,
|
/linux-4.1.27/Documentation/scsi/ |
D | osd.txt | 156 The OSD standard also mandates alignment restrictions at start of each segment.
|
/linux-4.1.27/drivers/usb/usbip/ |
D | usbip_protocol.txt | 164 0x147 | 1 | | padding byte for alignment, shall be set to zero
|
/linux-4.1.27/Documentation/devicetree/bindings/bus/ |
D | mvebu-mbus.txt | 190 a region large enough available, and with the required alignment.
|
/linux-4.1.27/Documentation/driver-model/ |
D | devres.txt | 222 up to ull alignment). If singly linked list is used, it can be
|
/linux-4.1.27/Documentation/netlabel/ |
D | draft-ietf-cipso-ipsecurity-01.txt | 152 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/ |
D | kdump.txt | 242 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/ |
D | addr.c | 270 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/ |
D | exceptions-64s.S | 284 STD_EXCEPTION_PSERIES(0x600, 0x600, alignment) 890 STD_RELON_EXCEPTION_PSERIES(0x4600, 0x600, alignment)
|
D | exceptions-64e.S | 524 EXCEPTION_STUB(0x0c0, alignment) /* 0x0600 */ 597 START_EXCEPTION(alignment);
|
/linux-4.1.27/lib/ |
D | Kconfig | 115 and crc32_be over byte strings with random alignment and length
|
/linux-4.1.27/Documentation/ia64/ |
D | mca.txt | 189 ia64_sal_os_state), with 16 byte alignment for all structures.
|
/linux-4.1.27/sound/pci/asihpi/ |
D | hpi.h | 1311 u16 mode, u16 alignment, u16 idle_bit);
|
/linux-4.1.27/drivers/base/ |
D | Kconfig | 308 int "Maximum PAGE_SIZE order of alignment for contiguous buffers"
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | entry.S | 216 @ Enable the alignment trap while in kernel mode
|
/linux-4.1.27/drivers/usb/gadget/ |
D | Kconfig | 273 different alignment possibilities.
|