| /Linux-v5.4/crypto/ |
| D | xcbc.c | 55 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()
|
| D | cmac.c | 55 __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()
|
| D | ctr.c | 34 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()
|
| D | authencesn.c | 103 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()
|
| D | shash.c | 93 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()
|
| D | cfb.c | 47 u8 *stream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_cfb_final()
|
| /Linux-v5.4/arch/x86/kernel/ |
| D | unwind_guess.c | 43 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()
|
| D | unwind_frame.c | 48 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/ |
| D | earlycpio.c | 111 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/ |
| D | stackleak.c | 24 sp = PTR_ALIGN(&i, sizeof(unsigned long)); in lkdtm_STACKLEAK_ERASING()
|
| /Linux-v5.4/drivers/crypto/ |
| D | padlock-sha.c | 79 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()
|
| D | padlock-aes.c | 216 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/ |
| D | enetc_cbdr.c | 137 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/ |
| D | st_sensors_buffer.c | 39 buf = PTR_ALIGN(buf, storage_bytes); in st_sensors_get_buffer_element()
|
| /Linux-v5.4/drivers/misc/ |
| D | pci_endpoint_test.c | 353 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/ |
| D | chacha_glue.c | 134 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/ |
| D | via-rng.c | 91 u32 *via_rng_datum = (u32 *)PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in via_rng_data_present()
|
| /Linux-v5.4/arch/s390/kernel/ |
| D | os_info.c | 92 buf_align = PTR_ALIGN(buf, align); in os_info_old_alloc()
|
| /Linux-v5.4/drivers/bluetooth/ |
| D | btrsi.c | 79 skb_pull(skb, PTR_ALIGN(skb->data, in rsi_hci_send_pkt()
|
| /Linux-v5.4/drivers/soc/qcom/ |
| D | smd-rpm.c | 185 buf = PTR_ALIGN(buf + 2 * sizeof(u32) + msg_length, 4); in qcom_smd_rpm_callback()
|
| /Linux-v5.4/drivers/staging/rtl8188eu/os_dep/ |
| D | xmit_linux.c | 26 pxmitbuf->pbuf = PTR_ALIGN(pxmitbuf->pallocated_buf, XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc()
|
| /Linux-v5.4/lib/zstd/ |
| D | zstd_internal.h | 236 #define ZSTD_PTR_ALIGN(p) PTR_ALIGN(p, sizeof(size_t))
|
| /Linux-v5.4/drivers/scsi/cxlflash/ |
| D | common.h | 177 return PTR_ALIGN(scsi_cmd_priv(sc), __alignof__(struct afu_cmd)); in sc_to_afuc()
|
| /Linux-v5.4/drivers/crypto/cavium/nitrox/ |
| D | nitrox_lib.c | 36 cmdq->dma = PTR_ALIGN(cmdq->unalign_dma, align_bytes); in nitrox_cmdq_init()
|
| /Linux-v5.4/net/ipv4/ |
| D | ah4.c | 52 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()
|