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.c1344 if (IS_ERR(xrcd_uobj)) { 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
1571 if (IS_ERR(xrcd_uobj)) { in ib_uverbs_open_qp()
1601 uobj_put_read(xrcd_uobj); in ib_uverbs_open_qp()
1609 uobj_put_read(xrcd_uobj); in ib_uverbs_open_qp()
3382 if (IS_ERR(xrcd_uobj)) { in __uverbs_create_xsrq()
3437 uobj_put_read(xrcd_uobj); in __uverbs_create_xsrq()
[all …]