GNTTAB_NEPG
ge->ge_start = sc->sc_gntcnt * GNTTAB_NEPG;
ge->ge_free = GNTTAB_NEPG - ge->ge_reserved;
i != ((ge->ge_next + GNTTAB_NEPG - 1) & (GNTTAB_NEPG - 1));
if (i == GNTTAB_NEPG)
if ((ge->ge_next = i + 1) == GNTTAB_NEPG)
if (ref > sc->sc_gntcnt * GNTTAB_NEPG)
ge = &sc->sc_gnt[ref / GNTTAB_NEPG];
if (ref < ge->ge_start || ref > ge->ge_start + GNTTAB_NEPG) {
if (ref > sc->sc_gntcnt * GNTTAB_NEPG)
ge = &sc->sc_gnt[ref / GNTTAB_NEPG];
if (ref < ge->ge_start || ref > ge->ge_start + GNTTAB_NEPG) {
if (ref > sc->sc_gntcnt * GNTTAB_NEPG)
ge = &sc->sc_gnt[ref / GNTTAB_NEPG];
if (ref < ge->ge_start || ref > ge->ge_start + GNTTAB_NEPG) {