Searched refs:max_nid (Results 1 – 6 of 6) sorted by relevance
135 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()2374 if (unlikely(start_nid >= nm_i->max_nid)) in scan_nat_page()2454 if (unlikely(nid >= nm_i->max_nid)) in __f2fs_build_free_nids()2501 if (unlikely(nid >= nm_i->max_nid)) in __f2fs_build_free_nids()3214 nm_i->max_nid = NAT_ENTRY_PER_BLOCK * nm_i->nat_blocks; in init_node_manager()3217 nm_i->available_nids = nm_i->max_nid - sbi->total_valid_node_count - in init_node_manager()
255 NAT_BLOCK_OFFSET(NM_I(sbi)->max_nid))) in f2fs_ra_meta_pages()
926 nid_t max_nid; /* maximum possible node ids */ member
37 #define F2FS_COMPRESS_INO(sbi) (NM_I(sbi)->max_nid)
2542 int seq, nid, max_nid = NUMA_NO_NODE; in task_numa_placement() local2627 max_nid = nid; in task_numa_placement()2631 max_nid = nid; in task_numa_placement()2636 if (max_nid != NUMA_NO_NODE && !node_state(max_nid, N_CPU)) { in task_numa_placement()2637 int near_nid = max_nid; in task_numa_placement()2641 distance = node_distance(max_nid, nid); in task_numa_placement()2647 max_nid = near_nid; in task_numa_placement()2653 max_nid = preferred_group_nid(p, max_nid); in task_numa_placement()2658 if (max_nid != p->numa_preferred_nid) in task_numa_placement()2659 sched_setnuma(p, max_nid); in task_numa_placement()