Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/xillybus/
Dxillyusb.c81 unsigned int writepos; member
222 unsigned int writepos = fifo->writepos; in fifo_write() local
230 unsigned int nrail = fifo->bufsize - writepos; in fifo_write()
238 fifo->writepos = writepos; in fifo_write()
247 rc = (*copier)(fifo->mem[writebuf] + writepos, data + done, n); in fifo_write()
255 writepos += n; in fifo_write()
258 if (writepos == fifo->bufsize) { in fifo_write()
259 writepos = 0; in fifo_write()
403 fifo->writepos = 0; in fifo_init()
/linux-6.1.9/drivers/mtd/
Dmtdswap.c620 loff_t writepos; in mtdswap_write_block() local
642 writepos = (loff_t)*bp << PAGE_SHIFT; in mtdswap_write_block()
643 ret = mtd_write(mtd, writepos, PAGE_SIZE, &retlen, buf); in mtdswap_write_block()
/linux-6.1.9/drivers/md/
Draid5.c6221 sector_t writepos, readpos, safepos; in reshape_request() local
6263 writepos = conf->reshape_progress; in reshape_request()
6264 sector_div(writepos, new_data_disks); in reshape_request()
6270 BUG_ON(writepos < reshape_sectors); in reshape_request()
6271 writepos -= reshape_sectors; in reshape_request()
6275 writepos += reshape_sectors; in reshape_request()
6289 stripe_addr = writepos; in reshape_request()
6295 BUG_ON(writepos != sector_nr + reshape_sectors); in reshape_request()
6323 writepos += conf->min_offset_diff; in reshape_request()
6326 ? (safepos > writepos && readpos < writepos) in reshape_request()
[all …]