Home
last modified time | relevance | path

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

12345

/Linux-v5.4/crypto/
Dxcbc.c55 u8 *consts = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_setkey()
76 u8 *prev = PTR_ALIGN(&ctx->ctx[0], alignmask + 1) + bs; in crypto_xcbc_digest_init()
93 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_update()
139 u8 *consts = PTR_ALIGN(&tctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final()
140 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final()
Dcmac.c55 __be64 *consts = PTR_ALIGN((void *)ctx->ctx, in crypto_cmac_digest_setkey()
109 u8 *prev = PTR_ALIGN((void *)ctx->ctx, alignmask + 1) + bs; in crypto_cmac_digest_init()
126 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_update()
172 u8 *consts = PTR_ALIGN((void *)tctx->ctx, in crypto_cmac_digest_final()
174 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_final()
Dctr.c34 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_final()
82 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_inplace()
202 (void *)PTR_ALIGN((u8 *)skcipher_request_ctx(req), align + 1); in crypto_rfc3686_crypt()
Dauthencesn.c103 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv_tail()
136 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv()
239 u8 *ohash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_decrypt_tail()
288 u8 *ohash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_decrypt()
Dshash.c93 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); in shash_update_unaligned()
135 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); in shash_final_unaligned()
Dcfb.c47 u8 *stream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_cfb_final()
/Linux-v5.4/arch/x86/kernel/
Dunwind_guess.c43 state->sp = PTR_ALIGN(info->next_sp, sizeof(long)); in unwind_next_frame()
58 state->sp = PTR_ALIGN(first_frame, sizeof(long)); in __unwind_start()
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-v5.4/lib/
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-v5.4/drivers/misc/lkdtm/
Dstackleak.c24 sp = PTR_ALIGN(&i, sizeof(unsigned long)); in lkdtm_STACKLEAK_ERASING()
/Linux-v5.4/drivers/crypto/
Dpadlock-sha.c79 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_finup()
140 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha256_finup()
294 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_update_nano()
378 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha256_update_nano()
Dpadlock-aes.c216 u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in ecb_crypt_copy()
230 u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in cbc_crypt_copy()
/Linux-v5.4/drivers/net/ethernet/freescale/enetc/
Denetc_cbdr.c137 tmp_align = PTR_ALIGN(tmp, RFSE_ALIGN); in enetc_set_fs_entry()
173 tmp_align = PTR_ALIGN(tmp, RSSE_ALIGN); in enetc_cmd_rss_table()
/Linux-v5.4/drivers/iio/common/st_sensors/
Dst_sensors_buffer.c39 buf = PTR_ALIGN(buf, storage_bytes); in st_sensors_get_buffer_element()
/Linux-v5.4/drivers/misc/
Dpci_endpoint_test.c353 src_phys_addr = PTR_ALIGN(orig_src_phys_addr, alignment); in pci_endpoint_test_copy()
379 dst_phys_addr = PTR_ALIGN(orig_dst_phys_addr, alignment); in pci_endpoint_test_copy()
448 phys_addr = PTR_ALIGN(orig_phys_addr, alignment); in pci_endpoint_test_write()
516 phys_addr = PTR_ALIGN(orig_phys_addr, alignment); in pci_endpoint_test_read()
/Linux-v5.4/arch/x86/crypto/
Dchacha_glue.c134 state = PTR_ALIGN(state_buf + 0, CHACHA_STATE_ALIGN); in chacha_simd_stream_xor()
200 state = PTR_ALIGN(state_buf + 0, CHACHA_STATE_ALIGN); in xchacha_simd()
/Linux-v5.4/drivers/char/hw_random/
Dvia-rng.c91 u32 *via_rng_datum = (u32 *)PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in via_rng_data_present()
/Linux-v5.4/arch/s390/kernel/
Dos_info.c92 buf_align = PTR_ALIGN(buf, align); in os_info_old_alloc()
/Linux-v5.4/drivers/bluetooth/
Dbtrsi.c79 skb_pull(skb, PTR_ALIGN(skb->data, in rsi_hci_send_pkt()
/Linux-v5.4/drivers/soc/qcom/
Dsmd-rpm.c185 buf = PTR_ALIGN(buf + 2 * sizeof(u32) + msg_length, 4); in qcom_smd_rpm_callback()
/Linux-v5.4/drivers/staging/rtl8188eu/os_dep/
Dxmit_linux.c26 pxmitbuf->pbuf = PTR_ALIGN(pxmitbuf->pallocated_buf, XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc()
/Linux-v5.4/lib/zstd/
Dzstd_internal.h236 #define ZSTD_PTR_ALIGN(p) PTR_ALIGN(p, sizeof(size_t))
/Linux-v5.4/drivers/scsi/cxlflash/
Dcommon.h177 return PTR_ALIGN(scsi_cmd_priv(sc), __alignof__(struct afu_cmd)); in sc_to_afuc()
/Linux-v5.4/drivers/crypto/cavium/nitrox/
Dnitrox_lib.c36 cmdq->dma = PTR_ALIGN(cmdq->unalign_dma, align_bytes); in nitrox_cmdq_init()
/Linux-v5.4/net/ipv4/
Dah4.c52 return PTR_ALIGN((u8 *)tmp + offset, crypto_ahash_alignmask(ahash) + 1); in ah_tmp_icv()
60 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()

12345