/kernel/linux/linux-5.10/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() 196 (void *)PTR_ALIGN((u8 *)skcipher_request_ctx(req), align + 1); in crypto_rfc3686_crypt()
|
D | authencesn.c | 93 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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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() 288 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_update_nano() 372 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha256_update_nano()
|
D | padlock-aes.c | 219 u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in ecb_crypt_copy() 233 u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in cbc_crypt_copy()
|
/kernel/linux/linux-5.10/drivers/misc/lkdtm/ |
D | stackleak.c | 25 sp = PTR_ALIGN(&i, sizeof(unsigned long)); in lkdtm_STACKLEAK_ERASING()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
D | enetc_cbdr.c | 140 tmp_align = PTR_ALIGN(tmp, RFSE_ALIGN); in enetc_set_fs_entry() 176 tmp_align = PTR_ALIGN(tmp, RSSE_ALIGN); in enetc_cmd_rss_table()
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
D | aesni-intel_glue.c | 288 return PTR_ALIGN(crypto_aead_ctx(tfm), align); in aesni_rfc4106_gcm_ctx_get() 298 return PTR_ALIGN(crypto_aead_ctx(tfm), align); in generic_gcmaes_ctx_get() 693 struct gcm_context_data *data = PTR_ALIGN((void *)databuf, AESNI_ALIGN); in gcmaes_crypt_by_sg() 835 u8 *iv = PTR_ALIGN(&ivbuf[0], AESNI_ALIGN); in helper_rfc4106_encrypt() 863 u8 *iv = PTR_ALIGN(&ivbuf[0], AESNI_ALIGN); in helper_rfc4106_decrypt() 994 u8 *iv = PTR_ALIGN(&ivbuf[0], AESNI_ALIGN); in generic_gcmaes_encrypt() 1011 u8 *iv = PTR_ALIGN(&ivbuf[0], AESNI_ALIGN); in generic_gcmaes_decrypt()
|
/kernel/linux/linux-5.10/drivers/iio/common/st_sensors/ |
D | st_sensors_buffer.c | 39 buf = PTR_ALIGN(buf, storage_bytes); in st_sensors_get_buffer_element()
|
/kernel/linux/linux-5.10/arch/x86/platform/efi/ |
D | efi_64.c | 577 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_get_variable() 609 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_set_variable() 639 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_set_variable_nonblocking() 670 efi_guid_t *vnd = PTR_ALIGN((efi_guid_t *)buf, sizeof(*vnd)); in efi_thunk_get_next_variable()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_common.h | 73 p = PTR_ALIGN(pos, 8); in chcr_copy_to_txd()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/misc/ |
D | pci_endpoint_test.c | 413 src_phys_addr = PTR_ALIGN(orig_src_phys_addr, alignment); in pci_endpoint_test_copy() 445 dst_phys_addr = PTR_ALIGN(orig_dst_phys_addr, alignment); in pci_endpoint_test_copy() 550 phys_addr = PTR_ALIGN(orig_phys_addr, alignment); in pci_endpoint_test_write() 648 phys_addr = PTR_ALIGN(orig_phys_addr, alignment); in pci_endpoint_test_read()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
D | dbring.c | 28 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()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | os_info.c | 93 buf_align = PTR_ALIGN(buf, align); in os_info_old_alloc()
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 455 h_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_msg_request_set() 469 h_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_msg_request_set() 519 struct hpre_asym_request *hpre_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_dh_compute_value() 721 struct hpre_asym_request *hpre_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_rsa_enc() 769 struct hpre_asym_request *hpre_req = PTR_ALIGN(tmp, HPRE_ALIGN_SZ); in hpre_rsa_dec()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/isert/ |
D | ib_isert.h | 103 return PTR_ALIGN(desc->buf + ISER_HEADERS_LEN, 512) - ISER_HEADERS_LEN; in isert_get_iser_hdr()
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
D | btrsi.c | 79 skb_pull(skb, PTR_ALIGN(skb->data, in rsi_hci_send_pkt()
|
/kernel/linux/linux-5.10/drivers/crypto/stm32/ |
D | stm32-crc32.c | 181 if (d8 != PTR_ALIGN(d8, sizeof(u32))) { in burst_update() 185 while (d8 != PTR_ALIGN(d8, sizeof(u32)) && length) { in burst_update()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_set_pipapo.h | 72 #define NFT_PIPAPO_LT_ALIGN(lt) (PTR_ALIGN((lt), NFT_PIPAPO_ALIGN))
|
/kernel/linux/linux-5.10/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()
|