Searched refs:size_of (Results 1 – 13 of 13) sorted by relevance
| /linux-6.15/rust/kernel/sync/ |
| H A D | locked_by.rs | 7 use core::{cell::UnsafeCell, mem::size_of, ptr}; 104 size_of::<Lock<U, B>>() > 0, in new() 130 size_of::<U>() > 0, in access() 159 size_of::<U>() > 0, in access_mut()
|
| /linux-6.15/rust/kernel/ |
| H A D | ioctl.rs | 34 _IOC(uapi::_IOC_READ, ty, nr, core::mem::size_of::<T>()) in _IOR() 40 _IOC(uapi::_IOC_WRITE, ty, nr, core::mem::size_of::<T>()) in _IOW() 50 core::mem::size_of::<T>(), in _IOWR()
|
| H A D | uaccess.rs | 15 use core::mem::{size_of, MaybeUninit}; 254 let len = size_of::<T>(); in read() 347 let len = size_of::<T>(); in write()
|
| H A D | dma.rs | 161 core::mem::size_of::<T>() > 0, in alloc_attrs() 166 .checked_mul(core::mem::size_of::<T>()) in alloc_attrs() 288 let size = self.count * core::mem::size_of::<T>(); in drop()
|
| H A D | device_id.rs | 56 core::mem::size_of::<Self>() in size()
|
| H A D | io.rs | 195 let type_size = core::mem::size_of::<U>(); in offset_valid()
|
| /linux-6.15/rust/ |
| H A D | ffi.rs | 20 core::mem::size_of::<$name>() == core::mem::size_of::<core::ffi::$name>()
|
| /linux-6.15/rust/kernel/alloc/ |
| H A D | layout.rs | 66 match len.checked_mul(core::mem::size_of::<T>()) { in new()
|
| H A D | allocator_test.rs | 79 let min_align = core::mem::size_of::<*const crate::ffi::c_void>(); in realloc()
|
| H A D | kvec.rs | 170 core::mem::size_of::<T>() == 0 in is_zst()
|
| /linux-6.15/rust/kernel/block/mq/ |
| H A D | tag_set.rs | 44 let tag_set = core::mem::size_of::<RequestDataWrapper>() in new()
|
| /linux-6.15/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_lan_hmc.c | 663 u16 size_of; member 943 switch (ce_info[f].size_of) { in i40e_set_hmc_context()
|
| /linux-6.15/drivers/net/can/usb/peak_usb/ |
| H A D | pcan_usb_fd.c | 42 __le16 size_of; /* sizeof this */ member
|