Searched refs:writepos (Results 1 – 2 of 2) sorted by relevance
633 loff_t writepos; in mtdswap_write_block() local655 writepos = (loff_t)*bp << PAGE_SHIFT; in mtdswap_write_block()656 ret = mtd_write(mtd, writepos, PAGE_SIZE, &retlen, buf); in mtdswap_write_block()
5759 sector_t writepos, readpos, safepos; in reshape_request() local5801 writepos = conf->reshape_progress; in reshape_request()5802 sector_div(writepos, new_data_disks); in reshape_request()5808 BUG_ON(writepos < reshape_sectors); in reshape_request()5809 writepos -= reshape_sectors; in reshape_request()5813 writepos += reshape_sectors; in reshape_request()5827 stripe_addr = writepos; in reshape_request()5833 BUG_ON(writepos != sector_nr + reshape_sectors); in reshape_request()5861 writepos += conf->min_offset_diff; in reshape_request()5864 ? (safepos > writepos && readpos < writepos) in reshape_request()[all …]