| /titanic_53/usr/src/lib/libc/port/gen/ |
| H A D | posix_memalign.c | 49 posix_memalign(void **memptr, size_t alignment, size_t size) in posix_memalign() argument 54 if (alignment == 0 || in posix_memalign() 55 (alignment & (sizeof (void *) - 1)) != 0 || in posix_memalign() 56 (alignment & (alignment - 1)) != 0) in posix_memalign() 59 (ptr = memalign(alignment, size)) == NULL) in posix_memalign()
|
| /titanic_53/usr/src/lib/libbc/libc/crt/sparc/ |
| H A D | misalign.s | 54 andcc %o0,1,%g0 ! test 16-bit alignment 87 andcc %i0,1,%g0 ! test for short alignment 121 andcc %i0,3,%g0 ! test for long alignment 125 andcc %i0,1,%g0 ! test for short alignment 129 ldub [%i0],%o0 ! worst case: byte alignment 177 andcc %o1,1,%g0 ! test for short alignment 208 andcc %i1,1,%g0 ! test for short alignment 245 andcc %i2,3,%g0 ! test for long alignment 249 andcc %i2,1,%g0 ! test for short alignment 300 andcc %o1,1,%g0 ! test for short alignment [all …]
|
| /titanic_53/usr/src/lib/libmalloc/common/ |
| H A D | malloc.c | 198 memalign(size_t alignment, size_t size) in memalign() argument 206 if (size == 0 || alignment == 0 || in memalign() 207 (alignment & (alignment - 1)) != 0) { in memalign() 210 if (alignment <= ALIGNSZ) in memalign() 213 alloc_size = size + alignment; in memalign() 226 fr = (fr + alignment - 1) / alignment * alignment; in memalign() 239 alloc_size = size + alignment*2; in memalign() 252 fr = (fr + alignment - 1) / alignment * alignment; in memalign() 256 fr = fr + alignment; in memalign()
|
| /titanic_53/usr/src/tools/ndrgen/ |
| H A D | ndr_anal.c | 131 tdti->alignment, in show_typeinfo_list() 138 ti->alignment, in show_typeinfo_list() 374 while (offset & ti->alignment) in analyze_typeinfo_typedef() 421 while (offset & ti->alignment) in analyze_typeinfo_struct() 475 while (size & ti->alignment) in analyze_typeinfo_union() 494 ti->alignment |= mem->type->alignment; in analyze_typeinfo_aggregate_finish() 610 while (*offsetp & type_down->alignment) in analyze_member() 774 ti->alignment = ti->size_fixed_part - 1; in seed_basic_types() 898 ti->alignment = 3; in bind_typeinfo() 906 ti->alignment = tdti->alignment; in bind_typeinfo() [all …]
|
| /titanic_53/usr/src/lib/libc/i386_hwcap1/gen/ |
| H A D | memset.s | 52 cmpl $256, %ecx / smaller areas don't benefit from alignment 63 pushl %esi / for alignment work 75 jz .sse_aligned / skip alignment if not needed 77 movl %esi, %ecx / alignment bytes 102 jmp .sse_nt_loop / branch across alignment nops 152 andl $7, %edi / check alignment
|
| /titanic_53/usr/src/uts/common/io/i40e/ |
| H A D | i40e_osdep.c | 45 enum i40e_memory_type type, u64 size, u32 alignment) in i40e_allocate_dma_mem() argument 61 attr.dma_attr_align = alignment; in i40e_allocate_dma_mem() 62 mem->idm_alignment = alignment; in i40e_allocate_dma_mem()
|
| /titanic_53/usr/src/lib/libc/i386/gen/ |
| H A D | strchr.s | 42 cmp $3, %ecx / check alignment 49 cmp $2, %ecx / check alignment
|
| /titanic_53/usr/src/uts/sun4/vm/ |
| H A D | sfmmu.c | 526 ndata_extra_base(struct memlist *ndata, size_t alignment, caddr_t endaddr) in ndata_extra_base() argument 540 ASSERT((alignment % ecache_alignsize) == 0); in ndata_extra_base() 547 base = roundup(ndata->ml_address, alignment); in ndata_extra_base() 580 ndata_select_chunk(struct memlist *ndata, size_t wanted, size_t alignment) in ndata_select_chunk() argument 609 base = roundup(frlist->ml_address, alignment); in ndata_select_chunk() 658 ndata_alloc(struct memlist *ndata, size_t wanted, size_t alignment) in ndata_alloc() argument 670 if ((found = ndata_select_chunk(ndata, wanted, alignment)) == NULL) in ndata_alloc() 676 base = roundup(found->ml_address, alignment); in ndata_alloc()
|
| /titanic_53/usr/src/common/mapfiles/common/ |
| H A D | map.bssalign | 24 # the segment at 4Mb. This effectively provides an appropriate alignment for 26 # executables. See ppgsz(1). Users are cautioned that an alignment
|
| /titanic_53/usr/src/uts/sun4u/cpu/ |
| H A D | cheetah_copy.s | 758 bz,pt %ncc, .kcopy_8 ! check for longword alignment 774 bz,pt %ncc, .kcopy_4 ! check for word alignment 942 bz,pt %ncc, .bcopy_8 ! check for longword alignment 958 bz,pt %ncc, .bcopy_4 ! check for word alignment 1007 or %o0, %o1, %o3 ! prepare alignment check 1008 andcc %o3, 0x3, %g0 ! test for alignment 1045 nop ! instruction alignment 1106 xor %o0, %o1, %o3 ! setup alignment check 1118 bz,pt %ncc, .bc_med_long1 ! word alignment 1177 bz,pt %ncc, .bc_med_word1 ! word alignment [all …]
|
| H A D | opl_olympus_copy.s | 713 bz,pt %ncc, .kcopy_8 ! check for longword alignment 729 bz,pt %ncc, .kcopy_4 ! check for word alignment 897 bz,pt %ncc, .bcopy_8 ! check for longword alignment 913 bz,pt %ncc, .bcopy_4 ! check for word alignment 962 or %o0, %o1, %o3 ! prepare alignment check 963 andcc %o3, 0x3, %g0 ! test for alignment 996 nop ! instruction alignment 1057 xor %o0, %o1, %o3 ! setup alignment check 1069 bz,pt %ncc, .bc_med_long1 ! word alignment 1128 bz,pt %ncc, .bc_med_word1 ! word alignment [all …]
|
| /titanic_53/usr/src/lib/libmtmalloc/common/ |
| H A D | mtmalloc.c | 460 memalign(size_t alignment, size_t size) in memalign() argument 467 if (size == 0 || alignment == 0 || misaligned(alignment) || in memalign() 468 (alignment & (alignment - 1)) != 0) { in memalign() 474 if (alignment <= MTMALLOC_MIN_ALIGN) in memalign() 477 alloc_size = size + alignment - MTMALLOC_MIN_ALIGN; in memalign() 500 if ((offset = (uintptr_t)alloc_buf & (alignment - 1)) == 0) { in memalign() 534 shift = alignment - offset; in memalign()
|
| /titanic_53/usr/src/lib/libc/capabilities/sun4v/common/ |
| H A D | memcpy.s | 244 .cpy_dbwdbc: ! alignment of src is needed 262 srl %g1, 3, %o0 ! retsote %o0 value for alignment 263 add %o5, %o0, %o5 ! restore src alignment 269 .dbcopybc: ! alignment of src is not needed 330 .mv_large_align8_copy: ! Src and dst share 8 byte alignment 354 ! Determine source alignment 778 or %o0, %o1, %o4 ! prepare alignment check 779 andcc %o4, 0x3, %o5 ! test for alignment 1745 ! Move bytes according to source alignment 1747 bnz %ncc, .unalignbyte ! check for byte alignment [all …]
|
| /titanic_53/usr/src/uts/sun4/conf/ |
| H A D | genalign.s | 40 ! the booter what alignment we want
|
| /titanic_53/usr/src/uts/common/io/i40e/core/ |
| H A D | i40e_alloc.h | 57 u64 size, u32 alignment);
|
| /titanic_53/usr/src/uts/common/avs/ns/sdbc/ |
| H A D | sd_pcu.h | 45 int32_t alignment; /* all sections are multiples of this */ member
|
| /titanic_53/usr/src/uts/sun4u/io/pci/ |
| H A D | pci_asm.s | 63 ! Assumes alignment is correct. 126 ! Assumes alignment is correct and that on_trap handling has been installed
|
| /titanic_53/usr/src/uts/common/io/xge/hal/xgehal/ |
| H A D | xgehal-channel-fp.c | 270 xge_hal_check_alignment(dma_addr_t dma_pointer, int size, int alignment, in xge_hal_check_alignment() argument 275 misaligned_size = (int)(dma_pointer & (alignment - 1)); in xge_hal_check_alignment()
|
| /titanic_53/usr/src/uts/sun4u/io/px/ |
| H A D | px_asm_4u.s | 67 ! Assumes alignment is correct and that on_trap handling has been installed 130 ! Assumes alignment is correct and that on_trap handling has been installed
|
| /titanic_53/usr/src/uts/sun4v/ml/ |
| H A D | wbuf.s | 58 ! a user alignment trap. 194 ! a user alignment trap. 395 ! a user alignment trap.
|
| /titanic_53/usr/src/lib/libc/sparc/gen/ |
| H A D | strcmp.s | 55 ! alignment of the destination string. If it is possible to
|
| /titanic_53/usr/src/uts/common/io/bnxe/ |
| H A D | bnxe_mm.c | 561 u32_t alignment, in mm_alloc_phys_mem_align_imp() argument 593 dmaAttrib.dma_attr_align = alignment; in mm_alloc_phys_mem_align_imp() 599 size += (alignment - 1); in mm_alloc_phys_mem_align_imp() 600 size &= ~((u32_t)(alignment - 1)); in mm_alloc_phys_mem_align_imp() 602 MEM_LOG(pUM, "*** DMA: %8u (%4d) - %8u", memSize, alignment, size); in mm_alloc_phys_mem_align_imp() 660 (!((u32_t)pBuf % (u32_t)alignment)) ? 1 : 0, in mm_alloc_phys_mem_align_imp() 661 (!((u32_t)pPhysAddr->as_ptr % (u32_t)alignment) ? 1 : 0)); in mm_alloc_phys_mem_align_imp()
|
| /titanic_53/usr/src/lib/libc/capabilities/sun4u-opl/common/ |
| H A D | memcpy.s | 142 ! check for src long word alignment 144 andcc %o1, 7, %g0 ! chk src long word alignment 330 ! adjust instruction alignment 332 nop ! icache alignment and performance 341 or %o0, %o1, %o3 ! prepare alignment check 342 andcc %o3, 0x3, %g0 ! test for alignment 378 nop ! affects loop icache alignment 451 andcc %o1, 0x3, %g0 ! test alignment 464 andcc %o1, 0x7, %g0 ! test word alignment 618 ! Then, if large case, o5 is replaced by count for block alignment.
|
| /titanic_53/usr/src/uts/sun4u/ml/ |
| H A D | wbuf.s | 57 ! a user alignment trap. 191 ! a user alignment trap. 333 ! a user alignment trap.
|
| /titanic_53/usr/src/lib/libc/capabilities/sun4u-us3/common/ |
| H A D | memcpy.s | 135 ! check for src long word alignment 137 andcc %o1, 7, %g0 ! chk src long word alignment 353 ! adjust instruction alignment 355 nop ! icache alignment and performance 362 or %o0, %o1, %o3 ! prepare alignment check 363 andcc %o3, 0x3, %g0 ! test for alignment 399 nop ! affects loop icache alignment 470 andcc %o1, 0x3, %g0 ! test alignment 482 andcc %o1, 0x7, %g0 ! test word alignment 635 ! Then, if large case, o5 is replaced by count for block alignment.
|