Searched refs:uverbs_dev (Results 1 – 3 of 3) sorted by relevance
1106 uverbs_dev->uapi = uapi; in ib_uverbs_create_uapi()1120 uverbs_dev = kzalloc(sizeof(*uverbs_dev), GFP_KERNEL); in ib_uverbs_add_one()1121 if (!uverbs_dev) in ib_uverbs_add_one()1126 kfree(uverbs_dev); in ib_uverbs_add_one()1135 uverbs_dev->dev.groups = uverbs_dev->groups; in ib_uverbs_add_one()1151 uverbs_dev->devnum = devnum; in ib_uverbs_add_one()1161 uverbs_dev->dev.devt = base; in ib_uverbs_add_one()1162 dev_set_name(&uverbs_dev->dev, "uverbs%d", uverbs_dev->devnum); in ib_uverbs_add_one()1164 cdev_init(&uverbs_dev->cdev, in ib_uverbs_add_one()1168 ret = cdev_device_add(&uverbs_dev->cdev, &uverbs_dev->dev); in ib_uverbs_add_one()[all …]
684 void uverbs_disassociate_api_pre(struct ib_uverbs_device *uverbs_dev) in uverbs_disassociate_api_pre() argument686 struct uverbs_api *uapi = uverbs_dev->uapi; in uverbs_disassociate_api_pre()690 rcu_assign_pointer(uverbs_dev->ib_dev, NULL); in uverbs_disassociate_api_pre()702 synchronize_srcu(&uverbs_dev->disassociate_srcu); in uverbs_disassociate_api_pre()
147 void uverbs_disassociate_api_pre(struct ib_uverbs_device *uverbs_dev);