| /linux/include/linux/ |
| H A D | nodemask.h | 250 #define first_node(src) __first_node(&(src)) macro 373 for ((node) = first_node(mask); \ 430 #define first_online_node first_node(node_states[N_ONLINE]) 431 #define first_memory_node first_node(node_states[N_MEMORY])
|
| H A D | mmzone.h | 1826 nid = first_node(*nodes); in movable_only_nodes()
|
| /linux/tools/perf/ui/gtk/ |
| H A D | hists.c | 510 bool first_node, first_col; in perf_gtk__show_hierarchy() local 543 first_node = true; in perf_gtk__show_hierarchy() 545 if (!first_node) in perf_gtk__show_hierarchy() 547 first_node = false; in perf_gtk__show_hierarchy()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | ksm_tests.c | 465 int first_node; in check_ksm_numa_merge() local 484 first_node = get_first_mem_node(); in check_ksm_numa_merge() 485 numa1_map_ptr = numa_alloc_onnode(page_size, first_node); in check_ksm_numa_merge() 486 numa2_map_ptr = numa_alloc_onnode(page_size, get_next_mem_node(first_node)); in check_ksm_numa_merge()
|
| /linux/fs/jffs2/ |
| H A D | nodelist.c | 510 this = c->blocks[i].first_node; in jffs2_free_raw_node_refs() 520 c->blocks[i].first_node = c->blocks[i].last_node = NULL; in jffs2_free_raw_node_refs() 612 if (!jeb->first_node) { in jffs2_link_node_ref() 613 jeb->first_node = ref; in jffs2_link_node_ref()
|
| H A D | erase.c | 293 block = ref = jeb->first_node; in jffs2_free_jeb_node_refs() 308 jeb->first_node = jeb->last_node = NULL; in jffs2_free_jeb_node_refs()
|
| H A D | scan.c | 315 && (!jeb->first_node || !ref_next(jeb->first_node)) ) in jffs2_scan_classify_jeb() 696 c->cleanmarker_size && !jeb->dirty_size && !ref_next(jeb->first_node)) { in jffs2_scan_eraseblock() 882 } else if (jeb->first_node) { in jffs2_scan_eraseblock()
|
| H A D | debug.c | 316 struct jffs2_raw_node_ref *ref2 = jeb->first_node; in __jffs2_dbg_acct_paranoia_check_nolock() 408 if (!jeb->first_node) { in __jffs2_dbg_dump_node_refs_nolock() 414 for (ref = jeb->first_node; ; ref = ref_next(ref)) { in __jffs2_dbg_dump_node_refs_nolock()
|
| H A D | wbuf.c | 150 if (jeb->first_node) { in jffs2_block_refile() 298 for (next = raw = jeb->first_node; next; raw = next) { in jffs2_wbuf_recover() 550 if (first_raw == jeb->first_node) { in jffs2_wbuf_recover()
|
| H A D | nodemgmt.c | 474 !jeb->first_node->next_in_ino) { in jffs2_do_reserve_space() 482 jffs2_mark_node_obsolete(c, jeb->first_node); in jffs2_do_reserve_space()
|
| H A D | nodelist.h | 290 struct jffs2_raw_node_ref *first_node; member
|
| H A D | summary.c | 629 } else if (jeb->first_node) { in jffs2_sum_scan_sumnode()
|
| H A D | gc.c | 100 ret->gc_node = ret->first_node; in jffs2_find_gc_block()
|
| /linux/tools/perf/ui/stdio/ |
| H A D | hist.c | 639 bool first_node, first_col; in hists__fprintf_hierarchy_headers() local 672 first_node = true; in hists__fprintf_hierarchy_headers() 674 if (!first_node) in hists__fprintf_hierarchy_headers() 676 first_node = false; in hists__fprintf_hierarchy_headers()
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | hygon.c | 42 return first_node(node_online_map); /* Shouldn't happen */ in nearby_node()
|
| H A D | amd.c | 298 return first_node(node_online_map); /* Shouldn't happen */ in nearby_node()
|
| /linux/arch/x86/mm/ |
| H A D | numa.c | 158 rr = first_node(node_online_map); in numa_init_array()
|
| /linux/mm/ |
| H A D | mempolicy.c | 393 node_set(first_node(*nodes), pol->nodes); in mpol_new_preferred() 2153 return first_node(policy->nodes); in mempolicy_slab_node() 2226 nid = first_node(nodemask); in weighted_interleave_nid() 2255 nid = first_node(nodemask); in interleave_nid() 2273 *nid = first_node(pol->nodes); in policy_nodemask() 3014 polnid = first_node(pol->nodes); in mpol_misplaced() 3515 node_set(first_node(nodes), new->nodes); in mpol_parse_str()
|
| /linux/tools/perf/ui/browsers/ |
| H A D | hists.c | 1728 bool first_node, first_col; in hists_browser__scnprintf_hierarchy_headers() local 1734 first_node = true; in hists_browser__scnprintf_hierarchy_headers() 1750 first_node = false; in hists_browser__scnprintf_hierarchy_headers() 1756 if (!first_node) { in hists_browser__scnprintf_hierarchy_headers() 1763 first_node = true; in hists_browser__scnprintf_hierarchy_headers() 1765 if (!first_node) { in hists_browser__scnprintf_hierarchy_headers() 1770 first_node = false; in hists_browser__scnprintf_hierarchy_headers()
|
| /linux/arch/loongarch/kernel/ |
| H A D | smp.c | 580 rr_node = first_node(node_online_map); in smp_prepare_boot_cpu()
|
| /linux/arch/sparc/kernel/ |
| H A D | head_32.S | 383 or %g0, %g0, %o0 ! next_node(0) = first_node
|
| /linux/drivers/clk/ |
| H A D | clk.c | 3404 bool first_node = true; in clk_dump_show() local 3418 if (!first_node) in clk_dump_show() 3420 first_node = false; in clk_dump_show()
|
| /linux/kernel/futex/ |
| H A D | core.c | 351 node = first_node(mpol->nodes); in __futex_key_to_node()
|