Searched refs:offset_of (Results 1 – 10 of 10) sorted by relevance
| /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 | 27 mem::offset_of, 42 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver); 236 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::usb_device_id, driver_info); 345 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 | 57 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),
|