Home
last modified time | relevance | path

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

/openbsd-src/sys/arch/octeon/dev/
H A Dif_cnmac.c1358 int to_alloc; in cnmac_tick_free() local
1363 to_alloc = atomic_swap_uint(&cnmac_mbufs_to_alloc, 0); in cnmac_tick_free()
1364 to_alloc = cnmac_mbuf_alloc(to_alloc); in cnmac_tick_free()
1365 if (to_alloc != 0) in cnmac_tick_free()
1366 atomic_add_int(&cnmac_mbufs_to_alloc, to_alloc); in cnmac_tick_free()
H A Dif_ogx.c991 unsigned int to_alloc; in ogx_rxrefill() local
994 to_alloc = atomic_swap_uint(&sc->sc_rxused, 0); in ogx_rxrefill()
995 to_alloc = ogx_load_mbufs(sc, to_alloc); in ogx_rxrefill()
996 if (to_alloc > 0) { in ogx_rxrefill()
997 atomic_add_int(&sc->sc_rxused, to_alloc); in ogx_rxrefill()