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

#include <ubifs.h>

Data Fields

struct super_blockvfs_sb
 
struct backing_dev_info bdi
 
ino_t highest_inum
 
unsigned long long max_sqnum
 
unsigned long long cmt_no
 
spinlock_t cnt_lock
 
int fmt_version
 
int ro_compat_version
 
unsigned char uuid [16]
 
int lhead_lnum
 
int lhead_offs
 
int ltail_lnum
 
struct mutex log_mutex
 
int min_log_bytes
 
long long cmt_bud_bytes
 
struct rb_root buds
 
long long bud_bytes
 
spinlock_t buds_lock
 
int jhead_cnt
 
struct ubifs_jheadjheads
 
long long max_bud_bytes
 
long long bg_bud_bytes
 
struct list_head old_buds
 
int max_bud_cnt
 
struct rw_semaphore commit_sem
 
int cmt_state
 
spinlock_t cs_lock
 
wait_queue_head_t cmt_wq
 
unsigned int big_lpt:1
 
unsigned int space_fixup:1
 
unsigned int no_chk_data_crc:1
 
unsigned int bulk_read:1
 
unsigned int default_compr:2
 
unsigned int rw_incompat:1
 
struct mutex tnc_mutex
 
struct ubifs_zbranch zroot
 
struct ubifs_znodecnext
 
struct ubifs_znodeenext
 
intgap_lebs
 
voidcbuf
 
voidileb_buf
 
int ileb_len
 
int ihead_lnum
 
int ihead_offs
 
intilebs
 
int ileb_cnt
 
int ileb_nxt
 
struct rb_root old_idx
 
intbottom_up_buf
 
struct ubifs_mst_nodemst_node
 
int mst_offs
 
struct mutex mst_mutex
 
int max_bu_buf_len
 
struct mutex bu_mutex
 
struct bu_info bu
 
struct mutex write_reserve_mutex
 
voidwrite_reserve_buf
 
int log_lebs
 
long long log_bytes
 
int log_last
 
int lpt_lebs
 
int lpt_first
 
int lpt_last
 
int orph_lebs
 
int orph_first
 
int orph_last
 
int main_lebs
 
int main_first
 
long long main_bytes
 
uint8_t key_hash_type
 
uint32_t(* key_hash )(const char *str, int len)
 
int key_fmt
 
int key_len
 
int fanout
 
int min_io_size
 
int min_io_shift
 
int max_write_size
 
int max_write_shift
 
int leb_size
 
int leb_start
 
int half_leb_size
 
int idx_leb_size
 
int leb_cnt
 
int max_leb_cnt
 
int old_leb_cnt
 
unsigned int ro_media:1
 
unsigned int ro_mount:1
 
unsigned int ro_error:1
 
atomic_long_t dirty_pg_cnt
 
atomic_long_t dirty_zn_cnt
 
atomic_long_t clean_zn_cnt
 
spinlock_t space_lock
 
struct ubifs_lp_stats lst
 
struct ubifs_budg_info bi
 
unsigned long long calc_idx_sz
 
int ref_node_alsz
 
int mst_node_alsz
 
int min_idx_node_sz
 
int max_idx_node_sz
 
long long max_inode_sz
 
int max_znode_sz
 
int leb_overhead
 
int dead_wm
 
int dark_wm
 
int block_cnt
 
struct ubifs_node_range ranges [UBIFS_NODE_TYPES_CNT]
 
struct ubi_volume_descubi
 
struct ubi_device_info di
 
struct ubi_volume_info vi
 
struct rb_root orph_tree
 
struct list_head orph_list
 
struct list_head orph_new
 
struct ubifs_orphanorph_cnext
 
struct ubifs_orphanorph_dnext
 
spinlock_t orphan_lock
 
voidorph_buf
 
int new_orphans
 
int cmt_orphans
 
int tot_orphans
 
int max_orphans
 
int ohead_lnum
 
int ohead_offs
 
int no_orphs
 
struct task_structbgt
 
char bgt_name [sizeof(BGT_NAME_PATTERN)+9]
 
int need_bgt
 
int need_wbuf_sync
 
int gc_lnum
 
voidsbuf
 
struct list_head idx_gc
 
int idx_gc_cnt
 
int gc_seq
 
int gced_lnum
 
struct list_head infos_list
 
struct mutex umount_mutex
 
unsigned int shrinker_run_no
 
int space_bits
 
int lpt_lnum_bits
 
int lpt_offs_bits
 
int lpt_spc_bits
 
int pcnt_bits
 
int lnum_bits
 
int nnode_sz
 
int pnode_sz
 
int ltab_sz
 
int lsave_sz
 
int pnode_cnt
 
int nnode_cnt
 
int lpt_hght
 
int pnodes_have
 
struct mutex lp_mutex
 
int lpt_lnum
 
int lpt_offs
 
int nhead_lnum
 
int nhead_offs
 
int lpt_drty_flgs
 
int dirty_nn_cnt
 
int dirty_pn_cnt
 
int check_lpt_free
 
long long lpt_sz
 
voidlpt_nod_buf
 
voidlpt_buf
 
struct ubifs_nnodenroot
 
struct ubifs_cnodelpt_cnext
 
struct ubifs_lpt_heap lpt_heap [LPROPS_HEAP_CNT]
 
struct ubifs_lpt_heap dirty_idx
 
struct list_head uncat_list
 
struct list_head empty_list
 
struct list_head freeable_list
 
struct list_head frdi_idx_list
 
int freeable_cnt
 
int in_a_category_cnt
 
int ltab_lnum
 
int ltab_offs
 
struct ubifs_lpt_lpropsltab
 
struct ubifs_lpt_lpropsltab_cmt
 
int lsave_cnt
 
int lsave_lnum
 
int lsave_offs
 
intlsave
 
int lscan_lnum
 
long long rp_size
 
long long report_rp_size
 
kuid_t rp_uid
 
kgid_t rp_gid
 
unsigned int empty:1
 
unsigned int need_recovery:1
 
unsigned int replaying:1
 
unsigned int mounting:1
 
unsigned int remounting_rw:1
 
struct list_head replay_list
 
struct list_head replay_buds
 
unsigned long long cs_sqnum
 
unsigned long long replay_sqnum
 
struct list_head unclean_leb_list
 
struct ubifs_mst_nodercvrd_mst_node
 
struct rb_root size_tree
 
struct ubifs_mount_opts mount_opts
 
struct ubifs_debug_infodbg
 

Detailed Description

Definition at line 1222 of file ubifs.h.

Field Documentation

Definition at line 1224 of file ubifs.h.

long long bg_bud_bytes

Definition at line 1247 of file ubifs.h.

Definition at line 1365 of file ubifs.h.

Definition at line 1366 of file ubifs.h.

Definition at line 1330 of file ubifs.h.

unsigned int big_lpt

Definition at line 1256 of file ubifs.h.

int block_cnt

Definition at line 1343 of file ubifs.h.

int* bottom_up_buf

Definition at line 1277 of file ubifs.h.

Definition at line 1285 of file ubifs.h.

struct mutex bu_mutex

Definition at line 1284 of file ubifs.h.

long long bud_bytes

Definition at line 1242 of file ubifs.h.

Definition at line 1241 of file ubifs.h.

spinlock_t buds_lock

Definition at line 1243 of file ubifs.h.

unsigned int bulk_read

Definition at line 1259 of file ubifs.h.

unsigned long long calc_idx_sz

Definition at line 1331 of file ubifs.h.

Definition at line 1268 of file ubifs.h.

int check_lpt_free

Definition at line 1404 of file ubifs.h.

atomic_long_t clean_zn_cnt

Definition at line 1326 of file ubifs.h.

long long cmt_bud_bytes

Definition at line 1239 of file ubifs.h.

unsigned long long cmt_no

Definition at line 1228 of file ubifs.h.

int cmt_orphans

Definition at line 1358 of file ubifs.h.

int cmt_state

Definition at line 1252 of file ubifs.h.

Definition at line 1254 of file ubifs.h.

Definition at line 1265 of file ubifs.h.

spinlock_t cnt_lock

Definition at line 1229 of file ubifs.h.

struct rw_semaphore commit_sem

Definition at line 1251 of file ubifs.h.

spinlock_t cs_lock

Definition at line 1253 of file ubifs.h.

unsigned long long cs_sqnum

Definition at line 1442 of file ubifs.h.

int dark_wm

Definition at line 1342 of file ubifs.h.

Definition at line 1449 of file ubifs.h.

int dead_wm

Definition at line 1341 of file ubifs.h.

unsigned int default_compr

Definition at line 1260 of file ubifs.h.

Definition at line 1347 of file ubifs.h.

Definition at line 1411 of file ubifs.h.

int dirty_nn_cnt

Definition at line 1402 of file ubifs.h.

atomic_long_t dirty_pg_cnt

Definition at line 1324 of file ubifs.h.

int dirty_pn_cnt

Definition at line 1403 of file ubifs.h.

atomic_long_t dirty_zn_cnt

Definition at line 1325 of file ubifs.h.

unsigned int empty

Definition at line 1435 of file ubifs.h.

struct list_head empty_list

Definition at line 1413 of file ubifs.h.

Definition at line 1266 of file ubifs.h.

int fanout

Definition at line 1307 of file ubifs.h.

int fmt_version

Definition at line 1230 of file ubifs.h.

struct list_head frdi_idx_list

Definition at line 1415 of file ubifs.h.

int freeable_cnt

Definition at line 1416 of file ubifs.h.

struct list_head freeable_list

Definition at line 1414 of file ubifs.h.

int* gap_lebs

Definition at line 1267 of file ubifs.h.

int gc_lnum

Definition at line 1370 of file ubifs.h.

int gc_seq

Definition at line 1374 of file ubifs.h.

int gced_lnum

Definition at line 1375 of file ubifs.h.

int half_leb_size

Definition at line 1315 of file ubifs.h.

ino_t highest_inum

Definition at line 1226 of file ubifs.h.

struct list_head idx_gc

Definition at line 1372 of file ubifs.h.

int idx_gc_cnt

Definition at line 1373 of file ubifs.h.

int idx_leb_size

Definition at line 1316 of file ubifs.h.

int ihead_lnum

Definition at line 1271 of file ubifs.h.

int ihead_offs

Definition at line 1272 of file ubifs.h.

void* ileb_buf

Definition at line 1269 of file ubifs.h.

int ileb_cnt

Definition at line 1274 of file ubifs.h.

int ileb_len

Definition at line 1270 of file ubifs.h.

int ileb_nxt

Definition at line 1275 of file ubifs.h.

int* ilebs

Definition at line 1273 of file ubifs.h.

int in_a_category_cnt

Definition at line 1417 of file ubifs.h.

struct list_head infos_list

Definition at line 1377 of file ubifs.h.

int jhead_cnt

Definition at line 1244 of file ubifs.h.

Definition at line 1245 of file ubifs.h.

int key_fmt

Definition at line 1305 of file ubifs.h.

uint32_t(* key_hash)(const char *str, int len)

Definition at line 1304 of file ubifs.h.

uint8_t key_hash_type

Definition at line 1303 of file ubifs.h.

int key_len

Definition at line 1306 of file ubifs.h.

int leb_cnt

Definition at line 1317 of file ubifs.h.

int leb_overhead

Definition at line 1340 of file ubifs.h.

int leb_size

Definition at line 1313 of file ubifs.h.

int leb_start

Definition at line 1314 of file ubifs.h.

int lhead_lnum

Definition at line 1234 of file ubifs.h.

int lhead_offs

Definition at line 1235 of file ubifs.h.

int lnum_bits

Definition at line 1386 of file ubifs.h.

long long log_bytes

Definition at line 1291 of file ubifs.h.

int log_last

Definition at line 1292 of file ubifs.h.

int log_lebs

Definition at line 1290 of file ubifs.h.

struct mutex log_mutex

Definition at line 1237 of file ubifs.h.

struct mutex lp_mutex

Definition at line 1396 of file ubifs.h.

void* lpt_buf

Definition at line 1407 of file ubifs.h.

struct ubifs_cnode* lpt_cnext

Definition at line 1409 of file ubifs.h.

int lpt_drty_flgs

Definition at line 1401 of file ubifs.h.

int lpt_first

Definition at line 1294 of file ubifs.h.

Definition at line 1410 of file ubifs.h.

int lpt_hght

Definition at line 1393 of file ubifs.h.

int lpt_last

Definition at line 1295 of file ubifs.h.

int lpt_lebs

Definition at line 1293 of file ubifs.h.

int lpt_lnum

Definition at line 1397 of file ubifs.h.

int lpt_lnum_bits

Definition at line 1382 of file ubifs.h.

void* lpt_nod_buf

Definition at line 1406 of file ubifs.h.

int lpt_offs

Definition at line 1398 of file ubifs.h.

int lpt_offs_bits

Definition at line 1383 of file ubifs.h.

int lpt_spc_bits

Definition at line 1384 of file ubifs.h.

long long lpt_sz

Definition at line 1405 of file ubifs.h.

int* lsave

Definition at line 1426 of file ubifs.h.

int lsave_cnt

Definition at line 1423 of file ubifs.h.

int lsave_lnum

Definition at line 1424 of file ubifs.h.

int lsave_offs

Definition at line 1425 of file ubifs.h.

int lsave_sz

Definition at line 1390 of file ubifs.h.

int lscan_lnum

Definition at line 1427 of file ubifs.h.

Definition at line 1329 of file ubifs.h.

Definition at line 1421 of file ubifs.h.

Definition at line 1422 of file ubifs.h.

int ltab_lnum

Definition at line 1419 of file ubifs.h.

int ltab_offs

Definition at line 1420 of file ubifs.h.

int ltab_sz

Definition at line 1389 of file ubifs.h.

int ltail_lnum

Definition at line 1236 of file ubifs.h.

long long main_bytes

Definition at line 1301 of file ubifs.h.

int main_first

Definition at line 1300 of file ubifs.h.

int main_lebs

Definition at line 1299 of file ubifs.h.

int max_bu_buf_len

Definition at line 1283 of file ubifs.h.

long long max_bud_bytes

Definition at line 1246 of file ubifs.h.

int max_bud_cnt

Definition at line 1249 of file ubifs.h.

int max_idx_node_sz

Definition at line 1336 of file ubifs.h.

long long max_inode_sz

Definition at line 1337 of file ubifs.h.

int max_leb_cnt

Definition at line 1318 of file ubifs.h.

int max_orphans

Definition at line 1360 of file ubifs.h.

unsigned long long max_sqnum

Definition at line 1227 of file ubifs.h.

int max_write_shift

Definition at line 1312 of file ubifs.h.

int max_write_size

Definition at line 1311 of file ubifs.h.

int max_znode_sz

Definition at line 1338 of file ubifs.h.

int min_idx_node_sz

Definition at line 1335 of file ubifs.h.

int min_io_shift

Definition at line 1310 of file ubifs.h.

int min_io_size

Definition at line 1309 of file ubifs.h.

int min_log_bytes

Definition at line 1238 of file ubifs.h.

Definition at line 1447 of file ubifs.h.

unsigned int mounting

Definition at line 1438 of file ubifs.h.

struct mutex mst_mutex

Definition at line 1281 of file ubifs.h.

Definition at line 1279 of file ubifs.h.

int mst_node_alsz

Definition at line 1334 of file ubifs.h.

int mst_offs

Definition at line 1280 of file ubifs.h.

int need_bgt

Definition at line 1367 of file ubifs.h.

unsigned int need_recovery

Definition at line 1436 of file ubifs.h.

int need_wbuf_sync

Definition at line 1368 of file ubifs.h.

int new_orphans

Definition at line 1357 of file ubifs.h.

int nhead_lnum

Definition at line 1399 of file ubifs.h.

int nhead_offs

Definition at line 1400 of file ubifs.h.

int nnode_cnt

Definition at line 1392 of file ubifs.h.

int nnode_sz

Definition at line 1387 of file ubifs.h.

unsigned int no_chk_data_crc

Definition at line 1258 of file ubifs.h.

int no_orphs

Definition at line 1363 of file ubifs.h.

Definition at line 1408 of file ubifs.h.

int ohead_lnum

Definition at line 1361 of file ubifs.h.

int ohead_offs

Definition at line 1362 of file ubifs.h.

struct list_head old_buds

Definition at line 1248 of file ubifs.h.

struct rb_root old_idx

Definition at line 1276 of file ubifs.h.

int old_leb_cnt

Definition at line 1319 of file ubifs.h.

void* orph_buf

Definition at line 1356 of file ubifs.h.

struct ubifs_orphan* orph_cnext

Definition at line 1353 of file ubifs.h.

struct ubifs_orphan* orph_dnext

Definition at line 1354 of file ubifs.h.

int orph_first

Definition at line 1297 of file ubifs.h.

int orph_last

Definition at line 1298 of file ubifs.h.

int orph_lebs

Definition at line 1296 of file ubifs.h.

struct list_head orph_list

Definition at line 1351 of file ubifs.h.

struct list_head orph_new

Definition at line 1352 of file ubifs.h.

struct rb_root orph_tree

Definition at line 1350 of file ubifs.h.

spinlock_t orphan_lock

Definition at line 1355 of file ubifs.h.

int pcnt_bits

Definition at line 1385 of file ubifs.h.

int pnode_cnt

Definition at line 1391 of file ubifs.h.

int pnode_sz

Definition at line 1388 of file ubifs.h.

int pnodes_have

Definition at line 1394 of file ubifs.h.

Definition at line 1345 of file ubifs.h.

struct ubifs_mst_node* rcvrd_mst_node

Definition at line 1445 of file ubifs.h.

int ref_node_alsz

Definition at line 1333 of file ubifs.h.

unsigned int remounting_rw

Definition at line 1439 of file ubifs.h.

struct list_head replay_buds

Definition at line 1441 of file ubifs.h.

struct list_head replay_list

Definition at line 1440 of file ubifs.h.

unsigned long long replay_sqnum

Definition at line 1443 of file ubifs.h.

unsigned int replaying

Definition at line 1437 of file ubifs.h.

long long report_rp_size

Definition at line 1430 of file ubifs.h.

int ro_compat_version

Definition at line 1231 of file ubifs.h.

unsigned int ro_error

Definition at line 1322 of file ubifs.h.

unsigned int ro_media

Definition at line 1320 of file ubifs.h.

unsigned int ro_mount

Definition at line 1321 of file ubifs.h.

kgid_t rp_gid

Definition at line 1432 of file ubifs.h.

long long rp_size

Definition at line 1429 of file ubifs.h.

kuid_t rp_uid

Definition at line 1431 of file ubifs.h.

unsigned int rw_incompat

Definition at line 1261 of file ubifs.h.

void* sbuf

Definition at line 1371 of file ubifs.h.

unsigned int shrinker_run_no

Definition at line 1379 of file ubifs.h.

struct rb_root size_tree

Definition at line 1446 of file ubifs.h.

int space_bits

Definition at line 1381 of file ubifs.h.

unsigned int space_fixup

Definition at line 1257 of file ubifs.h.

spinlock_t space_lock

Definition at line 1328 of file ubifs.h.

struct mutex tnc_mutex

Definition at line 1263 of file ubifs.h.

int tot_orphans

Definition at line 1359 of file ubifs.h.

Definition at line 1346 of file ubifs.h.

struct mutex umount_mutex

Definition at line 1378 of file ubifs.h.

struct list_head uncat_list

Definition at line 1412 of file ubifs.h.

struct list_head unclean_leb_list

Definition at line 1444 of file ubifs.h.

unsigned char uuid[16]

Definition at line 1232 of file ubifs.h.

Definition at line 1223 of file ubifs.h.

Definition at line 1348 of file ubifs.h.

void* write_reserve_buf

Definition at line 1288 of file ubifs.h.

struct mutex write_reserve_mutex

Definition at line 1287 of file ubifs.h.

Definition at line 1264 of file ubifs.h.


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