Lines Matching refs:PAGE_SIZE

91 	BUG_ON(sizeof(_aab->__asp2d) > PAGE_SIZE);  in _sp2d_alloc()
92 BUG_ON(sizeof__a1pa > PAGE_SIZE); in _sp2d_alloc()
94 if (sizeof(*_aab) > PAGE_SIZE) { in _sp2d_alloc()
95 num_a1pa = (PAGE_SIZE - sizeof(_aab->__asp2d)) / sizeof__a1pa; in _sp2d_alloc()
116 num_a1pa = min_t(unsigned, PAGE_SIZE / sizeof__a1pa, in _sp2d_alloc()
238 PAGE_SIZE, &_1ps->submit); in _gen_xor_unit()
242 PAGE_SIZE, &_1ps->submit); in _gen_xor_unit()
376 si->obj_offset % PAGE_SIZE); in _add_to_r4w()
395 pg_len = si.obj_offset % PAGE_SIZE; in _add_to_r4w_first_page()
417 pg_len = PAGE_SIZE - (si.unit_off % PAGE_SIZE); in _add_to_r4w_last_page()
487 read_si.obj_offset += min_p * PAGE_SIZE; in _read_4_write_first_stripe()
488 offset += min_p * PAGE_SIZE; in _read_4_write_first_stripe()
495 if (ios->offset % PAGE_SIZE) in _read_4_write_first_stripe()
508 _add_to_r4w(ios, &read_si, *pp, PAGE_SIZE); in _read_4_write_first_stripe()
512 read_si.obj_offset += PAGE_SIZE; in _read_4_write_first_stripe()
513 offset += PAGE_SIZE; in _read_4_write_first_stripe()
515 offset += (sp2d->pages_in_unit - p) * PAGE_SIZE; in _read_4_write_first_stripe()
532 if (offset % PAGE_SIZE) in _read_4_write_last_stripe()
571 _add_to_r4w(ios, &read_si, page, PAGE_SIZE); in _read_4_write_last_stripe()
574 offset += PAGE_SIZE; in _read_4_write_last_stripe()
580 read_si.obj_offset += PAGE_SIZE; in _read_4_write_last_stripe()
648 per_dev->offset += si->cur_pg * PAGE_SIZE; in _ore_add_parity_unit()
672 per_dev, num_pages * PAGE_SIZE); in _ore_add_parity_unit()
688 unsigned pages_in_unit = layout->stripe_unit / PAGE_SIZE; in _ore_post_alloc_raid_stuff()