Lines Matching defs:f2fs_sb_info

604 struct f2fs_sb_info {  struct
605 struct super_block *sb; /* pointer to VFS super block */
606 struct proc_dir_entry *s_proc; /* proc entry */
607 struct buffer_head *raw_super_buf; /* buffer head of raw sb */
608 struct f2fs_super_block *raw_super; /* raw super block pointer */
609 int s_flag; /* flags for sbi */
612 struct f2fs_nm_info *nm_info; /* node manager */
613 struct inode *node_inode; /* cache node blocks */
616 struct f2fs_sm_info *sm_info; /* segment manager */
619 struct f2fs_bio_info read_io; /* for read bios */
620 struct f2fs_bio_info write_io[NR_PAGE_TYPE]; /* for write bios */
623 struct f2fs_checkpoint *ckpt; /* raw checkpoint pointer */
624 struct inode *meta_inode; /* cache meta blocks */
625 struct mutex cp_mutex; /* checkpoint procedure lock */
626 struct rw_semaphore cp_rwsem; /* blocking FS operations */
627 struct rw_semaphore node_write; /* locking node writes */
628 struct mutex writepages; /* mutex for writepages() */
629 wait_queue_head_t cp_wait;
631 struct inode_management im[MAX_INO_ENTRY]; /* manage inode cache */
634 unsigned int max_orphans; /* max orphan inodes */
637 struct list_head dir_inode_list; /* dir inode list */
638 spinlock_t dir_inode_lock; /* for dir inode list lock */
641 struct radix_tree_root extent_tree_root;/* cache extent cache entries */
642 struct rw_semaphore extent_tree_lock; /* locking extent radix tree */
643 struct list_head extent_list; /* lru list for shrinker */
644 spinlock_t extent_lock; /* locking extent lru list */
645 int total_ext_tree; /* extent tree count */
646 atomic_t total_ext_node; /* extent info count */
649 unsigned int log_sectors_per_block; /* log2 sectors per block */
650 unsigned int log_blocksize; /* log2 block size */
651 unsigned int blocksize; /* block size */
652 unsigned int root_ino_num; /* root inode number*/
653 unsigned int node_ino_num; /* node inode number*/
654 unsigned int meta_ino_num; /* meta inode number*/
655 unsigned int log_blocks_per_seg; /* log2 blocks per segment */
656 unsigned int blocks_per_seg; /* blocks per segment */
657 unsigned int segs_per_sec; /* segments per section */
658 unsigned int secs_per_zone; /* sections per zone */
659 unsigned int total_sections; /* total section count */
660 unsigned int total_node_count; /* total node block count */
661 unsigned int total_valid_node_count; /* valid node block count */
662 unsigned int total_valid_inode_count; /* valid inode count */
663 int active_logs; /* # of active logs */
664 int dir_level; /* directory level */
666 block_t user_block_count; /* # of user blocks */
667 block_t total_valid_block_count; /* # of valid blocks */
668 block_t alloc_valid_block_count; /* # of allocated blocks */
669 block_t last_valid_block_count; /* for recovery */
670 u32 s_next_generation; /* for NFS support */
671 atomic_t nr_pages[NR_COUNT_TYPE]; /* # of pages, see count_type */
673 struct f2fs_mount_info mount_opt; /* mount options */
676 struct mutex gc_mutex; /* mutex for GC */
677 struct f2fs_gc_kthread *gc_thread; /* GC thread */
678 unsigned int cur_victim_sec; /* current victim section num */
681 unsigned int max_victim_search;
688 struct f2fs_stat_info *stat_info; /* FS status information */
689 unsigned int segment_count[2]; /* # of allocated segments */
690 unsigned int block_count[2]; /* # of allocated blocks */
714 static inline struct f2fs_sb_info *F2FS_SB(struct super_block *sb) in F2FS_SB() argument