Home
last modified time | relevance | path

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

1234567

/linux/include/trace/events/
H A Dtimer_migration.h21 __field( unsigned int, numa_node )
27 __entry->numa_node = group->numa_node;
31 __entry->group, __entry->lvl, __entry->numa_node)
44 __field( unsigned int, numa_node )
53 __entry->numa_node = child->parent->numa_node;
60 __entry->lvl, __entry->numa_node, __entry->num_children)
73 __field( unsigned int, numa_node )
82 __entry->numa_node = tmc->tmgroup->numa_node;
89 __entry->lvl, __entry->numa_node, __entry->num_children)
102 __field( unsigned int, numa_node )
[all …]
/linux/drivers/dax/
H A Dkmem.c76 int numa_node; in dev_dax_kmem_probe() local
85 numa_node = dev_dax->target_node; in dev_dax_kmem_probe()
86 if (numa_node < 0) { in dev_dax_kmem_probe()
88 numa_node); in dev_dax_kmem_probe()
92 mt_calc_adistance(numa_node, &adist); in dev_dax_kmem_probe()
114 init_node_memory_type(numa_node, mtype); in dev_dax_kmem_probe()
125 rc = memory_group_register_static(numa_node, PFN_UP(total_len)); in dev_dax_kmem_probe()
197 clear_node_memory_type(numa_node, mtype); in dev_dax_kmem_probe()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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/include/linux/
H A 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/Documentation/driver-api/cxl/
H A 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/drivers/virt/nitro_enclaves/
H A 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 …]
H A Dne_misc_dev.h77 int numa_node; member
/linux/drivers/net/ethernet/fungible/funeth/
H A 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()
H A 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()
H A Dfuneth_txrx.h126 int numa_node; member
196 int numa_node; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_send.c558 int numa_node, in hws_send_ring_alloc_sq() argument
572 param.db_numa_node = numa_node; in hws_send_ring_alloc_sq()
573 param.buf_numa_node = numa_node; in hws_send_ring_alloc_sq()
705 int numa_node, in hws_send_ring_open_sq() argument
726 err = hws_send_ring_alloc_sq(ctx->mdev, numa_node, queue, sq, sqc_data); in hws_send_ring_open_sq()
752 int numa_node, in hws_send_ring_alloc_cq() argument
763 param.buf_numa_node = numa_node; in hws_send_ring_alloc_cq()
764 param.db_numa_node = numa_node; in hws_send_ring_alloc_cq()
825 int numa_node, in hws_send_ring_open_cq() argument
839 err = hws_send_ring_alloc_cq(mdev, numa_node, queue, cqc_data, cq); in hws_send_ring_open_cq()
[all …]
/linux/arch/sparc/kernel/
H A 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()
H A Dof_device_common.c69 op->dev.archdata.numa_node = bus_sd->numa_node; in of_propagate_archdata()
H A Diommu.c95 int numa_node) in iommu_table_init() argument
111 iommu->tbl.map = kzalloc_node(sz, GFP_KERNEL, numa_node); in iommu_table_init()
122 page = alloc_pages_node(numa_node, GFP_KERNEL, 0); in iommu_table_init()
133 page = alloc_pages_node(numa_node, GFP_KERNEL, order); in iommu_table_init()
213 nid = dev->archdata.numa_node; in dma_4u_alloc_coherent()
/linux/kernel/bpf/
H A Dringbuf.c89 static struct bpf_ringbuf *bpf_ringbuf_area_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_area_alloc()
119 pages = bpf_map_area_alloc(array_size, numa_node); in bpf_ringbuf_area_alloc()
124 page = alloc_pages_node(numa_node, flags, 0); in bpf_ringbuf_area_alloc()
168 static struct bpf_ringbuf *bpf_ringbuf_alloc(size_t data_sz, int numa_node) in bpf_ringbuf_alloc()
172 rb = bpf_ringbuf_area_alloc(data_sz, numa_node); in bpf_ringbuf_alloc()
207 rb_map->rb = bpf_ringbuf_alloc(attr->max_entries, rb_map->map.numa_node); in ringbuf_map_alloc()
87 bpf_ringbuf_area_alloc(size_t data_sz,int numa_node) bpf_ringbuf_area_alloc() argument
166 bpf_ringbuf_alloc(size_t data_sz,int numa_node) bpf_ringbuf_alloc() argument
H A 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()
H A Dbloom_filter.c98 int numa_node = bpf_map_attr_numa_node(attr); in bloom_map_alloc() local
146 bloom = bpf_map_area_alloc(sizeof(*bloom) + bitset_bytes, numa_node); in bloom_map_alloc()
H A Dqueue_stack_maps.c66 int numa_node = bpf_map_attr_numa_node(attr); in queue_stack_map_alloc() local
73 qs = bpf_map_area_alloc(queue_size, numa_node); in queue_stack_map_alloc()
/linux/tools/perf/util/
H A Denv.h29 struct numa_node { struct
103 struct numa_node *numa_nodes;
30 nodenuma_node global() argument
31 mem_totalnuma_node global() argument
32 mem_freenuma_node global() argument
33 mapnuma_node global() argument
/linux/net/xdp/
H A 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/drivers/net/ethernet/fungible/funcore/
H A 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/arch/sparc/include/asm/
H A Ddevice.h18 int numa_node; member
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_eth_com.h173 u8 numa_node) in ena_com_update_numa_node() argument
180 numa_cfg.numa_cfg = (numa_node & ENA_ETH_IO_NUMA_NODE_CFG_REG_NUMA_MASK) in ena_com_update_numa_node()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_crat.c1996 int numa_node = NUMA_NO_NODE; in kfd_find_numa_node_in_srat() local
2042 numa_node = pxm_to_node(gpu->proximity_domain); in kfd_find_numa_node_in_srat()
2060 if (found && (numa_node < 0 || in kfd_find_numa_node_in_srat()
2061 numa_node > pxm_to_node(max_pxm))) in kfd_find_numa_node_in_srat()
2062 numa_node = 0; in kfd_find_numa_node_in_srat()
2064 if (numa_node != NUMA_NO_NODE) in kfd_find_numa_node_in_srat()
2065 set_dev_node(&kdev->adev->pdev->dev, numa_node); in kfd_find_numa_node_in_srat()
2133 if (kdev->adev->pdev->dev.numa_node == NUMA_NO_NODE && in kfd_fill_gpu_direct_io_link_to_cpu()
2138 if (kdev->adev->pdev->dev.numa_node == NUMA_NO_NODE) in kfd_fill_gpu_direct_io_link_to_cpu()
2141 sub_type_hdr->proximity_domain_to = kdev->adev->pdev->dev.numa_node; in kfd_fill_gpu_direct_io_link_to_cpu()
/linux/kernel/time/
H A Dtimer_migration.h69 int numa_node; member

1234567