Searched refs:zero_buffer (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_ops.c | 250 static u32 zero_buffer[DMAE_MAX_RW_SIZE]; in qed_init_fill_dmae() local 253 memset(zero_buffer, 0, sizeof(u32) * DMAE_MAX_RW_SIZE); in qed_init_fill_dmae() 263 (uintptr_t)(&zero_buffer[0]), in qed_init_fill_dmae()
|
/Linux-v5.10/drivers/crypto/caam/ |
D | caampkc.c | 30 static u8 *zero_buffer; variable 1105 ctx->padding_dma = dma_map_single(ctx->dev, zero_buffer, in caam_rsa_init_tfm() 1171 zero_buffer = kzalloc(CAAM_RSA_MAX_INPUT_SIZE - 1, GFP_DMA | in caam_pkc_init() 1173 if (!zero_buffer) in caam_pkc_init() 1179 kfree(zero_buffer); in caam_pkc_init() 1199 kfree(zero_buffer); in caam_pkc_exit()
|
/Linux-v5.10/drivers/crypto/axis/ |
D | artpec6_crypto.c | 269 void *zero_buffer; member 1938 ac->zero_buffer, in artpec6_crypto_prepare_aead() 1955 ac->zero_buffer, in artpec6_crypto_prepare_aead() 2911 ac->zero_buffer = devm_kzalloc(&pdev->dev, 2 * ARTPEC_CACHE_LINE_MAX, in artpec6_crypto_probe() 2913 if (!ac->zero_buffer) in artpec6_crypto_probe() 2915 ac->zero_buffer = PTR_ALIGN(ac->zero_buffer, ARTPEC_CACHE_LINE_MAX); in artpec6_crypto_probe()
|
/Linux-v5.10/drivers/tty/ |
D | n_tty.c | 158 static void zero_buffer(struct tty_struct *tty, u8 *buffer, int size) in zero_buffer() function 178 zero_buffer(tty, from, size - uncopied); in tty_copy_to_user() 188 zero_buffer(tty, from, n - uncopied); in tty_copy_to_user() 1983 zero_buffer(tty, from, n); in copy_from_read_buf()
|