Home
last modified time | relevance | path

Searched refs:dev_to_node (Results 1 – 25 of 138) sorted by relevance

123456

/linux-6.6.21/drivers/dma/idxd/
Dinit.c154 GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
158 idxd->wq_enable_map = bitmap_zalloc_node(idxd->max_wqs, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
165 wq = kzalloc_node(sizeof(*wq), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
192 wq->wqcfg = kzalloc_node(idxd->wqcfg_size, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
232 GFP_KERNEL, dev_to_node(dev)); in idxd_setup_engines()
237 engine = kzalloc_node(sizeof(*engine), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_engines()
279 GFP_KERNEL, dev_to_node(dev)); in idxd_setup_groups()
284 group = kzalloc_node(sizeof(*group), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_groups()
352 evl = kzalloc_node(sizeof(*evl), GFP_KERNEL, dev_to_node(dev)); in idxd_init_evl()
526 idxd = kzalloc_node(sizeof(*idxd), GFP_KERNEL, dev_to_node(dev)); in idxd_alloc()
[all …]
Ddma.c204 idxd_dma = kzalloc_node(sizeof(*idxd_dma), GFP_KERNEL, dev_to_node(dev)); in idxd_register_dma_device()
257 idxd_chan = kzalloc_node(sizeof(*idxd_chan), GFP_KERNEL, dev_to_node(dev)); in idxd_register_dma_channel()
/linux-6.6.21/include/linux/
Dasync.h90 return async_schedule_node(func, dev, dev_to_node(dev)); in async_schedule_dev()
114 return async_schedule_node_domain(func, dev, dev_to_node(dev), domain); in async_schedule_dev_domain()
/linux-6.6.21/lib/
Ddevres.c33 dev_to_node(dev)); in __devm_ioremap()
282 dev_to_node(dev)); in devm_ioport_map()
357 dev_to_node(&pdev->dev)); in pcim_iomap_table()
540 dev_to_node(dev)); in devm_arch_phys_wc_add()
586 dev_to_node(dev)); in devm_arch_io_reserve_memtype_wc()
/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()
100 dev_to_node(&pdev->dev)); in adf_probe()
119 dev_to_node(&pdev->dev)); 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()
100 dev_to_node(&pdev->dev)); in adf_probe()
119 dev_to_node(&pdev->dev)); 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()
100 dev_to_node(&pdev->dev)); in adf_probe()
119 dev_to_node(&pdev->dev)); in adf_probe()
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dqat_crypto.c60 if ((node == dev_to_node(&GET_DEV(tmp_dev)) || in qat_crypto_get_instance_node()
61 dev_to_node(&GET_DEV(tmp_dev)) < 0) && in qat_crypto_get_instance_node()
153 dev_to_node(&GET_DEV(accel_dev))); in qat_crypto_create_instances()
Dqat_compression.c62 tmp_dev_node = dev_to_node(&GET_DEV(tmp_dev)); in qat_compression_get_instance_node()
137 dev_to_node(&GET_DEV(accel_dev))); in qat_compression_create_instances()
204 obuff = kzalloc_node(ovf_buff_sz, GFP_KERNEL, dev_to_node(dev)); in qat_compression_alloc_dc_data()
Dadf_transport.c407 dev_to_node(&GET_DEV(accel_dev))); in adf_init_bank()
430 dev_to_node(&GET_DEV(accel_dev))); in adf_init_bank()
484 dev_to_node(&GET_DEV(accel_dev))); in adf_init_etr_data()
491 dev_to_node(&GET_DEV(accel_dev))); in adf_init_etr_data()
Dqat_bl.c69 int node = dev_to_node(&GET_DEV(accel_dev)); in __qat_bl_sgl_to_bufl()
272 int node = dev_to_node(dev); in qat_bl_sgl_map()
/linux-6.6.21/drivers/crypto/virtio/
Dvirtio_crypto_mgr.c194 if ((node == dev_to_node(&tmp_dev->vdev->dev) || in virtcrypto_get_dev_node()
195 dev_to_node(&tmp_dev->vdev->dev) < 0) && in virtcrypto_get_dev_node()
Dvirtio_crypto_skcipher_algs.c357 dev_to_node(&vcrypto->vdev->dev)); in __virtio_crypto_skcipher_do_req()
362 dev_to_node(&vcrypto->vdev->dev)); in __virtio_crypto_skcipher_do_req()
419 dev_to_node(&vcrypto->vdev->dev)); in __virtio_crypto_skcipher_do_req()
/linux-6.6.21/drivers/usb/host/
Dxhci-mem.c39 seg = kzalloc_node(sizeof(*seg), flags, dev_to_node(dev)); in xhci_segment_alloc()
51 dev_to_node(dev)); in xhci_segment_alloc()
379 ring = kzalloc_node(sizeof(*ring), flags, dev_to_node(dev)); in xhci_ring_alloc()
469 ctx = kzalloc_node(sizeof(*ctx), flags, dev_to_node(dev)); in xhci_alloc_container_ctx()
610 dev_to_node(dev)); in xhci_alloc_stream_info()
620 dev_to_node(dev)); in xhci_alloc_stream_info()
821 dev_to_node(dev)); in xhci_alloc_tt_info()
1636 dev_to_node(dev)); in scratchpad_alloc()
1647 flags, dev_to_node(dev)); in scratchpad_alloc()
1716 command = kzalloc_node(sizeof(*command), mem_flags, dev_to_node(dev)); in xhci_alloc_command()
[all …]
/linux-6.6.21/arch/riscv/include/asm/
Dpci.h21 return dev_to_node(&bus->dev); in pcibus_to_node()
/linux-6.6.21/drivers/crypto/intel/qat/qat_c3xxxvf/
Dadf_drv.c93 dev_to_node(&pdev->dev)); in adf_probe()
113 dev_to_node(&pdev->dev)); in adf_probe()
/linux-6.6.21/drivers/crypto/intel/qat/qat_dh895xccvf/
Dadf_drv.c93 dev_to_node(&pdev->dev)); in adf_probe()
113 dev_to_node(&pdev->dev)); in adf_probe()
/linux-6.6.21/drivers/crypto/intel/qat/qat_c62xvf/
Dadf_drv.c93 dev_to_node(&pdev->dev)); in adf_probe()
113 dev_to_node(&pdev->dev)); in adf_probe()
/linux-6.6.21/drivers/base/test/
Dtest_async_driver_probe.c48 dev_to_node(dev) != numa_node_id()) { in test_probe()
50 dev_to_node(dev), numa_node_id()); in test_probe()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_managed.c146 dev_to_node(dev->dev)); in __drmm_add_action()
193 dr = alloc_dr(NULL, size, gfp, dev_to_node(dev->dev)); in drmm_kmalloc()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.c346 node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_ptp_alloc_txqsq()
480 err = mlx5e_ptp_alloc_traffic_db(ptpsq, dev_to_node(mlx5_core_dma_dev(c->mdev))); in mlx5e_ptp_open_txqsq()
558 ccp.node = dev_to_node(mlx5_core_dma_dev(c->mdev)); in mlx5e_ptp_open_tx_cqs()
605 ccp.node = dev_to_node(mlx5_core_dma_dev(c->mdev)); in mlx5e_ptp_open_rx_cq()
710 int node = dev_to_node(c->mdev->device); in mlx5e_ptp_open_rq()
865 c = kvzalloc_node(sizeof(*c), GFP_KERNEL, dev_to_node(mlx5_core_dma_dev(mdev))); in mlx5e_ptp_open()
/linux-6.6.21/kernel/
Diomem.c142 dev_to_node(dev)); in devm_memremap()
Dasync.c270 __async_schedule_node_domain(func, dev, dev_to_node(dev), in async_schedule_dev_nocall()
/linux-6.6.21/kernel/dma/
Dops_helpers.c69 page = alloc_pages_node(dev_to_node(dev), gfp, get_order(size)); in dma_common_alloc_pages()
/linux-6.6.21/drivers/nvdimm/
Dof_pmem.c63 ndr_desc.numa_node = dev_to_node(&pdev->dev); in of_pmem_region_probe()

123456