Home
last modified time | relevance | path

Searched refs:zero_buffer (Results 1 – 4 of 4) sorted by relevance

/drivers/crypto/caam/
Dcaampkc.c30 static u8 *zero_buffer; variable
1111 ctx->padding_dma = dma_map_single(ctx->dev, zero_buffer, in caam_rsa_init_tfm()
1188 zero_buffer = kzalloc(CAAM_RSA_MAX_INPUT_SIZE - 1, GFP_DMA | in caam_pkc_init()
1190 if (!zero_buffer) in caam_pkc_init()
1196 kfree(zero_buffer); in caam_pkc_init()
1216 kfree(zero_buffer); in caam_pkc_exit()
/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.c268 static u32 zero_buffer[DMAE_MAX_RW_SIZE]; in qed_init_fill_dmae() local
271 memset(zero_buffer, 0, sizeof(u32) * DMAE_MAX_RW_SIZE); in qed_init_fill_dmae()
281 (uintptr_t)(&zero_buffer[0]), in qed_init_fill_dmae()
/drivers/crypto/axis/
Dartpec6_crypto.c270 void *zero_buffer; member
1939 ac->zero_buffer, in artpec6_crypto_prepare_aead()
1956 ac->zero_buffer, in artpec6_crypto_prepare_aead()
2912 ac->zero_buffer = devm_kzalloc(&pdev->dev, 2 * ARTPEC_CACHE_LINE_MAX, in artpec6_crypto_probe()
2914 if (!ac->zero_buffer) in artpec6_crypto_probe()
2916 ac->zero_buffer = PTR_ALIGN(ac->zero_buffer, ARTPEC_CACHE_LINE_MAX); in artpec6_crypto_probe()
/drivers/tty/
Dn_tty.c162 static void zero_buffer(struct tty_struct *tty, u8 *buffer, int size) in zero_buffer() function
180 zero_buffer(tty, from, size); in tty_copy()
188 zero_buffer(tty, from, n); in tty_copy()
1954 zero_buffer(tty, from, n); in copy_from_read_buf()