Home
last modified time | relevance | path

Searched refs:dev_list (Results 1 – 25 of 71) sorted by relevance

123

/linux/drivers/crypto/starfive/
H A Djh7110-cryp.c27 struct list_head dev_list; member
28 spinlock_t lock; /* protect dev_list */
31 static struct starfive_dev_list dev_list = { variable
32 .dev_list = LIST_HEAD_INIT(dev_list.dev_list),
33 .lock = __SPIN_LOCK_UNLOCKED(dev_list.lock),
40 spin_lock_bh(&dev_list.lock); in starfive_cryp_find_dev()
42 ctx->cryp = list_first_entry_or_null(&dev_list.dev_list, in starfive_cryp_find_dev()
[all...]
/linux/drivers/xen/xen-pciback/
H A Dvpci.c22 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 …]
H A Dpassthrough.c16 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()
H A Dpci_stub.c54 struct list_head dev_list; member
181 list_for_each_entry(psdev, &pcistub_devices, dev_list) { in pcistub_device_find_locked()
288 list_for_each_entry(psdev, &pcistub_devices, dev_list) { in pcistub_put_pci_dev()
506 struct pcistub_device, dev_list); in pcistub_init_devices_late()
507 list_del(&psdev->dev_list); in pcistub_init_devices_late()
522 list_add_tail(&psdev->dev_list, &pcistub_devices); in pcistub_init_devices_late()
586 list_add(&psdev->dev_list, &pcistub_devices); in pcistub_seize()
589 list_add(&psdev->dev_list, &seized_devices); in pcistub_seize()
661 list_for_each_entry(psdev, &pcistub_devices, dev_list) { in pcistub_remove()
691 list_del(&found_psdev->dev_list); in pcistub_remove()
[all …]
/linux/drivers/char/agp/
H A Disoch.c65 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_obj(*dev_list)) == 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 …]
/linux/net/tls/
H A Dtls_toe.c
/linux/drivers/crypto/ti/
H A Ddthev2-common.c30 .dev_list = LIST_HEAD_INIT(dthe_dev_list.dev_list),
42 dev_data = list_first_entry(&dthe_dev_list.dev_list, struct dthe_data, list); in dthe_get_dev()
44 list_move_tail(&dev_data->list, &dthe_dev_list.dev_list); in dthe_get_dev()
158 list_add(&dev_data->list, &dthe_dev_list.dev_list); in dthe_probe()
/linux/drivers/most/
H A Dmost_snd.c61 struct list_head dev_list; member
167 list_for_each_entry(channel, &adpt->dev_list, list) { in get_channel()
491 list_for_each_entry_safe(channel, tmp, &adpt->dev_list, list) { in release_adapter()
550 INIT_LIST_HEAD(&adpt->dev_list); in audio_probe_channel()
587 list_add_tail(&channel->list, &adpt->dev_list); in audio_probe_channel()
653 if (list_empty(&adpt->dev_list)) in audio_disconnect_channel()
/linux/net/psp/
H A Dpsp_main.c157 dev_list) { in psp_dev_unregister()
158 list_del(&entry->dev_list); in psp_dev_unregister()
415 list_for_each_entry(entry, &psd->assoc_dev_list, dev_list) { in psp_dev_disassoc_one()
417 list_del(&entry->dev_list); in psp_dev_disassoc_one()
H A Dpsp_nl.c75 list_for_each_entry(entry, &psd->assoc_dev_list, dev_list) { in psp_nl_multicast_per_ns()
234 list_for_each_entry(entry, &psd->assoc_dev_list, dev_list) { in psp_has_assoc_dev_in_ns()
251 list_for_each_entry(entry, &psd->assoc_dev_list, dev_list) { in psp_nl_fill_assoc_dev_list()
601 list_add_tail(&psp_assoc_dev->dev_list, &psd->assoc_dev_list); in psp_nl_dev_disassoc_doit()
637 list_for_each_entry(entry, &psd->assoc_dev_list, dev_list) {
658 list_del(&found->dev_list); in psp_assoc_device_get_locked()
/linux/arch/arm64/kvm/vgic/
H A Dvgic-debug.c334 if (list_is_last(&dev->dev_list, &its->device_list)) { in vgic_its_iter_next()
338 dev = list_next_entry(dev, dev_list); in vgic_its_iter_next()
374 struct its_device, dev_list); in vgic_its_debug_start()
H A Dvgic-its.c221 list_for_each_entry(device, &its->device_list, dev_list) in find_its_device()
252 list_for_each_entry(dev, &(its)->device_list, dev_list) \
1165 list_del(&device->dev_list);
1174 list_for_each_entry_safe(cur, temp, &its->device_list, dev_list) in vgic_its_cmd_handle_mapd()
1203 list_add_tail(&device->dev_list, &its->device_list); in vgic_its_cmd_handle_mapd()
2106 list_for_each_entry_continue(next, &its->device_list, dev_list) { in scan_its_table()
2436 struct its_device *deva = container_of(a, struct its_device, dev_list); in handle_l1_dte()
2437 struct its_device *devb = container_of(b, struct its_device, dev_list); in handle_l1_dte()
2462 list_for_each_entry(dev, &its->device_list, dev_list) { in vgic_its_restore_device_tables()
/linux/drivers/scsi/libsas/
H A Dsas_discover.c155 list_add_tail(&dev->dev_list_node, &port->dev_list); in sas_get_port_device()
214 list_add_tail(&dev->dev_list_node, &port->dev_list); in sas_probe_devices()
248 list_for_each_entry(dev, &port->dev_list, dev_list_node) in sas_suspend_devices()
413 list_for_each_entry_safe_reverse(dev, n, &port->dev_list, dev_list_node) { in sas_unregister_domain_devices()
H A Dsas_port.c47 list_for_each_entry_safe(dev, n, &port->dev_list, dev_list_node) { in sas_resume_port()
330 INIT_LIST_HEAD(&port->dev_list); in sas_init_port()
/linux/net/smc/
H A Dsmc_ism.c365 static void smc_nl_prep_smcd_dev(struct smcd_dev_list *dev_list, in smc_nl_prep_smcd_dev() argument
374 mutex_lock(&dev_list->mutex); in smc_nl_prep_smcd_dev()
375 list_for_each_entry(smcd, &dev_list->list, list) { in smc_nl_prep_smcd_dev()
386 mutex_unlock(&dev_list->mutex); in smc_nl_prep_smcd_dev()
/linux/drivers/block/rnbd/
H A Drnbd-srv.h48 struct list_head dev_list; member
/linux/fs/btrfs/
H A Dvolumes.c427 struct btrfs_device, dev_list); in free_fs_devices()
428 list_del(&device->dev_list); in free_fs_devices()
555 &fs_devices->devices, dev_list) { in btrfs_free_stale_devices()
568 list_del(&device->dev_list); in btrfs_free_stale_devices()
619 list_for_each_entry(device, &devt_fs_devices->devices, dev_list) { in find_fsid_by_device()
881 list_add_rcu(&device->dev_list, &fs_devices->devices); in device_list_add()
1027 list_for_each_entry(orig_dev, &orig->devices, dev_list) { in clone_fs_devices()
1056 list_add(&device->dev_list, &fs_devices->devices); in clone_fs_devices()
1072 list_for_each_entry_safe(device, next, &fs_devices->devices, dev_list) { in __btrfs_free_extra_devids()
1103 list_del_init(&device->dev_list); in __btrfs_free_extra_devids()
[all...]
/linux/sound/hda/common/
H A Dproc.c755 u8 dev_list[AC_MAX_DEV_LIST_LEN]; in print_codec_core_info()
758 devlist_len = snd_hda_get_devices(codec, nid, dev_list, in print_codec_core_info()
774 !!(dev_list[i] & AC_DE_PD), in print_codec_info()
775 !!(dev_list[i] & AC_DE_ELDV), in print_codec_info()
776 !!(dev_list[i] & AC_DE_IA)); in print_codec_info()
718 u8 dev_list[AC_MAX_DEV_LIST_LEN]; print_device_list() local
/linux/drivers/crypto/
H A Datmel-tdes.c130 struct list_head dev_list; member
135 .dev_list = LIST_HEAD_INIT(atmel_tdes.dev_list),
194 tdes_dd = list_first_entry_or_null(&atmel_tdes.dev_list, in atmel_tdes_dev_alloc()
974 list_add_tail(&tdes_dd->list, &atmel_tdes.dev_list); in atmel_tdes_probe()
H A Dimg-hash.c139 struct list_head dev_list; member
144 .dev_list = LIST_HEAD_INIT(img_hash.dev_list),
634 tctx->hdev = list_first_entry_or_null(&img_hash.dev_list, in img_hash_digest()
995 list_add_tail(&hdev->list, &img_hash.dev_list); in img_hash_probe()
/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-hcu-core.c99 * @dev_list: The list of HCU devices.
100 * @lock: The lock protecting dev_list.
103 struct list_head dev_list; member
104 spinlock_t lock; /* Protects dev_list. */
108 .dev_list = LIST_HEAD_INIT(ocs_hcu.dev_list),
179 tctx->hcu_dev = list_first_entry_or_null(&ocs_hcu.dev_list, in kmb_ocs_hcu_find_dev()
1213 list_add_tail(&hcu_dev->list, &ocs_hcu.dev_list); in kmb_ocs_hcu_probe()
/linux/net/core/
H A Dnetpoll.c171 list_for_each_entry_rcu(napi, &dev->napi_list, dev_list) { in netpoll_poll_dev()
263 list_for_each_entry_rcu(napi, &dev->napi_list, dev_list) { in __netpoll_send_skb()
H A Ddev.h288 list_for_each_entry(napi, &netdev->napi_list, dev_list)
334 list_for_each_entry(napi, &netdev->napi_list, dev_list)
/linux/drivers/thunderbolt/
H A Dstream.c178 * @dev_list: List of stream devices
181 * There can be several &struct stream_dev linked through @dev_list of
188 struct list_head dev_list;
1677 list_add_tail(&sdev->list, &sg->dev_list); in tbstream_group_detach_stream()
1754 INIT_LIST_HEAD(&sg->dev_list); in tbstream_resume()
1818 list_for_each_entry(sdev, &sg->dev_list, list) { in tbstream_init()
1839 list_for_each_entry_reverse(sdev, &sg->dev_list, list) {
1893 list_for_each_entry_reverse(sdev, &sg->dev_list, list) {
1916 list_for_each_entry(sdev, &sg->dev_list, list) {
180 struct list_head dev_list; global() member
/linux/drivers/opp/
H A Dcpu.c220 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in dev_pm_opp_get_sharing_cpus()

123