Home
last modified time | relevance | path

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

123456

/linux-6.1.9/include/linux/
Dasync.h90 return async_schedule_node(func, dev, dev_to_node(dev)); in async_schedule_dev()
112 return async_schedule_node_domain(func, dev, dev_to_node(dev), domain); in async_schedule_dev_domain()
/linux-6.1.9/drivers/dma/idxd/
Dinit.c150 GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
154 idxd->wq_enable_map = bitmap_zalloc_node(idxd->max_wqs, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
161 wq = kzalloc_node(sizeof(*wq), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
188 wq->wqcfg = kzalloc_node(idxd->wqcfg_size, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
226 GFP_KERNEL, dev_to_node(dev)); in idxd_setup_engines()
231 engine = kzalloc_node(sizeof(*engine), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_engines()
273 GFP_KERNEL, dev_to_node(dev)); in idxd_setup_groups()
278 group = kzalloc_node(sizeof(*group), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_groups()
469 idxd = kzalloc_node(sizeof(*idxd), GFP_KERNEL, dev_to_node(dev)); in idxd_alloc()
481 idxd->opcap_bmap = bitmap_zalloc_node(IDXD_MAX_OPCAP_BITS, GFP_KERNEL, dev_to_node(dev)); in idxd_alloc()
Ddma.c209 idxd_dma = kzalloc_node(sizeof(*idxd_dma), GFP_KERNEL, dev_to_node(dev)); in idxd_register_dma_device()
262 idxd_chan = kzalloc_node(sizeof(*idxd_chan), GFP_KERNEL, dev_to_node(dev)); in idxd_register_dma_channel()
/linux-6.1.9/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.1.9/drivers/crypto/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.1.9/drivers/crypto/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.1.9/drivers/crypto/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.1.9/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.c360 dev_to_node(&vcrypto->vdev->dev)); in __virtio_crypto_skcipher_do_req()
365 dev_to_node(&vcrypto->vdev->dev)); in __virtio_crypto_skcipher_do_req()
422 dev_to_node(&vcrypto->vdev->dev)); in __virtio_crypto_skcipher_do_req()
/linux-6.1.9/arch/riscv/include/asm/
Dpci.h21 return dev_to_node(&bus->dev); in pcibus_to_node()
/linux-6.1.9/drivers/usb/host/
Dxhci-mem.c38 seg = kzalloc_node(sizeof(*seg), flags, dev_to_node(dev)); in xhci_segment_alloc()
50 dev_to_node(dev)); in xhci_segment_alloc()
379 ring = kzalloc_node(sizeof(*ring), flags, dev_to_node(dev)); in xhci_ring_alloc()
477 ctx = kzalloc_node(sizeof(*ctx), flags, dev_to_node(dev)); in xhci_alloc_container_ctx()
625 dev_to_node(dev)); in xhci_alloc_stream_info()
635 dev_to_node(dev)); in xhci_alloc_stream_info()
839 dev_to_node(dev)); in xhci_alloc_tt_info()
1658 dev_to_node(dev)); in scratchpad_alloc()
1669 flags, dev_to_node(dev)); in scratchpad_alloc()
1739 command = kzalloc_node(sizeof(*command), mem_flags, dev_to_node(dev)); in xhci_alloc_command()
[all …]
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dqat_crypto.c61 if ((node == dev_to_node(&GET_DEV(tmp_dev)) || in qat_crypto_get_instance_node()
62 dev_to_node(&GET_DEV(tmp_dev)) < 0) && in qat_crypto_get_instance_node()
271 dev_to_node(&GET_DEV(accel_dev))); in qat_crypto_create_instances()
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()
/linux-6.1.9/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.1.9/drivers/crypto/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.1.9/drivers/crypto/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.1.9/drivers/crypto/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.1.9/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.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.c246 node = dev_to_node(mlx5_core_dma_dev(mdev)); in mlx5e_ptp_alloc_txqsq()
331 dev_to_node(mlx5_core_dma_dev(c->mdev))); in mlx5e_ptp_open_txqsq()
405 ccp.node = dev_to_node(mlx5_core_dma_dev(c->mdev)); in mlx5e_ptp_open_tx_cqs()
452 ccp.node = dev_to_node(mlx5_core_dma_dev(c->mdev)); in mlx5e_ptp_open_rx_cq()
554 int node = dev_to_node(c->mdev->device); in mlx5e_ptp_open_rq()
709 c = kvzalloc_node(sizeof(*c), GFP_KERNEL, dev_to_node(mlx5_core_dma_dev(mdev))); in mlx5e_ptp_open()
/linux-6.1.9/drivers/nvdimm/
Dof_pmem.c57 ndr_desc.numa_node = dev_to_node(&pdev->dev); in of_pmem_region_probe()
Dvirtio_pmem.c35 int nid = dev_to_node(&vdev->dev); in virtio_pmem_probe()
/linux-6.1.9/kernel/
Diomem.c145 dev_to_node(dev)); in devm_memremap()
/linux-6.1.9/kernel/dma/
Dops_helpers.c69 page = alloc_pages_node(dev_to_node(dev), gfp, get_order(size)); in dma_common_alloc_pages()
/linux-6.1.9/arch/powerpc/kernel/
Ddma-iommu.c84 dev_to_node(dev)); in dma_iommu_alloc_coherent()
/linux-6.1.9/arch/arm64/kernel/
Dpci.c61 return dev_to_node(&bus->dev); in pcibus_to_node()

123456