Lines Matching defs:ext4_sb_info

1347 struct ext4_sb_info {  struct
1348 unsigned long s_desc_size; /* Size of a group descriptor in bytes */
1349 unsigned long s_inodes_per_block;/* Number of inodes per block */
1350 unsigned long s_blocks_per_group;/* Number of blocks in a group */
1351 unsigned long s_clusters_per_group; /* Number of clusters in a group */
1352 unsigned long s_inodes_per_group;/* Number of inodes in a group */
1353 unsigned long s_itb_per_group; /* Number of inode table blocks per group */
1354 unsigned long s_gdb_count; /* Number of group descriptor blocks */
1355 unsigned long s_desc_per_block; /* Number of group descriptors per block */
1356 ext4_group_t s_groups_count; /* Number of groups in the fs */
1357 ext4_group_t s_blockfile_groups;/* Groups acceptable for non-extent files */
1358 unsigned long s_overhead; /* # of fs overhead clusters */
1359 unsigned int s_cluster_ratio; /* Number of blocks per cluster */
1360 unsigned int s_cluster_bits; /* log2 of s_cluster_ratio */
1361 loff_t s_bitmap_maxbytes; /* max bytes for bitmap files */
1362 struct buffer_head * s_sbh; /* Buffer containing the super block */
1363 struct ext4_super_block *s_es; /* Pointer to the super block in the buffer */
1364 struct buffer_head **s_group_desc;
1365 unsigned int s_mount_opt;
1366 unsigned int s_mount_opt2;
1367 unsigned int s_mount_flags;
1368 unsigned int s_def_mount_opt;
1369 ext4_fsblk_t s_sb_block;
1370 atomic64_t s_resv_clusters;
1371 kuid_t s_resuid;
1372 kgid_t s_resgid;
1373 unsigned short s_mount_state;
1374 unsigned short s_pad;
1375 int s_addr_per_block_bits;
1376 int s_desc_per_block_bits;
1377 int s_inode_size;
1378 int s_first_ino;
1379 unsigned int s_inode_readahead_blks;
1380 unsigned int s_inode_goal;
1381 u32 s_hash_seed[4];
1382 int s_def_hash_version;
1383 int s_hash_unsigned; /* 3 if hash should be signed, 0 if not */
1384 struct percpu_counter s_freeclusters_counter;
1385 struct percpu_counter s_freeinodes_counter;
1386 struct percpu_counter s_dirs_counter;
1387 struct percpu_counter s_dirtyclusters_counter;
1388 struct blockgroup_lock *s_blockgroup_lock;
1389 struct proc_dir_entry *s_proc;
1390 struct kobject s_kobj;
1391 struct completion s_kobj_unregister;
1392 struct super_block *s_sb;
1395 struct journal_s *s_journal;
1396 struct list_head s_orphan;
1397 struct mutex s_orphan_lock;
1398 unsigned long s_ext4_flags; /* Ext4 superblock flags */
1399 unsigned long s_commit_interval;
1400 u32 s_max_batch_time;
1401 u32 s_min_batch_time;
1402 struct block_device *journal_bdev;
1404 char *s_qf_names[EXT4_MAXQUOTAS]; /* Names of quota files with journalled quota */
1405 int s_jquota_fmt; /* Format of quota to use */
1407 unsigned int s_want_extra_isize; /* New inodes should reserve # bytes */
1408 struct rb_root system_blks;
1412 unsigned long s_ext_min;
1413 unsigned long s_ext_max;
1414 unsigned long s_depth_max;
1415 spinlock_t s_ext_stats_lock;
1416 unsigned long s_ext_blocks;
1417 unsigned long s_ext_extents;
1421 struct ext4_group_info ***s_group_info;
1422 struct inode *s_buddy_cache;
1423 spinlock_t s_md_lock;
1424 unsigned short *s_mb_offsets;
1425 unsigned int *s_mb_maxs;
1426 unsigned int s_group_info_size;
1427 unsigned int s_mb_free_pending;
1428 struct list_head s_freed_data_list; /* List of blocks to be freed
1432 unsigned long s_stripe;
1433 unsigned int s_mb_stream_request;
1434 unsigned int s_mb_max_to_scan;
1435 unsigned int s_mb_min_to_scan;
1436 unsigned int s_mb_stats;
1437 unsigned int s_mb_order2_reqs;
1438 unsigned int s_mb_group_prealloc;
1439 unsigned int s_max_dir_size_kb;
1441 unsigned long s_mb_last_group;
1442 unsigned long s_mb_last_start;
1445 atomic_t s_bal_reqs; /* number of reqs with len > 1 */
1446 atomic_t s_bal_success; /* we found long enough chunks */
1447 atomic_t s_bal_allocated; /* in blocks */
1448 atomic_t s_bal_ex_scanned; /* total extents scanned */
1449 atomic_t s_bal_goals; /* goal hits */
1450 atomic_t s_bal_breaks; /* too long searches */
1451 atomic_t s_bal_2orders; /* 2^order hits */
1452 spinlock_t s_bal_lock;
1453 unsigned long s_mb_buddies_generated;
1454 unsigned long long s_mb_generation_time;
1455 atomic_t s_mb_lost_chunks;
1456 atomic_t s_mb_preallocated;
1457 atomic_t s_mb_discarded;
1458 atomic_t s_lock_busy;
1461 struct ext4_locality_group __percpu *s_locality_groups;
1464 unsigned long s_sectors_written_start;
1465 u64 s_kbytes_written;
1468 unsigned int s_extent_max_zeroout_kb;
1470 unsigned int s_log_groups_per_flex;
1471 struct flex_groups *s_flex_groups;
1472 ext4_group_t s_flex_groups_allocated;
1475 struct workqueue_struct *rsv_conversion_wq;
1478 struct timer_list s_err_report;
1481 struct ext4_li_request *s_li_request;
1483 unsigned int s_li_wait_mult;
1486 struct task_struct *s_mmp_tsk;
1489 atomic_t s_last_trim_minblks;
1492 struct crypto_shash *s_chksum_driver;
1516 static inline struct ext4_sb_info *EXT4_SB(struct super_block *sb) in EXT4_SB() argument