Home
last modified time | relevance | path

Searched refs:first_node (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_drv.c627 struct device_node *first_node = NULL; in etnaviv_pdev_probe()
671 first_node = etnaviv_of_first_available_node(); in etnaviv_pdev_probe()
672 if (first_node) { in etnaviv_pdev_probe()
673 of_dma_configure(dev, first_node, true); in etnaviv_pdev_probe()
674 of_node_put(first_node); in etnaviv_pdev_probe()
625 struct device_node *first_node = NULL; etnaviv_pdev_probe() local
/linux/include/linux/
H A Dnodemask.h258 #define first_node(src) __first_node(&(src)) macro
381 for ((node) = first_node(mask); \
438 #define first_online_node first_node(node_states[N_ONLINE])
439 #define first_memory_node first_node(node_states[N_MEMORY])
H A Dmmzone.h1970 nid = first_node(*nodes); in pfn_to_section_nr()
/linux/tools/perf/ui/gtk/
H A Dhists.c522 bool first_node, first_col; in perf_gtk__show_hierarchy()
555 first_node = true; in perf_gtk__show_hierarchy()
558 if (!first_node) in perf_gtk__show_hierarchy()
560 first_node = false; in perf_gtk__show_hierarchy()
510 bool first_node, first_col; perf_gtk__show_hierarchy() local
/linux/tools/testing/selftests/mm/
H A Dksm_tests.c457 int first_node, second_node; in get_first_mem_node()
469 first_node = get_first_mem_node(); in check_ksm_numa_merge()
470 second_node = get_next_mem_node(first_node); in check_ksm_numa_merge()
480 numa1_map_ptr = numa_alloc_onnode(page_size, first_node); in check_ksm_numa_merge()
465 int first_node; check_ksm_numa_merge() local
/linux/fs/jffs2/
H A Dnodelist.c510 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 Derase.c293 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 Dscan.c315 && (!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 Ddebug.c316 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 Dnodemgmt.c474 !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 Dnodelist.h290 struct jffs2_raw_node_ref *first_node; member
H A Dsummary.c629 } else if (jeb->first_node) { in jffs2_sum_scan_sumnode()
H A Dgc.c100 ret->gc_node = ret->first_node; in jffs2_find_gc_block()
/linux/tools/perf/ui/stdio/
H A Dhist.c639 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/mm/
H A Dmempolicy.c417 node_set(first_node(*nodes), pol->nodes); in mpol_set_nodemask()
2174 return first_node(policy->nodes); in mempolicy_slab_node()
2238 nid = first_node(pol->nodes);
2281 nid = first_node(pol->nodes); in policy_nodemask()
2305 *nid = first_node(pol->nodes); in policy_nodemask()
3058 polnid = first_node(pol->nodes); in mpol_misplaced()
3490 * we use first_node(nodes) to grab a single node, so here in mpol_parse_str()
3560 node_set(first_node(nodes), new->nodes); in mpol_to_str()
/linux/tools/perf/ui/browsers/
H A Dhists.c1730 bool first_node, first_col; in hists_browser__scnprintf_hierarchy_headers()
1736 first_node = true; in hists_browser__scnprintf_hierarchy_headers()
1752 first_node = false; in hists_browser__scnprintf_hierarchy_headers()
1758 if (!first_node) { in hists_browser__scnprintf_hierarchy_headers()
1765 first_node = true; in hists_browser__scnprintf_hierarchy_headers()
1767 if (!first_node) { in hists_browser__scnprintf_hierarchy_headers()
1772 first_node = false; in hists_browser__scnprintf_hierarchy_headers()
1728 bool first_node, first_col; hists_browser__scnprintf_hierarchy_headers() local
/linux/arch/loongarch/kernel/
H A Dsmp.c593 rr_node = first_node(node_online_map); in smp_prepare_boot_cpu()
/linux/arch/x86/kernel/cpu/
H A Damd.c301 return first_node(node_online_map); /* Shouldn't happen */ in nearby_node()
/linux/drivers/clk/
H A Dclk.c3505 bool first_node = true; in clk_dump_show()
3519 if (!first_node)
3521 first_node = false;
3489 bool first_node = true; clk_dump_show() local
/linux/kernel/futex/
H A Dcore.c308 node = first_node(mpol->nodes); in __futex_key_to_node()