/linux-6.6.21/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 | 1712 nid = first_node(*nodes); in movable_only_nodes()
|
/linux-6.6.21/drivers/gpu/drm/etnaviv/ |
D | etnaviv_drv.c | 590 struct device_node *first_node = NULL; in etnaviv_pdev_probe() local 600 if (!first_node) in etnaviv_pdev_probe() 601 first_node = core_node; in etnaviv_pdev_probe() 637 if (first_node) in etnaviv_pdev_probe() 638 of_dma_configure(&pdev->dev, first_node, true); in etnaviv_pdev_probe()
|
/linux-6.6.21/tools/testing/selftests/mm/ |
D | ksm_tests.c | 492 int first_node; in check_ksm_numa_merge() local 511 first_node = get_first_mem_node(); in check_ksm_numa_merge() 512 numa1_map_ptr = numa_alloc_onnode(page_size, first_node); in check_ksm_numa_merge() 513 numa2_map_ptr = numa_alloc_onnode(page_size, get_next_mem_node(first_node)); in check_ksm_numa_merge()
|
/linux-6.6.21/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.6.21/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()
|
D | gc.c | 100 ret->gc_node = ret->first_node; in jffs2_find_gc_block()
|
/linux-6.6.21/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.6.21/kernel/bpf/ |
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-6.6.21/mm/ |
D | mempolicy.c | 216 node_set(first_node(*nodes), pol->nodes); in mpol_new_preferred() 1889 nd = first_node(policy->nodes); in policy_node() 1937 return first_node(policy->nodes); in mempolicy_slab_node() 1990 nid = first_node(nodemask); in offset_il_node() 2236 hpage_node = first_node(pol->nodes); in vma_alloc_folio() 2611 polnid = first_node(pol->nodes); in mpol_misplaced() 3105 node_set(first_node(nodes), new->nodes); in mpol_parse_str()
|
/linux-6.6.21/arch/x86/kernel/cpu/ |
D | hygon.c | 48 return first_node(node_online_map); /* Shouldn't happen */ in nearby_node()
|
D | amd.c | 380 return first_node(node_online_map); /* Shouldn't happen */ in nearby_node()
|
/linux-6.6.21/drivers/block/ |
D | pktcdvd.c | 1126 struct pkt_rb_node *node, *first_node; in pkt_handle_queue() local 1140 first_node = pkt_rbtree_find(pd, pd->current_sector); in pkt_handle_queue() 1141 if (!first_node) { in pkt_handle_queue() 1144 first_node = rb_entry(n, struct pkt_rb_node, rb_node); in pkt_handle_queue() 1146 node = first_node; in pkt_handle_queue() 1164 if (node == first_node) in pkt_handle_queue()
|
/linux-6.6.21/tools/perf/ui/browsers/ |
D | hists.c | 1693 bool first_node, first_col; in hists_browser__scnprintf_hierarchy_headers() local 1699 first_node = true; in hists_browser__scnprintf_hierarchy_headers() 1715 first_node = false; in hists_browser__scnprintf_hierarchy_headers() 1718 if (!first_node) { in hists_browser__scnprintf_hierarchy_headers() 1725 first_node = true; in hists_browser__scnprintf_hierarchy_headers() 1727 if (!first_node) { in hists_browser__scnprintf_hierarchy_headers() 1732 first_node = false; in hists_browser__scnprintf_hierarchy_headers()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | smp.c | 457 rr_node = first_node(node_online_map); in smp_prepare_boot_cpu()
|
/linux-6.6.21/arch/x86/mm/ |
D | numa.c | 624 rr = first_node(node_online_map); in numa_init_array()
|
/linux-6.6.21/arch/sparc/kernel/ |
D | head_32.S | 379 or %g0, %g0, %o0 ! next_node(0) = first_node
|
/linux-6.6.21/drivers/clk/ |
D | clk.c | 3289 bool first_node = true; in clk_dump_show() local 3297 if (!first_node) in clk_dump_show() 3299 first_node = false; in clk_dump_show()
|