Home
last modified time | relevance | path

Searched refs:towrite (Results 1 – 3 of 3) sorted by relevance

/drivers/mtd/maps/
Dpcmciamtd.c194 int towrite = win_size - (to & (win_size-1)); in pcmcia_copy_to_remap() local
197 if(towrite > len) in pcmcia_copy_to_remap()
198 towrite = len; in pcmcia_copy_to_remap()
204 pr_debug("memcpy from %p to %p len = %d\n", from, addr, towrite); in pcmcia_copy_to_remap()
205 memcpy_toio(addr, from, towrite); in pcmcia_copy_to_remap()
206 len -= towrite; in pcmcia_copy_to_remap()
207 to += towrite; in pcmcia_copy_to_remap()
208 from += towrite; in pcmcia_copy_to_remap()
/drivers/md/
Draid5.h232 struct bio *toread, *read, *towrite, *written; member
Draid5.c350 if (dev->toread || dev->read || dev->towrite || dev->written || in init_stripe()
354 dev->read, dev->towrite, dev->written, in init_stripe()
1179 chosen = dev->towrite; in ops_run_biodrain()
1180 dev->towrite = NULL; in ops_run_biodrain()
2300 if (dev->towrite) { in schedule_reconstruction()
2336 if (dev->towrite && in schedule_reconstruction()
2400 bip = &sh->dev[dd_idx].towrite; in add_stripe_bio()
2422 for (bi=sh->dev[dd_idx].towrite; in add_stripe_bio()
2500 bi = sh->dev[i].towrite; in handle_failed_stripe()
2501 sh->dev[i].towrite = NULL; in handle_failed_stripe()
[all …]