Lines Matching refs:main
121 if (pps->main.state != IB_PORT_PKEY_NOT_VALID) { in check_qp_port_pkey_settings()
122 ret = get_pkey_and_subnet_prefix(&pps->main, in check_qp_port_pkey_settings()
343 new_pps->main.port_num = qp_attr->port_num; in get_new_pps()
345 new_pps->main.port_num = qp_pps->main.port_num; in get_new_pps()
348 new_pps->main.pkey_index = qp_attr->pkey_index; in get_new_pps()
350 new_pps->main.pkey_index = qp_pps->main.pkey_index; in get_new_pps()
354 (qp_pps && qp_pps->main.state != IB_PORT_PKEY_NOT_VALID)) in get_new_pps()
355 new_pps->main.state = IB_PORT_PKEY_VALID; in get_new_pps()
368 new_pps->main.sec = qp->qp_sec; in get_new_pps()
463 port_pkey_list_remove(&sec->ports_pkeys->main); in ib_destroy_qp_security_begin()
510 port_pkey_list_insert(&sec->ports_pkeys->main); in ib_destroy_qp_security_abort()
614 ret = port_pkey_list_insert(&new_pps->main); in ib_security_modify_qp()
642 port_pkey_list_remove(&tmp_pps->main); in ib_security_modify_qp()