Searched refs:uverbs_dev (Results 1 – 3 of 3) sorted by relevance
1013 struct ib_uverbs_device *uverbs_dev = client_data; in ib_uverbs_get_nl_info() local1020 res->cdev = &uverbs_dev->dev; in ib_uverbs_get_nl_info()1098 struct ib_uverbs_device *uverbs_dev) in ib_uverbs_create_uapi() argument1106 uverbs_dev->uapi = uapi; in ib_uverbs_create_uapi()1114 struct ib_uverbs_device *uverbs_dev; in ib_uverbs_add_one() local1120 uverbs_dev = kzalloc(sizeof(*uverbs_dev), GFP_KERNEL); in ib_uverbs_add_one()1121 if (!uverbs_dev) in ib_uverbs_add_one()1124 ret = init_srcu_struct(&uverbs_dev->disassociate_srcu); in ib_uverbs_add_one()1126 kfree(uverbs_dev); in ib_uverbs_add_one()1130 device_initialize(&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);