Struct libe2fs_sys::ext2_bitmap_ops
source · #[repr(C)]pub struct ext2_bitmap_ops {Show 17 fields
pub type_: c_int,
pub new_bmap: Option<unsafe extern "C" fn(fs: ext2_filsys, bmap: ext2fs_generic_bitmap_64) -> errcode_t>,
pub free_bmap: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64)>,
pub copy_bmap: Option<unsafe extern "C" fn(src: ext2fs_generic_bitmap_64, dest: ext2fs_generic_bitmap_64) -> errcode_t>,
pub resize_bmap: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, new_end: __u64, new_real_end: __u64) -> errcode_t>,
pub mark_bmap: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, arg: __u64) -> c_int>,
pub unmark_bmap: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, arg: __u64) -> c_int>,
pub test_bmap: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, arg: __u64) -> c_int>,
pub mark_bmap_extent: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, arg: __u64, num: c_uint)>,
pub unmark_bmap_extent: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, arg: __u64, num: c_uint)>,
pub test_clear_bmap_extent: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, arg: __u64, num: c_uint) -> c_int>,
pub set_bmap_range: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, start: __u64, num: usize, in_: *mut c_void) -> errcode_t>,
pub get_bmap_range: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, start: __u64, num: usize, out: *mut c_void) -> errcode_t>,
pub clear_bmap: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64)>,
pub print_stats: Option<unsafe extern "C" fn(arg1: ext2fs_generic_bitmap_64)>,
pub find_first_zero: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, start: __u64, end: __u64, out: *mut __u64) -> errcode_t>,
pub find_first_set: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, start: __u64, end: __u64, out: *mut __u64) -> errcode_t>,
}Fields§
§type_: c_int§new_bmap: Option<unsafe extern "C" fn(fs: ext2_filsys, bmap: ext2fs_generic_bitmap_64) -> errcode_t>§free_bmap: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64)>§copy_bmap: Option<unsafe extern "C" fn(src: ext2fs_generic_bitmap_64, dest: ext2fs_generic_bitmap_64) -> errcode_t>§resize_bmap: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, new_end: __u64, new_real_end: __u64) -> errcode_t>§mark_bmap: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, arg: __u64) -> c_int>§unmark_bmap: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, arg: __u64) -> c_int>§test_bmap: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, arg: __u64) -> c_int>§mark_bmap_extent: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, arg: __u64, num: c_uint)>§unmark_bmap_extent: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, arg: __u64, num: c_uint)>§test_clear_bmap_extent: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, arg: __u64, num: c_uint) -> c_int>§set_bmap_range: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, start: __u64, num: usize, in_: *mut c_void) -> errcode_t>§get_bmap_range: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, start: __u64, num: usize, out: *mut c_void) -> errcode_t>§clear_bmap: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64)>§print_stats: Option<unsafe extern "C" fn(arg1: ext2fs_generic_bitmap_64)>§find_first_zero: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, start: __u64, end: __u64, out: *mut __u64) -> errcode_t>§find_first_set: Option<unsafe extern "C" fn(bitmap: ext2fs_generic_bitmap_64, start: __u64, end: __u64, out: *mut __u64) -> errcode_t>Trait Implementations§
source§impl Clone for ext2_bitmap_ops
impl Clone for ext2_bitmap_ops
source§fn clone(&self) -> ext2_bitmap_ops
fn clone(&self) -> ext2_bitmap_ops
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ext2_bitmap_ops
impl Debug for ext2_bitmap_ops
impl Copy for ext2_bitmap_ops
Auto Trait Implementations§
impl RefUnwindSafe for ext2_bitmap_ops
impl Send for ext2_bitmap_ops
impl Sync for ext2_bitmap_ops
impl Unpin for ext2_bitmap_ops
impl UnwindSafe for ext2_bitmap_ops
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