Searched refs:from_ref (Results 1 – 18 of 18) sorted by relevance
| /linux/rust/kernel/debugfs/ |
| H A D | entry.rs | 75 core::ptr::from_ref(data) as *mut c_void, in dynamic_file() 128 core::ptr::from_ref(data) as *mut c_void, in file()
|
| /linux/rust/kernel/ |
| H A D | print.rs | 117 core::ptr::from_ref(&args).cast::<c_void>(), 137 core::ptr::from_ref(&args).cast::<c_void>(),
|
| H A D | kunit.rs | 27 core::ptr::from_ref(&args).cast::<c_void>(), in err() 47 core::ptr::from_ref(&args).cast::<c_void>(), in info()
|
| H A D | seq_file.rs | 40 core::ptr::from_ref(&args).cast::<crate::ffi::c_void>(), in call_printf()
|
| H A D | device.rs | 195 let ptr = core::ptr::from_ref(self); in as_bound() 473 core::ptr::from_ref(&msg).cast::<crate::ffi::c_void>(), in printk()
|
| H A D | configfs.rs | 719 unsafe { (&mut *self.0.get())[I] = core::ptr::from_ref(attribute).cast_mut().cast() }; in add() 759 ct_attrs: core::ptr::from_ref(attributes).cast_mut().cast(), 776 ct_attrs: core::ptr::from_ref(attributes).cast_mut().cast(),
|
| H A D | module_param.rs | 145 core::ptr::from_ref(self).cast_mut().cast() in as_void_ptr()
|
| H A D | i2c.rs | 29 from_ref, 457 from_ref(&self.0) in as_raw()
|
| H A D | device_id.rs | 180 core::ptr::from_ref(self).cast() in as_ptr()
|
| H A D | devres.rs | 180 core::ptr::from_ref(self.data()).cast_mut().cast(), in new()
|
| H A D | uaccess.rs | 545 core::ptr::from_ref(value).cast::<c_void>(), in write()
|
| H A D | bitmap.rs | 77 core::ptr::from_ref::<Bitmap>(self).cast::<usize>() in as_ptr()
|
| H A D | io.rs | 613 unsafe { &*core::ptr::from_ref(raw).cast() } in from_raw()
|
| H A D | str.rs | 41 unsafe { &*(core::ptr::from_ref(bytes) as *const BStr) } in from_bytes()
|
| /linux/security/keys/ |
| H A D | keyctl.c | 598 key_ref_t key_ref, from_ref, to_ref; in keyctl_keyring_move() local 608 from_ref = lookup_user_key(from_ringid, 0, KEY_NEED_WRITE); in keyctl_keyring_move() 609 if (IS_ERR(from_ref)) { in keyctl_keyring_move() 610 ret = PTR_ERR(from_ref); in keyctl_keyring_move() 620 ret = key_move(key_ref_to_ptr(key_ref), key_ref_to_ptr(from_ref), in keyctl_keyring_move() 625 key_ref_put(from_ref); in keyctl_keyring_move()
|
| /linux/rust/kernel/fs/ |
| H A D | file.rs | 376 unsafe { LocalFile::from_raw_file(core::ptr::from_ref(self).cast()) } in deref()
|
| /linux/drivers/android/binder/ |
| H A D | page_range.rs | 290 let mm_lock = unsafe { &*ptr::from_ref(&self.mm_lock) }; in stable_trylock_mm() 340 (*vma.as_ptr()).vm_private_data = ptr::from_ref(self).cast_mut().cast::<c_void>() in register_with_vma()
|
| /linux/tools/bpf/bpftool/ |
| H A D | btf.c | 629 static const char *btf_type_sort_name(const struct btf *btf, __u32 index, bool from_ref) in btf_type_sort_name() argument 638 if (!from_ref && !name_off && btf_vlen(t)) in btf_type_sort_name()
|