Lines Matching refs:port_num

52 	spin_lock(&dev->port_data[pp->port_num].pkey_list_lock);  in get_pkey_idx_qp_list()
53 list_for_each_entry (tmp_pkey, &dev->port_data[pp->port_num].pkey_list, in get_pkey_idx_qp_list()
60 spin_unlock(&dev->port_data[pp->port_num].pkey_list_lock); in get_pkey_idx_qp_list()
71 ret = ib_get_cached_pkey(dev, pp->port_num, pp->pkey_index, pkey); in get_pkey_and_subnet_prefix()
75 ib_get_cached_subnet_prefix(dev, pp->port_num, subnet_prefix); in get_pkey_and_subnet_prefix()
196 u32 port_num, in check_pkey_qps() argument
205 port_num, in check_pkey_qps()
248 u32 port_num = pp->port_num; in port_pkey_list_insert() local
265 spin_lock(&dev->port_data[port_num].pkey_list_lock); in port_pkey_list_insert()
270 &dev->port_data[port_num].pkey_list, in port_pkey_list_insert()
285 &dev->port_data[port_num].pkey_list); in port_pkey_list_insert()
287 spin_unlock(&dev->port_data[port_num].pkey_list_lock); in port_pkey_list_insert()
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()
358 new_pps->alt.port_num = qp_attr->alt_port_num; in get_new_pps()
362 new_pps->alt.port_num = qp_pps->alt.port_num; in get_new_pps()
541 u32 port_num, in ib_security_cache_change() argument
546 list_for_each_entry (pkey, &device->port_data[port_num].pkey_list, in ib_security_cache_change()
550 port_num, in ib_security_cache_change()
587 rdma_protocol_ib(real_qp->device, qp_attr->port_num) && in ib_security_modify_qp()
652 u32 port_num, in ib_security_pkey_access() argument
660 if (!rdma_protocol_ib(dev, port_num)) in ib_security_pkey_access()
663 ret = ib_get_cached_pkey(dev, port_num, pkey_index, &pkey); in ib_security_pkey_access()
667 ib_get_cached_subnet_prefix(dev, port_num, &subnet_prefix); in ib_security_pkey_access()
682 dev_name(&ag->device->dev), ag->port_num)); in ib_mad_agent_security_change()
691 if (!rdma_protocol_ib(agent->device, agent->port_num)) in ib_mad_agent_security_setup()
706 agent->port_num); in ib_mad_agent_security_setup()
723 if (!rdma_protocol_ib(agent->device, agent->port_num)) in ib_mad_agent_security_cleanup()
737 if (!rdma_protocol_ib(map->agent.device, map->agent.port_num)) in ib_mad_enforce_security()
747 map->agent.port_num, in ib_mad_enforce_security()