Lines Matching refs:r
72 let mut r = Ok(false); in do_device_attach() localVariable
98 let r = self.do_device_attach_driver(driver, &mut data); in do_device_attach() localVariable
99 if unlikely(r.is_err()) { in do_device_attach()
102 } else if r.unwrap() { in do_device_attach()
109 r = Ok(true); in do_device_attach()
130 return r; in do_device_attach()
153 let r = bus.match_device(&data.dev, driver); in do_device_attach_driver() localVariable
155 if let Err(e) = r { in do_device_attach_driver()
165 } else if !r.unwrap() { in do_device_attach_driver()
207 let r = driver_manager().driver_sysfs_add(dev); in device_bind_driver() localVariable
208 if r.is_ok() { in device_bind_driver()
219 if let Err(e) = r.as_ref() { in device_bind_driver()
226 return r; in device_bind_driver()
303 let r = self.match_device(driver, device).unwrap_or(false); in do_driver_attach() localVariable
304 if !r { in do_driver_attach()
351 let r = self.do_probe_device(driver, device); in probe_device() localVariable
353 return r; in probe_device()
516 let r = bus.probe(device); in call_driver_probe() localVariable
517 if r == Err(SystemError::ENOSYS) { in call_driver_probe()
521 r in call_driver_probe()
523 return r; in call_driver_probe()
526 if r.is_ok() { in call_driver_probe()
530 let err = r.unwrap_err(); in call_driver_probe()