/linux-4.4.14/crypto/ |
D | xcbc.c | 67 u8 *consts = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_setkey() 87 u8 *prev = PTR_ALIGN(&ctx->ctx[0], alignmask + 1) + bs; in crypto_xcbc_digest_init() 104 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_update() 150 u8 *consts = PTR_ALIGN(&tctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final() 151 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, alignmask + 1); in crypto_cmac_digest_setkey() 113 u8 *prev = PTR_ALIGN((void *)ctx->ctx, alignmask + 1) + bs; in crypto_cmac_digest_init() 130 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_update() 176 u8 *consts = PTR_ALIGN((void *)tctx->ctx, alignmask + 1); in crypto_cmac_digest_final() 177 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); in crypto_cmac_digest_final()
|
D | keywrap.c | 149 PTR_ALIGN(blockbuf + 0, alignmask + 1); in crypto_kw_decrypt() 176 u8 *tbe = PTR_ALIGN(tbe_buffer + 0, alignmask + 1); in crypto_kw_decrypt() 234 PTR_ALIGN(blockbuf + 0, alignmask + 1); in crypto_kw_encrypt() 264 u8 *tbe = PTR_ALIGN(tbe_buffer + 0, alignmask + 1); in crypto_kw_encrypt()
|
D | eseqiv.c | 47 memcpy(req->giv, PTR_ALIGN((u8 *)reqctx->tail, in eseqiv_complete2() 102 giv = PTR_ALIGN((u8 *)reqctx->tail, in eseqiv_givencrypt()
|
D | authencesn.c | 107 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv_tail() 140 u8 *hash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_genicv() 240 u8 *ohash = PTR_ALIGN((u8 *)areq_ctx->tail, in crypto_authenc_esn_decrypt_tail() 284 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() 111 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_inplace() 285 (void *)PTR_ALIGN((u8 *)ablkcipher_request_ctx(req), align + 1); in crypto_rfc3686_crypt()
|
D | shash.c | 84 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); in shash_update_unaligned() 120 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); in shash_final_unaligned()
|
D | gcm.c | 98 return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); in crypto_gcm_reqctx() 831 u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), in crypto_rfc4106_crypt() 1056 u8 *iv = PTR_ALIGN((u8 *)(rctx + 1) + crypto_aead_reqsize(ctx->child), in crypto_rfc4543_crypt()
|
D | ccm.c | 61 return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); in crypto_ccm_reqctx() 713 u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), in crypto_rfc4309_crypt()
|
D | ahash.c | 279 req->result = PTR_ALIGN((u8 *)priv->ubuf, alignmask + 1); in ahash_save_req()
|
/linux-4.4.14/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()
|
D | vsprintf.c | 2152 str = PTR_ALIGN(str, sizeof(u32)); \ in vbin_printf() 2160 str = PTR_ALIGN(str, sizeof(type)); \ in vbin_printf() 2241 return (u32 *)(PTR_ALIGN(str, sizeof(u32))) - bin_buf; in vbin_printf() 2284 args = PTR_ALIGN(args, sizeof(u32)); \ in bstr_printf() 2288 args = PTR_ALIGN(args, sizeof(type)); \ in bstr_printf()
|
D | bitmap.c | 474 ptrdiff_t len = PTR_ALIGN(buf + PAGE_SIZE - 1, PAGE_SIZE) - buf; in bitmap_print_to_pagebuf()
|
/linux-4.4.14/drivers/crypto/ |
D | padlock-sha.c | 87 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_finup() 153 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha256_finup() 314 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in padlock_sha1_update_nano() 403 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()
|
D | mxs-dcp.c | 954 sdcp->coh = PTR_ALIGN(sdcp->coh, DCP_ALIGNMENT); in mxs_dcp_probe()
|
/linux-4.4.14/arch/mips/lantiq/xway/ |
D | xrx200_phy_fw.c | 67 fw_addr = PTR_ALIGN(fw_addr, XRX200_GPHY_FW_ALIGN); in xway_gphy_load()
|
/linux-4.4.14/drivers/char/hw_random/ |
D | via-rng.c | 95 u32 *via_rng_datum = (u32 *)PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); in via_rng_data_present()
|
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/ |
D | xmit_linux.c | 36 pxmitbuf->pbuf = PTR_ALIGN(pxmitbuf->pallocated_buf, XMITBUF_ALIGN_SZ); in rtw_os_xmit_resource_alloc23a()
|
/linux-4.4.14/arch/s390/kernel/ |
D | os_info.c | 91 buf_align = PTR_ALIGN(buf, align); in os_info_old_alloc()
|
/linux-4.4.14/net/ipv6/ |
D | esp6.c | 89 return PTR_ALIGN((__be32 *)tmp, __alignof__(__be32)); in esp_tmp_seqhi() 95 PTR_ALIGN((u8 *)tmp + seqhilen, in esp_tmp_iv() 103 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), in esp_tmp_req()
|
D | ah6.c | 92 return PTR_ALIGN((u8 *)tmp + offset, crypto_ahash_alignmask(ahash) + 1); in ah_tmp_icv() 100 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
|
/linux-4.4.14/drivers/soc/qcom/ |
D | smd-rpm.c | 190 buf = PTR_ALIGN(buf + 2 * sizeof(u32) + msg_length, 4); in qcom_smd_rpm_callback()
|
/linux-4.4.14/net/ipv4/ |
D | esp4.c | 62 return PTR_ALIGN((__be32 *)tmp, __alignof__(__be32)); in esp_tmp_seqhi() 67 PTR_ALIGN((u8 *)tmp + seqhilen, in esp_tmp_iv() 75 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), in esp_tmp_req()
|
D | ah4.c | 50 return PTR_ALIGN((u8 *)tmp + offset, crypto_ahash_alignmask(ahash) + 1); in ah_tmp_icv() 58 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), in ah_tmp_req()
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | qat_asym_algs.c | 120 struct qat_rsa_request *req = PTR_ALIGN(akcipher_request_ctx(areq), 64); in qat_rsa_cb() 247 PTR_ALIGN(akcipher_request_ctx(req), 64); in qat_rsa_enc() 378 PTR_ALIGN(akcipher_request_ctx(req), 64); in qat_rsa_dec()
|
/linux-4.4.14/drivers/net/ethernet/nxp/ |
D | lpc_eth.c | 567 tbuff = PTR_ALIGN(pldat->dma_buff_base_v, 16); in __lpc_txrx_desc_setup() 576 tbuff = PTR_ALIGN(tbuff, 16); in __lpc_txrx_desc_setup() 584 tbuff = PTR_ALIGN(tbuff, 16); in __lpc_txrx_desc_setup() 588 tbuff = PTR_ALIGN(tbuff, 16); in __lpc_txrx_desc_setup()
|
/linux-4.4.14/crypto/asymmetric_keys/ |
D | x509_public_key.c | 205 desc = PTR_ALIGN(digest + digest_size, __alignof__(*desc)); in x509_get_sig_params()
|
D | pkcs7_verify.c | 57 desc = PTR_ALIGN(digest + digest_size, __alignof__(*desc)); in pkcs7_digest()
|
/linux-4.4.14/include/crypto/ |
D | algapi.h | 214 return PTR_ALIGN(crypto_tfm_ctx(tfm), in crypto_tfm_ctx_aligned()
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-842-pseries.c | 326 workmem = PTR_ALIGN(wmem, WORKMEM_ALIGN); in nx842_pseries_compress() 457 workmem = PTR_ALIGN(wmem, WORKMEM_ALIGN); in nx842_pseries_decompress()
|
D | nx-842-powernv.c | 399 wmem = PTR_ALIGN(workmem, WORKMEM_ALIGN); in nx842_powernv_function()
|
D | nx-842.c | 207 dskip = (int)(PTR_ALIGN(dst, c->alignment) - dst); in compress()
|
/linux-4.4.14/drivers/staging/rtl8723au/core/ |
D | rtw_security.c | 205 pframe = PTR_ALIGN(pframe, 4); in rtw_wep_encrypt23a() 701 pframe = PTR_ALIGN(pframe, 4); in rtw_tkip_encrypt23a() 1345 pframe = PTR_ALIGN(pframe, 4); in rtw_aes_encrypt23a()
|
D | rtw_xmit.c | 723 payload = PTR_ALIGN(payload, 4); in xmitframe_addmic() 1221 mem_start = PTR_ALIGN(pframe, 4) + hw_hdr_offset; in rtw_xmitframe_coalesce23a()
|
/linux-4.4.14/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 917 src_ring->base_addr_owner_space = PTR_ALIGN( in ath10k_ce_alloc_src_ring() 970 dest_ring->base_addr_owner_space = PTR_ALIGN( in ath10k_ce_alloc_dest_ring()
|
D | htt_rx.c | 111 PTR_ALIGN(skb->data, HTT_RX_DESC_ALIGN) - in __ath10k_htt_rx_ring_fill_n()
|
/linux-4.4.14/drivers/staging/rtl8723au/hal/ |
D | rtl8723au_xmit.c | 346 mem_addr = PTR_ALIGN(mem_addr, 4); in rtw_dump_xframe()
|
/linux-4.4.14/drivers/usb/host/ |
D | ehci-tegra.c | 348 temp = PTR_ALIGN(kmalloc_ptr + 1, TEGRA_USB_DMA_ALIGN) - 1; in alloc_dma_aligned_buffer()
|
/linux-4.4.14/arch/arm/common/ |
D | bL_switcher.c | 129 stack = PTR_ALIGN(stack, L1_CACHE_BYTES); in bL_switchpoint()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | mr.c | 289 mr->pages = PTR_ALIGN(mr->pages_alloc, MLX4_MR_PAGES_ALIGN); in mlx4_alloc_priv_pages()
|
/linux-4.4.14/include/linux/ |
D | kernel.h | 51 #define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a))) macro
|
/linux-4.4.14/drivers/virt/ |
D | fsl_hypervisor.c | 243 sg_list = PTR_ALIGN(sg_list_unaligned, sizeof(struct fh_sg_list)); in ioctl_memcpy()
|
/linux-4.4.14/drivers/mtd/nand/ |
D | mxc_nand.c | 291 if (PTR_ALIGN(trg, 4) == trg && IS_ALIGNED(size, 4)) { in memcpy16_fromio() 313 if (PTR_ALIGN(src, 4) == src && IS_ALIGNED(size, 4)) { in memcpy16_toio()
|
/linux-4.4.14/drivers/scsi/esas2r/ |
D | esas2r_init.c | 69 mem_desc->virt_addr = PTR_ALIGN(mem_desc->esas2r_data, align); in esas2r_initmem_alloc() 952 high = PTR_ALIGN(high, 8); in esas2r_init_adapter_struct()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | mr.c | 803 pas = PTR_ALIGN(mr_pas, MLX5_UMR_ALIGN); in reg_umr() 1184 mr->descs = PTR_ALIGN(mr->descs_alloc, MLX5_UMR_ALIGN); in mlx5_alloc_priv_descs()
|
/linux-4.4.14/drivers/of/ |
D | fdt.c | 157 *mem = PTR_ALIGN(*mem, align); in unflatten_dt_alloc()
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | txrx.c | 908 skb->data = PTR_ALIGN(skb->data - 4, 4); in ath6kl_rx_refill() 934 skb->data = PTR_ALIGN(skb->data - 4, 4); in ath6kl_refill_amsdu_rxbufs()
|
D | htc_mbox.c | 353 align_addr = PTR_ALIGN(*buf - 4, 4); in ath6kl_htc_tx_buf_align()
|
/linux-4.4.14/drivers/net/ethernet/renesas/ |
D | ravb_main.c | 1330 buffer = PTR_ALIGN(priv->tx_align[q], DPTR_ALIGN) + in ravb_start_xmit() 1332 len = PTR_ALIGN(skb->data, DPTR_ALIGN) - skb->data; in ravb_start_xmit()
|
D | sh_eth.c | 2407 sh_eth_soft_swap(PTR_ALIGN(skb->data, 4), skb->len + 2); in sh_eth_start_xmit()
|
/linux-4.4.14/drivers/atm/ |
D | nicstar.c | 538 card->tsq.base = PTR_ALIGN(card->tsq.org, NS_TSQ_ALIGNMENT); in ns_init_card() 557 card->rsq.base = PTR_ALIGN(card->rsq.org, NS_RSQ_ALIGNMENT); in ns_init_card() 882 scq->base = PTR_ALIGN(scq->org, size); in get_scq()
|
/linux-4.4.14/drivers/dma/ |
D | qcom_bam_dma.c | 888 struct bam_desc_hw *fifo = PTR_ALIGN(bchan->fifo_virt, in bam_start_dma()
|
D | ste_dma40.c | 653 d40d->lli_log.src = PTR_ALIGN(base, align); in d40_pool_lli_alloc() 658 d40d->lli_phy.src = PTR_ALIGN(base, align); in d40_pool_lli_alloc() 3468 base->lcla_pool.base = PTR_ALIGN(base->lcla_pool.base_unaligned, in d40_lcla_allocate()
|
/linux-4.4.14/drivers/usb/dwc3/ |
D | core.c | 828 dwc = PTR_ALIGN(mem, DWC3_ALIGN_MASK + 1); in dwc3_probe()
|
/linux-4.4.14/drivers/staging/netlogic/ |
D | xlr_net.c | 437 spill = PTR_ALIGN(spill, SMP_CACHE_BYTES); in xlr_config_spill()
|
/linux-4.4.14/mm/ |
D | kmemleak.c | 1170 unsigned long *start = PTR_ALIGN(_start, BYTES_PER_POINTER); in scan_block()
|
/linux-4.4.14/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_net.c | 1557 card = PTR_ALIGN(p, GELIC_ALIGN); in gelic_alloc_card_net()
|
/linux-4.4.14/drivers/s390/block/ |
D | dasd_3990_erp.c | 2340 erp->cpaddr = PTR_ALIGN(erp->data, 64); in dasd_3990_erp_add_erp()
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
D | mvneta.c | 2261 PTR_ALIGN(rxq->descs, MVNETA_CPU_D_CACHE_LINE_SIZE)); in mvneta_rxq_init() 2325 PTR_ALIGN(txq->descs, MVNETA_CPU_D_CACHE_LINE_SIZE)); in mvneta_txq_init()
|
D | mvpp2.c | 4498 PTR_ALIGN(aggr_txq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); in mvpp2_aggr_txq_init() 4530 PTR_ALIGN(rxq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); in mvpp2_rxq_init() 4621 PTR_ALIGN(txq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); in mvpp2_txq_init()
|
D | sky2.c | 1473 start = PTR_ALIGN(skb->data, 8); in sky2_rx_alloc()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 1529 cmd->cmd_buf = PTR_ALIGN(cmd->cmd_alloc_buf, MLX5_ADAPTER_PAGE_SIZE); in alloc_cmd_page()
|
/linux-4.4.14/net/mpls/ |
D | af_mpls.c | 64 u8 *nh0_via = PTR_ALIGN((u8 *)&rt->rt_nh[rt->rt_nhn], VIA_ALEN_ALIGN); in __mpls_nh_via()
|
/linux-4.4.14/arch/x86/crypto/ |
D | aesni-intel_glue.c | 290 return PTR_ALIGN(crypto_aead_ctx(tfm), align); in aesni_rfc4106_gcm_ctx_get()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | sb1250-mac.c | 762 unsigned char *newaddr = PTR_ALIGN(addr, power2); in sbdma_align_skb()
|
D | bnx2.h | 6633 return (struct l2_fhdr *)(PTR_ALIGN(data, BNX2_RX_ALIGN) + NET_SKB_PAD); in get_l2_fhdr()
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | txrx.c | 308 void *pa = PTR_ALIGN(p, 8); in wil_rx_add_radiotap_header()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_dma.c | 1616 temp = PTR_ALIGN(temp, L1_CACHE_BYTES); in scif_rma_list_dma_copy_wrapper()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1076 p = PTR_ALIGN(pos, 8); in inline_tx_skb()
|
/linux-4.4.14/drivers/net/ethernet/natsemi/ |
D | ns83820.c | 574 skb_reserve(skb, skb->data - PTR_ALIGN(skb->data, 16)); in rx_refill()
|
/linux-4.4.14/drivers/usb/musb/ |
D | musb_host.c | 2681 temp = PTR_ALIGN(kmalloc_ptr, MUSB_USB_DMA_ALIGN); in musb_alloc_temp_buffer()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 5623 mbox_mem_align->va = PTR_ALIGN(mbox_mem_alloc->va, 16); in be_drv_init() 5624 mbox_mem_align->dma = PTR_ALIGN(mbox_mem_alloc->dma, 16); in be_drv_init()
|
/linux-4.4.14/drivers/scsi/be2iscsi/ |
D | be_main.c | 727 mbox_mem_align->va = PTR_ALIGN(mbox_mem_alloc->va, 16); in be_ctrl_init() 728 mbox_mem_align->dma = PTR_ALIGN(mbox_mem_alloc->dma, 16); in be_ctrl_init()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 1027 p = PTR_ALIGN(pos, 8); in inline_tx_skb()
|
/linux-4.4.14/net/core/ |
D | dev.c | 7099 dev = PTR_ALIGN(p, NETDEV_ALIGN); in alloc_netdev_mqs()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_init.c | 6777 phba->sli4_hba.bmbx.avirt = PTR_ALIGN(dmabuf->virt, in lpfc_create_bootstrap_mbox()
|