Searched refs:aligned (Results 51 - 75 of 87) sorted by relevance

1234

/xnu-2422.115.4/osfmk/i386/
H A Dpal_routines.c67 static pml4_entry_t IDPML4[PTE_PER_PAGE] __attribute__ ((aligned (4096)));
H A Dfpu.c99 struct x86_avx_thread_state initial_fp_state __attribute((aligned(64)));
185 /* XSAVE requires a 64 byte aligned store */
H A Dmp_desc.c163 __attribute__ ((aligned(PAGE_SIZE))) = {
505 /* Require that the top of the sysenter stack is 16-byte aligned */
507 panic("cpu_desc_init64() sysenter stack not 16-byte aligned");
/xnu-2422.115.4/bsd/sys/
H A Dtermios.h293 user_speed_t c_ispeed __attribute((aligned(8))); /* input speed */
H A Dmcache.h247 } __attribute__((aligned(MAX_CPU_CACHE_LINE_SIZE), packed)) mcache_cpu_t;
304 * Per-CPU layer, aligned at cache line boundary
H A Dstat.h371 } __attribute__((packed,aligned(4)));
H A Dmount.h415 user_addr_t vc_ptr __attribute((aligned(8))); /* pointer to data structure. */
H A Dsysctl.h791 user64_addr_t e_tsess __attribute((aligned(8))); /* tty session pointer */
H A Dmbuf.h365 * Module private scratch space (32-bit aligned), currently 16-bytes
383 } pkt_mpriv __attribute__((aligned(4)));
685 * an object of the specified size at the end of the mbuf, longword aligned.
1117 * is 32-bit aligned (this is the expected minimum alignment for protocol
1128 "32-bit aligned [%s: alignerrs=%lld]\n", \
1134 "32-bit aligned\n", \
/xnu-2422.115.4/bsd/net/
H A Dbpf.h122 user64_addr_t bf_insns __attribute__((aligned(8)));
H A Dntstat.c276 u_int8_t *aligned = buffer + sizeof(*hdr);
277 aligned = (u_int8_t*)P2ROUNDUP(aligned, alignment);
279 hdr = (struct align_header*)(void *)(aligned - sizeof(*hdr));
280 hdr->offset = aligned - buffer;
283 return aligned;
/xnu-2422.115.4/bsd/net/classq/
H A Dif_classq.h229 } __attribute__((aligned(8)));
/xnu-2422.115.4/bsd/netinet/
H A Din_cksum.c414 * contiguous and 32-bit aligned. Also does some stats accounting.
452 unsigned char buf[sizeof ((*ip))] __attribute__((aligned(8)));
470 * aligned, copy it to a local buffer. Note here that we
/xnu-2422.115.4/bsd/netinet6/
H A Desp_input.c198 /* Expect 32-bit aligned data pointer on strict-align platforms */
282 u_char sum0[AH_MAXSUMSIZE] __attribute__((aligned(4)));
283 u_char sum[AH_MAXSUMSIZE] __attribute__((aligned(4)));
531 * Expect 32-bit aligned data pointer on strict-align
758 /* Expect 32-bit data aligned pointer on strict-align platforms */
836 u_char sum0[AH_MAXSUMSIZE] __attribute__((aligned(4)));
837 u_char sum[AH_MAXSUMSIZE] __attribute__((aligned(4)));
H A Desp_core.c545 u_int8_t iv[MAXIVLEN] __attribute__((aligned(4))), *ivp;
692 // try to make mbuf data aligned
705 // check input pointer alignment and use a separate aligned buffer (if sp is unaligned on 4-byte boundary).
772 u_int8_t iv[MAXIVLEN] __attribute__((aligned(4))), *ivp;
925 // try to make mbuf data aligned
944 // check input pointer alignment and use a separate aligned buffer (if sp is not aligned on 4-byte boundary).
1003 u_char sumbuf[AH_MAXSUMSIZE] __attribute__((aligned(4)));
H A Desp_output.c729 u_char authbuf[AH_MAXSUMSIZE] __attribute__((aligned(4)));
H A Dipsec.c3038 static char buf[256] __attribute__((aligned(4)));
3068 static char buf[256] __attribute__((aligned(4)));
3093 static char buf[256] __attribute__((aligned(4)));
/xnu-2422.115.4/bsd/nfs/
H A Dnfs.h273 user_addr_t addr __attribute((aligned(8))); /* file server address */
277 user_addr_t fh __attribute((aligned(8))); /* File handle to be mounted */
289 user_addr_t hostname __attribute((aligned(8))); /* server's name */
375 user_addr_t name __attribute((aligned(8))); /* Client addr for connection based sockets */
/xnu-2422.115.4/osfmk/kern/
H A Dledger.c138 volatile ledger_amount_t le_credit __attribute__((aligned(8)));
139 volatile ledger_amount_t le_debit __attribute__((aligned(8)));
154 } __attribute__((aligned(8)));
/xnu-2422.115.4/EXTERNAL_HEADERS/corecrypto/
H A Dccmode_factory.h353 __attribute__ ((aligned (16)))
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_xattr.c1350 } __attribute__((aligned(2), packed)) apple_double_entry_t;
1361 } __attribute__((aligned(2), packed)) apple_double_header_t;
1365 /* Entries are aligned on 4 byte boundaries */
1372 } __attribute__((aligned(2), packed)) attr_entry_t;
1386 } __attribute__((aligned(2), packed)) attr_header_t;
1408 } __attribute__((aligned(2), packed)) rsrcfork_header_t;
/xnu-2422.115.4/iokit/Kernel/
H A DIOHibernateRestoreKernel.c399 uint8_t scratch[WKdm_SCRATCH_BUF_SIZE] __attribute__ ((aligned (16)));
/xnu-2422.115.4/osfmk/vm/
H A Dvm_pageout.c7780 unsigned char swap_crypt_test_page_ref[4096] __attribute__((aligned(4096)));
7781 unsigned char swap_crypt_test_page_encrypt[4096] __attribute__((aligned(4096)));
7782 unsigned char swap_crypt_test_page_decrypt[4096] __attribute__((aligned(4096)));
8774 /*assert that slide_file_info.start/end are page-aligned?*/
/xnu-2422.115.4/osfmk/x86_64/
H A Dpmap.c231 long long alloc_ptepages_count __attribute__((aligned(8))) = 0; /* aligned for atomic access */
735 /* The anchor is required to be page aligned. Zone debugging adds
818 * must be 2M-aligned at the base, and the data section above must also be
819 * 2M-aligned. That is, there's padding below and above. This is achieved
921 * If text and data are both 2MB-aligned,
926 kprintf("Kernel text is 2MB aligned");
/xnu-2422.115.4/bsd/kern/
H A Dkdebug.c210 } __attribute__(( aligned(MAX_CPU_CACHE_LINE_SIZE) ));

Completed in 115 milliseconds

1234