Home
last modified time | relevance | path

Searched refs:rdma_nl_types (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/infiniband/core/
Dnetlink.c51 } rdma_nl_types[RDMA_NL_NUM_CLIENTS]; variable
93 cb_table = READ_ONCE(rdma_nl_types[type].cb_table); in get_cb_table()
99 up_read(&rdma_nl_types[type].sem); in get_cb_table()
103 down_read(&rdma_nl_types[type].sem); in get_cb_table()
104 cb_table = READ_ONCE(rdma_nl_types[type].cb_table); in get_cb_table()
115 WARN_ON(READ_ONCE(rdma_nl_types[index].cb_table))) in rdma_nl_register()
119 smp_store_release(&rdma_nl_types[index].cb_table, cb_table); in rdma_nl_register()
125 down_write(&rdma_nl_types[index].sem); in rdma_nl_unregister()
126 rdma_nl_types[index].cb_table = NULL; in rdma_nl_unregister()
127 up_write(&rdma_nl_types[index].sem); in rdma_nl_unregister()
[all …]