Lines Matching refs:rwlock
118 rwlock_t rwlock; member
246 write_lock_irq(&table->rwlock); in free_gid_entry_locked()
257 write_unlock_irq(&table->rwlock); in free_gid_entry_locked()
331 write_lock_irq(&table->rwlock); in store_gid_entry()
333 write_unlock_irq(&table->rwlock); in store_gid_entry()
393 write_lock_irq(&table->rwlock); in del_gid()
401 write_unlock_irq(&table->rwlock); in del_gid()
704 read_lock_irqsave(&table->rwlock, flags); in rdma_find_gid_by_port()
709 read_unlock_irqrestore(&table->rwlock, flags); in rdma_find_gid_by_port()
713 read_unlock_irqrestore(&table->rwlock, flags); in rdma_find_gid_by_port()
752 read_lock_irqsave(&table->rwlock, flags); in rdma_find_gid_by_filter()
768 read_unlock_irqrestore(&table->rwlock, flags); in rdma_find_gid_by_filter()
786 rwlock_init(&table->rwlock); in alloc_gid_table()
964 read_lock_irqsave(&table->rwlock, flags); in rdma_query_gid()
980 read_unlock_irqrestore(&table->rwlock, flags); in rdma_query_gid()
1034 read_lock_irqsave(&table->rwlock, flags); in rdma_find_gid()
1041 read_unlock_irqrestore(&table->rwlock, flags); in rdma_find_gid()
1044 read_unlock_irqrestore(&table->rwlock, flags); in rdma_find_gid()
1232 read_lock_irqsave(&table->rwlock, flags); in rdma_get_gid_attr()
1239 read_unlock_irqrestore(&table->rwlock, flags); in rdma_get_gid_attr()
1266 read_lock_irqsave(&table->rwlock, flags); in rdma_query_gid_table()
1284 lockdep_is_held(&table->rwlock)); in rdma_query_gid_table()
1291 read_unlock_irqrestore(&table->rwlock, flags); in rdma_query_gid_table()
1296 read_unlock_irqrestore(&table->rwlock, flags); in rdma_query_gid_table()
1365 read_lock_irqsave(&table->rwlock, flags); in rdma_read_gid_attr_ndev_rcu()
1372 read_unlock_irqrestore(&table->rwlock, flags); in rdma_read_gid_attr_ndev_rcu()