Lines Matching refs:buffer
33 static int block_read(io_entity_t *entity, uintptr_t buffer, size_t length,
35 static int block_write(io_entity_t *entity, const uintptr_t buffer,
244 static int block_read(io_entity_t *entity, uintptr_t buffer, size_t length, in block_read() argument
270 buf = &(cur->dev_spec->buffer); in block_read()
337 memcpy((void *)(buffer + count), in block_read()
356 static int block_write(io_entity_t *entity, const uintptr_t buffer, in block_write() argument
382 buf = &(cur->dev_spec->buffer); in block_write()
468 (void *)(buffer + count), in block_write()
503 io_block_spec_t *buffer; in block_dev_open() local
516 buffer = &(cur->dev_spec->buffer); in block_dev_open()
520 ((buffer->offset % block_size) == 0U) && in block_dev_open()
521 ((buffer->length % block_size) == 0U)); in block_dev_open()
525 (void)buffer; in block_dev_open()