Lines Matching defs:vsic
33 #include <storage/vsic.h>
114 static errval_t vsic_write(struct storage_vsic *vsic, struct storage_vsa *vsa,
117 assert(vsic != NULL);
120 /* struct megaraid_vsic *mydata = vsic->data; */
136 size = STORAGE_VSIC_ROUND(vsic, size);
223 static errval_t vsic_read(struct storage_vsic *vsic, struct storage_vsa *vsa,
226 assert(vsic != NULL);
229 /* struct megaraid_vsic *mydata = vsic->data; */
242 size = STORAGE_VSIC_ROUND(vsic, size);
327 static errval_t vsic_flush(struct storage_vsic *vsic, struct storage_vsa *vsa)
329 assert(vsic != NULL);
331 /* struct megaraid_vsic *mydata = vsic->data; */
336 static errval_t vsic_flush2(struct storage_vsic *vsic, struct storage_vsa *vsa,
339 assert(vsic != NULL);
341 /* struct megaraid_vsic *mydata = vsic->data; */
346 static errval_t vsic_wait(struct storage_vsic *vsic)
348 assert(vsic != NULL);
349 /* struct megaraid_vsic *mydata = vsic->data; */
361 static errval_t vsic_poll(struct storage_vsic *vsic, void **handle)
363 assert(vsic != NULL);
364 /* struct megaraid_vsic *mydata = vsic->data; */
388 struct storage_vsic *vsic)
390 assert(vsic != NULL);
396 vsic->ops = megaraid_ops;
397 vsic->data = mydata;
398 vsic->blocksize = BLOCK_SIZE; // XXX: Determine from drive?