Home
last modified time | relevance | path

Searched refs:PTR_ALIGN (Results 1 – 25 of 122) sorted by relevance

12345

/linux/crypto/
A Dxcbc.c56 u8 *consts = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_setkey()
77 u8 *prev = PTR_ALIGN(&ctx->ctx[0], alignmask + 1) + bs; in crypto_xcbc_digest_init()
94 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_update()
140 u8 *consts = PTR_ALIGN(&tctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final()
141 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final()
A Dcmac.c56 __be64 *consts = PTR_ALIGN((void *)ctx->ctx, in crypto_cmac_digest_setkey()
110 u8 *prev = PTR_ALIGN((void *)ctx->ctx, alignmask + 1) + bs; in crypto_cmac_digest_init()
127 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_update()
173 u8 *consts = PTR_ALIGN((void *)tctx->ctx, in crypto_cmac_digest_final()
175 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_final()
A Dctr.c35 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_final()
83 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_inplace()
197 (void *)PTR_ALIGN((u8 *)skcipher_request_ctx(req), align + 1); in crypto_rfc3686_crypt()
A Dauthencesn.c93 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv_tail()
126 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv()
229 u8 *ohash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_decrypt_tail()
278 u8 *ohash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_decrypt()
/linux/arch/x86/kernel/
A Dunwind_guess.c42 state->sp = PTR_ALIGN(info->next_sp, sizeof(long)); in unwind_next_frame()
57 state->sp = PTR_ALIGN(first_frame, sizeof(long)); in __unwind_start()
A Dunwind_frame.c48 for (sp = PTR_ALIGN(state->orig_sp, sizeof(long)); sp; in unwind_dump()
49 sp = PTR_ALIGN(stack_info.next_sp, sizeof(long))) { in unwind_dump()
/linux/lib/
A Dearlycpio.c111 dptr = PTR_ALIGN(p + ch[C_NAMESIZE], 4); in find_cpio_data()
112 nptr = PTR_ALIGN(dptr + ch[C_FILESIZE], 4); in find_cpio_data()
/linux/drivers/crypto/
A Dpadlock-sha.c80 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_finup()
141 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha256_finup()
289 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_update_nano()
373 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha256_update_nano()
/linux/arch/x86/platform/efi/
A Defi_64.c581 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_get_variable()
613 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_set_variable()
643 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_set_variable_nonblocking()
674 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_get_next_variable()
/linux/include/linux/
A Dalign.h11 #define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a))) macro
/linux/arch/x86/crypto/
A Daesni-intel_glue.c194 return PTR_ALIGN(crypto_aead_ctx(tfm), align); in aesni_rfc4106_gcm_ctx_get()
204 return PTR_ALIGN(crypto_aead_ctx(tfm), align); in generic_gcmaes_ctx_get()
610 struct gcm_context_data *data = PTR_ALIGN((void *)databuf, AESNI_ALIGN); in gcmaes_crypt_by_sg()
766 u8 *iv = PTR_ALIGN(&ivbuf[0], AESNI_ALIGN); in helper_rfc4106_encrypt()
794 u8 *iv = PTR_ALIGN(&ivbuf[0], AESNI_ALIGN); in helper_rfc4106_decrypt()
1070 u8 *iv = PTR_ALIGN(&ivbuf[0], AESNI_ALIGN); in generic_gcmaes_encrypt()
1087 u8 *iv = PTR_ALIGN(&ivbuf[0], AESNI_ALIGN); in generic_gcmaes_decrypt()
/linux/drivers/misc/lkdtm/
A Dstackleak.c25 sp = PTR_ALIGN(&i, sizeof(unsigned long)); in lkdtm_STACKLEAK_ERASING()
/linux/drivers/iio/common/st_sensors/
A Dst_sensors_buffer.c37 buf = PTR_ALIGN(buf, storage_bytes); in st_sensors_get_buffer_element()
/linux/drivers/crypto/marvell/octeontx2/
A Dotx2_cptlf.h154 iq->vaddr = PTR_ALIGN(iq->vaddr, OTX2_CPT_INST_Q_ALIGNMENT); in otx2_cpt_alloc_instruction_queues()
155 iq->dma_addr = PTR_ALIGN(iq->dma_addr, in otx2_cpt_alloc_instruction_queues()
/linux/drivers/net/ethernet/freescale/enetc/
A Denetc_cbdr.c195 tmp_align = PTR_ALIGN(tmp, RFSE_ALIGN); in enetc_set_fs_entry()
232 tmp_align = PTR_ALIGN(tmp, RSSE_ALIGN); in enetc_cmd_rss_table()
/linux/drivers/misc/
A Dpci_endpoint_test.c396 src_phys_addr = PTR_ALIGN(orig_src_phys_addr, alignment); in pci_endpoint_test_copy()
428 dst_phys_addr = PTR_ALIGN(orig_dst_phys_addr, alignment); in pci_endpoint_test_copy()
531 phys_addr = PTR_ALIGN(orig_phys_addr, alignment); in pci_endpoint_test_write()
627 phys_addr = PTR_ALIGN(orig_phys_addr, alignment); in pci_endpoint_test_read()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
A Dchcr_common.h73 p = PTR_ALIGN(pos, 8); in chcr_copy_to_txd()
/linux/drivers/crypto/hisilicon/hpre/
A Dhpre_crypto.c514 h_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_msg_request_set()
528 h_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_msg_request_set()
579 struct hpre_asym_request *hpre_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_dh_compute_value()
780 struct hpre_asym_request *hpre_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_rsa_enc()
828 struct hpre_asym_request *hpre_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_rsa_dec()
1485 h_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_ecdh_msg_request_set()
1566 struct hpre_asym_request *hpre_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_ecdh_compute_value()
1791 h_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_curve25519_msg_request_set()
1912 struct hpre_asym_request *hpre_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_curve25519_compute_value()
/linux/drivers/char/hw_random/
A Dvia-rng.c91 u32 *via_rng_datum = (u32 *)PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in via_rng_data_present()
/linux/drivers/net/wireless/ath/ath11k/
A Ddbring.c28 ptr_aligned = PTR_ALIGN(ptr_unaligned, ring->buf_align); in ath11k_dbring_bufs_replenish()
315 handler_data.data = PTR_ALIGN(vaddr_unalign, in ath11k_dbring_buffer_release_event()
/linux/drivers/crypto/stm32/
A Dstm32-crc32.c181 if (d8 != PTR_ALIGN(d8, sizeof(u32))) { in burst_update()
185 while (d8 != PTR_ALIGN(d8, sizeof(u32)) && length) { in burst_update()
/linux/arch/s390/kernel/
A Dos_info.c92 buf_align = PTR_ALIGN(buf, align); in os_info_old_alloc()
/linux/drivers/infiniband/ulp/isert/
A Dib_isert.h103 return PTR_ALIGN(desc->buf + ISER_HEADERS_LEN, 512) - ISER_HEADERS_LEN; in isert_get_iser_hdr()
/linux/drivers/bluetooth/
A Dbtrsi.c78 skb_pull(skb, PTR_ALIGN(skb->data, in rsi_hci_send_pkt()
/linux/net/netfilter/
A Dnft_set_pipapo.h72 #define NFT_PIPAPO_LT_ALIGN(lt) (PTR_ALIGN((lt), NFT_PIPAPO_ALIGN))

Completed in 35 milliseconds

12345