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