Home
last modified time | relevance | path

Searched refs:size_of (Results 1 – 10 of 10) sorted by relevance

/linux/rust/kernel/sync/
H A Dlocked_by.rs7 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 Dioctl.rs34 _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 Duaccess.rs15 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 Dtag_set.rs45 let tag_set = core::mem::size_of::<RequestDataWrapper>() in new()
/linux/rust/kernel/alloc/
H A Dbox_ext.rs
H A Dvec_ext.rs
/linux/drivers/net/ethernet/intel/ice/
H A Dice_lan_tx_rx.h415 u16 size_of; member
422 .size_of = sizeof_field(struct _struct, _ele), \
H A Dice_common.c4733 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 Di40e_lan_hmc.c663 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 Dpcan_usb_fd.c42 __le16 size_of; /* sizeof this */ member