Searched refs:uverbs_dev (Results 1 – 3 of 3) sorted by relevance
1004 struct ib_uverbs_device *uverbs_dev = client_data; in ib_uverbs_get_nl_info() local1011 res->cdev = &uverbs_dev->dev; in ib_uverbs_get_nl_info()1089 struct ib_uverbs_device *uverbs_dev) in ib_uverbs_create_uapi() argument1097 uverbs_dev->uapi = uapi; in ib_uverbs_create_uapi()1105 struct ib_uverbs_device *uverbs_dev; in ib_uverbs_add_one() local1111 uverbs_dev = kzalloc(sizeof(*uverbs_dev), GFP_KERNEL); in ib_uverbs_add_one()1112 if (!uverbs_dev) in ib_uverbs_add_one()1115 ret = init_srcu_struct(&uverbs_dev->disassociate_srcu); in ib_uverbs_add_one()1117 kfree(uverbs_dev); in ib_uverbs_add_one()1121 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);