Searched refs:mgid (Results 1 – 3 of 3) sorted by relevance
343 struct ib_multicast_gid *mgid; in ib_find_qp_mgid() local346 list_for_each_entry ( mgid, &qp->mgids, list ) { in ib_find_qp_mgid()347 if ( memcmp ( &mgid->gid, gid, in ib_find_qp_mgid()348 sizeof ( mgid->gid ) ) == 0 ) { in ib_find_qp_mgid()658 struct ib_multicast_gid *mgid; in ib_mcast_attach() local662 mgid = zalloc ( sizeof ( *mgid ) ); in ib_mcast_attach()663 if ( ! mgid ) { in ib_mcast_attach()667 memcpy ( &mgid->gid, gid, sizeof ( mgid->gid ) ); in ib_mcast_attach()668 list_add ( &mgid->list, &qp->mgids ); in ib_mcast_attach()677 list_del ( &mgid->list ); in ib_mcast_attach()[all …]
59 memcpy ( &sa->sa_data.mc_member_record.mgid, gid, in ib_mcast_mad()60 sizeof ( sa->sa_data.mc_member_record.mgid ) ); in ib_mcast_mad()
242 struct ib_gid mgid; member