Home
last modified time | relevance | path

Searched refs:zerobuf (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/nvdimm/
Dbtt.c417 void *zerobuf; in btt_map_init() local
422 zerobuf = kzalloc(chunk_size, GFP_KERNEL); in btt_map_init()
423 if (!zerobuf) in btt_map_init()
439 ret = arena_write_bytes(arena, arena->mapoff + offset, zerobuf, in btt_map_init()
450 kfree(zerobuf); in btt_map_init()
463 void *zerobuf; in btt_log_init() local
467 zerobuf = kzalloc(chunk_size, GFP_KERNEL); in btt_log_init()
468 if (!zerobuf) in btt_log_init()
483 ret = arena_write_bytes(arena, arena->logoff + offset, zerobuf, in btt_log_init()
504 kfree(zerobuf); in btt_log_init()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c730 u32 zerobuf[4] = {0, 0, 0, 0}; in ixgbe_ipsec_del_sa() local
746 ixgbe_ipsec_set_rx_sa(hw, sa_idx, 0, zerobuf, 0, 0, 0); in ixgbe_ipsec_del_sa()
760 (__force __be32 *)zerobuf); in ixgbe_ipsec_del_sa()
775 ixgbe_ipsec_set_tx_sa(hw, sa_idx, zerobuf, 0); in ixgbe_ipsec_del_sa()