Searched refs:ports_lock (Results 1 – 6 of 6) sorted by relevance
47 spinlock_t ports_lock; /* Serialize ports creation/deletion */ member204 spin_lock(&dev->ports_lock); in wwan_hwsim_port_new()206 spin_unlock(&dev->ports_lock); in wwan_hwsim_port_new()249 spin_lock(&dev->ports_lock); in wwan_hwsim_port_del_work()252 spin_unlock(&dev->ports_lock); in wwan_hwsim_port_del_work()256 spin_unlock(&dev->ports_lock); in wwan_hwsim_port_del_work()285 spin_lock_init(&dev->ports_lock); in wwan_hwsim_dev_new()325 spin_lock(&dev->ports_lock); in wwan_hwsim_dev_del()332 spin_unlock(&dev->ports_lock); in wwan_hwsim_dev_del()334 spin_lock(&dev->ports_lock); in wwan_hwsim_dev_del()[all …]
130 spinlock_t ports_lock; member258 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_devt_in_portdev()267 spin_unlock_irqrestore(&portdev->ports_lock, flags); in find_port_by_devt_in_portdev()295 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_id()301 spin_unlock_irqrestore(&portdev->ports_lock, flags); in find_port_by_id()312 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_vq()318 spin_unlock_irqrestore(&portdev->ports_lock, flags); in find_port_by_vq()1412 spin_lock_irq(&portdev->ports_lock); in add_port()1414 spin_unlock_irq(&portdev->ports_lock); in add_port()1476 spin_lock_irq(&port->portdev->ports_lock); in unplug_port()[all …]
51 guard(read_lock)(&client->ports_lock); in snd_seq_port_use_ptr()74 guard(read_lock)(&client->ports_lock); in snd_seq_port_query_nearest()146 guard(write_lock_irq)(&client->ports_lock); in snd_seq_create_port()278 guard(write_lock_irq)(&client->ports_lock); in snd_seq_delete_port()305 scoped_guard(write_lock_irq, &client->ports_lock) { in snd_seq_delete_all_ports()
49 rwlock_t ports_lock; member
244 rwlock_init(&client->ports_lock); in seq_create_client1()
2023 static DEFINE_SPINLOCK(ports_lock);2251 spin_lock(&ports_lock); in __parport_pc_probe_port()2253 spin_unlock(&ports_lock); in __parport_pc_probe_port()2293 spin_lock(&ports_lock); in parport_pc_unregister_port()2295 spin_unlock(&ports_lock); in parport_pc_unregister_port()