Searched refs:G_CACHE_BUCKET (Results 1 – 2 of 2) sorted by relevance
48 #define G_CACHE_BUCKET(bno) ((bno) & (G_CACHE_BUCKETS - 1)) macro
253 LIST_FOREACH(dp, &sc->sc_desclist[G_CACHE_BUCKET(bno)], d_next) in g_cache_lookup()299 LIST_INSERT_HEAD(&sc->sc_desclist[G_CACHE_BUCKET(dp->d_bno)], in g_cache_read()