#[repr(C)]pub struct ext4_blockdev {
pub bdif: *mut ext4_blockdev_iface,
pub part_offset: u64,
pub part_size: u64,
pub bc: *mut ext4_bcache,
pub lg_bsize: u32,
pub lg_bcnt: u64,
pub cache_write_back: u32,
pub fs: *mut ext4_fs,
pub journal: *mut c_void,
}Expand description
Block device descriptor
Fields§
§bdif: *mut ext4_blockdev_ifaceBlock device interface
part_offset: u64Offset in bdif (for multi partition mode)
part_size: u64Part size in bdif (for multi partition mode)
bc: *mut ext4_bcacheBlock cache
lg_bsize: u32Logical block size (bytes)
lg_bcnt: u64Logical block count
cache_write_back: u32Cache write back mode reference counter
fs: *mut ext4_fsThe filesystem this block device belongs to
journal: *mut c_voidJournal (opaque)
Trait Implementations§
Auto Trait Implementations§
impl !Send for ext4_blockdev
impl !Sync for ext4_blockdev
impl Freeze for ext4_blockdev
impl RefUnwindSafe for ext4_blockdev
impl Unpin for ext4_blockdev
impl UnsafeUnpin for ext4_blockdev
impl UnwindSafe for ext4_blockdev
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more