Lines Matching defs:f2fs_nm_info
401 struct f2fs_nm_info { struct
402 block_t nat_blkaddr; /* base disk address of NAT */
403 nid_t max_nid; /* maximum possible node ids */
404 nid_t available_nids; /* maximum available node ids */
405 nid_t next_scan_nid; /* the next nid to be scanned */
406 unsigned int ram_thresh; /* control the memory footprint */
409 struct radix_tree_root nat_root;/* root of the nat entry cache */
410 struct radix_tree_root nat_set_root;/* root of the nat set cache */
411 struct rw_semaphore nat_tree_lock; /* protect nat_tree_lock */
412 struct list_head nat_entries; /* cached nat entry list (clean) */
413 unsigned int nat_cnt; /* the # of cached nat entries */
414 unsigned int dirty_nat_cnt; /* total num of nat entries in set */
417 struct radix_tree_root free_nid_root;/* root of the free_nid cache */
418 struct list_head free_nid_list; /* a list for free nids */
419 spinlock_t free_nid_list_lock; /* protect free nid list */
420 unsigned int fcnt; /* the number of free node id */
421 struct mutex build_lock; /* lock for build free nids */
424 char *nat_bitmap; /* NAT bitmap pointer */
425 int bitmap_size; /* bitmap size */