Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
dm_space_map Struct Reference

#include <dm-space-map.h>

Data Fields

void(* destroy )(struct dm_space_map *sm)
 
int(* extend )(struct dm_space_map *sm, dm_block_t extra_blocks)
 
int(* get_nr_blocks )(struct dm_space_map *sm, dm_block_t *count)
 
int(* get_nr_free )(struct dm_space_map *sm, dm_block_t *count)
 
int(* get_count )(struct dm_space_map *sm, dm_block_t b, uint32_t *result)
 
int(* count_is_more_than_one )(struct dm_space_map *sm, dm_block_t b, int *result)
 
int(* set_count )(struct dm_space_map *sm, dm_block_t b, uint32_t count)
 
int(* commit )(struct dm_space_map *sm)
 
int(* inc_block )(struct dm_space_map *sm, dm_block_t b)
 
int(* dec_block )(struct dm_space_map *sm, dm_block_t b)
 
int(* new_block )(struct dm_space_map *sm, dm_block_t *b)
 
int(* root_size )(struct dm_space_map *sm, size_t *result)
 
int(* copy_root )(struct dm_space_map *sm, void *copy_to_here_le, size_t len)
 

Detailed Description

Definition at line 16 of file dm-space-map.h.

Field Documentation

Definition at line 45 of file dm-space-map.h.

int(* copy_root)(struct dm_space_map *sm, void *copy_to_here_le, size_t len)

Definition at line 61 of file dm-space-map.h.

int(* count_is_more_than_one)(struct dm_space_map *sm, dm_block_t b, int *result)

Definition at line 41 of file dm-space-map.h.

int(* dec_block)(struct dm_space_map *sm, dm_block_t b)

Definition at line 48 of file dm-space-map.h.

void(* destroy)(struct dm_space_map *sm)

Definition at line 17 of file dm-space-map.h.

int(* extend)(struct dm_space_map *sm, dm_block_t extra_blocks)

Definition at line 22 of file dm-space-map.h.

Definition at line 40 of file dm-space-map.h.

int(* get_nr_blocks)(struct dm_space_map *sm, dm_block_t *count)

Definition at line 28 of file dm-space-map.h.

int(* get_nr_free)(struct dm_space_map *sm, dm_block_t *count)

Definition at line 38 of file dm-space-map.h.

int(* inc_block)(struct dm_space_map *sm, dm_block_t b)

Definition at line 47 of file dm-space-map.h.

int(* new_block)(struct dm_space_map *sm, dm_block_t *b)

Definition at line 53 of file dm-space-map.h.

int(* root_size)(struct dm_space_map *sm, size_t *result)

Definition at line 60 of file dm-space-map.h.

Definition at line 43 of file dm-space-map.h.


The documentation for this struct was generated from the following file: