Home
last modified time | relevance | path

Searched refs:reg_req (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/core/
Dmad.c231 struct ib_mad_reg_req *reg_req = NULL; in ib_register_mad_agent() local
373 reg_req = kmemdup(mad_reg_req, sizeof *reg_req, GFP_KERNEL); in ib_register_mad_agent()
374 if (!reg_req) { in ib_register_mad_agent()
382 mad_agent_priv->reg_req = reg_req; in ib_register_mad_agent()
471 kfree(reg_req); in ib_register_mad_agent()
513 kfree(mad_agent_priv->reg_req); in unregister_mad_agent()
1447 if (!agent_priv->reg_req) in remove_mad_reg_req()
1451 mgmt_class = convert_mgmt_class(agent_priv->reg_req->mgmt_class); in remove_mad_reg_req()
1453 agent_priv->reg_req->mgmt_class_version].class; in remove_mad_reg_req()
1471 agent_priv->reg_req-> in remove_mad_reg_req()
[all …]
Dmad_priv.h93 struct ib_mad_reg_req *reg_req; member
Dcm.c4329 struct ib_mad_reg_req reg_req = { in cm_add_one() local
4354 set_bit(IB_MGMT_METHOD_SEND, reg_req.method_mask); in cm_add_one()
4376 &reg_req, in cm_add_one()
/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c923 struct ib_mad_reg_req reg_req = { in vema_register() local
930 set_bit(IB_MGMT_METHOD_GET, reg_req.method_mask); in vema_register()
931 set_bit(IB_MGMT_METHOD_SET, reg_req.method_mask); in vema_register()
948 IB_QPT_GSI, &reg_req, in vema_register()
/drivers/infiniband/ulp/srpt/
Dib_srpt.c553 struct ib_mad_reg_req reg_req; in srpt_refresh_port() local
591 memset(&reg_req, 0, sizeof(reg_req)); in srpt_refresh_port()
592 reg_req.mgmt_class = IB_MGMT_CLASS_DEVICE_MGMT; in srpt_refresh_port()
593 reg_req.mgmt_class_version = IB_MGMT_BASE_VERSION; in srpt_refresh_port()
594 set_bit(IB_MGMT_METHOD_GET, reg_req.method_mask); in srpt_refresh_port()
595 set_bit(IB_MGMT_METHOD_SET, reg_req.method_mask); in srpt_refresh_port()
600 &reg_req, 0, in srpt_refresh_port()