Searched refs:max_nid (Results 1 – 6 of 6) sorted by relevance
37 #define F2FS_COMPRESS_INO(sbi) (NM_I(sbi)->max_nid)
132 return NM_I(sbi)->nat_cnt[DIRTY_NAT] >= NM_I(sbi)->max_nid * in excess_dirty_nats()
35 if (unlikely(nid < F2FS_ROOT_INO(sbi) || nid >= NM_I(sbi)->max_nid)) { in f2fs_check_nid_range()2387 if (unlikely(start_nid >= nm_i->max_nid)) in scan_nat_page()2467 if (unlikely(nid >= nm_i->max_nid)) in __f2fs_build_free_nids()2521 if (unlikely(nid >= nm_i->max_nid)) in __f2fs_build_free_nids()3234 nm_i->max_nid = NAT_ENTRY_PER_BLOCK * nm_i->nat_blocks; in init_node_manager()3237 nm_i->available_nids = nm_i->max_nid - sbi->total_valid_node_count - in init_node_manager()
265 NAT_BLOCK_OFFSET(NM_I(sbi)->max_nid))) in f2fs_ra_meta_pages()
914 nid_t max_nid; /* maximum possible node ids */ member
2808 int seq, nid, max_nid = NUMA_NO_NODE; in task_numa_placement() local2893 max_nid = nid; in task_numa_placement()2897 max_nid = nid; in task_numa_placement()2902 if (max_nid != NUMA_NO_NODE && !node_state(max_nid, N_CPU)) { in task_numa_placement()2903 int near_nid = max_nid; in task_numa_placement()2907 distance = node_distance(max_nid, nid); in task_numa_placement()2913 max_nid = near_nid; in task_numa_placement()2919 max_nid = preferred_group_nid(p, max_nid); in task_numa_placement()2924 if (max_nid != p->numa_preferred_nid) in task_numa_placement()2925 sched_setnuma(p, max_nid); in task_numa_placement()