/linux/drivers/dma/idxd/ |
H A D | init.c | 185 GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs() 189 idxd->wq_enable_map = bitmap_zalloc_node(idxd->max_wqs, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs() 196 wq = kzalloc_node(sizeof(*wq), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs() 221 wq->wqcfg = kzalloc_node(idxd->wqcfg_size, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs() 290 GFP_KERNEL, dev_to_node(dev)); in idxd_setup_engines() 295 engine = kzalloc_node(sizeof(*engine), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_engines() 354 GFP_KERNEL, dev_to_node(dev)); in idxd_setup_groups() 359 group = kzalloc_node(sizeof(*group), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_groups() 426 evl = kzalloc_node(sizeof(*evl), GFP_KERNEL, dev_to_node(dev)); in idxd_init_evl() 608 idxd = kzalloc_node(sizeof(*idxd), GFP_KERNEL, dev_to_node(dev)); in idxd_alloc() [all …]
|
H A 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/lib/ |
H A D | devres.c | 36 dev_to_node(dev)); in __devm_ioremap() 286 dev_to_node(dev)); in devm_ioport_map() 337 dev_to_node(dev)); in devm_arch_phys_wc_add() 383 dev_to_node(dev)); in devm_arch_io_reserve_memtype_wc()
|
/linux/include/linux/ |
H A 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()
|
H A D | device.h | 765 static inline int dev_to_node(struct device *dev) in dev_to_node() function 774 static inline int dev_to_node(struct device *dev) in dev_to_node() function
|
/linux/drivers/usb/host/ |
H A D | xhci-mem.c | 38 seg = kzalloc_node(sizeof(*seg), flags, dev_to_node(dev)); in xhci_segment_alloc() 50 dev_to_node(dev)); in xhci_segment_alloc() 377 ring = kzalloc_node(sizeof(*ring), flags, dev_to_node(dev)); in xhci_ring_alloc() 461 ctx = kzalloc_node(sizeof(*ctx), flags, dev_to_node(dev)); in xhci_alloc_container_ctx() 493 ctx = kzalloc_node(sizeof(*ctx), flags, dev_to_node(dev)); in xhci_alloc_port_bw_ctx() 631 dev_to_node(dev)); in xhci_alloc_stream_info() 641 dev_to_node(dev)); in xhci_alloc_stream_info() 842 dev_to_node(dev)); in xhci_alloc_tt_info() 1654 dev_to_node(dev)); in scratchpad_alloc() 1665 flags, dev_to_node(dev)); in scratchpad_alloc() [all …]
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A 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()
|
H A 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() 483 dev_to_node(&GET_DEV(accel_dev))); in adf_init_etr_data() 490 dev_to_node(&GET_DEV(accel_dev))); in adf_init_etr_data()
|
H A D | adf_telemetry.c | 64 int node = dev_to_node(dev); in adf_tl_alloc_mem()
|
/linux/net/core/ |
H A D | devmem.c | 197 dev_to_node(&dev->dev)); in net_devmem_bind_dmabuf() 242 dev_to_node(&dev->dev)); in net_devmem_bind_dmabuf() 256 dev_to_node(&dev->dev)); in net_devmem_bind_dmabuf() 268 dma_addr, len, dev_to_node(&dev->dev), in net_devmem_bind_dmabuf()
|
/linux/arch/riscv/include/asm/ |
H A D | pci.h | 21 return dev_to_node(&bus->dev); in pcibus_to_node()
|
/linux/drivers/crypto/intel/qat/qat_dh895xccvf/ |
H A D | adf_drv.c | 93 dev_to_node(&pdev->dev)); in adf_probe() 113 dev_to_node(&pdev->dev)); in adf_probe()
|
/linux/drivers/crypto/intel/qat/qat_c62xvf/ |
H A D | adf_drv.c | 93 dev_to_node(&pdev->dev)); in adf_probe() 113 dev_to_node(&pdev->dev)); in adf_probe()
|
/linux/drivers/crypto/intel/qat/qat_c3xxxvf/ |
H A D | adf_drv.c | 93 dev_to_node(&pdev->dev)); in adf_probe() 113 dev_to_node(&pdev->dev)); in adf_probe()
|
/linux/drivers/base/test/ |
H A 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/arch/arm64/kernel/ |
H A D | pci.c | 38 return dev_to_node(&bus->dev); in pcibus_to_node()
|
/linux/drivers/nvdimm/ |
H A D | of_pmem.c | 63 ndr_desc.numa_node = dev_to_node(&pdev->dev); in of_pmem_region_probe()
|
/linux/kernel/dma/ |
H A D | ops_helpers.c | 70 page = alloc_pages_node(dev_to_node(dev), gfp, get_order(size)); in dma_common_alloc_pages()
|
/linux/drivers/pci/ |
H A D | devres.c | 99 GFP_KERNEL, dev_to_node(&pdev->dev)); in pcim_addr_devres_alloc() 448 dev_to_node(&pdev->dev)); in pcim_iomap_table()
|
H A D | p2pdma.c | 249 p2p->pool = gen_pool_create(PAGE_SHIFT, dev_to_node(&pdev->dev)); in pci_p2pdma_setup() 350 range_len(&pgmap->range), dev_to_node(&pdev->dev), in pci_p2pdma_add_resource()
|
/linux/kernel/ |
H A D | async.c | 272 __async_schedule_node_domain(func, dev, dev_to_node(dev), in async_schedule_dev_nocall()
|
/linux/arch/loongarch/kernel/ |
H A D | numa.c | 308 return dev_to_node(&bus->dev); in pcibus_to_node()
|
/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_device.c | 211 nid = dev_to_node(dev); in ttm_device_init()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | alloc.c | 65 original_node = dev_to_node(device); in mlx5_dma_zalloc_coherent_node()
|
/linux/arch/x86/pci/ |
H A D | intel_mid.c | 273 ioapic_set_alloc_attr(&info, dev_to_node(&dev->dev), 1, polarity_low); in intel_mid_pci_irq_enable()
|