dev_to_node        61 arch/arm64/kernel/pci.c 	return dev_to_node(&bus->dev);
dev_to_node        46 arch/powerpc/kernel/dma-iommu.c 				    dev_to_node(dev));
dev_to_node       548 arch/powerpc/platforms/cell/iommu.c 	iommu = cell_iommu_for_node(dev_to_node(dev));
dev_to_node       551 arch/powerpc/platforms/cell/iommu.c 		       dev->of_node, dev_to_node(dev));
dev_to_node       371 arch/powerpc/platforms/pseries/papr_scm.c 	target_nid = dev_to_node(&p->pdev->dev);
dev_to_node       493 arch/powerpc/platforms/pseries/vio.c 				    dev_to_node(dev));
dev_to_node       662 arch/x86/kernel/acpi/boot.c 	node = dev ? dev_to_node(dev) : NUMA_NO_NODE;
dev_to_node       258 arch/x86/pci/intel_mid_pci.c 	ioapic_set_alloc_attr(&info, dev_to_node(&dev->dev), 1, polarity);
dev_to_node      2148 drivers/base/core.c 	if (parent && (dev_to_node(dev) == NUMA_NO_NODE))
dev_to_node      2149 drivers/base/core.c 		set_dev_node(dev, dev_to_node(parent));
dev_to_node      3125 drivers/base/core.c 		set_dev_node(dev, dev_to_node(new_parent));
dev_to_node      3140 drivers/base/core.c 					set_dev_node(dev, dev_to_node(old_parent));
dev_to_node       815 drivers/base/devres.c 	dr = alloc_dr(devm_kmalloc_release, size, gfp, dev_to_node(dev));
dev_to_node        48 drivers/base/test/test_async_driver_probe.c 		    dev_to_node(dev) != numa_node_id()) {
dev_to_node        50 drivers/base/test/test_async_driver_probe.c 				 dev_to_node(dev), numa_node_id());
dev_to_node      4017 drivers/block/mtip32xx/mtip32xx.c 		my_node, pcibus_to_node(pdev->bus), dev_to_node(&pdev->dev),
dev_to_node       710 drivers/crypto/cavium/cpt/cptvf_main.c 	cptvf->node = dev_to_node(&pdev->dev);
dev_to_node       475 drivers/crypto/cavium/nitrox/nitrox_main.c 	ndev->node = dev_to_node(&pdev->dev);
dev_to_node       249 drivers/crypto/cavium/zip/zip_main.c 		 pdev->vendor, pdev->device, dev_to_node(dev));
dev_to_node       137 drivers/crypto/qat/qat_c3xxx/adf_drv.c 	if (num_possible_nodes() > 1 && dev_to_node(&pdev->dev) < 0) {
dev_to_node       146 drivers/crypto/qat/qat_c3xxx/adf_drv.c 				 dev_to_node(&pdev->dev));
dev_to_node       165 drivers/crypto/qat/qat_c3xxx/adf_drv.c 			       dev_to_node(&pdev->dev));
dev_to_node       140 drivers/crypto/qat/qat_c3xxxvf/adf_drv.c 				 dev_to_node(&pdev->dev));
dev_to_node       160 drivers/crypto/qat/qat_c3xxxvf/adf_drv.c 			       dev_to_node(&pdev->dev));
dev_to_node       137 drivers/crypto/qat/qat_c62x/adf_drv.c 	if (num_possible_nodes() > 1 && dev_to_node(&pdev->dev) < 0) {
dev_to_node       146 drivers/crypto/qat/qat_c62x/adf_drv.c 				 dev_to_node(&pdev->dev));
dev_to_node       165 drivers/crypto/qat/qat_c62x/adf_drv.c 			       dev_to_node(&pdev->dev));
dev_to_node       140 drivers/crypto/qat/qat_c62xvf/adf_drv.c 				 dev_to_node(&pdev->dev));
dev_to_node       160 drivers/crypto/qat/qat_c62xvf/adf_drv.c 			       dev_to_node(&pdev->dev));
dev_to_node       244 drivers/crypto/qat/qat_common/adf_admin.c 			     dev_to_node(&GET_DEV(accel_dev)));
dev_to_node       242 drivers/crypto/qat/qat_common/adf_isr.c 			       GFP_KERNEL, dev_to_node(&GET_DEV(accel_dev)));
dev_to_node       418 drivers/crypto/qat/qat_common/adf_transport.c 					     dev_to_node(&GET_DEV(accel_dev)));
dev_to_node       469 drivers/crypto/qat/qat_common/adf_transport.c 				dev_to_node(&GET_DEV(accel_dev)));
dev_to_node       476 drivers/crypto/qat/qat_common/adf_transport.c 				       dev_to_node(&GET_DEV(accel_dev)));
dev_to_node       726 drivers/crypto/qat/qat_common/qat_algs.c 			    dev_to_node(&GET_DEV(inst->accel_dev)));
dev_to_node       760 drivers/crypto/qat/qat_common/qat_algs.c 				       dev_to_node(&GET_DEV(inst->accel_dev)));
dev_to_node       104 drivers/crypto/qat/qat_common/qat_crypto.c 		if ((node == dev_to_node(&GET_DEV(tmp_dev)) ||
dev_to_node       105 drivers/crypto/qat/qat_common/qat_crypto.c 		     dev_to_node(&GET_DEV(tmp_dev)) < 0) &&
dev_to_node       262 drivers/crypto/qat/qat_common/qat_crypto.c 				    dev_to_node(&GET_DEV(accel_dev)));
dev_to_node       137 drivers/crypto/qat/qat_dh895xcc/adf_drv.c 	if (num_possible_nodes() > 1 && dev_to_node(&pdev->dev) < 0) {
dev_to_node       146 drivers/crypto/qat/qat_dh895xcc/adf_drv.c 				 dev_to_node(&pdev->dev));
dev_to_node       165 drivers/crypto/qat/qat_dh895xcc/adf_drv.c 			       dev_to_node(&pdev->dev));
dev_to_node       140 drivers/crypto/qat/qat_dh895xccvf/adf_drv.c 				 dev_to_node(&pdev->dev));
dev_to_node       160 drivers/crypto/qat/qat_dh895xccvf/adf_drv.c 			       dev_to_node(&pdev->dev));
dev_to_node       376 drivers/crypto/virtio/virtio_crypto_algs.c 				dev_to_node(&vcrypto->vdev->dev));
dev_to_node       381 drivers/crypto/virtio/virtio_crypto_algs.c 				dev_to_node(&vcrypto->vdev->dev));
dev_to_node       438 drivers/crypto/virtio/virtio_crypto_algs.c 				dev_to_node(&vcrypto->vdev->dev));
dev_to_node       311 drivers/crypto/virtio/virtio_crypto_core.c 	if (num_possible_nodes() > 1 && dev_to_node(&vdev->dev) < 0) {
dev_to_node       322 drivers/crypto/virtio/virtio_crypto_core.c 					dev_to_node(&vdev->dev));
dev_to_node       194 drivers/crypto/virtio/virtio_crypto_mgr.c 		if ((node == dev_to_node(&tmp_dev->vdev->dev) ||
dev_to_node       195 drivers/crypto/virtio/virtio_crypto_mgr.c 		     dev_to_node(&tmp_dev->vdev->dev) < 0) &&
dev_to_node       377 drivers/dma/dmaengine.c 	int node = dev_to_node(chan->device->dev);
dev_to_node       653 drivers/edac/thunderx_edac.c 	int node = dev_to_node(&pdev->dev);
dev_to_node       575 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 			    dev_to_node(dev));
dev_to_node       580 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c 				dev_to_node(dev));
dev_to_node       270 drivers/hwtracing/coresight/coresight-tmc-etr.c 			     dev_to_node(sg_table->dev),
dev_to_node      1352 drivers/ide/ide-probe.c 	int node = dev ? dev_to_node(dev) : -1;
dev_to_node      1557 drivers/infiniband/hw/qib/qib_init.c 		old_node_id = dev_to_node(&dd->pcidev->dev);
dev_to_node      1662 drivers/infiniband/hw/qib/qib_init.c 		old_node_id = dev_to_node(&dd->pcidev->dev);
dev_to_node       422 drivers/infiniband/sw/siw/siw_main.c 	sdev->numa_node = dev_to_node(parent);
dev_to_node       496 drivers/iommu/dma-iommu.c 	unsigned int i = 0, nid = dev_to_node(dev);
dev_to_node       965 drivers/iommu/dma-iommu.c 	int node = dev_to_node(dev);
dev_to_node       240 drivers/iommu/io-pgtable-arm.c 	p = alloc_pages_node(dev ? dev_to_node(dev) : NUMA_NO_NODE,
dev_to_node       418 drivers/media/pci/solo6x10/solo6x10-core.c 	set_dev_node(dev, dev_to_node(&solo_dev->pdev->dev));
dev_to_node       349 drivers/net/ethernet/amazon/ena/ena_com.c 		dev_node = dev_to_node(ena_dev->dmadev);
dev_to_node       380 drivers/net/ethernet/amazon/ena/ena_com.c 		dev_node = dev_to_node(ena_dev->dmadev);
dev_to_node       434 drivers/net/ethernet/amazon/ena/ena_com.c 	prev_node = dev_to_node(ena_dev->dmadev);
dev_to_node       203 drivers/net/ethernet/amd/xgbe/xgbe-desc.c 	int cur_node = dev_to_node(dev);
dev_to_node       201 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		cpu = cpumask_local_spread(i, dev_to_node(pdata->dev));
dev_to_node      2808 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	pp.nid = dev_to_node(&bp->pdev->dev);
dev_to_node      8238 drivers/net/ethernet/broadcom/bnxt/bnxt.c 			int numa_node = dev_to_node(&bp->pdev->dev);
dev_to_node       114 drivers/net/ethernet/cavium/liquidio/lio_core.c 		int numa_node = dev_to_node(&oct->pci_dev->dev);
dev_to_node       870 drivers/net/ethernet/cavium/liquidio/octeon_device.c 	int numa_node = dev_to_node(&oct->pci_dev->dev);
dev_to_node       914 drivers/net/ethernet/cavium/liquidio/octeon_device.c 	int numa_node = dev_to_node(&oct->pci_dev->dev);
dev_to_node       229 drivers/net/ethernet/cavium/liquidio/octeon_droq.c 	int numa_node = dev_to_node(&oct->pci_dev->dev);
dev_to_node       933 drivers/net/ethernet/cavium/liquidio/octeon_droq.c 	int numa_node = dev_to_node(&oct->pci_dev->dev);
dev_to_node        65 drivers/net/ethernet/cavium/liquidio/request_manager.c 	int numa_node = dev_to_node(&oct->pci_dev->dev);
dev_to_node       211 drivers/net/ethernet/cavium/liquidio/request_manager.c 	int numa_node = dev_to_node(&oct->pci_dev->dev);
dev_to_node       721 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	cpumask_set_cpu(cpumask_local_spread(idx, dev_to_node(adap->pdev_dev)),
dev_to_node      3611 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c 	node = dev_to_node(adapter->pdev_dev);
dev_to_node       692 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c 	lld->nodeid = dev_to_node(adap->pdev_dev);
dev_to_node       608 drivers/net/ethernet/chelsio/cxgb4/sge.c 	node = dev_to_node(adap->pdev_dev);
dev_to_node      3527 drivers/net/ethernet/chelsio/cxgb4/sge.c 			      dev_to_node(adap->pdev_dev));
dev_to_node      3571 drivers/net/ethernet/chelsio/cxgb4/sge.c 				      dev_to_node(adap->pdev_dev));
dev_to_node      3828 drivers/net/ethernet/chelsio/cxgb4/sge.c 				 NULL, 0, dev_to_node(adap->pdev_dev));
dev_to_node       117 drivers/net/ethernet/cisco/enic/enic_main.c 	int numa_node = dev_to_node(&enic->pdev->dev);
dev_to_node      2965 drivers/net/ethernet/emulex/benet/be_main.c 		int numa_node = dev_to_node(&adapter->pdev->dev);
dev_to_node      3304 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	numa_node = dev_to_node(&pdev->dev);
dev_to_node      1393 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	i = cpumask_weight(cpumask_of_node(dev_to_node(&hdev->pdev->dev)));
dev_to_node      1395 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c 	cpumask_set_cpu(cpumask_local_spread(i, dev_to_node(&hdev->pdev->dev)),
dev_to_node       352 drivers/net/ethernet/huawei/hinic/hinic_main.c 		if (node == dev_to_node(&pdev->dev))
dev_to_node      6446 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	int orig_node = dev_to_node(dev);
dev_to_node      6540 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c 	int orig_node = dev_to_node(dev);
dev_to_node      3345 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->numa_node = dev_to_node(&pdev->dev);
dev_to_node        65 drivers/net/ethernet/mellanox/mlx5/core/alloc.c 	original_node = dev_to_node(device);
dev_to_node      2183 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	param->wq.buf_numa_node = dev_to_node(mdev->device);
dev_to_node      2198 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	param->wq.buf_numa_node = dev_to_node(mdev->device);
dev_to_node      2210 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	param->wq.buf_numa_node = dev_to_node(priv->mdev->device);
dev_to_node      3144 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	param->wq.buf_numa_node = dev_to_node(mdev->device);
dev_to_node      3145 drivers/net/ethernet/mellanox/mlx5/core/en_main.c 	param->wq.db_numa_node  = dev_to_node(mdev->device);
dev_to_node       748 drivers/net/ethernet/mellanox/mlx5/core/main.c 	priv->numa_node = dev_to_node(&dev->pdev->dev);
dev_to_node       215 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c 	int nid = dev_to_node(device);
dev_to_node       678 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	int node = dev_to_node(adpt->netdev->dev.parent);
dev_to_node       719 drivers/net/ethernet/qualcomm/emac/emac-mac.c 	int node = dev_to_node(adpt->netdev->dev.parent);
dev_to_node      5540 drivers/net/ethernet/realtek/r8169_main.c 	int node = dev_to_node(d);
dev_to_node      1560 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		pp_params.nid = dev_to_node(priv->device);
dev_to_node      1539 drivers/net/usb/r8152.c 	int node = netdev->dev.parent ? dev_to_node(netdev->dev.parent) : -1;
dev_to_node      1616 drivers/net/usb/r8152.c 	node = netdev->dev.parent ? dev_to_node(netdev->dev.parent) : -1;
dev_to_node       590 drivers/ntb/hw/amd/ntb_hw_amd.c 	node = dev_to_node(&pdev->dev);
dev_to_node      1064 drivers/ntb/hw/amd/ntb_hw_amd.c 	node = dev_to_node(&pdev->dev);
dev_to_node       371 drivers/ntb/hw/intel/ntb_hw_gen1.c 	node = dev_to_node(&pdev->dev);
dev_to_node      1860 drivers/ntb/hw/intel/ntb_hw_gen1.c 	node = dev_to_node(&pdev->dev);
dev_to_node      1487 drivers/ntb/hw/mscc/ntb_hw_switchtec.c 	sndev = kzalloc_node(sizeof(*sndev), GFP_KERNEL, dev_to_node(dev));
dev_to_node       396 drivers/ntb/ntb_transport.c 		node = dev_to_node(&nt->ndev->dev);
dev_to_node       657 drivers/ntb/ntb_transport.c 	node = dev_to_node(&ndev->dev);
dev_to_node      1269 drivers/ntb/ntb_transport.c 	node = dev_to_node(&ndev->dev);
dev_to_node      1959 drivers/ntb/ntb_transport.c 	return dev_to_node(&chan->dev->device) == (int)(unsigned long)node;
dev_to_node      1995 drivers/ntb/ntb_transport.c 	node = dev_to_node(&ndev->dev);
dev_to_node       859 drivers/ntb/test/ntb_perf.c 	node = dev_to_node(&perf->ntb->dev);
dev_to_node       861 drivers/ntb/test/ntb_perf.c 	return node == NUMA_NO_NODE || node == dev_to_node(chan->device->dev);
dev_to_node       870 drivers/ntb/test/ntb_perf.c 				 dev_to_node(&perf->ntb->dev));
dev_to_node       539 drivers/nvdimm/bus.c 		if (dev_to_node(dev) == NUMA_NO_NODE)
dev_to_node       540 drivers/nvdimm/bus.c 			set_dev_node(dev, dev_to_node(dev->parent));
dev_to_node       680 drivers/nvdimm/bus.c 	return sprintf(buf, "%d\n", dev_to_node(dev));
dev_to_node        70 drivers/nvdimm/of_pmem.c 		ndr_desc.numa_node = dev_to_node(&pdev->dev);
dev_to_node       357 drivers/nvdimm/pmem.c 	int nid = dev_to_node(dev), fua;
dev_to_node       401 drivers/nvdimm/pmem.c 	q = blk_alloc_queue_node(GFP_KERNEL, dev_to_node(dev));
dev_to_node        35 drivers/nvdimm/virtio_pmem.c 	int nid = dev_to_node(&vdev->dev);
dev_to_node      3080 drivers/nvme/host/fc.c 		ctrl->ctrl.numa_node = dev_to_node(lport->dev);
dev_to_node      1629 drivers/nvme/host/pci.c 		dev->admin_tagset.numa_node = dev_to_node(dev->dev);
dev_to_node      2279 drivers/nvme/host/pci.c 		dev->tagset.numa_node = dev_to_node(dev->dev);
dev_to_node      2789 drivers/nvme/host/pci.c 	node = dev_to_node(&pdev->dev);
dev_to_node       788 drivers/nvme/host/rdma.c 	ctrl->ctrl.numa_node = dev_to_node(ctrl->device->dev->dma_device);
dev_to_node      1331 drivers/pci/msi.c 	return dev_to_node(&pdev->dev);
dev_to_node       123 drivers/pci/p2pdma.c 	p2p->pool = gen_pool_create(PAGE_SHIFT, dev_to_node(&pdev->dev));
dev_to_node       205 drivers/pci/p2pdma.c 			resource_size(&pgmap->res), dev_to_node(&pdev->dev),
dev_to_node       342 drivers/pci/pci-driver.c 	node = dev_to_node(&dev->dev);
dev_to_node        84 drivers/pci/pci-sysfs.c 	mask = (dev_to_node(dev) == -1) ? cpu_online_mask :
dev_to_node        85 drivers/pci/pci-sysfs.c 					  cpumask_of_node(dev_to_node(dev));
dev_to_node      1129 drivers/pci/switch/switchtec.c 			     dev_to_node(&pdev->dev));
dev_to_node       651 drivers/perf/thunderx2_pmu.c 	tx2_pmu->node = dev_to_node(dev);
dev_to_node       792 drivers/perf/thunderx2_pmu.c 	dev_info(dev, "node%d: pmu uncore registered\n", dev_to_node(dev));
dev_to_node       803 drivers/perf/thunderx2_pmu.c 			if (tx2_pmu->node == dev_to_node(dev)) {
dev_to_node      14556 drivers/scsi/lpfc/lpfc_sli.c 				      dev_to_node(&phba->pcidev->dev));
dev_to_node      5770 drivers/scsi/megaraid/megaraid_sas_base.c 		local_numa_node = dev_to_node(&instance->pdev->dev);
dev_to_node      2913 drivers/scsi/mpt3sas/mpt3sas_base.c 			local_numa_node = dev_to_node(&ioc->pdev->dev);
dev_to_node      7880 drivers/scsi/smartpqi/smartpqi_init.c 	node = dev_to_node(&pci_dev->dev);
dev_to_node      2928 drivers/usb/core/hcd.c 						  dev_to_node(hcd->self.sysdev),
dev_to_node      2944 drivers/usb/core/hcd.c 				dma, size, dev_to_node(hcd->self.sysdev));
dev_to_node       615 drivers/usb/core/usb.c 	set_dev_node(&dev->dev, dev_to_node(bus->sysdev));
dev_to_node        38 drivers/usb/host/xhci-mem.c 	seg = kzalloc_node(sizeof(*seg), flags, dev_to_node(dev));
dev_to_node        50 drivers/usb/host/xhci-mem.c 					dev_to_node(dev));
dev_to_node       370 drivers/usb/host/xhci-mem.c 	ring = kzalloc_node(sizeof(*ring), flags, dev_to_node(dev));
dev_to_node       469 drivers/usb/host/xhci-mem.c 	ctx = kzalloc_node(sizeof(*ctx), flags, dev_to_node(dev));
dev_to_node       634 drivers/usb/host/xhci-mem.c 			dev_to_node(dev));
dev_to_node       644 drivers/usb/host/xhci-mem.c 			dev_to_node(dev));
dev_to_node       851 drivers/usb/host/xhci-mem.c 				dev_to_node(dev));
dev_to_node      1663 drivers/usb/host/xhci-mem.c 				dev_to_node(dev));
dev_to_node      1674 drivers/usb/host/xhci-mem.c 					flags, dev_to_node(dev));
dev_to_node      1744 drivers/usb/host/xhci-mem.c 	command = kzalloc_node(sizeof(*command), mem_flags, dev_to_node(dev));
dev_to_node      1751 drivers/usb/host/xhci-mem.c 				dev_to_node(dev));
dev_to_node      2175 drivers/usb/host/xhci-mem.c 					     GFP_KERNEL, dev_to_node(dev));
dev_to_node      2247 drivers/usb/host/xhci-mem.c 			dev_to_node(dev));
dev_to_node      2279 drivers/usb/host/xhci-mem.c 				flags, dev_to_node(dev));
dev_to_node      2290 drivers/usb/host/xhci-mem.c 				   dev_to_node(dev));
dev_to_node      2318 drivers/usb/host/xhci-mem.c 				flags, dev_to_node(dev));
dev_to_node      2323 drivers/usb/host/xhci-mem.c 				flags, dev_to_node(dev));
dev_to_node        90 include/linux/async.h 	return async_schedule_node(func, dev, dev_to_node(dev));
dev_to_node       112 include/linux/async.h 	return async_schedule_node_domain(func, dev, dev_to_node(dev), domain);
dev_to_node      1352 include/linux/device.h static inline int dev_to_node(struct device *dev)
dev_to_node      1591 include/linux/ide.h 	return hwif->dev ? dev_to_node(hwif->dev) : -1;
dev_to_node        90 kernel/dma/direct.c 	int node = dev_to_node(dev);
dev_to_node       145 kernel/iomem.c 			dev_to_node(dev));
dev_to_node       418 kernel/irq/msi.c 					       dev_to_node(dev), &arg, false,
dev_to_node       157 mm/dmapool.c   	retval = kmalloc_node(sizeof(*retval), GFP_KERNEL, dev_to_node(dev));
dev_to_node       348 mm/memremap.c  	ret = memremap_pages(pgmap, dev_to_node(dev));
dev_to_node       267 net/rds/ib.h   #define ibdev_to_node(ibdev) dev_to_node((ibdev)->dev.parent)