Searched refs:zero_buffer (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/u-boot/fs/ext4/ |
| H A D | ext4_common.c | 476 unsigned int *zero_buffer = NULL; in ext4fs_update_parent_dentry() local 495 zero_buffer = zalloc(fs->blksz); in ext4fs_update_parent_dentry() 496 if (!zero_buffer) { in ext4fs_update_parent_dentry() 502 free(zero_buffer); in ext4fs_update_parent_dentry() 564 put_ext4((uint64_t)new_blk_no * fs->blksz, zero_buffer, fs->blksz); in ext4fs_update_parent_dentry() 623 free(zero_buffer); in ext4fs_update_parent_dentry() 969 char *zero_buffer = zalloc(fs->blksz); in ext4fs_get_new_blk_no() local 970 if (!journal_buffer || !zero_buffer) in ext4fs_get_new_blk_no() 982 memcpy(fs->blk_bmaps[i], zero_buffer, in ext4fs_get_new_blk_no() 1046 memcpy(fs->blk_bmaps[bg_idx], zero_buffer, fs->blksz); in ext4fs_get_new_blk_no() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/caam/ |
| H A 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() 1182 zero_buffer = kzalloc(CAAM_RSA_MAX_INPUT_SIZE - 1, GFP_DMA | in caam_pkc_init() 1184 if (!zero_buffer) in caam_pkc_init() 1190 kfree(zero_buffer); in caam_pkc_init() 1210 kfree(zero_buffer); in caam_pkc_exit()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/axis/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/tty/ |
| H A D | n_tty.c | 158 static void zero_buffer(struct tty_struct *tty, u8 *buffer, int size) in zero_buffer() function 176 zero_buffer(tty, from, size); in tty_copy() 184 zero_buffer(tty, from, n); in tty_copy() 1974 zero_buffer(tty, from, n); in copy_from_read_buf()
|