/linux-4.1.27/crypto/ |
H A D | cmac.c | 60 __be64 *consts = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); crypto_cmac_digest_setkey() 113 u8 *prev = PTR_ALIGN((void *)ctx->ctx, alignmask + 1) + bs; crypto_cmac_digest_init() 130 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); crypto_cmac_digest_update() 176 u8 *consts = PTR_ALIGN((void *)tctx->ctx, alignmask + 1); crypto_cmac_digest_final() 177 u8 *odds = PTR_ALIGN((void *)ctx->ctx, alignmask + 1); crypto_cmac_digest_final()
|
H A D | xcbc.c | 67 u8 *consts = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); crypto_xcbc_digest_setkey() 87 u8 *prev = PTR_ALIGN(&ctx->ctx[0], alignmask + 1) + bs; crypto_xcbc_digest_init() 104 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); crypto_xcbc_digest_update() 150 u8 *consts = PTR_ALIGN(&tctx->ctx[0], alignmask + 1); crypto_xcbc_digest_final() 151 u8 *odds = PTR_ALIGN(&ctx->ctx[0], alignmask + 1); crypto_xcbc_digest_final()
|
H A D | ctr.c | 62 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); crypto_ctr_crypt_final() 111 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); crypto_ctr_crypt_inplace() 285 (void *)PTR_ALIGN((u8 *)ablkcipher_request_ctx(req), align + 1); crypto_rfc3686_crypt()
|
H A D | eseqiv.c | 47 memcpy(req->giv, PTR_ALIGN((u8 *)reqctx->tail, eseqiv_complete2() 102 giv = PTR_ALIGN((u8 *)reqctx->tail, eseqiv_givencrypt()
|
H A D | gcm.c | 90 return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); crypto_gcm_reqctx() 904 u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), crypto_rfc4106_crypt() 1066 return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); crypto_rfc4543_reqctx() 1133 u8 *iv = PTR_ALIGN((u8 *)(rctx + 1) + crypto_aead_reqsize(ctx->child), crypto_rfc4543_crypt()
|
H A D | ccm.c | 55 return (void *)PTR_ALIGN((u8 *)aead_request_ctx(req), align + 1); crypto_ccm_reqctx() 684 u8 *iv = PTR_ALIGN((u8 *)(subreq + 1) + crypto_aead_reqsize(child), crypto_rfc4309_crypt()
|
H A D | shash.c | 84 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); shash_update_unaligned() 120 u8 *buf = PTR_ALIGN(&ubuf[0], alignmask + 1); shash_final_unaligned()
|
H A D | ahash.c | 279 req->result = PTR_ALIGN((u8 *)priv->ubuf, alignmask + 1); ahash_save_req()
|
/linux-4.1.27/lib/ |
H A D | earlycpio.c | 119 dptr = PTR_ALIGN(p + ch[C_NAMESIZE], 4); find_cpio_data() 120 nptr = PTR_ALIGN(dptr + ch[C_FILESIZE], 4); find_cpio_data()
|
H A D | vsprintf.c | 2168 str = PTR_ALIGN(str, sizeof(u32)); \ vbin_printf() 2176 str = PTR_ALIGN(str, sizeof(type)); \ vbin_printf() 2255 return (u32 *)(PTR_ALIGN(str, sizeof(u32))) - bin_buf; vbin_printf() 2298 args = PTR_ALIGN(args, sizeof(u32)); \ bstr_printf() 2302 args = PTR_ALIGN(args, sizeof(type)); \ bstr_printf()
|
H A D | bitmap.c | 469 ptrdiff_t len = PTR_ALIGN(buf + PAGE_SIZE - 1, PAGE_SIZE) - buf - 2; bitmap_print_to_pagebuf()
|
/linux-4.1.27/arch/mips/lantiq/xway/ |
H A D | xrx200_phy_fw.c | 67 fw_addr = PTR_ALIGN(fw_addr, XRX200_GPHY_FW_ALIGN); xway_gphy_load()
|
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/ |
H A D | xmit_linux.c | 36 pxmitbuf->pbuf = PTR_ALIGN(pxmitbuf->pallocated_buf, XMITBUF_ALIGN_SZ); rtw_os_xmit_resource_alloc23a()
|
/linux-4.1.27/drivers/crypto/ |
H A D | padlock-sha.c | 87 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); padlock_sha1_finup() 153 char *result = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); padlock_sha256_finup() 314 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); padlock_sha1_update_nano() 403 u8 *dst = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); padlock_sha256_update_nano()
|
H A D | padlock-aes.c | 215 u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); ecb_crypt_copy() 229 u8 *tmp = PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); cbc_crypt_copy()
|
H A D | mxs-dcp.c | 954 sdcp->coh = PTR_ALIGN(sdcp->coh, DCP_ALIGNMENT); mxs_dcp_probe()
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | os_info.c | 91 buf_align = PTR_ALIGN(buf, align); os_info_old_alloc()
|
/linux-4.1.27/net/ipv4/ |
H A D | esp4.c | 62 return PTR_ALIGN((__be32 *)tmp, __alignof__(__be32)); esp_tmp_seqhi() 67 PTR_ALIGN((u8 *)tmp + seqhilen, esp_tmp_iv() 76 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), esp_tmp_givreq() 86 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), esp_tmp_req()
|
H A D | ah4.c | 50 return PTR_ALIGN((u8 *)tmp + offset, crypto_ahash_alignmask(ahash) + 1); ah_tmp_icv() 58 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), ah_tmp_req()
|
/linux-4.1.27/net/ipv6/ |
H A D | esp6.c | 89 return PTR_ALIGN((__be32 *)tmp, __alignof__(__be32)); esp_tmp_seqhi() 95 PTR_ALIGN((u8 *)tmp + seqhilen, esp_tmp_iv() 104 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), esp_tmp_givreq() 114 req = (void *)PTR_ALIGN(iv + crypto_aead_ivsize(aead), esp_tmp_req()
|
H A D | ah6.c | 92 return PTR_ALIGN((u8 *)tmp + offset, crypto_ahash_alignmask(ahash) + 1); ah_tmp_icv() 100 req = (void *)PTR_ALIGN(icv + crypto_ahash_digestsize(ahash), ah_tmp_req()
|
/linux-4.1.27/arch/x86/crypto/ |
H A D | aesni-intel_glue.c | 288 PTR_ALIGN((u8 *) aesni_rfc4106_gcm_ctx_get() 797 PTR_ALIGN((u8 *)crypto_tfm_ctx(tfm), AESNI_ALIGN); rfc4106_init() 819 PTR_ALIGN((u8 *)crypto_tfm_ctx(tfm), AESNI_ALIGN); rfc4106_exit() 926 new_key_align = PTR_ALIGN(new_key_mem, AESNI_ALIGN); common_rfc4106_set_key() 1008 u8* iv = (u8 *) PTR_ALIGN((u8 *)iv_tab, AESNI_ALIGN); __driver_rfc4106_encrypt() 1094 u8 *iv = (u8 *) PTR_ALIGN((u8 *)iv_and_authTag, AESNI_ALIGN); __driver_rfc4106_decrypt()
|
/linux-4.1.27/drivers/net/ethernet/nxp/ |
H A D | lpc_eth.c | 568 tbuff = PTR_ALIGN(pldat->dma_buff_base_v, 16); __lpc_txrx_desc_setup() 577 tbuff = PTR_ALIGN(tbuff, 16); __lpc_txrx_desc_setup() 585 tbuff = PTR_ALIGN(tbuff, 16); __lpc_txrx_desc_setup() 589 tbuff = PTR_ALIGN(tbuff, 16); __lpc_txrx_desc_setup()
|
/linux-4.1.27/drivers/char/hw_random/ |
H A D | via-rng.c | 95 u32 *via_rng_datum = (u32 *)PTR_ALIGN(&buf[0], PADLOCK_ALIGNMENT); via_rng_data_present()
|
/linux-4.1.27/include/crypto/ |
H A D | algapi.h | 211 return PTR_ALIGN(crypto_tfm_ctx(tfm), crypto_tfm_ctx_aligned()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
H A D | ce.c | 935 src_ring->base_addr_owner_space = PTR_ALIGN( ath10k_ce_alloc_src_ring() 959 src_ring->shadow_base = PTR_ALIGN( ath10k_ce_alloc_src_ring() 1009 dest_ring->base_addr_owner_space = PTR_ALIGN( ath10k_ce_alloc_dest_ring()
|
H A D | htt_rx.c | 111 PTR_ALIGN(skb->data, HTT_RX_DESC_ALIGN) - __ath10k_htt_rx_ring_fill_n()
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
H A D | rtw_security.c | 203 pframe = PTR_ALIGN(pframe, 4); rtw_wep_encrypt23a() 700 pframe = PTR_ALIGN(pframe, 4); rtw_tkip_encrypt23a() 1350 pframe = PTR_ALIGN(pframe, 4); rtw_aes_encrypt23a()
|
H A D | rtw_xmit.c | 723 payload = PTR_ALIGN(payload, 4); xmitframe_addmic() 1221 mem_start = PTR_ALIGN(pframe, 4) + hw_hdr_offset; rtw_xmitframe_coalesce23a()
|
/linux-4.1.27/drivers/staging/rtl8723au/hal/ |
H A D | rtl8723au_xmit.c | 346 mem_addr = PTR_ALIGN(mem_addr, 4); rtw_dump_xframe()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | ehci-tegra.c | 342 temp = PTR_ALIGN(kmalloc_ptr + 1, TEGRA_USB_DMA_ALIGN) - 1; alloc_dma_aligned_buffer()
|
/linux-4.1.27/drivers/scsi/esas2r/ |
H A D | esas2r_init.c | 69 mem_desc->virt_addr = PTR_ALIGN(mem_desc->esas2r_data, align); esas2r_initmem_alloc() 952 high = PTR_ALIGN(high, 8); esas2r_init_adapter_struct()
|
/linux-4.1.27/arch/arm/common/ |
H A D | bL_switcher.c | 129 stack = PTR_ALIGN(stack, L1_CACHE_BYTES); bL_switchpoint()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
H A D | txrx.c | 908 skb->data = PTR_ALIGN(skb->data - 4, 4); ath6kl_rx_refill() 934 skb->data = PTR_ALIGN(skb->data - 4, 4); ath6kl_refill_amsdu_rxbufs()
|
H A D | htc_mbox.c | 353 align_addr = PTR_ALIGN(*buf - 4, 4); ath6kl_htc_tx_buf_align()
|
/linux-4.1.27/drivers/dma/ |
H A D | ste_dma40.c | 653 d40d->lli_log.src = PTR_ALIGN(base, align); d40_pool_lli_alloc() 658 d40d->lli_phy.src = PTR_ALIGN(base, align); d40_pool_lli_alloc() 3468 base->lcla_pool.base = PTR_ALIGN(base->lcla_pool.base_unaligned, d40_lcla_allocate()
|
H A D | qcom_bam_dma.c | 888 struct bam_desc_hw *fifo = PTR_ALIGN(bchan->fifo_virt, bam_start_dma()
|
/linux-4.1.27/drivers/atm/ |
H A D | nicstar.c | 538 card->tsq.base = PTR_ALIGN(card->tsq.org, NS_TSQ_ALIGNMENT); ns_init_card() 557 card->rsq.base = PTR_ALIGN(card->rsq.org, NS_RSQ_ALIGNMENT); ns_init_card() 882 scq->base = PTR_ALIGN(scq->org, size); get_scq()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | cmd.c | 1352 cmd->cmd_buf = PTR_ALIGN(cmd->cmd_alloc_buf, MLX5_ADAPTER_PAGE_SIZE); alloc_cmd_page()
|
/linux-4.1.27/drivers/staging/netlogic/ |
H A D | xlr_net.c | 437 spill = PTR_ALIGN(spill, SMP_CACHE_BYTES); xlr_config_spill()
|
/linux-4.1.27/drivers/of/ |
H A D | fdt.c | 156 *mem = PTR_ALIGN(*mem, align); unflatten_dt_alloc()
|
/linux-4.1.27/drivers/infiniband/hw/mlx5/ |
H A D | mr.c | 794 pas = PTR_ALIGN(mr_pas, MLX5_UMR_ALIGN); reg_umr()
|
/linux-4.1.27/drivers/usb/dwc3/ |
H A D | core.c | 750 dwc = PTR_ALIGN(mem, DWC3_ALIGN_MASK + 1); dwc3_probe()
|
/linux-4.1.27/drivers/virt/ |
H A D | fsl_hypervisor.c | 243 sg_list = PTR_ALIGN(sg_list_unaligned, sizeof(struct fh_sg_list)); ioctl_memcpy()
|
/linux-4.1.27/include/linux/ |
H A D | kernel.h | 51 #define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a))) macro
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 2241 PTR_ALIGN(rxq->descs, MVNETA_CPU_D_CACHE_LINE_SIZE)); mvneta_rxq_init() 2305 PTR_ALIGN(txq->descs, MVNETA_CPU_D_CACHE_LINE_SIZE)); mvneta_txq_init()
|
H A D | mvpp2.c | 4480 PTR_ALIGN(aggr_txq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); mvpp2_aggr_txq_init() 4512 PTR_ALIGN(rxq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); mvpp2_rxq_init() 4603 PTR_ALIGN(txq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); mvpp2_txq_init()
|
H A D | sky2.c | 1473 start = PTR_ALIGN(skb->data, 8); sky2_rx_alloc()
|
/linux-4.1.27/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_net.c | 1557 card = PTR_ALIGN(p, GELIC_ALIGN); gelic_alloc_card_net()
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-pxa2xx.c | 1366 drv_data->null_dma_buf = (u32 *)PTR_ALIGN(&drv_data[1], DMA_ALIGNMENT); pxa2xx_spi_probe()
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
H A D | txrx.c | 308 void *pa = PTR_ALIGN(p, 8); wil_rx_add_radiotap_header()
|
/linux-4.1.27/drivers/net/ethernet/natsemi/ |
H A D | ns83820.c | 574 skb_reserve(skb, skb->data - PTR_ALIGN(skb->data, 16)); rx_refill()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
H A D | sb1250-mac.c | 762 unsigned char *newaddr = PTR_ALIGN(addr, power2); sbdma_align_skb()
|
H A D | bnx2.h | 6633 return (struct l2_fhdr *)(PTR_ALIGN(data, BNX2_RX_ALIGN) + NET_SKB_PAD); get_l2_fhdr()
|
/linux-4.1.27/mm/ |
H A D | kmemleak.c | 1157 unsigned long *start = PTR_ALIGN(_start, BYTES_PER_POINTER); scan_block()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 5301 mbox_mem_align->va = PTR_ALIGN(mbox_mem_alloc->va, 16); be_drv_init() 5302 mbox_mem_align->dma = PTR_ALIGN(mbox_mem_alloc->dma, 16); be_drv_init()
|
/linux-4.1.27/drivers/scsi/be2iscsi/ |
H A D | be_main.c | 715 mbox_mem_align->va = PTR_ALIGN(mbox_mem_alloc->va, 16); be_ctrl_init() 716 mbox_mem_align->dma = PTR_ALIGN(mbox_mem_alloc->dma, 16); be_ctrl_init()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 1026 p = PTR_ALIGN(pos, 8); inline_tx_skb()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 1078 p = PTR_ALIGN(pos, 8); inline_tx_skb()
|
/linux-4.1.27/drivers/s390/block/ |
H A D | dasd_3990_erp.c | 2340 erp->cpaddr = PTR_ALIGN(erp->data, 64); dasd_3990_erp_add_erp()
|
/linux-4.1.27/drivers/usb/musb/ |
H A D | musb_host.c | 2557 temp = PTR_ALIGN(kmalloc_ptr, MUSB_USB_DMA_ALIGN); musb_alloc_temp_buffer()
|
/linux-4.1.27/net/core/ |
H A D | dev.c | 6820 dev = PTR_ALIGN(p, NETDEV_ALIGN); alloc_netdev_mqs()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
H A D | lpfc_init.c | 6758 phba->sli4_hba.bmbx.avirt = PTR_ALIGN(dmabuf->virt, lpfc_create_bootstrap_mbox()
|