Lines Matching refs:cb_table
46 const struct rdma_nl_cbs *cb_table;
84 const struct rdma_nl_cbs *cb_table;
93 cb_table = READ_ONCE(rdma_nl_types[type].cb_table);
94 if (!cb_table) {
104 cb_table = READ_ONCE(rdma_nl_types[type].cb_table);
106 if (!cb_table || (!cb_table[op].dump && !cb_table[op].doit))
108 return cb_table;
112 const struct rdma_nl_cbs cb_table[])
115 WARN_ON(READ_ONCE(rdma_nl_types[index].cb_table)))
119 smp_store_release(&rdma_nl_types[index].cb_table, cb_table);
126 rdma_nl_types[index].cb_table = NULL;
158 const struct rdma_nl_cbs *cb_table;
165 cb_table = get_cb_table(skb, index, op);
166 if (!cb_table)
169 if ((cb_table[op].flags & RDMA_NL_ADMIN_PERM) &&
180 if (cb_table[op].doit)
181 err = cb_table[op].doit(skb, nlh, extack);
187 .dump = cb_table[op].dump,
194 if (cb_table[op].doit)
195 err = cb_table[op].doit(skb, nlh, extack);
304 WARN(rdma_nl_types[idx].cb_table,