Lines Matching refs:port
326 return "port info";
519 struct madeye_port *port;
531 port = kmalloc(sizeof *port * (e - s + 1), GFP_KERNEL);
532 if (!port)
537 port[i].smi_agent = ib_register_mad_snoop(device, i + s,
542 &port[i]);
543 port[i].gsi_agent = ib_register_mad_snoop(device, i + s,
548 &port[i]);
552 ib_set_client_data(device, &madeye_client, port);
557 struct madeye_port *port;
560 port = (struct madeye_port *)
562 if (!port)
574 if (!IS_ERR(port[i].smi_agent))
575 ib_unregister_mad_agent(port[i].smi_agent);
576 if (!IS_ERR(port[i].gsi_agent))
577 ib_unregister_mad_agent(port[i].gsi_agent);
579 kfree(port);