Home
last modified time | relevance | path

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

/components/drivers/block/
A Dblk_dfs.c144 wsize = count; in blk_fops_write()
175 if ((count - wsize) / bytes_per_sector != 0) in blk_fops_write()
177 res = rt_device_write(dev, blk_pos, buf + wsize, (count - wsize) / bytes_per_sector); in blk_fops_write()
178 wsize += res * bytes_per_sector; in blk_fops_write()
183 *pos += wsize; in blk_fops_write()
184 return wsize; in blk_fops_write()
191 if ((count - wsize) != 0) in blk_fops_write()
199 rt_memcpy(rbuf, buf + wsize, count - wsize); in blk_fops_write()
204 wsize += count - wsize; in blk_fops_write()
212 *pos += wsize; in blk_fops_write()
[all …]

Completed in 4 milliseconds