Lines Matching defs:ubifs_info

1231 struct ubifs_info {  struct
1232 struct super_block *vfs_sb;
1234 ino_t highest_inum;
1235 unsigned long long max_sqnum;
1236 unsigned long long cmt_no;
1237 spinlock_t cnt_lock;
1238 int fmt_version;
1239 int ro_compat_version;
1240 unsigned char uuid[16];
1242 int lhead_lnum;
1243 int lhead_offs;
1244 int ltail_lnum;
1245 struct mutex log_mutex;
1246 int min_log_bytes;
1247 long long cmt_bud_bytes;
1249 struct rb_root buds;
1250 long long bud_bytes;
1251 spinlock_t buds_lock;
1252 int jhead_cnt;
1253 struct ubifs_jhead *jheads;
1254 long long max_bud_bytes;
1255 long long bg_bud_bytes;
1256 struct list_head old_buds;
1257 int max_bud_cnt;
1259 struct rw_semaphore commit_sem;
1260 int cmt_state;
1261 spinlock_t cs_lock;
1262 wait_queue_head_t cmt_wq;
1264 unsigned int big_lpt:1;
1265 unsigned int space_fixup:1;
1266 unsigned int double_hash:1;
1267 unsigned int encrypted:1;
1268 unsigned int no_chk_data_crc:1;
1269 unsigned int bulk_read:1;
1270 unsigned int default_compr:2;
1271 unsigned int rw_incompat:1;
1272 unsigned int assert_action:2;
1274 struct mutex tnc_mutex;
1275 struct ubifs_zbranch zroot;
1276 struct ubifs_znode *cnext;
1277 struct ubifs_znode *enext;
1278 int *gap_lebs;
1279 void *cbuf;
1280 void *ileb_buf;
1281 int ileb_len;
1282 int ihead_lnum;
1283 int ihead_offs;
1284 int *ilebs;
1285 int ileb_cnt;
1286 int ileb_nxt;
1287 struct rb_root old_idx;
1288 int *bottom_up_buf;
1290 struct ubifs_mst_node *mst_node;
1291 int mst_offs;
1293 int max_bu_buf_len;
1294 struct mutex bu_mutex;
1295 struct bu_info bu;
1297 struct mutex write_reserve_mutex;
1298 void *write_reserve_buf;
1300 int log_lebs;
1301 long long log_bytes;
1302 int log_last;
1303 int lpt_lebs;
1304 int lpt_first;
1305 int lpt_last;
1306 int orph_lebs;
1307 int orph_first;
1308 int orph_last;
1309 int main_lebs;
1310 int main_first;
1311 long long main_bytes;
1313 uint8_t key_hash_type;
1314 uint32_t (*key_hash)(const char *str, int len);
1315 int key_fmt;
1316 int key_len;
1317 int fanout;
1319 int min_io_size;
1320 int min_io_shift;
1321 int max_write_size;
1322 int max_write_shift;
1323 int leb_size;
1324 int leb_start;
1325 int half_leb_size;
1326 int idx_leb_size;
1327 int leb_cnt;
1328 int max_leb_cnt;
1329 int old_leb_cnt;
1330 unsigned int ro_media:1;
1331 unsigned int ro_mount:1;
1332 unsigned int ro_error:1;
1334 atomic_long_t dirty_pg_cnt;
1335 atomic_long_t dirty_zn_cnt;
1336 atomic_long_t clean_zn_cnt;
1338 spinlock_t space_lock;
1339 struct ubifs_lp_stats lst;
1340 struct ubifs_budg_info bi;
1341 unsigned long long calc_idx_sz;
1343 int ref_node_alsz;
1344 int mst_node_alsz;
1345 int min_idx_node_sz;
1346 int max_idx_node_sz;
1347 long long max_inode_sz;
1348 int max_znode_sz;
1350 int leb_overhead;
1351 int dead_wm;
1352 int dark_wm;
1353 int block_cnt;
1355 struct ubifs_node_range ranges[UBIFS_NODE_TYPES_CNT];
1356 struct ubi_volume_desc *ubi;
1357 struct ubi_device_info di;
1358 struct ubi_volume_info vi;
1360 struct rb_root orph_tree;
1361 struct list_head orph_list;
1362 struct list_head orph_new;
1363 struct ubifs_orphan *orph_cnext;
1364 struct ubifs_orphan *orph_dnext;
1365 spinlock_t orphan_lock;
1366 void *orph_buf;
1367 int new_orphans;
1368 int cmt_orphans;
1369 int tot_orphans;
1370 int max_orphans;
1371 int ohead_lnum;
1372 int ohead_offs;
1373 int no_orphs;
1375 struct task_struct *bgt;
1376 char bgt_name[sizeof(BGT_NAME_PATTERN) + 9];
1377 int need_bgt;
1378 int need_wbuf_sync;
1380 int gc_lnum;
1381 void *sbuf;
1382 struct list_head idx_gc;
1383 int idx_gc_cnt;
1384 int gc_seq;
1385 int gced_lnum;
1387 struct list_head infos_list;
1388 struct mutex umount_mutex;
1389 unsigned int shrinker_run_no;
1391 int space_bits;
1392 int lpt_lnum_bits;
1393 int lpt_offs_bits;
1394 int lpt_spc_bits;
1395 int pcnt_bits;
1396 int lnum_bits;
1397 int nnode_sz;
1398 int pnode_sz;
1399 int ltab_sz;
1400 int lsave_sz;
1401 int pnode_cnt;
1402 int nnode_cnt;
1403 int lpt_hght;
1404 int pnodes_have;
1406 struct mutex lp_mutex;
1407 int lpt_lnum;
1408 int lpt_offs;
1409 int nhead_lnum;
1410 int nhead_offs;
1411 int lpt_drty_flgs;
1412 int dirty_nn_cnt;
1413 int dirty_pn_cnt;
1414 int check_lpt_free;
1415 long long lpt_sz;
1416 void *lpt_nod_buf;
1417 void *lpt_buf;
1418 struct ubifs_nnode *nroot;
1419 struct ubifs_cnode *lpt_cnext;
1420 struct ubifs_lpt_heap lpt_heap[LPROPS_HEAP_CNT];
1421 struct ubifs_lpt_heap dirty_idx;
1422 struct list_head uncat_list;
1423 struct list_head empty_list;
1424 struct list_head freeable_list;
1425 struct list_head frdi_idx_list;
1426 int freeable_cnt;
1427 int in_a_category_cnt;
1429 int ltab_lnum;
1430 int ltab_offs;
1431 struct ubifs_lpt_lprops *ltab;
1432 struct ubifs_lpt_lprops *ltab_cmt;
1433 int lsave_cnt;
1434 int lsave_lnum;
1435 int lsave_offs;
1436 int *lsave;
1437 int lscan_lnum;
1462 extern struct list_head ubifs_infos; argument
1475 void ubifs_ro_mode(struct ubifs_info *c, int err); argument