Searched refs:size_of (Results 1 – 10 of 10) sorted by relevance
/linux/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/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}; 258 let len = size_of::<T>(); 266 // SAFETY: The local variable `out` is valid for writing `size_of::<T>()` bytes. in read() 358 let len = size_of::<T>(); 366 // `size_of::<T>()` bytes. in write()
|
/linux/rust/kernel/block/mq/ |
H A D | tag_set.rs | 45 let tag_set = core::mem::size_of::<RequestDataWrapper>() in new()
|
/linux/rust/kernel/alloc/ |
H A D | box_ext.rs |
|
H A D | vec_ext.rs |
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_lan_tx_rx.h | 415 u16 size_of; member 422 .size_of = sizeof_field(struct _struct, _ele), \
|
H A D | ice_common.c | 4733 if (ce_info[f].width > (ce_info[f].size_of * BITS_PER_BYTE)) { in ice_set_ctx() 4735 f, ce_info[f].width, ce_info[f].size_of); in ice_set_ctx() 4738 switch (ce_info[f].size_of) { in ice_set_ctx()
|
/linux/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/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb_fd.c | 42 __le16 size_of; /* sizeof this */ member
|