Lines Matching refs:length
33 static int block_read(io_entity_t *entity, uintptr_t buffer, size_t length,
36 size_t length, size_t *length_written);
140 ((region->length % cur->dev_spec->block_size) == 0)); in block_open()
143 cur->size = region->length; in block_open()
244 static int block_read(io_entity_t *entity, uintptr_t buffer, size_t length, in block_read() argument
272 assert((length <= cur->size) && in block_read()
273 (length > 0U) && in block_read()
282 for (left = length; left > 0U; left -= nbytes) { in block_read()
299 if ((skip + left) > buf->length) { in block_read()
305 request = buf->length; in block_read()
344 assert(count == length); in block_read()
357 size_t length, size_t *length_written) in block_write() argument
384 assert((length <= cur->size) && in block_write()
385 (length > 0U) && in block_write()
395 for (left = length; left > 0U; left -= nbytes) { in block_write()
412 if ((skip + left) > buf->length) { in block_write()
418 request = buf->length; in block_write()
488 assert(count == length); in block_write()
521 ((buffer->length % block_size) == 0U)); in block_dev_open()