Searched refs:ports_lock (Results 1 – 6 of 6) sorted by relevance
45 spinlock_t ports_lock; /* Serialize ports creation/deletion */ member202 spin_lock(&dev->ports_lock); in wwan_hwsim_port_new()204 spin_unlock(&dev->ports_lock); in wwan_hwsim_port_new()247 spin_lock(&dev->ports_lock); in wwan_hwsim_port_del_work()250 spin_unlock(&dev->ports_lock); in wwan_hwsim_port_del_work()254 spin_unlock(&dev->ports_lock); in wwan_hwsim_port_del_work()283 spin_lock_init(&dev->ports_lock); in wwan_hwsim_dev_new()323 spin_lock(&dev->ports_lock); in wwan_hwsim_dev_del()330 spin_unlock(&dev->ports_lock); in wwan_hwsim_dev_del()332 spin_lock(&dev->ports_lock); in wwan_hwsim_dev_del()[all …]
51 read_lock(&client->ports_lock); in snd_seq_port_use_ptr()57 read_unlock(&client->ports_lock); in snd_seq_port_use_ptr()61 read_unlock(&client->ports_lock); in snd_seq_port_use_ptr()75 read_lock(&client->ports_lock); in snd_seq_port_query_nearest()92 read_unlock(&client->ports_lock); in snd_seq_port_query_nearest()144 write_lock_irq(&client->ports_lock); in snd_seq_create_port()156 write_unlock_irq(&client->ports_lock); in snd_seq_create_port()273 write_lock_irq(&client->ports_lock); in snd_seq_delete_port()283 write_unlock_irq(&client->ports_lock); in snd_seq_delete_port()301 write_lock_irq(&client->ports_lock); in snd_seq_delete_all_ports()[all …]
47 rwlock_t ports_lock; member
238 rwlock_init(&client->ports_lock); in seq_create_client1()731 read_lock(&dest_client->ports_lock); in port_broadcast_event()746 read_unlock(&dest_client->ports_lock); in port_broadcast_event()
137 spinlock_t ports_lock; member268 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_devt_in_portdev()277 spin_unlock_irqrestore(&portdev->ports_lock, flags); in find_port_by_devt_in_portdev()305 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_id()311 spin_unlock_irqrestore(&portdev->ports_lock, flags); in find_port_by_id()322 spin_lock_irqsave(&portdev->ports_lock, flags); in find_port_by_vq()328 spin_unlock_irqrestore(&portdev->ports_lock, flags); in find_port_by_vq()1449 spin_lock_irq(&portdev->ports_lock); in add_port()1451 spin_unlock_irq(&portdev->ports_lock); in add_port()1513 spin_lock_irq(&port->portdev->ports_lock); in unplug_port()[all …]
2001 static DEFINE_SPINLOCK(ports_lock);2218 spin_lock(&ports_lock); in parport_pc_probe_port()2220 spin_unlock(&ports_lock); in parport_pc_probe_port()2250 spin_lock(&ports_lock); in parport_pc_unregister_port()2252 spin_unlock(&ports_lock); in parport_pc_unregister_port()