/linux/include/linux/ |
H A D | nodemask.h | 42 * unsigned int first_node(mask) Number lowest set bit, or MAX_NUMNODES 250 #define first_node(src) __first_node(&(src)) macro 374 for ((node) = first_node(mask); \ 431 #define first_online_node first_node(node_states[N_ONLINE]) 432 #define first_memory_node first_node(node_states[N_MEMORY])
|
H A D | mmzone.h | 1805 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/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 | 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 | 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 | 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()
|
/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/kernel/bpf/ |
H A D | bpf_lru_list.c | 148 struct bpf_lru_node *node, *tmp_node, *first_node; in __bpf_lru_list_rotate_active() local 151 first_node = list_first_entry(active, struct bpf_lru_node, list); in __bpf_lru_list_rotate_active() 158 if (++i == lru->nr_scans || node == first_node) in __bpf_lru_list_rotate_active()
|
/linux/arch/x86/kernel/cpu/ |
H A D | hygon.c | 41 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 | 390 node_set(first_node(*nodes), pol->nodes); in mpol_new_preferred() 2083 return first_node(policy->nodes); in mempolicy_slab_node() 2156 nid = first_node(nodemask); in weighted_interleave_nid() 2185 nid = first_node(nodemask); in interleave_nid() 2203 *nid = first_node(pol->nodes); in policy_nodemask() 2943 polnid = first_node(pol->nodes); in mpol_misplaced() 3371 * we use first_node(nodes) to grab a single node, so here in mpol_parse_str() 3441 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/sparc/kernel/ |
H A D | head_32.S | 383 or %g0, %g0, %o0 ! next_node(0) = first_node
|
/linux/kernel/futex/ |
H A D | core.c | 351 node = first_node(mpol->nodes); in __futex_key_to_node()
|