Lines Matching refs:moff
818 int todo, done, off, moff, resid, size, i; in ata_pio_read() local
836 moff = bio->bio_ma_offset + off; in ata_pio_read()
838 bio->bio_ma[moff / PAGE_SIZE]); in ata_pio_read()
839 moff %= PAGE_SIZE; in ata_pio_read()
840 size = min(size, PAGE_SIZE - moff); in ata_pio_read()
841 addr = (void *)(page + moff); in ata_pio_read()
904 int todo, done, off, moff, resid, size, i; in ata_pio_write() local
922 moff = bio->bio_ma_offset + off; in ata_pio_write()
924 bio->bio_ma[moff / PAGE_SIZE]); in ata_pio_write()
925 moff %= PAGE_SIZE; in ata_pio_write()
926 size = min(size, PAGE_SIZE - moff); in ata_pio_write()
927 addr = (void *)(page + moff); in ata_pio_write()