Home
last modified time | relevance | path

Searched refs:xrcd_uobj (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/infiniband/core/
H A Duverbs_std_types_srq.c45 struct ib_uobject *xrcd_uobj; in UVERBS_HANDLER() local
76 xrcd_uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
78 if (IS_ERR(xrcd_uobj)) in UVERBS_HANDLER()
79 return PTR_ERR(xrcd_uobj); in UVERBS_HANDLER()
81 attr.ext.xrc.xrcd = (struct ib_xrcd *)xrcd_uobj->object; in UVERBS_HANDLER()
84 obj->uxrcd = container_of(xrcd_uobj, struct ib_uxrcd_object, in UVERBS_HANDLER()
H A Duverbs_std_types_qp.c97 struct ib_uobject *xrcd_uobj = NULL; in UVERBS_HANDLER() local
125 xrcd_uobj = uverbs_attr_get_uobject(attrs, in UVERBS_HANDLER()
127 if (IS_ERR(xrcd_uobj)) in UVERBS_HANDLER()
128 return PTR_ERR(xrcd_uobj); in UVERBS_HANDLER()
130 xrcd = (struct ib_xrcd *)xrcd_uobj->object; in UVERBS_HANDLER()
260 obj->uxrcd = container_of(xrcd_uobj, struct ib_uxrcd_object, in UVERBS_HANDLER()
H A Duverbs_cmd.c1285 struct ib_uobject *xrcd_uobj = ERR_PTR(-ENOENT); in create_qp() local
1341 xrcd_uobj = uobj_get_read(UVERBS_OBJECT_XRCD, cmd->pd_handle, in create_qp()
1344 if (IS_ERR(xrcd_uobj)) { in create_qp()
1349 xrcd = (struct ib_xrcd *)xrcd_uobj->object; in create_qp()
1451 obj->uxrcd = container_of(xrcd_uobj, struct ib_uxrcd_object, in create_qp()
1454 uobj_put_read(xrcd_uobj); in create_qp()
1483 if (!IS_ERR(xrcd_uobj)) in create_qp()
1484 uobj_put_read(xrcd_uobj); in create_qp()
1558 struct ib_uobject *xrcd_uobj; in ib_uverbs_open_qp() local
1570 xrcd_uobj = uobj_get_read(UVERBS_OBJECT_XRCD, cmd.pd_handle, attrs); in ib_uverbs_open_qp()
[all …]