Home
last modified time | relevance | path

Searched refs:max_nid (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/include/linux/
Df2fs_fs.h37 #define F2FS_COMPRESS_INO(sbi) (NM_I(sbi)->max_nid)
/linux-6.6.21/fs/f2fs/
Dnode.h132 return NM_I(sbi)->nat_cnt[DIRTY_NAT] >= NM_I(sbi)->max_nid * in excess_dirty_nats()
Dnode.c35 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()
Dcheckpoint.c265 NAT_BLOCK_OFFSET(NM_I(sbi)->max_nid))) in f2fs_ra_meta_pages()
Df2fs.h914 nid_t max_nid; /* maximum possible node ids */ member
/linux-6.6.21/kernel/sched/
Dfair.c2808 int seq, nid, max_nid = NUMA_NO_NODE; in task_numa_placement() local
2893 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()