Changes in uspace/drv/bus/usb/usbmast/main.c [920d0fc:dd8b6a8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmast/main.c
r920d0fc rdd8b6a8 85 85 static int usbmast_bd_close(bd_srv_t *); 86 86 static int usbmast_bd_read_blocks(bd_srv_t *, aoff64_t, size_t, void *, size_t); 87 static int usbmast_bd_sync_cache(bd_srv_t *, aoff64_t, size_t); 87 88 static int usbmast_bd_write_blocks(bd_srv_t *, aoff64_t, size_t, const void *, size_t); 88 89 static int usbmast_bd_get_block_size(bd_srv_t *, size_t *); … … 93 94 .close = usbmast_bd_close, 94 95 .read_blocks = usbmast_bd_read_blocks, 96 .sync_cache = usbmast_bd_sync_cache, 95 97 .write_blocks = usbmast_bd_write_blocks, 96 98 .get_block_size = usbmast_bd_get_block_size, … … 338 340 } 339 341 342 /** Synchronize blocks to nonvolatile storage. */ 343 static int usbmast_bd_sync_cache(bd_srv_t *bd, uint64_t ba, size_t cnt) 344 { 345 usbmast_fun_t *mfun = bd_srv_usbmast(bd); 346 347 return usbmast_sync_cache(mfun, ba, cnt); 348 } 349 340 350 /** Write blocks to the device. */ 341 351 static int usbmast_bd_write_blocks(bd_srv_t *bd, uint64_t ba, size_t cnt,
Note:
See TracChangeset
for help on using the changeset viewer.