Searched refs:node_mask (Results 1 – 8 of 8) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | fw_cfg-test.c | 141 uint64_t *node_mask; in test_fw_cfg_numa() local 149 node_mask = g_new0(uint64_t, nb_nodes); in test_fw_cfg_numa() 152 qfw_cfg_read_data(fw_cfg, node_mask, sizeof(uint64_t) * nb_nodes); in test_fw_cfg_numa() 156 g_assert_cmpint(node_mask[0], ==, ram_size); in test_fw_cfg_numa() 159 g_free(node_mask); in test_fw_cfg_numa()
|
/openbmc/linux/tools/perf/util/ |
H A D | mmap.c | 101 unsigned long *node_mask; in perf_mmap__aio_bind() local 109 node_mask = bitmap_zalloc(node_index + 1); in perf_mmap__aio_bind() 110 if (!node_mask) { in perf_mmap__aio_bind() 114 __set_bit(node_index, node_mask); in perf_mmap__aio_bind() 115 if (mbind(data, mmap_len, MPOL_BIND, node_mask, node_index + 1 + 1, 0)) { in perf_mmap__aio_bind() 120 bitmap_free(node_mask); in perf_mmap__aio_bind()
|
/openbmc/linux/include/uapi/linux/netfilter/ |
H A D | xt_cluster.h | 13 __u32 node_mask; member
|
/openbmc/linux/net/netfilter/ |
H A D | xt_cluster.c | 118 return !!((1 << hash) & info->node_mask) ^ in xt_cluster_mt() 132 if (info->node_mask >= (1ULL << info->total_nodes)) { in xt_cluster_mt_checkentry()
|
/openbmc/linux/tools/perf/bench/ |
H A D | numa.c | 394 struct bitmask *node_mask; in bind_to_memnode() local 400 node_mask = numa_allocate_nodemask(); in bind_to_memnode() 401 BUG_ON(!node_mask); in bind_to_memnode() 403 numa_bitmask_clearall(node_mask); in bind_to_memnode() 404 numa_bitmask_setbit(node_mask, node); in bind_to_memnode() 406 ret = set_mempolicy(MPOL_BIND, node_mask->maskp, node_mask->size + 1); in bind_to_memnode() 407 dprintf("binding to node %d, mask: %016lx => %d\n", node, *node_mask->maskp, ret); in bind_to_memnode() 409 numa_bitmask_free(node_mask); in bind_to_memnode()
|
/openbmc/linux/drivers/scsi/ |
H A D | storvsc_drv.c | 1388 const struct cpumask *node_mask; in get_og_chn() local 1405 node_mask = cpumask_of_node(cpu_to_node(q_num)); in get_og_chn() 1409 if (cpumask_test_cpu(tgt_cpu, node_mask)) in get_og_chn() 1422 if (!cpumask_test_cpu(tgt_cpu, node_mask)) in get_og_chn() 1443 const struct cpumask *node_mask; in storvsc_do_io() local 1465 node_mask = cpumask_of_node(cpu_to_node(q_num)); in storvsc_do_io() 1468 if (!cpumask_test_cpu(tgt_cpu, node_mask)) in storvsc_do_io() 1499 if (cpumask_test_cpu(tgt_cpu, node_mask)) in storvsc_do_io()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | affinity.c | 999 const struct cpumask *node_mask, in hfi1_get_proc_affinity() local 1110 node_mask = cpumask_of_node(node); in hfi1_get_proc_affinity() 1112 cpumask_pr_args(node_mask)); in hfi1_get_proc_affinity() 1115 cpumask_and(available_mask, hw_thread_mask, node_mask); in hfi1_get_proc_affinity() 1144 cpumask_andnot(available_mask, available_mask, node_mask); in hfi1_get_proc_affinity()
|
/openbmc/linux/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 3596 const struct cpumask *node_mask; in get_least_used_cpu_on_node() local 3598 node_mask = cpumask_of_node(node); in get_least_used_cpu_on_node() 3599 least_used_cpu = cpumask_first(node_mask); in get_least_used_cpu_on_node() 3603 for_each_cpu(cpu, node_mask) { in get_least_used_cpu_on_node() 3699 const struct cpumask *node_mask; in mtip_pci_probe() local 3760 node_mask = cpumask_of_node(dd->numa_node); in mtip_pci_probe() 3761 if (!cpumask_empty(node_mask)) { in mtip_pci_probe() 3762 for_each_cpu(cpu, node_mask) in mtip_pci_probe() 3770 topology_physical_package_id(cpumask_first(node_mask)), in mtip_pci_probe()
|