Lines Matching defs:ubifs_info

1255 struct ubifs_info {  struct
1256 struct super_block *vfs_sb;
1257 struct ubifs_sb_node *sup_node;
1259 ino_t highest_inum;
1260 unsigned long long max_sqnum;
1261 unsigned long long cmt_no;
1262 spinlock_t cnt_lock;
1263 int fmt_version;
1264 int ro_compat_version;
1265 unsigned char uuid[16];
1267 int lhead_lnum;
1268 int lhead_offs;
1269 int ltail_lnum;
1270 struct mutex log_mutex;
1271 int min_log_bytes;
1272 long long cmt_bud_bytes;
1274 struct rb_root buds;
1275 long long bud_bytes;
1276 spinlock_t buds_lock;
1277 int jhead_cnt;
1278 struct ubifs_jhead *jheads;
1279 long long max_bud_bytes;
1280 long long bg_bud_bytes;
1281 struct list_head old_buds;
1282 int max_bud_cnt;
1284 struct rw_semaphore commit_sem;
1285 int cmt_state;
1286 spinlock_t cs_lock;
1287 wait_queue_head_t cmt_wq;
1289 unsigned int big_lpt:1;
1290 unsigned int space_fixup:1;
1291 unsigned int double_hash:1;
1292 unsigned int encrypted:1;
1293 unsigned int no_chk_data_crc:1;
1294 unsigned int bulk_read:1;
1295 unsigned int default_compr:2;
1296 unsigned int rw_incompat:1;
1297 unsigned int assert_action:2;
1298 unsigned int authenticated:1;
1299 unsigned int superblock_need_write:1;
1301 struct mutex tnc_mutex;
1302 struct ubifs_zbranch zroot;
1303 struct ubifs_znode *cnext;
1304 struct ubifs_znode *enext;
1305 int *gap_lebs;
1306 void *cbuf;
1307 void *ileb_buf;
1308 int ileb_len;
1309 int ihead_lnum;
1310 int ihead_offs;
1311 int *ilebs;
1312 int ileb_cnt;
1313 int ileb_nxt;
1314 struct rb_root old_idx;
1315 int *bottom_up_buf;
1317 struct ubifs_mst_node *mst_node;
1318 int mst_offs;
1320 int max_bu_buf_len;
1321 struct mutex bu_mutex;
1322 struct bu_info bu;
1324 struct mutex write_reserve_mutex;
1325 void *write_reserve_buf;
1327 int log_lebs;
1328 long long log_bytes;
1329 int log_last;
1330 int lpt_lebs;
1331 int lpt_first;
1332 int lpt_last;
1333 int orph_lebs;
1334 int orph_first;
1335 int orph_last;
1336 int main_lebs;
1337 int main_first;
1338 long long main_bytes;
1340 uint8_t key_hash_type;
1341 uint32_t (*key_hash)(const char *str, int len);
1342 int key_fmt;
1343 int key_len;
1344 int hash_len;
1345 int fanout;
1347 int min_io_size;
1348 int min_io_shift;
1349 int max_write_size;
1350 int max_write_shift;
1351 int leb_size;
1352 int leb_start;
1353 int half_leb_size;
1354 int idx_leb_size;
1355 int leb_cnt;
1356 int max_leb_cnt;
1357 unsigned int ro_media:1;
1358 unsigned int ro_mount:1;
1359 unsigned int ro_error:1;
1361 atomic_long_t dirty_pg_cnt;
1362 atomic_long_t dirty_zn_cnt;
1363 atomic_long_t clean_zn_cnt;
1365 spinlock_t space_lock;
1366 struct ubifs_lp_stats lst;
1367 struct ubifs_budg_info bi;
1368 unsigned long long calc_idx_sz;
1370 int ref_node_alsz;
1371 int mst_node_alsz;
1372 int min_idx_node_sz;
1373 int max_idx_node_sz;
1374 long long max_inode_sz;
1375 int max_znode_sz;
1377 int leb_overhead;
1378 int dead_wm;
1379 int dark_wm;
1380 int block_cnt;
1382 struct ubifs_node_range ranges[UBIFS_NODE_TYPES_CNT];
1383 struct ubi_volume_desc *ubi;
1384 struct ubi_device_info di;
1385 struct ubi_volume_info vi;
1387 struct rb_root orph_tree;
1388 struct list_head orph_list;
1389 struct list_head orph_new;
1390 struct ubifs_orphan *orph_cnext;
1391 struct ubifs_orphan *orph_dnext;
1392 spinlock_t orphan_lock;
1393 void *orph_buf;
1394 int new_orphans;
1395 int cmt_orphans;
1396 int tot_orphans;
1397 int max_orphans;
1398 int ohead_lnum;
1399 int ohead_offs;
1400 int no_orphs;
1402 struct task_struct *bgt;
1403 char bgt_name[sizeof(BGT_NAME_PATTERN) + 9];
1404 int need_bgt;
1405 int need_wbuf_sync;
1407 int gc_lnum;
1408 void *sbuf;
1409 struct list_head idx_gc;
1410 int idx_gc_cnt;
1411 int gc_seq;
1412 int gced_lnum;
1414 struct list_head infos_list;
1415 struct mutex umount_mutex;
1416 unsigned int shrinker_run_no;
1418 int space_bits;
1419 int lpt_lnum_bits;
1420 int lpt_offs_bits;
1421 int lpt_spc_bits;
1422 int pcnt_bits;
1423 int lnum_bits;
1424 int nnode_sz;
1425 int pnode_sz;
1426 int ltab_sz;
1427 int lsave_sz;
1428 int pnode_cnt;
1429 int nnode_cnt;
1430 int lpt_hght;
1431 int pnodes_have;
1433 struct mutex lp_mutex;
1434 int lpt_lnum;
1435 int lpt_offs;
1436 int nhead_lnum;
1437 int nhead_offs;
1438 int lpt_drty_flgs;
1439 int dirty_nn_cnt;
1440 int dirty_pn_cnt;
1441 int check_lpt_free;
1442 long long lpt_sz;
1443 void *lpt_nod_buf;
1444 void *lpt_buf;
1445 struct ubifs_nnode *nroot;
1446 struct ubifs_cnode *lpt_cnext;
1447 struct ubifs_lpt_heap lpt_heap[LPROPS_HEAP_CNT];
1448 struct ubifs_lpt_heap dirty_idx;
1449 struct list_head uncat_list;
1450 struct list_head empty_list;
1451 struct list_head freeable_list;
1452 struct list_head frdi_idx_list;
1453 int freeable_cnt;
1454 int in_a_category_cnt;
1456 int ltab_lnum;
1457 int ltab_offs;
1458 struct ubifs_lpt_lprops *ltab;
1459 struct ubifs_lpt_lprops *ltab_cmt;
1460 int lsave_cnt;
1461 int lsave_lnum;
1462 int lsave_offs;
1463 int *lsave;
1464 int lscan_lnum;
1466 long long rp_size;
1467 long long report_rp_size;
1468 kuid_t rp_uid;
1469 kgid_t rp_gid;
1471 struct crypto_shash *hash_tfm;
1472 struct crypto_shash *hmac_tfm;
1473 int hmac_desc_len;
1474 char *auth_key_name;
1498 extern struct list_head ubifs_infos; argument
1512 static inline int ubifs_authenticated(const struct ubifs_info *c) in ubifs_authenticated() argument