Searched refs:num_possible_nodes (Results 1 – 24 of 24) sorted by relevance
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | affinity.h | 74 int num_possible_nodes; member
|
D | affinity.c | 140 node_affinity.num_possible_nodes = num_possible_nodes(); in node_affinity_init() 151 hfi1_per_node_cntr = kcalloc(node_affinity.num_possible_nodes, in node_affinity_init() 177 for (node = 0; node < node_affinity.num_possible_nodes; node++) in node_affinity_init()
|
D | pio.c | 2068 node_affinity.num_possible_nodes, in init_credit_return() 2109 for (i = 0; i < node_affinity.num_possible_nodes; i++) { in free_credit_return()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_dh895xcc/ |
D | adf_drv.c | 91 if (num_possible_nodes() > 1 && dev_to_node(&pdev->dev) < 0) { in adf_probe()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_c62x/ |
D | adf_drv.c | 91 if (num_possible_nodes() > 1 && dev_to_node(&pdev->dev) < 0) { in adf_probe()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_c3xxx/ |
D | adf_drv.c | 91 if (num_possible_nodes() > 1 && dev_to_node(&pdev->dev) < 0) { in adf_probe()
|
/linux-6.6.21/drivers/soc/tegra/cbb/ |
D | tegra234-cbb.c | 357 if (num_possible_nodes() > 1) in print_errlog_err() 420 num_possible_nodes()); in print_errlog_err()
|
/linux-6.6.21/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 1552 numn = num_possible_nodes(); in build_socket_tables() 1739 …pr_info("UV: Found %d hubs, %d nodes, %d CPUs\n", uv_num_possible_blades(), num_possible_nodes(), … in uv_system_init_hub() 1793 bytes = sizeof(void *) * num_possible_nodes(); in uv_system_init_hub()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_4xxx/ |
D | adf_drv.c | 312 if (num_possible_nodes() > 1 && dev_to_node(&pdev->dev) < 0) { in adf_probe()
|
/linux-6.6.21/include/linux/ |
D | nodemask.h | 532 #define num_possible_nodes() num_node_state(N_POSSIBLE) macro
|
/linux-6.6.21/drivers/crypto/virtio/ |
D | virtio_crypto_core.c | 374 if (num_possible_nodes() > 1 && dev_to_node(&vdev->dev) < 0) { in virtcrypto_probe()
|
/linux-6.6.21/arch/powerpc/perf/ |
D | imc-pmu.c | 1529 nest_imc_refc = kcalloc(num_possible_nodes(), sizeof(*nest_imc_refc), in init_nest_pmu_ref() 1558 for (i = 0; i < num_possible_nodes(); i++) { in init_nest_pmu_ref()
|
/linux-6.6.21/arch/x86/kernel/cpu/sgx/ |
D | main.c | 794 sgx_numa_nodes = kmalloc_array(num_possible_nodes(), sizeof(*sgx_numa_nodes), GFP_KERNEL); in sgx_page_cache_init()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vm_pt.c | 847 num_possible_nodes() > 1) { in amdgpu_vm_pte_update_flags()
|
D | gmc_v9_0.c | 1248 num_possible_nodes() <= 1) || in gmc_v9_0_get_coherence_flags()
|
/linux-6.6.21/arch/x86/kernel/ |
D | smpboot.c | 931 node_width = num_digits(num_possible_nodes()) + 1; /* + '#' */ in announce_cpu()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_crat.c | 1969 num_possible_nodes() > 1) in kfd_fill_gpu_direct_io_link_to_cpu()
|
D | kfd_svm.c | 1258 if (num_possible_nodes() <= 1) in svm_range_get_pte_flags()
|
/linux-6.6.21/kernel/bpf/ |
D | core.c | 866 #define BPF_PROG_PACK_SIZE (PMD_SIZE * num_possible_nodes())
|
/linux-6.6.21/mm/ |
D | slab.c | 1193 if (!IS_ENABLED(CONFIG_NUMA) || num_possible_nodes() == 1) in kmem_cache_init()
|
/linux-6.6.21/drivers/pci/controller/ |
D | pci-hyperv.c | 2374 hv_dev->desc.virtual_numa_node < num_possible_nodes()) in hv_pci_assign_numa_node()
|
/linux-6.6.21/drivers/nvme/host/ |
D | core.c | 3390 size += num_possible_nodes() * sizeof(struct nvme_ns *); in nvme_alloc_ns_head()
|
/linux-6.6.21/drivers/md/ |
D | raid5.c | 7301 *group_cnt = num_possible_nodes(); in alloc_thread_groups()
|
/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_init.c | 4788 shost->nr_hw_queues = min_t(int, 2 * num_possible_nodes(), in lpfc_create_port()
|