Searched refs:nr_node_ids (Results 1 - 25 of 37) sorted by last modified time

12

/linux-master/mm/
H A Dslub.c446 for (__node = 0; __node < nr_node_ids; __node++) \
5648 nr_node_ids * sizeof(struct kmem_cache_node *),
5667 nr_cpu_ids, nr_node_ids);
6008 nodes = kcalloc(nr_node_ids, sizeof(unsigned long), GFP_KERNEL);
6099 for (node = 0; node < nr_node_ids; node++) {
H A Dhugetlb.c4430 for (nid = 0; nid < nr_node_ids; nid++) {
H A Dvmalloc.c4834 memset(counters, 0, nr_node_ids * sizeof(unsigned int));
4937 priv_data = kmalloc(nr_node_ids * sizeof(unsigned int), GFP_KERNEL);
H A Dswapfile.c2729 p = kvzalloc(struct_size(p, avail_lists, nr_node_ids), GFP_KERNEL);
3688 swap_avail_heads = kmalloc_array(nr_node_ids, sizeof(struct plist_head),
H A Dpage_alloc.c299 unsigned int nr_node_ids __read_mostly = MAX_NUMNODES;
301 EXPORT_SYMBOL(nr_node_ids); variable
H A Dmm_init.c1763 nr_node_ids = highest + 1;
H A Dmempolicy.c1474 unsigned int nbytes = BITS_TO_LONGS(nr_node_ids) * sizeof(long);
1478 nbytes = BITS_TO_COMPAT_LONGS(nr_node_ids) * sizeof(compat_long_t);
1486 maxnode = nr_node_ids;
1740 if (nmask != NULL && maxnode < nr_node_ids)
2436 weights = kzalloc(nr_node_ids, GFP_KERNEL);
2443 memcpy(weights, table, nr_node_ids);
3360 new = kzalloc(nr_node_ids, GFP_KERNEL);
3368 memcpy(new, old, nr_node_ids);
3393 for (i = 0; i < nr_node_ids; i++)
3494 node_attrs = kcalloc(nr_node_ids, sizeo
[all...]
H A Dmemory-tiers.c820 node_demotion = kcalloc(nr_node_ids, sizeof(struct demotion_nodes),
H A Dmemcontrol.c4181 VM_BUG_ON((unsigned)nid >= nr_node_ids);
5496 memcg = kzalloc(struct_size(memcg, nodeinfo, nr_node_ids), GFP_KERNEL);
H A Dlist_lru.c333 mlru = kmalloc(struct_size(mlru, node, nr_node_ids), gfp);
564 lru->node = kcalloc(nr_node_ids, sizeof(*lru->node), GFP_KERNEL);
H A Dcompaction.c3008 if (nid >= 0 && nid < nr_node_ids && node_online(nid)) {
H A Dksm.c3520 buf = kcalloc(nr_node_ids + nr_node_ids, sizeof(*buf),
3527 root_unstable_tree = buf + nr_node_ids;
3534 ksm_nr_node_ids = knob ? 1 : nr_node_ids;
/linux-master/kernel/
H A Dworkqueue.c1557 * - node_nr_active[nr_node_ids] if @node is %NUMA_NO_NODE.
1568 node = nr_node_ids;
4699 kfree(nna_ar[nr_node_ids]);
4700 nna_ar[nr_node_ids] = NULL;
4728 /* [nr_node_ids] is used as the fallback */
4733 nna_ar[nr_node_ids] = nna;
5551 wq_size = struct_size(wq, node_nr_active, nr_node_ids + 1);
/linux-master/kernel/sched/
H A Dfair.c1542 return NR_NUMA_HINT_FAULT_TYPES * (s * nr_node_ids + nid) + priv;
2941 nr_node_ids * sizeof(unsigned long);
2953 for (i = 0; i < NR_NUMA_HINT_FAULT_STATS * nr_node_ids; i++)
3011 for (i = 0; i < NR_NUMA_HINT_FAULT_STATS * nr_node_ids; i++) {
3054 for (i = 0; i < NR_NUMA_HINT_FAULT_STATS * nr_node_ids; i++)
3069 for (i = 0; i < NR_NUMA_HINT_FAULT_STATS * nr_node_ids; i++)
3105 NR_NUMA_HINT_FAULT_BUCKETS * nr_node_ids;
H A Dtopology.c1739 for (i = 0; i < nr_node_ids; i++) {
1741 for (j = 0; j < nr_node_ids; j++) {
1918 masks[i] = kzalloc(nr_node_ids * sizeof(void *), GFP_KERNEL);
2049 for (j = 0; j < nr_node_ids; j++) {
2065 for (j = 0; j < nr_node_ids; j++) {
2195 if (node >= nr_node_ids || hops >= sched_domains_numa_levels)
/linux-master/kernel/bpf/
H A Dsyscall.c1222 ((unsigned int)numa_node >= nr_node_ids ||
/linux-master/drivers/hv/
H A Dhv.c112 hv_context.hv_numa_map = kcalloc(nr_node_ids, sizeof(struct cpumask),
/linux-master/arch/powerpc/mm/
H A Dnuma.c79 /* setup nr_node_ids if not done yet */
80 if (nr_node_ids == MAX_NUMNODES)
88 pr_debug("Node to cpumask map for %u nodes\n", nr_node_ids);
185 if (nid == 0xffff || nid >= nr_node_ids)
190 * Returns nid in the range [0..nr_node_ids], or -1 if no useful NUMA
/linux-master/drivers/pci/
H A Dprobe.c983 if (nr_node_ids > 1 && pcibus_to_node(bus) == NUMA_NO_NODE)
/linux-master/tools/workqueue/
H A Dwq_dump.py223 nr_node_ids = prog['nr_node_ids'].value_() variable
250 nna = wq.node_nr_active[nr_node_ids]
/linux-master/net/sunrpc/
H A Dsvc.c217 unsigned int maxpools = nr_node_ids;
/linux-master/arch/x86/events/intel/
H A Duncore_snbep.c1446 if (nr_node_ids <= 8) {
/linux-master/arch/x86/mm/
H A Dnuma.c115 /* setup nr_node_ids if not done yet */
116 if (nr_node_ids == MAX_NUMNODES)
120 for (node = 0; node < nr_node_ids; node++)
124 pr_debug("Node to cpumask map for %u nodes\n", nr_node_ids);
876 if ((unsigned)node >= nr_node_ids) {
878 "cpumask_of_node(%d): (unsigned)node >= nr_node_ids(%u)\n",
879 node, nr_node_ids);
/linux-master/drivers/infiniband/sw/siw/
H A Dsiw_main.c125 int i, num_nodes = nr_node_ids;
/linux-master/scripts/gdb/linux/
H A Dslab.py183 nr_node_ids = int(gdb.parse_and_eval("nr_node_ids"))
185 nr_node_ids = 1
198 for i in range(0, nr_node_ids):
278 nr_node_ids = None
294 nr_node_ids = int(gdb.parse_and_eval("nr_node_ids"))
296 nr_node_ids = 1
302 for i in range(0, nr_node_ids):

Completed in 732 milliseconds

12