| /linux/drivers/android/binder/ |
| H A D | transaction.rs | 27 use core::mem::offset_of; 30 debug_id: offset_of!(Transaction, debug_id), 31 code: offset_of!(Transaction, code), 32 flags: offset_of!(Transaction, flags), 33 from_thread: offset_of!(Transaction, from), 34 to_proc: offset_of!(Transaction, to), 35 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 | 421 use core::mem::offset_of; 425 task: offset_of!(Process, task),
|
| H A D | thread.rs | 706 core::mem::offset_of!(uapi::binder_fd_object, __bindgen_anon_1.fd); in translate_object()
|
| /linux/drivers/gpu/nova-core/gsp/ |
| H A D | cmdq.rs | 202 const RX_HDR_OFF: u32 = num::usize_into_u32::<{ mem::offset_of!(Msgq, rx) }>(); in new() 410 const POST_PTE_OFFSET: usize = core::mem::offset_of!(GspMem, cpuq); 413 pub(crate) const CMDQ_OFFSET: usize = core::mem::offset_of!(GspMem, cpuq) 414 + core::mem::offset_of!(Msgq, msgq) 418 pub(crate) const STATQ_OFFSET: usize = core::mem::offset_of!(GspMem, gspq) 419 + core::mem::offset_of!(Msgq, msgq)
|
| /linux/rust/kernel/ |
| H A D | auxiliary.rs | 27 mem::offset_of, 45 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver); 165 core::mem::offset_of!(bindings::auxiliary_device_id, driver_data); 283 const OFFSET: usize = offset_of!(bindings::auxiliary_device, dev);
|
| H A D | pci.rs | 27 mem::offset_of, 68 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver); 235 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::pci_device_id, driver_data); 466 const OFFSET: usize = offset_of!(bindings::pci_dev, dev);
|
| H A D | usb.rs | 30 offset_of, 47 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver); 246 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::usb_device_id, driver_info); 355 const OFFSET: usize = offset_of!(bindings::usb_interface, dev);
|
| H A D | i2c.rs | 27 mem::offset_of, 68 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::i2c_device_id, driver_data); 103 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver); 486 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); 325 const OFFSET: usize = offset_of!(bindings::platform_device, dev);
|
| H A D | of.rs | 27 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::of_device_id, data);
|
| H A D | jump_label.rs | 56 off = const ::core::mem::offset_of!($keytyp, $field),
|
| H A D | acpi.rs | 27 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::acpi_device_id, driver_data);
|
| H A D | lib.rs | 284 let offset: usize = ::core::mem::offset_of!($Container, $($fields)*);
|
| /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 | 47 if false { let _: usize = ::core::mem::offset_of!(Self, $($field).*); }
|
| /linux/rust/kernel/drm/ |
| H A D | device.rs | 111 mem::offset_of!(Self, dev), in new()
|
| /linux/rust/kernel/sync/ |
| H A D | arc.rs | 245 pub const DATA_OFFSET: usize = core::mem::offset_of!(ArcInner<T>, data);
|