• Home
  • Raw
  • Download

Lines Matching refs:rnet

920 			      struct rdma_dev_net *rnet)  in add_one_compat_dev()  argument
933 if (net_eq(read_pnet(&rnet->net), in add_one_compat_dev()
943 cdev = xa_load(&device->compat_devs, rnet->id); in add_one_compat_dev()
948 ret = xa_reserve(&device->compat_devs, rnet->id, GFP_KERNEL); in add_one_compat_dev()
959 rdma_init_coredev(cdev, device, read_pnet(&rnet->net)); in add_one_compat_dev()
972 ret = xa_err(xa_store(&device->compat_devs, rnet->id, in add_one_compat_dev()
987 xa_release(&device->compat_devs, rnet->id); in add_one_compat_dev()
1018 struct rdma_dev_net *rnet; in add_compat_devs() local
1025 xa_for_each (&rdma_nets, index, rnet) { in add_compat_devs()
1026 ret = add_one_compat_dev(device, rnet); in add_compat_devs()
1057 struct rdma_dev_net *rnet; in add_all_compat_devs() local
1070 xa_for_each (&rdma_nets, net_index, rnet) { in add_all_compat_devs()
1071 ret = add_one_compat_dev(dev, rnet); in add_all_compat_devs()
1085 struct rdma_dev_net *rnet; in rdma_compatdev_set() local
1098 xa_for_each (&rdma_nets, index, rnet) { in rdma_compatdev_set()
1117 struct rdma_dev_net *rnet = rdma_net_to_dev_net(net); in rdma_dev_exit_net() local
1126 ret = xa_err(xa_store(&rdma_nets, rnet->id, NULL, GFP_KERNEL)); in rdma_dev_exit_net()
1139 remove_one_compat_dev(dev, rnet->id); in rdma_dev_exit_net()
1151 rdma_nl_net_exit(rnet); in rdma_dev_exit_net()
1152 xa_erase(&rdma_nets, rnet->id); in rdma_dev_exit_net()
1157 struct rdma_dev_net *rnet = rdma_net_to_dev_net(net); in rdma_dev_init_net() local
1162 write_pnet(&rnet->net, net); in rdma_dev_init_net()
1164 ret = rdma_nl_net_init(rnet); in rdma_dev_init_net()
1172 ret = xa_alloc(&rdma_nets, &rnet->id, rnet, xa_limit_32b, GFP_KERNEL); in rdma_dev_init_net()
1174 rdma_nl_net_exit(rnet); in rdma_dev_init_net()
1184 ret = add_one_compat_dev(dev, rnet); in rdma_dev_init_net()