Lines Matching defs:f2fs_nm_info

924 struct f2fs_nm_info {  struct
925 block_t nat_blkaddr; /* base disk address of NAT */
926 nid_t max_nid; /* maximum possible node ids */
927 nid_t available_nids; /* # of available node ids */
928 nid_t next_scan_nid; /* the next nid to be scanned */
929 nid_t max_rf_node_blocks; /* max # of nodes for recovery */
930 unsigned int ram_thresh; /* control the memory footprint */
931 unsigned int ra_nid_pages; /* # of nid pages to be readaheaded */
932 unsigned int dirty_nats_ratio; /* control dirty nats ratio threshold */
935 struct radix_tree_root nat_root;/* root of the nat entry cache */
936 struct radix_tree_root nat_set_root;/* root of the nat set cache */
937 struct f2fs_rwsem nat_tree_lock; /* protect nat entry tree */
938 struct list_head nat_entries; /* cached nat entry list (clean) */
939 spinlock_t nat_list_lock; /* protect clean nat entry list */
940 unsigned int nat_cnt[MAX_NAT_STATE]; /* the # of cached nat entries */
941 unsigned int nat_blocks; /* # of nat blocks */
944 struct radix_tree_root free_nid_root;/* root of the free_nid cache */
945 struct list_head free_nid_list; /* list for free nids excluding preallocated nids */
946 unsigned int nid_cnt[MAX_NID_STATE]; /* the number of free node id */
947 spinlock_t nid_list_lock; /* protect nid lists ops */
948 struct mutex build_lock; /* lock for build free nids */
949 unsigned char **free_nid_bitmap;
950 unsigned char *nat_block_bitmap;
951 unsigned short *free_nid_count; /* free nid count of NAT block */
954 char *nat_bitmap; /* NAT bitmap pointer */
956 unsigned int nat_bits_blocks; /* # of nat bits blocks */
957 unsigned char *nat_bits; /* NAT bits blocks */
958 unsigned char *full_nat_bits; /* full NAT pages */
959 unsigned char *empty_nat_bits; /* empty NAT pages */
961 char *nat_bitmap_mir; /* NAT bitmap mirror */
963 int bitmap_size; /* bitmap size */