/Linux-v4.19/crypto/ |
D | xcbc.c | 66 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()
|
D | cmac.c | 60 __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()
|
D | authencesn.c | 108 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()
|
D | ctr.c | 62 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()
|
D | shash.c | 93 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/ |
D | unwind_guess.c | 42 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()
|
D | unwind_frame.c | 47 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/ |
D | earlycpio.c | 119 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/ |
D | nitrox_lib.c | 36 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/ |
D | padlock-sha.c | 87 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()
|
D | padlock-aes.c | 215 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/ |
D | st_sensors_buffer.c | 39 buf = PTR_ALIGN(buf, storage_bytes); in st_sensors_get_buffer_element()
|
/Linux-v4.19/drivers/misc/ |
D | pci_endpoint_test.c | 359 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/ |
D | via-rng.c | 91 u32 *via_rng_datum = (u32 *)PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in via_rng_data_present()
|
/Linux-v4.19/arch/x86/crypto/ |
D | chacha20_glue.c | 75 state = PTR_ALIGN(state_buf + 0, CHACHA20_STATE_ALIGN); in chacha20_simd()
|
/Linux-v4.19/arch/s390/kernel/ |
D | os_info.c | 92 buf_align = PTR_ALIGN(buf, align); in os_info_old_alloc()
|
/Linux-v4.19/drivers/soc/lantiq/ |
D | gphy.c | 90 fw_addr = PTR_ALIGN(fw_addr, XRX200_GPHY_FW_ALIGN); in xway_gphy_load()
|
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/ |
D | xmit_linux.c | 25 pxmitbuf->pbuf = PTR_ALIGN(pxmitbuf->pallocated_buf, XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc()
|
/Linux-v4.19/drivers/soc/qcom/ |
D | smd-rpm.c | 193 buf = PTR_ALIGN(buf + 2 * sizeof(u32) + msg_length, 4); in qcom_smd_rpm_callback()
|
/Linux-v4.19/lib/zstd/ |
D | zstd_internal.h | 236 #define ZSTD_PTR_ALIGN(p) PTR_ALIGN(p, sizeof(size_t))
|
/Linux-v4.19/drivers/scsi/cxlflash/ |
D | common.h | 181 return PTR_ALIGN(scsi_cmd_priv(sc), __alignof__(struct afu_cmd)); in sc_to_afuc()
|
/Linux-v4.19/net/ipv4/ |
D | ah4.c | 51 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/ |
D | nx-842-powernv.c | 471 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/ |
D | esp6.c | 91 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/ |
D | lpc_eth.c | 558 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()
|