Lines Matching refs:assert
84 assert(dev_info != NULL); in memmap_dev_open()
112 assert(block_spec != NULL); in memmap_block_open()
113 assert(entity != NULL); in memmap_block_open()
139 assert(entity != NULL); in memmap_block_seek()
144 assert((offset >= 0) && in memmap_block_seek()
159 assert(entity != NULL); in memmap_block_len()
160 assert(length != NULL); in memmap_block_len()
175 assert(entity != NULL); in memmap_block_read()
176 assert(length_read != NULL); in memmap_block_read()
182 assert((pos_after >= fp->file_pos) && (pos_after <= fp->size)); in memmap_block_read()
203 assert(entity != NULL); in memmap_block_write()
204 assert(length_written != NULL); in memmap_block_write()
210 assert((pos_after >= fp->file_pos) && (pos_after <= fp->size)); in memmap_block_write()
227 assert(entity != NULL); in memmap_block_close()
244 assert(dev_con != NULL); in register_io_dev_memmap()