/linux-master/include/linux/ |
H A D | align.h | 11 #define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a))) macro
|
/linux-master/arch/x86/kernel/ |
H A D | unwind_guess.c | 42 state->sp = PTR_ALIGN(info->next_sp, sizeof(long)); 57 state->sp = PTR_ALIGN(first_frame, sizeof(long));
|
H A D | unwind_frame.c | 48 for (sp = PTR_ALIGN(state->orig_sp, sizeof(long)); sp; 49 sp = PTR_ALIGN(stack_info.next_sp, sizeof(long))) {
|
/linux-master/lib/ |
H A D | earlycpio.c | 111 dptr = PTR_ALIGN(p + ch[C_NAMESIZE], 4); 112 nptr = PTR_ALIGN(dptr + ch[C_FILESIZE], 4);
|
/linux-master/drivers/iio/common/st_sensors/ |
H A D | st_sensors_buffer.c | 36 buf = PTR_ALIGN(buf, storage_bytes);
|
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_common.h | 73 p = PTR_ALIGN(pos, 8);
|
/linux-master/include/crypto/internal/ |
H A D | kpp.h | 60 return PTR_ALIGN(kpp_request_ctx(req), align);
|
H A D | akcipher.h | 43 return PTR_ALIGN(akcipher_request_ctx(req), align);
|
H A D | aead.h | 80 return PTR_ALIGN(aead_request_ctx(req), align);
|
/linux-master/arch/powerpc/crypto/ |
H A D | aes-gcm-p10-glue.c | 145 unsigned char *aclen = PTR_ALIGN((void *)len_ac, PPC_ALIGN); 206 struct gcm_ctx *gctx = PTR_ALIGN((void *)databuf, PPC_ALIGN); 208 struct Hash_ctx *hash = PTR_ALIGN((void *)hashbuf, PPC_ALIGN); 216 unsigned char *iv = PTR_ALIGN((void *)ivbuf, PPC_ALIGN);
|
/linux-master/drivers/platform/x86/hp/hp-bioscfg/ |
H A D | bioscfg.c | 41 int *ptr = PTR_ALIGN((int *)*buffer, sizeof(int));
|
/linux-master/drivers/char/hw_random/ |
H A D | via-rng.c | 91 u32 *via_rng_datum = (u32 *)PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT);
|
/linux-master/crypto/ |
H A D | ctr.c | 35 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); 83 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); 197 (void *)PTR_ALIGN((u8 *)skcipher_request_ctx(req), align + 1);
|
/linux-master/drivers/crypto/ |
H A D | padlock-sha.c | 80 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); 141 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); 289 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); 373 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT);
|
/linux-master/drivers/bluetooth/ |
H A D | btrsi.c | 78 skb_pull(skb, PTR_ALIGN(skb->data,
|
/linux-master/drivers/infiniband/ulp/isert/ |
H A D | ib_isert.h | 103 return PTR_ALIGN(desc->buf + ISER_HEADERS_LEN, 512) - ISER_HEADERS_LEN;
|
/linux-master/arch/x86/crypto/ |
H A D | polyval-clmulni_glue.c | 54 return PTR_ALIGN(crypto_shash_ctx(tfm), POLYVAL_ALIGN);
|
H A D | aesni-intel_glue.c | 87 return PTR_ALIGN(addr, AESNI_ALIGN); 674 struct gcm_context_data *data = PTR_ALIGN((void *)databuf, AESNI_ALIGN); 830 u8 *iv = PTR_ALIGN(&ivbuf[0], AESNI_ALIGN); 858 u8 *iv = PTR_ALIGN(&ivbuf[0], AESNI_ALIGN); 1158 u8 *iv = PTR_ALIGN(&ivbuf[0], AESNI_ALIGN); 1175 u8 *iv = PTR_ALIGN(&ivbuf[0], AESNI_ALIGN);
|
/linux-master/arch/s390/hypfs/ |
H A D | hypfs_diag.c | 172 d204 = PTR_ALIGN(base + sizeof(d204->hdr), PAGE_SIZE) - sizeof(d204->hdr);
|
/linux-master/arch/x86/platform/efi/ |
H A D | efi_64.c | 610 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); 642 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); 672 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); 703 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd));
|
/linux-master/arch/s390/kernel/ |
H A D | os_info.c | 96 buf_align = PTR_ALIGN(buf, align);
|
/linux-master/net/netfilter/ |
H A D | nft_set_pipapo.h | 72 #define NFT_PIPAPO_LT_ALIGN(lt) (PTR_ALIGN((lt), NFT_PIPAPO_ALIGN))
|
/linux-master/drivers/net/ethernet/amd/pds_core/ |
H A D | core.c | 244 q_base = PTR_ALIGN(qcq->q_base, PDS_PAGE_SIZE); 248 cq_base = PTR_ALIGN(q_base + 265 q_base = PTR_ALIGN(qcq->q_base, PDS_PAGE_SIZE); 278 cq_base = PTR_ALIGN(qcq->cq_base, PDS_PAGE_SIZE);
|
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptlf.h | 171 iq->vaddr = PTR_ALIGN(iq->vaddr, OTX2_CPT_INST_Q_ALIGNMENT); 172 iq->dma_addr = PTR_ALIGN(iq->dma_addr,
|
/linux-master/drivers/crypto/stm32/ |
H A D | stm32-crc32.c | 181 if (d8 != PTR_ALIGN(d8, sizeof(u32))) { 185 while (d8 != PTR_ALIGN(d8, sizeof(u32)) && length) {
|