Searched refs:rbuf (Results 1 – 1 of 1) sorted by relevance
58 void *rbuf; in blk_fops_read() local68 if ((rbuf = rt_malloc(bytes_per_sector))) in blk_fops_read()73 res = rt_device_read(dev, blk_pos, rbuf, 1); in blk_fops_read()85 rt_memcpy(buf, rbuf + first_offs, rsize); in blk_fops_read()115 rt_free(rbuf); in blk_fops_read()123 void *rbuf; in blk_fops_write() local147 if ((rbuf = rt_malloc(bytes_per_sector))) in blk_fops_write()159 rt_free(rbuf); in blk_fops_write()165 rt_free(rbuf); in blk_fops_write()193 if ((rbuf = rt_malloc(bytes_per_sector))) in blk_fops_write()[all …]
Completed in 6 milliseconds