/linux-6.6.21/drivers/dma/idxd/ |
D | init.c | 154 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 …]
|
D | dma.c | 204 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/ |
D | async.h | 90 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/ |
D | devres.c | 33 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/ |
D | adf_drv.c | 91 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/ |
D | adf_drv.c | 91 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/ |
D | adf_drv.c | 91 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/ |
D | qat_crypto.c | 60 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()
|
D | qat_compression.c | 62 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()
|
D | adf_transport.c | 407 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()
|
D | qat_bl.c | 69 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/ |
D | virtio_crypto_mgr.c | 194 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()
|
D | virtio_crypto_skcipher_algs.c | 357 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/ |
D | xhci-mem.c | 39 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/ |
D | pci.h | 21 return dev_to_node(&bus->dev); in pcibus_to_node()
|
/linux-6.6.21/drivers/crypto/intel/qat/qat_c3xxxvf/ |
D | adf_drv.c | 93 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/ |
D | adf_drv.c | 93 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/ |
D | adf_drv.c | 93 dev_to_node(&pdev->dev)); in adf_probe() 113 dev_to_node(&pdev->dev)); in adf_probe()
|
/linux-6.6.21/drivers/base/test/ |
D | test_async_driver_probe.c | 48 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/ |
D | drm_managed.c | 146 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/ |
D | ptp.c | 346 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/ |
D | iomem.c | 142 dev_to_node(dev)); in devm_memremap()
|
D | async.c | 270 __async_schedule_node_domain(func, dev, dev_to_node(dev), in async_schedule_dev_nocall()
|
/linux-6.6.21/kernel/dma/ |
D | ops_helpers.c | 69 page = alloc_pages_node(dev_to_node(dev), gfp, get_order(size)); in dma_common_alloc_pages()
|
/linux-6.6.21/drivers/nvdimm/ |
D | of_pmem.c | 63 ndr_desc.numa_node = dev_to_node(&pdev->dev); in of_pmem_region_probe()
|