/linux/rust/kernel/ |
H A D | uaccess.rs | 63 /// Ok(()) 99 /// Ok(buf) 183 Ok(()) in skip() 227 let Ok(len_ulong) = c_ulong::try_from(len) else { in read_raw() 239 Ok(()) in read_raw() 262 let Ok(len_ulong) = c_ulong::try_from(len) else { in read() 285 Ok(unsafe { out.assume_init() }) in read() 302 Ok(()) in read_all() 338 let Ok(len_ulong) = c_ulong::try_from(len) else { in write_slice() 349 Ok(()) in write_slice() 230 let Ok(len_ulong) = c_ulong::try_from(len) else { read_raw() localVariable 265 let Ok(len_ulong) = c_ulong::try_from(len) else { read() localVariable 341 let Ok(len_ulong) = c_ulong::try_from(len) else { write_slice() localVariable 365 let Ok(len_ulong) = c_ulong::try_from(len) else { write() localVariable [all...] |
H A D | page.rs | 62 /// # Ok(()) } 72 /// # Ok(()) } in alloc_page() 81 Ok(Self { page }) 183 Ok(()) 204 Ok(()) 224 Ok(())
|
H A D | str.rs | 61 Ok(()) in fmt() 219 Ok(unsafe { Self::from_bytes_with_nul_unchecked(bytes) }) in from_bytes_with_nul() 277 /// assert_eq!(cstr.to_str(), Ok("foo")); 357 Ok(s) in to_ascii_lowercase() 374 Ok(s) in to_ascii_uppercase() 403 Ok(()) in fmt() 517 Ok(v) => v, 746 Ok(()) 784 Ok(()) 848 Ok(Sel [all...] |
H A D | init.rs | 115 //! - when the closure returns `Ok(())`, then it has completed the initialization successfully, so 156 //! // - when the closure returns `Ok(())`, then it has successfully initialized and 176 //! Ok(()) 278 Ok(res) => res, 340 /// # Ok::<_, AllocError>(()) 824 /// - returns `Ok(())` if it initialized every field of `slot`, 882 /// Ok(()) 897 // - returns `Ok(())` on successful initialization, 932 /// - returns `Ok(())` if it initialized every field of `slot`, 981 /// Ok(()) [all...] |
H A D | error.rs | 261 /// `Ok(())` otherwise. 266 Ok(()) 311 Ok(ptr) 333 /// Ok(0) 343 Ok(v) => v,
|
H A D | firmware.rs | 71 Ok(Firmware(unsafe { NonNull::new_unchecked(fw) })) in request_internal()
|
H A D | workqueue.rs | 220 Ok(()) in try_spawn() 561 Ok(()) in __enqueue()
|
H A D | rbtree.rs | 93 /// # Ok::<(), Error>(()) 111 /// Ok(()) 164 /// # Ok::<(), Error>(()) 286 Ok(self.insert(RBTreeNode::new(key, value, flags)?)) in try_create_and_insert() 545 /// # Ok::<(), Error>(()) 565 /// # Ok::<(), Error>(()) 576 /// # Ok::<(), Error>(()) 608 /// # Ok::<(), Error>(()) 635 /// # Ok::<(), Error>(()) 674 /// # Ok [all...] |
/linux/rust/kernel/alloc/ |
H A D | vec_ext.rs |
|
H A D | box_ext.rs |
|
/linux/rust/kernel/net/ |
H A D | phy.rs | 202 Ok(ret as u16) in read_paged() 324 Ok(0) in soft_reset_callback() 339 Ok(0) in probe_callback() 355 Ok(0) in get_features_callback() 369 Ok(0) in suspend_callback() 383 Ok(0) in resume_callback() 399 Ok(0) in config_aneg_callback() 415 Ok(0) in read_status_callback() 447 Ok(ret.into()) in read_mmd_callback() 466 Ok(0) in write_mmd_callback() [all …]
|
/linux/rust/kernel/block/mq/ |
H A D | gen_disk.rs | 52 Ok(()) in validate_block_size() 66 Ok(self) in logical_block_size() 81 Ok(self) in physical_block_size() 166 Ok(GenDisk { in build()
|
H A D | raw_writer.rs | 24 Ok(Self { buffer, pos: 0 }) in new() 53 Ok(()) in write_str()
|
H A D | request.rs | 95 /// If the operation is successful, [`Ok`] is returned with a pointer to the in try_set_end() 114 Ok(request_ptr) in end_ok() 130 Ok(()) 209 // return `Some`, `old` will always be `Ok`. in atomic_relaxed_op_unless()
|
H A D | operations.rs | 151 from_result(|| Ok(0)) in init_hctx_callback() 191 Ok(0) in init_request_callback()
|
/linux/rust/kernel/net/phy/ |
H A D | reg.rs | 114 Ok(ret as u16) in read() 133 Ok(ret as u16) in read_status() 204 Ok(ret as u16) in read() 222 Ok(ret as u16) in read_status()
|
/linux/rust/kernel/sync/ |
H A D | arc.rs | 76 /// # Ok::<(), Error>(()) 102 /// # Ok::<(), Error>(()) 126 /// # Ok::<(), Error>(()) 207 Ok(unsafe { Self::from_inner(KBox::leak(inner).into()) }) in new() 287 /// # Ok::<(), Error>(()) 301 /// # Ok::<(), Error>(()) 451 /// # Ok::<(), Error>(()) 472 /// # Ok::<(), Error>(()) 579 /// Ok(x.into()) 600 /// Ok( [all...] |
/linux/rust/kernel/list/ |
H A D | arc.rs | 173 Ok(Self::from(UniqueArc::new(contents, flags)?)) in new() 186 Ok(Self::from(UniqueArc::try_pin_init(init, flags)?)) in pin_init() 197 Ok(Self::from(UniqueArc::try_init(init, flags)?)) in init() 283 Ok(unsafe { Self::transmute_from_arc(arc) }) in try_from_arc() 314 Ok(list_arc) => Some(list_arc), in try_from_arc_or_drop()
|
/linux/drivers/block/ |
H A D | rnull.rs | 53 Ok(Self { _disk: disk }) in init() 70 Ok(()) in queue_rq()
|
/linux/samples/rust/ |
H A D | rust_print_main.rs | 40 Ok(()) in arc_print() 75 Ok(RustPrint) in init()
|
H A D | rust_minimal.rs | 29 Ok(RustMinimal { numbers }) in init()
|
/linux/drivers/net/phy/ |
H A D | ax88796b_rust.rs | 53 return Ok(0); in read_status() 78 Ok(0) in read_status()
|
H A D | qt2025.rs | 97 Ok(()) in probe()
|
/linux/rust/kernel/sync/arc/ |
H A D | std_vendor.rs | 24 Ok(Arc::from_inner(ptr)) in downcast()
|
/linux/rust/kernel/init/ |
H A D | __internal.rs | 185 Ok(unsafe { Pin::new_unchecked(this.value.assume_init_mut()) })
|