Lines Matching defs:f2fs_sb_info

714 struct f2fs_sb_info {  struct
715 struct super_block *sb; /* pointer to VFS super block */
716 struct proc_dir_entry *s_proc; /* proc entry */
717 struct buffer_head *raw_super_buf; /* buffer head of raw sb */
718 struct f2fs_super_block *raw_super; /* raw super block pointer */
719 int s_flag; /* flags for sbi */
722 struct f2fs_nm_info *nm_info; /* node manager */
723 struct inode *node_inode; /* cache node blocks */
726 struct f2fs_sm_info *sm_info; /* segment manager */
729 struct f2fs_bio_info read_io; /* for read bios */
730 struct f2fs_bio_info write_io[NR_PAGE_TYPE]; /* for write bios */
733 struct f2fs_checkpoint *ckpt; /* raw checkpoint pointer */
734 struct inode *meta_inode; /* cache meta blocks */
735 struct mutex cp_mutex; /* checkpoint procedure lock */
736 struct rw_semaphore cp_rwsem; /* blocking FS operations */
737 struct rw_semaphore node_write; /* locking node writes */
738 struct mutex writepages; /* mutex for writepages() */
739 wait_queue_head_t cp_wait;
740 long cp_expires, cp_interval; /* next expected periodic cp */
742 struct inode_management im[MAX_INO_ENTRY]; /* manage inode cache */
745 unsigned int max_orphans; /* max orphan inodes */
748 struct list_head dir_inode_list; /* dir inode list */
749 spinlock_t dir_inode_lock; /* for dir inode list lock */
752 struct radix_tree_root extent_tree_root;/* cache extent cache entries */
753 struct rw_semaphore extent_tree_lock; /* locking extent radix tree */
754 struct list_head extent_list; /* lru list for shrinker */
755 spinlock_t extent_lock; /* locking extent lru list */
756 int total_ext_tree; /* extent tree count */
757 atomic_t total_ext_node; /* extent info count */
760 unsigned int log_sectors_per_block; /* log2 sectors per block */
761 unsigned int log_blocksize; /* log2 block size */
762 unsigned int blocksize; /* block size */
763 unsigned int root_ino_num; /* root inode number*/
764 unsigned int node_ino_num; /* node inode number*/
765 unsigned int meta_ino_num; /* meta inode number*/
766 unsigned int log_blocks_per_seg; /* log2 blocks per segment */
767 unsigned int blocks_per_seg; /* blocks per segment */
768 unsigned int segs_per_sec; /* segments per section */
769 unsigned int secs_per_zone; /* sections per zone */
770 unsigned int total_sections; /* total section count */
771 unsigned int total_node_count; /* total node block count */
772 unsigned int total_valid_node_count; /* valid node block count */
773 unsigned int total_valid_inode_count; /* valid inode count */
774 int active_logs; /* # of active logs */
775 int dir_level; /* directory level */
777 block_t user_block_count; /* # of user blocks */
778 block_t total_valid_block_count; /* # of valid blocks */
779 block_t alloc_valid_block_count; /* # of allocated blocks */
780 block_t discard_blks; /* discard command candidats */
781 block_t last_valid_block_count; /* for recovery */
782 u32 s_next_generation; /* for NFS support */
783 atomic_t nr_pages[NR_COUNT_TYPE]; /* # of pages, see count_type */
785 struct f2fs_mount_info mount_opt; /* mount options */
788 struct mutex gc_mutex; /* mutex for GC */
789 struct f2fs_gc_kthread *gc_thread; /* GC thread */
790 unsigned int cur_victim_sec; /* current victim section num */
793 unsigned int max_victim_search;
800 struct f2fs_stat_info *stat_info; /* FS status information */
801 unsigned int segment_count[2]; /* # of allocated segments */
802 unsigned int block_count[2]; /* # of allocated blocks */
803 atomic_t inplace_count; /* # of inplace update */
804 atomic64_t total_hit_ext; /* # of lookup extent cache */
805 atomic64_t read_hit_rbtree; /* # of hit rbtree extent node */
806 atomic64_t read_hit_largest; /* # of hit largest extent node */
807 atomic64_t read_hit_cached; /* # of hit cached extent node */
808 atomic_t inline_xattr; /* # of inline_xattr inodes */
809 atomic_t inline_inode; /* # of inline_data inodes */
810 atomic_t inline_dir; /* # of inline_dentry inodes */
811 int bg_gc; /* background gc calls */
835 static inline struct f2fs_sb_info *F2FS_SB(struct super_block *sb) in F2FS_SB() argument