Lines Matching refs:entity
30 io_entity_t *entity);
31 static int dummy_block_len(io_entity_t *entity, size_t *length);
32 static int dummy_block_read(io_entity_t *entity, uintptr_t buffer,
34 static int dummy_block_close(io_entity_t *entity);
82 io_entity_t *entity) in dummy_block_open() argument
89 assert(entity != NULL); in dummy_block_open()
93 entity->info = (uintptr_t)¤t_file; in dummy_block_open()
105 static int dummy_block_len(io_entity_t *entity, size_t *length) in dummy_block_len() argument
107 assert(entity != NULL); in dummy_block_len()
110 *length = ((struct file_state *)entity->info)->size; in dummy_block_len()
117 static int dummy_block_read(io_entity_t *entity, uintptr_t buffer, in dummy_block_read() argument
129 static int dummy_block_close(io_entity_t *entity) in dummy_block_close() argument
131 assert(entity != NULL); in dummy_block_close()
133 entity->info = 0; in dummy_block_close()