Searched refs:offset_of (Results 1 – 14 of 14) sorted by relevance
| /linux/drivers/android/binder/ |
| H A D | transaction.rs | 55 use core::mem::offset_of; 58 debug_id: offset_of!(Transaction, debug_id), 59 code: offset_of!(Transaction, code), 60 flags: offset_of!(Transaction, flags), 61 from_thread: offset_of!(Transaction, from), 62 to_proc: offset_of!(Transaction, to), 63 target_node: offset_of!(Transaction, target_node),
|
| H A D | node.rs | 182 use mem::offset_of; 184 arc_offset: Arc::<Node>::DATA_OFFSET + offset_of!(DTRWrap<Node>, wrapped), 185 debug_id: offset_of!(Node, debug_id), 186 ptr: offset_of!(Node, ptr),
|
| H A D | process.rs | 422 use core::mem::offset_of; 426 task: offset_of!(Process, task),
|
| H A D | thread.rs | 719 core::mem::offset_of!(uapi::binder_fd_object, __bindgen_anon_1.fd); in translate_object()
|
| /linux/rust/kernel/ |
| H A D | auxiliary.rs | 33 mem::offset_of, 52 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver); in register() 174 core::mem::offset_of!(bindings::auxiliary_device_id, driver_data); 370 const OFFSET: usize = offset_of!(bindings::auxiliary_device, dev); in new()
|
| H A D | pci.rs | 27 mem::offset_of, 70 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver); 241 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::pci_device_id, driver_data); 480 const OFFSET: usize = offset_of!(bindings::pci_dev, dev); in inc_ref()
|
| H A D | usb.rs | 28 offset_of, 45 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver); 247 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::usb_device_id, driver_info); 356 const OFFSET: usize = offset_of!(bindings::usb_interface, dev);
|
| H A D | i2c.rs | 28 mem::offset_of, 67 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::i2c_device_id, driver_data); 92 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver); 487 const OFFSET: usize = offset_of!(bindings::i2c_client, dev);
|
| H A D | platform.rs | 36 mem::offset_of, 54 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver); 331 const OFFSET: usize = offset_of!(bindings::platform_device, dev);
|
| H A D | jump_label.rs | 56 off = const ::core::mem::offset_of!($keytyp, $field),
|
| H A D | lib.rs | 218 let offset: usize = ::core::mem::offset_of!($Container, $($fields)*); in panic()
|
| /linux/scripts/gdb/linux/ |
| H A D | utils.py | 69 def offset_of(typeobj, field): function 76 offset_of(typeobj, member)).cast(typeobj)
|
| /linux/rust/kernel/list/ |
| H A D | impl_list_item_mod.rs | 48 if false { let _: usize = ::core::mem::offset_of!(Self, $($field).*); } 51 // expression doesn't follow any pointers, as the `offset_of!` invocation above
|
| /linux/rust/kernel/drm/ |
| H A D | device.rs | 227 mem::offset_of!(Device<T, Normal>, dev),
|