Lines Matching refs:blkcnt
284 lbaint_t blkcnt, void *buffer) in blk_read_devnum() argument
293 n = blk_dread(desc, start, blkcnt, buffer); in blk_read_devnum()
301 lbaint_t blkcnt, const void *buffer) in blk_write_devnum() argument
309 return blk_dwrite(desc, start, blkcnt, buffer); in blk_write_devnum()
405 lbaint_t blkcnt, void *buffer) in blk_dread() argument
415 start, blkcnt, block_dev->blksz, buffer)) in blk_dread()
416 return blkcnt; in blk_dread()
417 blks_read = ops->read(dev, start, blkcnt, buffer); in blk_dread()
418 if (blks_read == blkcnt) in blk_dread()
420 start, blkcnt, block_dev->blksz, buffer); in blk_dread()
426 lbaint_t blkcnt, const void *buffer) in blk_dwrite() argument
435 return ops->write(dev, start, blkcnt, buffer); in blk_dwrite()
439 lbaint_t blkcnt) in blk_derase() argument
448 return ops->erase(dev, start, blkcnt); in blk_derase()