Searched refs:cur_pg (Results 1 - 3 of 3) sorted by relevance

/fs/exofs/
H A Dore_raid.h58 int _ore_add_stripe_unit(struct ore_io_state *ios, unsigned *cur_pg,
H A Dore_raid.c262 _1ps = &sp2d->_1p_stripes[si->cur_pg];
266 si->cur_pg = (si->cur_pg + 1) % sp2d->pages_in_unit;
413 p = si.cur_pg;
542 p = read_si.cur_pg;
644 si->cur_pg = _sp2d_min_pg(sp2d);
645 num_pages = _sp2d_max_pg(sp2d) + 1 - si->cur_pg;
648 per_dev->offset += si->cur_pg * PAGE_SIZE;
669 BUG_ON(si->cur_pg + num_pages > sp2d->pages_in_unit);
H A Dore.c560 si->cur_pg = si->unit_off / PAGE_SIZE;
593 int _ore_add_stripe_unit(struct ore_io_state *ios, unsigned *cur_pg, argument
597 unsigned pg = *cur_pg;
650 *cur_pg = pg;
653 * per_dev->length and cur_pg. This means that we might have a bigger
706 unsigned cur_pg = ios->pages_consumed; local
741 ret = _ore_add_stripe_unit(ios, &cur_pg, page_off, ios->pages,
775 si->cur_pg = 0;
782 ios->pages_consumed = cur_pg;

Completed in 24 milliseconds