Home
last modified time | relevance | path

Searched refs:numa_node (Results 1 – 25 of 179) sorted by relevance

12345678

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Daso.c45 static int mlx5_aso_alloc_cq(struct mlx5_core_dev *mdev, int numa_node, in mlx5_aso_alloc_cq() argument
53 param.buf_numa_node = numa_node; in mlx5_aso_alloc_cq()
54 param.db_numa_node = numa_node; in mlx5_aso_alloc_cq()
121 static int mlx5_aso_create_cq(struct mlx5_core_dev *mdev, int numa_node, in mlx5_aso_create_cq() argument
136 err = mlx5_aso_alloc_cq(mdev, numa_node, cqc_data, cq); in mlx5_aso_create_cq()
158 static int mlx5_aso_alloc_sq(struct mlx5_core_dev *mdev, int numa_node, in mlx5_aso_alloc_sq() argument
168 param.db_numa_node = numa_node; in mlx5_aso_alloc_sq()
169 param.buf_numa_node = numa_node; in mlx5_aso_alloc_sq()
269 static int mlx5_aso_create_sq(struct mlx5_core_dev *mdev, int numa_node, in mlx5_aso_create_sq() argument
284 err = mlx5_aso_alloc_sq(mdev, numa_node, sqc_data, sq); in mlx5_aso_create_sq()
[all …]
/linux-6.6.21/drivers/dax/
Dkmem.c59 int numa_node; in dev_dax_kmem_probe() local
67 numa_node = dev_dax->target_node; in dev_dax_kmem_probe()
68 if (numa_node < 0) { in dev_dax_kmem_probe()
70 numa_node); in dev_dax_kmem_probe()
91 init_node_memory_type(numa_node, dax_slowmem_type); in dev_dax_kmem_probe()
102 rc = memory_group_register_static(numa_node, PFN_UP(total_len)); in dev_dax_kmem_probe()
170 clear_node_memory_type(numa_node, dax_slowmem_type); in dev_dax_kmem_probe()
/linux-6.6.21/include/linux/
Dtopology.h83 DECLARE_PER_CPU(int, numa_node);
89 return raw_cpu_read(numa_node); in numa_node_id()
96 return per_cpu(numa_node, cpu); in cpu_to_node()
103 this_cpu_write(numa_node, node); in set_numa_node()
110 per_cpu(numa_node, cpu) = node; in set_cpu_numa_node()
/linux-6.6.21/Documentation/driver-api/cxl/
Dmemory-devices.rst64 "numa_node":1,
76 "numa_node":1,
94 "numa_node":1,
106 "numa_node":1,
130 "numa_node":0,
142 "numa_node":0,
160 "numa_node":0,
172 "numa_node":0,
243 "numa_node":0,
270 "numa_node":0,
[all …]
/linux-6.6.21/drivers/virt/nitro_enclaves/
Dne_misc_dev.c124 int numa_node; member
186 int numa_node = -1; in ne_setup_cpu_pool() local
228 if (numa_node < 0) { in ne_setup_cpu_pool()
229 numa_node = cpu_to_node(cpu); in ne_setup_cpu_pool()
230 if (numa_node < 0) { in ne_setup_cpu_pool()
232 ne_misc_dev.name, numa_node); in ne_setup_cpu_pool()
239 if (numa_node != cpu_to_node(cpu)) { in ne_setup_cpu_pool()
353 ne_cpu_pool.numa_node = numa_node; in ne_setup_cpu_pool()
373 ne_cpu_pool.numa_node = -1; in ne_setup_cpu_pool()
416 ne_cpu_pool.numa_node = -1; in ne_teardown_cpu_pool()
[all …]
Dne_misc_dev.h77 int numa_node; member
/linux-6.6.21/drivers/net/ethernet/fungible/funeth/
Dfuneth_rx.c622 int numa_node; in fun_rxq_create_sw() local
624 numa_node = fun_irq_node(irq); in fun_rxq_create_sw()
625 q = kzalloc_node(sizeof(*q), GFP_KERNEL, numa_node); in fun_rxq_create_sw()
633 q->numa_node = numa_node; in fun_rxq_create_sw()
639 sizeof(*q->bufs), false, numa_node, in fun_rxq_create_sw()
645 false, numa_node, &q->cq_dma_addr, NULL, in fun_rxq_create_sw()
650 err = fun_rxq_init_cache(&q->cache, nrqe, numa_node); in fun_rxq_create_sw()
654 err = fun_rxq_alloc_bufs(q, numa_node); in fun_rxq_create_sw()
751 q->numa_node, q->headroom); in fun_rxq_create_dev()
Dfuneth_tx.c630 int numa_node; in fun_txq_create_sw() local
633 numa_node = fun_irq_node(irq); /* skb Tx queue */ in fun_txq_create_sw()
635 numa_node = cpu_to_node(qidx); /* XDP Tx queue */ in fun_txq_create_sw()
637 q = kzalloc_node(sizeof(*q), GFP_KERNEL, numa_node); in fun_txq_create_sw()
643 sizeof(*q->info), true, numa_node, in fun_txq_create_sw()
652 q->numa_node = numa_node; in fun_txq_create_sw()
719 q->ethid, q->numa_node); in fun_txq_create_dev()
Dfuneth_txrx.h126 int numa_node; member
196 int numa_node; member
/linux-6.6.21/drivers/nvdimm/
Dof_pmem.c63 ndr_desc.numa_node = dev_to_node(&pdev->dev); in of_pmem_region_probe()
64 ndr_desc.target_node = ndr_desc.numa_node; in of_pmem_region_probe()
Dvirtio_pmem.c82 ndr_desc.numa_node = memory_add_physaddr_to_nid(res.start); in virtio_pmem_probe()
85 ndr_desc.target_node = ndr_desc.numa_node; in virtio_pmem_probe()
/linux-6.6.21/arch/sparc/kernel/
Dpci.c255 int numa_node) in pci_init_dev_archdata() argument
261 sd->numa_node = numa_node; in pci_init_dev_archdata()
280 pbm->numa_node); in of_create_pci_dev()
284 sd->numa_node = pbm->numa_node; in of_create_pci_dev()
771 return pbm->numa_node; in pcibus_to_node()
885 psd->numa_node); in pcibios_device_add()
Dof_device_common.c69 op->dev.archdata.numa_node = bus_sd->numa_node; in of_propagate_archdata()
/linux-6.6.21/kernel/bpf/
Dringbuf.c87 static struct bpf_ringbuf *bpf_ringbuf_area_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_area_alloc() argument
117 pages = bpf_map_area_alloc(array_size, numa_node); in bpf_ringbuf_area_alloc()
122 page = alloc_pages_node(numa_node, flags, 0); in bpf_ringbuf_area_alloc()
166 static struct bpf_ringbuf *bpf_ringbuf_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_alloc() argument
170 rb = bpf_ringbuf_area_alloc(data_sz, numa_node); in bpf_ringbuf_alloc()
204 rb_map->rb = bpf_ringbuf_alloc(attr->max_entries, rb_map->map.numa_node); in ringbuf_map_alloc()
Dlocal_storage.c169 map->numa_node); in cgroup_storage_update_elem()
288 int numa_node = bpf_map_attr_numa_node(attr); in cgroup_storage_map_alloc() local
316 map = bpf_map_area_alloc(sizeof(struct bpf_cgroup_storage_map), numa_node); in cgroup_storage_map_alloc()
515 gfp, map->numa_node); in bpf_cgroup_storage_alloc()
521 map->numa_node); in bpf_cgroup_storage_alloc()
Dbloom_filter.c86 int numa_node = bpf_map_attr_numa_node(attr); in bloom_map_alloc() local
134 bloom = bpf_map_area_alloc(sizeof(*bloom) + bitset_bytes, numa_node); in bloom_map_alloc()
/linux-6.6.21/tools/perf/util/
Denv.h28 struct numa_node { struct
93 struct numa_node *numa_nodes;
/linux-6.6.21/net/xdp/
Dxskmap.c67 int numa_node; in xsk_map_alloc() local
75 numa_node = bpf_map_attr_numa_node(attr); in xsk_map_alloc()
78 m = bpf_map_area_alloc(size, numa_node); in xsk_map_alloc()
/linux-6.6.21/arch/sparc/include/asm/
Ddevice.h18 int numa_node; member
/linux-6.6.21/drivers/net/ethernet/fungible/funcore/
Dfun_queue.c21 int numa_node, dma_addr_t *dma_addr, void **sw_va, in fun_alloc_ring_mem() argument
28 if (numa_node == NUMA_NO_NODE) in fun_alloc_ring_mem()
29 numa_node = dev_node; in fun_alloc_ring_mem()
36 set_dev_node(dma_dev, numa_node); in fun_alloc_ring_mem()
44 numa_node); in fun_alloc_ring_mem()
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_crat.c1831 int numa_node = NUMA_NO_NODE; in kfd_find_numa_node_in_srat() local
1877 numa_node = pxm_to_node(gpu->proximity_domain); in kfd_find_numa_node_in_srat()
1895 if (found && (numa_node < 0 || in kfd_find_numa_node_in_srat()
1896 numa_node > pxm_to_node(max_pxm))) in kfd_find_numa_node_in_srat()
1897 numa_node = 0; in kfd_find_numa_node_in_srat()
1899 if (numa_node != NUMA_NO_NODE) in kfd_find_numa_node_in_srat()
1900 set_dev_node(&kdev->adev->pdev->dev, numa_node); in kfd_find_numa_node_in_srat()
1968 if (kdev->adev->pdev->dev.numa_node == NUMA_NO_NODE && in kfd_fill_gpu_direct_io_link_to_cpu()
1973 if (kdev->adev->pdev->dev.numa_node == NUMA_NO_NODE) in kfd_fill_gpu_direct_io_link_to_cpu()
1976 sub_type_hdr->proximity_domain_to = kdev->adev->pdev->dev.numa_node; in kfd_fill_gpu_direct_io_link_to_cpu()
/linux-6.6.21/drivers/net/ethernet/amazon/ena/
Dena_eth_com.h198 u8 numa_node) in ena_com_update_numa_node() argument
205 numa_cfg.numa_cfg = (numa_node & ENA_ETH_IO_NUMA_NODE_CFG_REG_NUMA_MASK) in ena_com_update_numa_node()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deq.c289 &eq->frag_buf, dev->priv.numa_node); in create_map_eq()
445 dev->priv.numa_node); in mlx5_eq_table_init()
752 dev->priv.numa_node); in mlx5_eq_create_generic()
831 static int mlx5_cpumask_default_spread(int numa_node, int index) in mlx5_cpumask_default_spread() argument
840 for_each_numa_hop_mask(mask, numa_node) { in mlx5_cpumask_default_spread()
876 cpu = mlx5_cpumask_default_spread(dev->priv.numa_node, vecidx); in comp_irq_request_pci()
1026 eq = kzalloc_node(sizeof(*eq), GFP_KERNEL, dev->priv.numa_node); in create_comp_eq()
1141 cpu = mlx5_cpumask_default_spread(dev->priv.numa_node, vector); in mlx5_comp_vector_get_cpu()
/linux-6.6.21/drivers/hv/
Dchannel_mgmt.c739 int numa_node; in init_vp_index() local
760 numa_node = next_numa_node_id++; in init_vp_index()
761 if (numa_node == nr_node_ids) { in init_vp_index()
765 if (cpumask_empty(cpumask_of_node(numa_node))) in init_vp_index()
769 allocated_mask = &hv_context.hv_numa_map[numa_node]; in init_vp_index()
772 cpumask_xor(available_mask, allocated_mask, cpumask_of_node(numa_node)); in init_vp_index()
/linux-6.6.21/drivers/scsi/elx/efct/
Defct_driver.h61 u32 numa_node; member

12345678