Lines Matching defs:f2fs_nm_info
507 struct f2fs_nm_info { struct
508 block_t nat_blkaddr; /* base disk address of NAT */
509 nid_t max_nid; /* maximum possible node ids */
510 nid_t available_nids; /* maximum available node ids */
511 nid_t next_scan_nid; /* the next nid to be scanned */
512 unsigned int ram_thresh; /* control the memory footprint */
513 unsigned int ra_nid_pages; /* # of nid pages to be readaheaded */
516 struct radix_tree_root nat_root;/* root of the nat entry cache */
517 struct radix_tree_root nat_set_root;/* root of the nat set cache */
518 struct rw_semaphore nat_tree_lock; /* protect nat_tree_lock */
519 struct list_head nat_entries; /* cached nat entry list (clean) */
520 unsigned int nat_cnt; /* the # of cached nat entries */
521 unsigned int dirty_nat_cnt; /* total num of nat entries in set */
524 struct radix_tree_root free_nid_root;/* root of the free_nid cache */
525 struct list_head free_nid_list; /* a list for free nids */
526 spinlock_t free_nid_list_lock; /* protect free nid list */
527 unsigned int fcnt; /* the number of free node id */
528 struct mutex build_lock; /* lock for build free nids */
531 char *nat_bitmap; /* NAT bitmap pointer */
532 int bitmap_size; /* bitmap size */