/linux-6.1.9/include/linux/ |
D | nodemask.h | 263 #define first_node(src) __first_node(&(src)) macro 387 for ((node) = first_node(mask); \ 444 #define first_online_node first_node(node_states[N_ONLINE]) 445 #define first_memory_node first_node(node_states[N_MEMORY]) 516 bit = first_node(*maskp); in node_random()
|
D | mmzone.h | 1560 nid = first_node(*nodes); in movable_only_nodes()
|
/linux-6.1.9/drivers/gpu/drm/etnaviv/ |
D | etnaviv_drv.c | 580 struct device_node *first_node = NULL; in etnaviv_pdev_probe() local 590 if (!first_node) in etnaviv_pdev_probe() 591 first_node = core_node; in etnaviv_pdev_probe() 627 if (first_node) in etnaviv_pdev_probe() 628 of_dma_configure(&pdev->dev, first_node, true); in etnaviv_pdev_probe()
|
/linux-6.1.9/tools/testing/selftests/vm/ |
D | ksm_tests.c | 397 int first_node; in check_ksm_numa_merge() local 416 first_node = get_first_mem_node(); in check_ksm_numa_merge() 417 numa1_map_ptr = numa_alloc_onnode(page_size, first_node); in check_ksm_numa_merge() 418 numa2_map_ptr = numa_alloc_onnode(page_size, get_next_mem_node(first_node)); in check_ksm_numa_merge()
|
/linux-6.1.9/tools/perf/ui/gtk/ |
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-6.1.9/fs/jffs2/ |
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()
|
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()
|
D | scan.c | 313 && (!jeb->first_node || !ref_next(jeb->first_node)) ) in jffs2_scan_classify_jeb() 694 c->cleanmarker_size && !jeb->dirty_size && !ref_next(jeb->first_node)) { in jffs2_scan_eraseblock() 880 } else if (jeb->first_node) { in jffs2_scan_eraseblock()
|
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()
|
D | nodemgmt.c | 470 !jeb->first_node->next_in_ino) { in jffs2_do_reserve_space() 478 jffs2_mark_node_obsolete(c, jeb->first_node); in jffs2_do_reserve_space()
|
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()
|
D | nodelist.h | 290 struct jffs2_raw_node_ref *first_node; member
|
D | summary.c | 629 } else if (jeb->first_node) { in jffs2_sum_scan_sumnode()
|
/linux-6.1.9/tools/perf/ui/stdio/ |
D | hist.c | 635 bool first_node, first_col; in hists__fprintf_hierarchy_headers() local 659 first_node = true; in hists__fprintf_hierarchy_headers() 661 if (!first_node) in hists__fprintf_hierarchy_headers() 663 first_node = false; in hists__fprintf_hierarchy_headers()
|
/linux-6.1.9/kernel/bpf/ |
D | bpf_lru_list.c | 143 struct bpf_lru_node *node, *tmp_node, *first_node; in __bpf_lru_list_rotate_active() local 146 first_node = list_first_entry(active, struct bpf_lru_node, list); in __bpf_lru_list_rotate_active() 153 if (++i == lru->nr_scans || node == first_node) in __bpf_lru_list_rotate_active()
|
/linux-6.1.9/mm/ |
D | mempolicy.c | 212 node_set(first_node(*nodes), pol->nodes); in mpol_new_preferred() 1872 nd = first_node(policy->nodes); in policy_node() 1920 return first_node(policy->nodes); in mempolicy_slab_node() 1973 nid = first_node(nodemask); in offset_il_node() 2219 hpage_node = first_node(pol->nodes); in vma_alloc_folio() 2593 polnid = first_node(pol->nodes); in mpol_misplaced() 3087 node_set(first_node(nodes), new->nodes); in mpol_parse_str()
|
/linux-6.1.9/arch/x86/kernel/cpu/ |
D | hygon.c | 47 return first_node(node_online_map); /* Shouldn't happen */ in nearby_node()
|
D | amd.c | 304 return first_node(node_online_map); /* Shouldn't happen */ in nearby_node()
|
/linux-6.1.9/io_uring/ |
D | io-wq.c | 1367 bool first_node = true; in io_wq_max_workers() local 1390 if (first_node) in io_wq_max_workers() 1396 first_node = false; in io_wq_max_workers()
|
/linux-6.1.9/drivers/block/ |
D | pktcdvd.c | 1094 struct pkt_rb_node *node, *first_node; in pkt_handle_queue() local 1108 first_node = pkt_rbtree_find(pd, pd->current_sector); in pkt_handle_queue() 1109 if (!first_node) { in pkt_handle_queue() 1112 first_node = rb_entry(n, struct pkt_rb_node, rb_node); in pkt_handle_queue() 1114 node = first_node; in pkt_handle_queue() 1132 if (node == first_node) in pkt_handle_queue()
|
/linux-6.1.9/tools/perf/ui/browsers/ |
D | hists.c | 1703 bool first_node, first_col; in hists_browser__scnprintf_hierarchy_headers() local 1709 first_node = true; in hists_browser__scnprintf_hierarchy_headers() 1725 first_node = false; in hists_browser__scnprintf_hierarchy_headers() 1728 if (!first_node) { in hists_browser__scnprintf_hierarchy_headers() 1735 first_node = true; in hists_browser__scnprintf_hierarchy_headers() 1737 if (!first_node) { in hists_browser__scnprintf_hierarchy_headers() 1742 first_node = false; in hists_browser__scnprintf_hierarchy_headers()
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | smp.c | 408 rr_node = first_node(node_online_map); in smp_prepare_boot_cpu()
|
/linux-6.1.9/arch/x86/mm/ |
D | numa.c | 630 rr = first_node(node_online_map); in numa_init_array()
|
/linux-6.1.9/arch/sparc/kernel/ |
D | head_32.S | 379 or %g0, %g0, %o0 ! next_node(0) = first_node
|
/linux-6.1.9/drivers/clk/ |
D | clk.c | 3212 bool first_node = true; in clk_dump_show() local 3220 if (!first_node) in clk_dump_show() 3222 first_node = false; in clk_dump_show()
|