Lines Matching defs:ubifs_info
1280 struct ubifs_info { struct
1281 struct super_block *vfs_sb;
1282 struct ubifs_sb_node *sup_node;
1284 ino_t highest_inum;
1285 unsigned long long max_sqnum;
1286 unsigned long long cmt_no;
1287 spinlock_t cnt_lock;
1288 int fmt_version;
1289 int ro_compat_version;
1290 unsigned char uuid[16];
1292 int lhead_lnum;
1293 int lhead_offs;
1294 int ltail_lnum;
1295 struct mutex log_mutex;
1296 int min_log_bytes;
1297 long long cmt_bud_bytes;
1299 struct rb_root buds;
1300 long long bud_bytes;
1301 spinlock_t buds_lock;
1302 int jhead_cnt;
1303 struct ubifs_jhead *jheads;
1304 long long max_bud_bytes;
1305 long long bg_bud_bytes;
1306 struct list_head old_buds;
1307 int max_bud_cnt;
1309 struct rw_semaphore commit_sem;
1310 int cmt_state;
1311 spinlock_t cs_lock;
1312 wait_queue_head_t cmt_wq;
1314 struct kobject kobj;
1315 struct completion kobj_unregister;
1317 unsigned int big_lpt:1;
1318 unsigned int space_fixup:1;
1319 unsigned int double_hash:1;
1320 unsigned int encrypted:1;
1321 unsigned int no_chk_data_crc:1;
1322 unsigned int bulk_read:1;
1323 unsigned int default_compr:2;
1324 unsigned int rw_incompat:1;
1325 unsigned int assert_action:2;
1326 unsigned int authenticated:1;
1327 unsigned int superblock_need_write:1;
1329 struct mutex tnc_mutex;
1330 struct ubifs_zbranch zroot;
1331 struct ubifs_znode *cnext;
1332 struct ubifs_znode *enext;
1333 int *gap_lebs;
1334 void *cbuf;
1335 void *ileb_buf;
1336 int ileb_len;
1337 int ihead_lnum;
1338 int ihead_offs;
1339 int *ilebs;
1340 int ileb_cnt;
1341 int ileb_nxt;
1342 struct rb_root old_idx;
1343 int *bottom_up_buf;
1345 struct ubifs_mst_node *mst_node;
1346 int mst_offs;
1348 int max_bu_buf_len;
1349 struct mutex bu_mutex;
1350 struct bu_info bu;
1352 struct mutex write_reserve_mutex;
1353 void *write_reserve_buf;
1355 int log_lebs;
1356 long long log_bytes;
1357 int log_last;
1358 int lpt_lebs;
1359 int lpt_first;
1360 int lpt_last;
1361 int orph_lebs;
1362 int orph_first;
1363 int orph_last;
1364 int main_lebs;
1365 int main_first;
1366 long long main_bytes;
1368 uint8_t key_hash_type;
1369 uint32_t (*key_hash)(const char *str, int len);
1370 int key_fmt;
1371 int key_len;
1372 int hash_len;
1373 int fanout;
1375 int min_io_size;
1376 int min_io_shift;
1377 int max_write_size;
1378 int max_write_shift;
1379 int leb_size;
1380 int leb_start;
1381 int half_leb_size;
1382 int idx_leb_size;
1383 int leb_cnt;
1384 int max_leb_cnt;
1385 unsigned int ro_media:1;
1386 unsigned int ro_mount:1;
1387 unsigned int ro_error:1;
1389 atomic_long_t dirty_pg_cnt;
1390 atomic_long_t dirty_zn_cnt;
1391 atomic_long_t clean_zn_cnt;
1393 spinlock_t space_lock;
1394 struct ubifs_lp_stats lst;
1395 struct ubifs_budg_info bi;
1396 unsigned long long calc_idx_sz;
1398 int ref_node_alsz;
1399 int mst_node_alsz;
1400 int min_idx_node_sz;
1401 int max_idx_node_sz;
1402 long long max_inode_sz;
1403 int max_znode_sz;
1405 int leb_overhead;
1406 int dead_wm;
1407 int dark_wm;
1408 int block_cnt;
1410 struct ubifs_node_range ranges[UBIFS_NODE_TYPES_CNT];
1411 struct ubi_volume_desc *ubi;
1412 struct ubi_device_info di;
1413 struct ubi_volume_info vi;
1415 struct rb_root orph_tree;
1416 struct list_head orph_list;
1417 struct list_head orph_new;
1418 struct ubifs_orphan *orph_cnext;
1419 struct ubifs_orphan *orph_dnext;
1420 spinlock_t orphan_lock;
1421 void *orph_buf;
1422 int new_orphans;
1423 int cmt_orphans;
1424 int tot_orphans;
1425 int max_orphans;
1426 int ohead_lnum;
1427 int ohead_offs;
1428 int no_orphs;
1430 struct task_struct *bgt;
1431 char bgt_name[sizeof(BGT_NAME_PATTERN) + 9];
1432 int need_bgt;
1433 int need_wbuf_sync;
1435 int gc_lnum;
1436 void *sbuf;
1437 struct list_head idx_gc;
1438 int idx_gc_cnt;
1439 int gc_seq;
1440 int gced_lnum;
1442 struct list_head infos_list;
1443 struct mutex umount_mutex;
1444 unsigned int shrinker_run_no;
1446 int space_bits;
1447 int lpt_lnum_bits;
1448 int lpt_offs_bits;
1449 int lpt_spc_bits;
1450 int pcnt_bits;
1451 int lnum_bits;
1452 int nnode_sz;
1453 int pnode_sz;
1454 int ltab_sz;
1455 int lsave_sz;
1456 int pnode_cnt;
1457 int nnode_cnt;
1458 int lpt_hght;
1459 int pnodes_have;
1461 struct mutex lp_mutex;
1462 int lpt_lnum;
1463 int lpt_offs;
1464 int nhead_lnum;
1465 int nhead_offs;
1466 int lpt_drty_flgs;
1467 int dirty_nn_cnt;
1468 int dirty_pn_cnt;
1469 int check_lpt_free;
1470 long long lpt_sz;
1471 void *lpt_nod_buf;
1472 void *lpt_buf;
1473 struct ubifs_nnode *nroot;
1474 struct ubifs_cnode *lpt_cnext;
1475 struct ubifs_lpt_heap lpt_heap[LPROPS_HEAP_CNT];
1476 struct ubifs_lpt_heap dirty_idx;
1477 struct list_head uncat_list;
1478 struct list_head empty_list;
1479 struct list_head freeable_list;
1480 struct list_head frdi_idx_list;
1481 int freeable_cnt;
1482 int in_a_category_cnt;
1484 int ltab_lnum;
1485 int ltab_offs;
1486 struct ubifs_lpt_lprops *ltab;
1487 struct ubifs_lpt_lprops *ltab_cmt;
1488 int lsave_cnt;
1489 int lsave_lnum;
1490 int lsave_offs;
1491 int *lsave;
1492 int lscan_lnum;
1494 long long rp_size;
1495 long long report_rp_size;
1496 kuid_t rp_uid;
1497 kgid_t rp_gid;
1499 struct crypto_shash *hash_tfm;
1500 struct crypto_shash *hmac_tfm;
1501 int hmac_desc_len;
1502 char *auth_key_name;
1503 char *auth_hash_name;
1527 extern struct list_head ubifs_infos; argument
1541 static inline int ubifs_authenticated(const struct ubifs_info *c) in ubifs_authenticated() argument