Searched refs:offset_of (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/rust/kernel/list/ |
| H A D | impl_list_item_mod.rs | 57 const OFFSET: usize = ::core::mem::offset_of!(Self, $($field).*) as usize; 100 const OFFSET: usize = ::core::mem::offset_of!(Self, $field) as usize;
|
| /linux-6.15/scripts/gdb/linux/ |
| H A D | utils.py | 69 def offset_of(typeobj, field): function 76 offset_of(typeobj, member)).cast(typeobj)
|
| /linux-6.15/rust/kernel/ |
| H A D | of.rs | 22 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 | lib.rs | 203 let offset: usize = ::core::mem::offset_of!($type, $($f)*);
|
| H A D | workqueue.rs | 507 const OFFSET: usize = ::core::mem::offset_of!(Self, $field) as usize;
|
| H A D | pci.rs | 169 const DRIVER_DATA_OFFSET: usize = core::mem::offset_of!(bindings::pci_device_id, driver_data);
|
| H A D | list.rs | 219 pub const LIST_LINKS_SELF_PTR_OFFSET: usize = core::mem::offset_of!(Self, self_ptr);
|