Home
last modified time | relevance | path

Searched refs:num_possible_nodes (Results 1 – 24 of 24) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/hfi1/ !
Daffinity.h74 int num_possible_nodes; member
Daffinity.c140 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()
Dpio.c2068 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/ !
Dadf_drv.c91 if (num_possible_nodes() > 1 && dev_to_node(&pdev->dev) < 0) { in adf_probe()
/linux-6.6.21/drivers/crypto/intel/qat/qat_c62x/ !
Dadf_drv.c91 if (num_possible_nodes() > 1 && dev_to_node(&pdev->dev) < 0) { in adf_probe()
/linux-6.6.21/drivers/crypto/intel/qat/qat_c3xxx/ !
Dadf_drv.c91 if (num_possible_nodes() > 1 && dev_to_node(&pdev->dev) < 0) { in adf_probe()
/linux-6.6.21/drivers/soc/tegra/cbb/ !
Dtegra234-cbb.c357 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/ !
Dx2apic_uv_x.c1552 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/ !
Dadf_drv.c312 if (num_possible_nodes() > 1 && dev_to_node(&pdev->dev) < 0) { in adf_probe()
/linux-6.6.21/include/linux/ !
Dnodemask.h532 #define num_possible_nodes() num_node_state(N_POSSIBLE) macro
/linux-6.6.21/drivers/crypto/virtio/ !
Dvirtio_crypto_core.c374 if (num_possible_nodes() > 1 && dev_to_node(&vdev->dev) < 0) { in virtcrypto_probe()
/linux-6.6.21/arch/powerpc/perf/ !
Dimc-pmu.c1529 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/ !
Dmain.c794 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/ !
Damdgpu_vm_pt.c847 num_possible_nodes() > 1) { in amdgpu_vm_pte_update_flags()
Dgmc_v9_0.c1248 num_possible_nodes() <= 1) || in gmc_v9_0_get_coherence_flags()
/linux-6.6.21/arch/x86/kernel/ !
Dsmpboot.c931 node_width = num_digits(num_possible_nodes()) + 1; /* + '#' */ in announce_cpu()
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ !
Dkfd_crat.c1969 num_possible_nodes() > 1) in kfd_fill_gpu_direct_io_link_to_cpu()
Dkfd_svm.c1258 if (num_possible_nodes() <= 1) in svm_range_get_pte_flags()
/linux-6.6.21/kernel/bpf/ !
Dcore.c866 #define BPF_PROG_PACK_SIZE (PMD_SIZE * num_possible_nodes())
/linux-6.6.21/mm/ !
Dslab.c1193 if (!IS_ENABLED(CONFIG_NUMA) || num_possible_nodes() == 1) in kmem_cache_init()
/linux-6.6.21/drivers/pci/controller/ !
Dpci-hyperv.c2374 hv_dev->desc.virtual_numa_node < num_possible_nodes()) in hv_pci_assign_numa_node()
/linux-6.6.21/drivers/nvme/host/ !
Dcore.c3390 size += num_possible_nodes() * sizeof(struct nvme_ns *); in nvme_alloc_ns_head()
/linux-6.6.21/drivers/md/ !
Draid5.c7301 *group_cnt = num_possible_nodes(); in alloc_thread_groups()
/linux-6.6.21/drivers/scsi/lpfc/ !
Dlpfc_init.c4788 shost->nr_hw_queues = min_t(int, 2 * num_possible_nodes(), in lpfc_create_port()