Home
last modified time | relevance | path

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

1234

/Linux-v4.19/crypto/
Dxcbc.c66 u8 *consts = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_setkey()
86 u8 *prev = PTR_ALIGN(&ctx->ctx[0], alignmask + 1) + bs; in crypto_xcbc_digest_init()
103 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_update()
149 u8 *consts = PTR_ALIGN(&tctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final()
150 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final()
Dcmac.c60 __be64 *consts = PTR_ALIGN((void *)ctx->ctx, in crypto_cmac_digest_setkey()
114 u8 *prev = PTR_ALIGN((void *)ctx->ctx, alignmask + 1) + bs; in crypto_cmac_digest_init()
131 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_update()
177 u8 *consts = PTR_ALIGN((void *)tctx->ctx, in crypto_cmac_digest_final()
179 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_final()
Dauthencesn.c108 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv_tail()
141 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv()
244 u8 *ohash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_decrypt_tail()
293 u8 *ohash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_decrypt()
Dctr.c62 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_final()
110 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_inplace()
293 (void *)PTR_ALIGN((u8 *)skcipher_request_ctx(req), align + 1); in crypto_rfc3686_crypt()
Dshash.c93 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); in shash_update_unaligned()
129 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); in shash_final_unaligned()
/Linux-v4.19/arch/x86/kernel/
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()
Dunwind_frame.c47 for (sp = PTR_ALIGN(state->orig_sp, sizeof(long)); sp; in unwind_dump()
48 sp = PTR_ALIGN(stack_info.next_sp, sizeof(long))) { in unwind_dump()
/Linux-v4.19/lib/
Dearlycpio.c119 dptr = PTR_ALIGN(p + ch[C_NAMESIZE], 4); in find_cpio_data()
120 nptr = PTR_ALIGN(dptr + ch[C_FILESIZE], 4); in find_cpio_data()
/Linux-v4.19/drivers/crypto/cavium/nitrox/
Dnitrox_lib.c36 cmdq->head = PTR_ALIGN(cmdq->head_unaligned, PKT_IN_ALIGN); in cmdq_common_init()
37 cmdq->dma = PTR_ALIGN(cmdq->dma_unaligned, PKT_IN_ALIGN); in cmdq_common_init()
/Linux-v4.19/drivers/crypto/
Dpadlock-sha.c87 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_finup()
149 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha256_finup()
304 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_update_nano()
388 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha256_update_nano()
Dpadlock-aes.c215 u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in ecb_crypt_copy()
229 u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in cbc_crypt_copy()
/Linux-v4.19/drivers/iio/common/st_sensors/
Dst_sensors_buffer.c39 buf = PTR_ALIGN(buf, storage_bytes); in st_sensors_get_buffer_element()
/Linux-v4.19/drivers/misc/
Dpci_endpoint_test.c359 src_phys_addr = PTR_ALIGN(orig_src_phys_addr, alignment); in pci_endpoint_test_copy()
385 dst_phys_addr = PTR_ALIGN(orig_dst_phys_addr, alignment); in pci_endpoint_test_copy()
454 phys_addr = PTR_ALIGN(orig_phys_addr, alignment); in pci_endpoint_test_write()
522 phys_addr = PTR_ALIGN(orig_phys_addr, alignment); in pci_endpoint_test_read()
/Linux-v4.19/drivers/char/hw_random/
Dvia-rng.c91 u32 *via_rng_datum = (u32 *)PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in via_rng_data_present()
/Linux-v4.19/arch/x86/crypto/
Dchacha20_glue.c75 state = PTR_ALIGN(state_buf + 0, CHACHA20_STATE_ALIGN); in chacha20_simd()
/Linux-v4.19/arch/s390/kernel/
Dos_info.c92 buf_align = PTR_ALIGN(buf, align); in os_info_old_alloc()
/Linux-v4.19/drivers/soc/lantiq/
Dgphy.c90 fw_addr = PTR_ALIGN(fw_addr, XRX200_GPHY_FW_ALIGN); in xway_gphy_load()
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dxmit_linux.c25 pxmitbuf->pbuf = PTR_ALIGN(pxmitbuf->pallocated_buf, XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc()
/Linux-v4.19/drivers/soc/qcom/
Dsmd-rpm.c193 buf = PTR_ALIGN(buf + 2 * sizeof(u32) + msg_length, 4); in qcom_smd_rpm_callback()
/Linux-v4.19/lib/zstd/
Dzstd_internal.h236 #define ZSTD_PTR_ALIGN(p) PTR_ALIGN(p, sizeof(size_t))
/Linux-v4.19/drivers/scsi/cxlflash/
Dcommon.h181 return PTR_ALIGN(scsi_cmd_priv(sc), __alignof__(struct afu_cmd)); in sc_to_afuc()
/Linux-v4.19/net/ipv4/
Dah4.c51 return PTR_ALIGN((u8 *)tmp + offset, crypto_ahash_alignmask(ahash) + 1); in ah_tmp_icv()
59 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
/Linux-v4.19/drivers/crypto/nx/
Dnx-842-powernv.c471 wmem = PTR_ALIGN(workmem, WORKMEM_ALIGN); in nx842_exec_icswx()
575 wmem = PTR_ALIGN(workmem, WORKMEM_ALIGN); in nx842_exec_vas()
/Linux-v4.19/net/ipv6/
Desp6.c91 return PTR_ALIGN((__be32 *)tmp, __alignof__(__be32)); in esp_tmp_seqhi()
97 PTR_ALIGN((u8 *)tmp + seqhilen, in esp_tmp_iv()
105 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), in esp_tmp_req()
/Linux-v4.19/drivers/net/ethernet/nxp/
Dlpc_eth.c558 tbuff = PTR_ALIGN(pldat->dma_buff_base_v, 16); in __lpc_txrx_desc_setup()
567 tbuff = PTR_ALIGN(tbuff, 16); in __lpc_txrx_desc_setup()
575 tbuff = PTR_ALIGN(tbuff, 16); in __lpc_txrx_desc_setup()
579 tbuff = PTR_ALIGN(tbuff, 16); in __lpc_txrx_desc_setup()

1234