Lines Matching refs:Rc
20 use std::rc::Rc;
95 Rc::into_raw(Rc::new(LinkManager::new(ops))) in link_manager_create()
111 let lm = ManuallyDrop::new(unsafe { Rc::from_raw(lm) });
129 let lm = ManuallyDrop::new(unsafe { Rc::from_raw(lm) });
141 let lm = ManuallyDrop::new(unsafe { Rc::from_raw(lm) }); in link_manager_tick()
161 let lm = ManuallyDrop::new(unsafe { Rc::from_raw(lm) }); in link_manager_ingest_hci()
190 let lm = ManuallyDrop::new(unsafe { Rc::from_raw(lm) });
209 let _ = Rc::from_raw(lm); in link_manager_destroy()
218 Rc::into_raw(Rc::new(LinkLayer::new(ops))) in link_layer_create()
239 let mut ll = ManuallyDrop::new(unsafe { Rc::from_raw(ll) });
240 let ll = Rc::get_mut(&mut ll).unwrap();
256 let mut ll = ManuallyDrop::new(unsafe { Rc::from_raw(ll) }); in link_layer_remove_link()
257 let ll = Rc::get_mut(&mut ll).unwrap(); in link_layer_remove_link()
269 let mut ll = ManuallyDrop::new(unsafe { Rc::from_raw(ll) }); in link_layer_tick()
270 let ll = Rc::get_mut(&mut ll).unwrap(); in link_layer_tick()
290 let mut ll = ManuallyDrop::new(unsafe { Rc::from_raw(ll) }); in link_layer_ingest_hci()
291 let ll = Rc::get_mut(&mut ll).unwrap(); in link_layer_ingest_hci()
319 let mut ll = ManuallyDrop::new(unsafe { Rc::from_raw(ll) }); in link_layer_ingest_llcp()
320 let ll = Rc::get_mut(&mut ll).unwrap(); in link_layer_ingest_llcp()
348 let mut ll = ManuallyDrop::new(unsafe { Rc::from_raw(ll) }); in link_layer_get_cis_connection_handle()
349 let ll = Rc::get_mut(&mut ll).unwrap(); in link_layer_get_cis_connection_handle()
377 let mut ll = ManuallyDrop::new(unsafe { Rc::from_raw(ll) }); in link_layer_get_cis_information()
378 let ll = Rc::get_mut(&mut ll).unwrap(); in link_layer_get_cis_information()
404 let _ = Rc::from_raw(ll); in link_layer_destroy()