Home
last modified time | relevance | path

Searched refs:nid (Results 1 – 9 of 9) sorted by relevance

/tools/include/linux/
A Dnuma.h16 static inline bool numa_valid_node(int nid) in numa_valid_node() argument
18 return nid >= 0 && nid < MAX_NUMNODES; in numa_valid_node()
A Dmm.h34 void reserve_bootmem_region(phys_addr_t start, phys_addr_t end, int nid);
/tools/testing/memblock/
A Dmmzone.c14 void reserve_bootmem_region(phys_addr_t start, phys_addr_t end, int nid) in reserve_bootmem_region() argument
/tools/testing/selftests/damon/
A Dsysfs.py61 assert_true(dump['nid'] == qgoal.nid, 'nid', dump)
220 nid=1)],
A D_damon_sysfs.py96 nid = None variable in DamosQuotaGoal
101 def __init__(self, metric, target_value=10000, current_value=0, nid=0): argument
105 self.nid = nid
123 err = write_file(os.path.join(self.sysfs_dir(), 'nid'), self.nid)
/tools/testing/selftests/net/bench/page_pool/
A Dbench_page_pool_simple.c140 .nid = NUMA_NO_NODE, in time_bench_page_pool()
/tools/testing/selftests/bpf/prog_tests/
A Dlinked_list.c252 int id, lid, hid, nid; in init_btf() local
267 nid = btf__add_struct(btf, "bpf_list_node", 24); in init_btf()
268 if (!ASSERT_EQ(nid, LIST_NODE, "btf__add_struct bpf_list_node")) in init_btf()
/tools/testing/memblock/tests/
A Dalloc_nid_api.c33 phys_addr_t max_addr, int nid) in run_memblock_alloc_nid() argument
43 max_addr, nid); in run_memblock_alloc_nid()
46 max_addr, nid); in run_memblock_alloc_nid()
47 return memblock_alloc_try_nid(size, align, min_addr, max_addr, nid); in run_memblock_alloc_nid()
2518 ASSERT_EQ(nid_req, req_node->nid); in alloc_node_on_correct_nid()
A Dbasic_api.c93 ASSERT_EQ(rgn->nid, 1); in memblock_add_node_simple_check()
2487 int nid = memblock_get_region_node(rgn); in memblock_set_node_check() local
2489 memblock_set_node(rgn->base, rgn->size, &memblock.reserved, nid); in memblock_set_node_check()

Completed in 25 milliseconds