Lines Matching refs:Err

128             return Err(SystemError::EINVAL);  in give_back_block()
177 return Err(MmioResult::WRONGEXP); in query_addr_region()
206 Err(err) => { in query_addr_region()
208 return Err(err); in query_addr_region()
225 Err(err) => { in query_addr_region()
227 return Err(err); in query_addr_region()
238 Err(err) => return Err(err), in query_addr_region()
265 Err(err) => { in query_addr_region()
267 return Err(err); in query_addr_region()
277 Err(err) => { in query_addr_region()
279 return Err(err); in query_addr_region()
289 Err(err) => return Err(err), in query_addr_region()
292 return Err(MmioResult::ENOFOUND); in query_addr_region()
296 Err(err) => return Err(err), in query_addr_region()
312 Err(err) => { in mmio_buddy_query_addr_region()
314 return Err(err); in mmio_buddy_query_addr_region()
357 return Err(MmioResult::ISEMPTY); in pop_buddy_block()
373 return Err(MmioResult::ENOFOUND); in pop_buddy_block()
392 return Err(MmioResult::ISEMPTY); in pop_block()
416 return Err(MmioResult::EINVAL); in merge_all_exp()
426 Err(err) => { in merge_all_exp()
427 return Err(err); in merge_all_exp()
434 Err(err) => { in merge_all_exp()
438 return Err(err); in merge_all_exp()
466 return Err(MmioResult::EINVAL); in merge_blocks()
488 return Err(SystemError::EPERM); in create_mmio()
512 Err(_) => { in create_mmio()
517 return Err(SystemError::ENOMEM); in create_mmio()
537 return Err(SystemError::EINVAL); in release_mmio()
548 return Err(SystemError::EAGAIN_OR_EWOULDBLOCK); in release_mmio()
670 return Err(SystemError::EINVAL); in map_phys()
677 return Err(SystemError::EINVAL); in map_phys()
700 return Err(SystemError::EINVAL); in map_phys_with_flags()
707 return Err(SystemError::EINVAL); in map_phys_with_flags()