Searched refs:PTR_ALIGN (Results 1 - 25 of 142) sorted by relevance

123456

/linux-master/include/linux/
H A Dalign.h11 #define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a))) macro
/linux-master/arch/x86/kernel/
H A Dunwind_guess.c42 state->sp = PTR_ALIGN(info->next_sp, sizeof(long));
57 state->sp = PTR_ALIGN(first_frame, sizeof(long));
H A Dunwind_frame.c48 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 Dearlycpio.c111 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 Dst_sensors_buffer.c36 buf = PTR_ALIGN(buf, storage_bytes);
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_common.h73 p = PTR_ALIGN(pos, 8);
/linux-master/include/crypto/internal/
H A Dkpp.h60 return PTR_ALIGN(kpp_request_ctx(req), align);
H A Dakcipher.h43 return PTR_ALIGN(akcipher_request_ctx(req), align);
H A Daead.h80 return PTR_ALIGN(aead_request_ctx(req), align);
/linux-master/arch/powerpc/crypto/
H A Daes-gcm-p10-glue.c145 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 Dbioscfg.c41 int *ptr = PTR_ALIGN((int *)*buffer, sizeof(int));
/linux-master/drivers/char/hw_random/
H A Dvia-rng.c91 u32 *via_rng_datum = (u32 *)PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT);
/linux-master/crypto/
H A Dctr.c35 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 Dpadlock-sha.c80 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 Dbtrsi.c78 skb_pull(skb, PTR_ALIGN(skb->data,
/linux-master/drivers/infiniband/ulp/isert/
H A Dib_isert.h103 return PTR_ALIGN(desc->buf + ISER_HEADERS_LEN, 512) - ISER_HEADERS_LEN;
/linux-master/arch/x86/crypto/
H A Dpolyval-clmulni_glue.c54 return PTR_ALIGN(crypto_shash_ctx(tfm), POLYVAL_ALIGN);
H A Daesni-intel_glue.c87 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 Dhypfs_diag.c172 d204 = PTR_ALIGN(base + sizeof(d204->hdr), PAGE_SIZE) - sizeof(d204->hdr);
/linux-master/arch/x86/platform/efi/
H A Defi_64.c610 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 Dos_info.c96 buf_align = PTR_ALIGN(buf, align);
/linux-master/net/netfilter/
H A Dnft_set_pipapo.h72 #define NFT_PIPAPO_LT_ALIGN(lt) (PTR_ALIGN((lt), NFT_PIPAPO_ALIGN))
/linux-master/drivers/net/ethernet/amd/pds_core/
H A Dcore.c244 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 Dotx2_cptlf.h171 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 Dstm32-crc32.c181 if (d8 != PTR_ALIGN(d8, sizeof(u32))) {
185 while (d8 != PTR_ALIGN(d8, sizeof(u32)) && length) {

Completed in 210 milliseconds

123456