Home
last modified time | relevance | path

Searched refs:offset_of (Results 1 – 12 of 12) sorted by relevance

/linux/rust/kernel/
H A Dauxiliary.rs33 mem::offset_of,
52 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver); in register()
182 core::mem::offset_of!(bindings::auxiliary_device_id, driver_data);
383 const OFFSET: usize = offset_of!(bindings::auxiliary_device, dev); in new()
H A Dpci.rs28 mem::offset_of,
79 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver); in register()
250 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::pci_device_id, driver_data);
502 const OFFSET: usize = offset_of!(bindings::pci_dev, dev);
H A Dusb.rs27 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 Di2c.rs27 mem::offset_of,
66 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::i2c_device_id, driver_data);
91 const DEVICE_DRIVER_OFFSET: usize = core::mem::offset_of!(Self::DriverType, driver);
486 const OFFSET: usize = offset_of!(bindings::i2c_client, dev);
H A Dplatform.rs36 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 Djump_label.rs57 off = const ::core::mem::offset_of!($keytyp, $field),
H A Dlib.rs222 let offset: usize = ::core::mem::offset_of!($Container, $($fields)*);
/linux/scripts/gdb/linux/
H A Dutils.py69 def offset_of(typeobj, field): function
76 offset_of(typeobj, member)).cast(typeobj)
/linux/drivers/android/binder/
H A Dnode.rs184 use mem::offset_of;
186 arc_offset: Arc::<Node>::DATA_OFFSET + offset_of!(DTRWrap<Node>, wrapped),
187 debug_id: offset_of!(Node, debug_id),
188 ptr: offset_of!(Node, ptr),
H A Dthread.rs785 core::mem::offset_of!(uapi::binder_fd_object, __bindgen_anon_1.fd); in translate_object()
/linux/rust/kernel/list/
H A Dimpl_list_item_mod.rs48 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 Ddevice.rs227 mem::offset_of!(Device<T, Normal>, dev),