/drivers/xen/xen-pciback/ |
D | vpci.c | 22 struct list_head dev_list[PCI_SLOT_MAX]; member 47 &vpci_dev->dev_list[PCI_SLOT(devfn)], in __xen_pcibk_get_pci_dev() 104 if (list_empty(&vpci_dev->dev_list[slot])) in __xen_pcibk_add_pci_dev() 107 t = list_entry(list_first(&vpci_dev->dev_list[slot]), in __xen_pcibk_add_pci_dev() 116 &vpci_dev->dev_list[slot]); in __xen_pcibk_add_pci_dev() 124 if (list_empty(&vpci_dev->dev_list[slot])) { in __xen_pcibk_add_pci_dev() 128 &vpci_dev->dev_list[slot]); in __xen_pcibk_add_pci_dev() 162 list_for_each_entry(e, &vpci_dev->dev_list[slot], list) { in __xen_pcibk_release_pci_dev() 196 INIT_LIST_HEAD(&vpci_dev->dev_list[slot]); in __xen_pcibk_init_devices() 217 list_for_each_entry_safe(e, tmp, &vpci_dev->dev_list[slot], in __xen_pcibk_release_devices() [all …]
|
D | passthrough.c | 16 struct list_head dev_list; member 31 list_for_each_entry(dev_entry, &dev_data->dev_list, list) { in __xen_pcibk_get_pci_dev() 60 list_add_tail(&dev_entry->list, &dev_data->dev_list); in __xen_pcibk_add_pci_dev() 81 list_for_each_entry_safe(dev_entry, t, &dev_data->dev_list, list) { in __xen_pcibk_release_pci_dev() 110 INIT_LIST_HEAD(&dev_data->dev_list); in __xen_pcibk_init_devices() 129 list_for_each_entry(dev_entry, &dev_data->dev_list, list) { in __xen_pcibk_publish_pci_roots() 136 list_for_each_entry(e, &dev_data->dev_list, list) { in __xen_pcibk_publish_pci_roots() 164 list_for_each_entry_safe(dev_entry, t, &dev_data->dev_list, list) { in __xen_pcibk_release_devices()
|
D | pci_stub.c | 50 struct list_head dev_list; member 161 list_for_each_entry(psdev, &pcistub_devices, dev_list) { in pcistub_device_find_locked() 238 list_for_each_entry(psdev, &pcistub_devices, dev_list) { in pcistub_get_pci_dev() 269 list_for_each_entry(psdev, &pcistub_devices, dev_list) { in pcistub_put_pci_dev() 461 struct pcistub_device, dev_list); in pcistub_init_devices_late() 462 list_del(&psdev->dev_list); in pcistub_init_devices_late() 477 list_add_tail(&psdev->dev_list, &pcistub_devices); in pcistub_init_devices_late() 541 list_add(&psdev->dev_list, &pcistub_devices); in pcistub_seize() 544 list_add(&psdev->dev_list, &seized_devices); in pcistub_seize() 614 list_for_each_entry(psdev, &pcistub_devices, dev_list) { in pcistub_remove() [all …]
|
/drivers/char/agp/ |
D | isoch.c | 65 struct agp_3_5_dev *dev_list, unsigned int ndevs) in agp_3_5_isochronous_node_enable() argument 81 struct list_head *head = &dev_list->list, *pos; in agp_3_5_isochronous_node_enable() 117 agp_3_5_dev_list_sort(dev_list, ndevs); in agp_3_5_isochronous_node_enable() 284 struct agp_3_5_dev *dev_list, unsigned int ndevs) in agp_3_5_nonisochronous_node_enable() argument 287 struct list_head *head = &dev_list->list, *pos; in agp_3_5_nonisochronous_node_enable() 321 struct agp_3_5_dev *dev_list, *cur; in agp_3_5_enable() local 336 if ((dev_list = kmalloc(sizeof(*dev_list), GFP_KERNEL)) == NULL) { in agp_3_5_enable() 340 head = &dev_list->list; in agp_3_5_enable() 442 ret = agp_3_5_isochronous_node_enable(bridge, dev_list, ndevs); in agp_3_5_enable() 451 agp_3_5_nonisochronous_node_enable(bridge, dev_list, ndevs); in agp_3_5_enable() [all …]
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | intf.c | 49 static LIST_HEAD(dev_list); 100 list_for_each_entry(priv, &dev_list, dev_list) { in mlx4_register_interface() 121 list_for_each_entry(priv, &dev_list, dev_list) in mlx4_unregister_interface() 206 list_add_tail(&priv->dev_list, &dev_list); in mlx4_register_device() 242 list_del(&priv->dev_list); in mlx4_unregister_device()
|
/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.c | 181 struct device *dev, **dev_list; in find_free_vf_and_create_qp_grp() local 193 dev_list = usnic_uiom_get_dev_list(pd->umem_pd); in find_free_vf_and_create_qp_grp() 194 if (IS_ERR(dev_list)) in find_free_vf_and_create_qp_grp() 195 return PTR_ERR(dev_list); in find_free_vf_and_create_qp_grp() 196 for (i = 0; dev_list[i]; i++) { in find_free_vf_and_create_qp_grp() 197 dev = dev_list[i]; in find_free_vf_and_create_qp_grp() 217 usnic_uiom_free_dev_list(dev_list); in find_free_vf_and_create_qp_grp() 218 dev_list = NULL; in find_free_vf_and_create_qp_grp() 245 usnic_uiom_free_dev_list(dev_list); in find_free_vf_and_create_qp_grp()
|
/drivers/crypto/stm32/ |
D | stm32-crc32.c | 54 struct list_head dev_list; member 59 .dev_list = LIST_HEAD_INIT(crc_list.dev_list), 107 crc = list_first_entry_or_null(&crc_list.dev_list, struct stm32_crc, list); in stm32_crc_get_next_crc() 109 list_move_tail(&crc->list, &crc_list.dev_list); in stm32_crc_get_next_crc() 359 list_add(&crc->list, &crc_list.dev_list); in stm32_crc_probe()
|
D | stm32-hash.c | 185 struct list_head dev_list; member 190 .dev_list = LIST_HEAD_INIT(stm32_hash.dev_list), 642 list_for_each_entry(tmp, &stm32_hash.dev_list, list) { in stm32_hash_find_dev() 1513 list_add_tail(&hdev->list, &stm32_hash.dev_list); in stm32_hash_probe()
|
/drivers/most/ |
D | most_snd.c | 59 struct list_head dev_list; member 165 list_for_each_entry(channel, &adpt->dev_list, list) { in get_channel() 489 list_for_each_entry_safe(channel, tmp, &adpt->dev_list, list) { in release_adapter() 548 INIT_LIST_HEAD(&adpt->dev_list); in audio_probe_channel() 585 list_add_tail(&channel->list, &adpt->dev_list); in audio_probe_channel() 651 if (list_empty(&adpt->dev_list)) in audio_disconnect_channel()
|
/drivers/hwtracing/coresight/ |
D | coresight-tmc-core.c | 460 struct coresight_dev_list *dev_list = NULL; in tmc_probe() local 502 dev_list = &etb_devs; in tmc_probe() 514 dev_list = &etr_devs; in tmc_probe() 521 dev_list = &etf_devs; in tmc_probe() 529 desc.name = coresight_alloc_device_name(dev_list, dev); in tmc_probe()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 447 static int __ipoib_get_net_dev_by_params(struct list_head *dev_list, u32 port, in __ipoib_get_net_dev_by_params() argument 458 list_for_each_entry(priv, dev_list, list) { in __ipoib_get_net_dev_by_params() 477 struct list_head *dev_list = client_data; in ipoib_get_net_dev_by_params() local 490 matches = __ipoib_get_net_dev_by_params(dev_list, port, pkey_index, in ipoib_get_net_dev_by_params() 504 matches = __ipoib_get_net_dev_by_params(dev_list, port, pkey_index, in ipoib_get_net_dev_by_params() 2553 struct list_head *dev_list; in ipoib_add_one() local 2559 dev_list = kmalloc(sizeof(*dev_list), GFP_KERNEL); in ipoib_add_one() 2560 if (!dev_list) in ipoib_add_one() 2563 INIT_LIST_HEAD(dev_list); in ipoib_add_one() 2571 list_add_tail(&priv->list, dev_list); in ipoib_add_one() [all …]
|
/drivers/scsi/libsas/ |
D | sas_discover.c | 156 list_add_tail(&dev->dev_list_node, &port->dev_list); in sas_get_port_device() 215 list_add_tail(&dev->dev_list_node, &port->dev_list); in sas_probe_devices() 249 list_for_each_entry(dev, &port->dev_list, dev_list_node) in sas_suspend_devices() 385 list_for_each_entry_safe_reverse(dev, n, &port->dev_list, dev_list_node) { in sas_unregister_domain_devices()
|
D | sas_ata.c | 657 list_for_each_entry_safe(dev, n, &port->dev_list, dev_list_node) { in sas_ata_flush_pm_eh() 674 list_for_each_entry(dev, &port->dev_list, dev_list_node) { in sas_suspend_sata() 696 list_for_each_entry(dev, &port->dev_list, dev_list_node) { in sas_resume_sata() 765 list_for_each_entry(dev, &port->dev_list, dev_list_node) { in sas_ata_strategy_handler()
|
D | sas_port.c | 47 list_for_each_entry_safe(dev, n, &port->dev_list, dev_list_node) { in sas_resume_port() 321 INIT_LIST_HEAD(&port->dev_list); in sas_init_port()
|
/drivers/block/rnbd/ |
D | rnbd-srv.c | 67 static LIST_HEAD(dev_list); 228 list_del(&sess_dev->dev_list); in rnbd_destroy_sess_dev() 455 list_for_each_entry(dev, &dev_list, list) { in rnbd_srv_find_or_add_srv_dev() 467 list_add(&new_dev->list, &dev_list); in rnbd_srv_find_or_add_srv_dev() 797 list_add(&srv_sess_dev->dev_list, &srv_dev->sess_dev_list); in process_msg_open()
|
D | rnbd-srv.h | 51 struct list_head dev_list; member
|
/drivers/opp/ |
D | debugfs.c | 200 list_for_each_entry(new_dev, &opp_table->dev_list, node) in opp_migrate_dentry() 234 if (!list_is_singular(&opp_table->dev_list)) { in opp_debug_unregister()
|
D | cpu.c | 224 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in dev_pm_opp_get_sharing_cpus()
|
D | opp.h | 178 struct list_head dev_list; member
|
/drivers/base/power/ |
D | domain_governor.c | 140 list_for_each_entry(pdd, &genpd->dev_list, list_node) { in update_domain_next_wakeup() 216 list_for_each_entry(pdd, &genpd->dev_list, list_node) { in __default_power_down_ok()
|
/drivers/crypto/keembay/ |
D | keembay-ocs-hcu-core.c | 102 struct list_head dev_list; member 107 .dev_list = LIST_HEAD_INIT(ocs_hcu.dev_list), 178 tctx->hcu_dev = list_first_entry_or_null(&ocs_hcu.dev_list, in kmb_ocs_hcu_find_dev() 1216 list_add_tail(&hcu_dev->list, &ocs_hcu.dev_list); in kmb_ocs_hcu_probe()
|
/drivers/crypto/ |
D | img-hash.c | 140 struct list_head dev_list; member 145 .dev_list = LIST_HEAD_INIT(img_hash.dev_list), 633 list_for_each_entry(tmp, &img_hash.dev_list, list) { in img_hash_digest() 1026 list_add_tail(&hdev->list, &img_hash.dev_list); in img_hash_probe()
|
D | atmel-tdes.c | 141 struct list_head dev_list; member 146 .dev_list = LIST_HEAD_INIT(atmel_tdes.dev_list), 205 tdes_dd = list_first_entry_or_null(&atmel_tdes.dev_list, in atmel_tdes_dev_alloc() 1237 list_add_tail(&tdes_dd->list, &atmel_tdes.dev_list); in atmel_tdes_probe()
|
D | omap-aes.c | 43 static LIST_HEAD(dev_list); 214 dd = list_first_entry(&dev_list, struct omap_aes_dev, list); in omap_aes_find_dev() 215 list_move_tail(&dd->list, &dev_list); in omap_aes_find_dev() 1076 list_for_each_entry(dd, &dev_list, list) { in queue_len_store() 1179 list_add_tail(&dd->list, &dev_list); in omap_aes_probe()
|
/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 102 struct list_head dev_list; member
|