Searched defs:mcast (Results 1 - 18 of 18) sorted by relevance

/drivers/infiniband/hw/ipath/
H A Dipath_verbs_mcast.c50 * ipath_mcast_qp_alloc - alloc a struct to link a QP to mcast GID struct
87 struct ipath_mcast *mcast; local
89 mcast = kmalloc(sizeof *mcast, GFP_KERNEL);
90 if (!mcast)
93 mcast->mgid = *mgid;
94 INIT_LIST_HEAD(&mcast->qp_list);
95 init_waitqueue_head(&mcast->wait);
96 atomic_set(&mcast->refcount, 0);
97 mcast
103 ipath_mcast_free(struct ipath_mcast *mcast) argument
125 struct ipath_mcast *mcast; local
163 ipath_mcast_add(struct ipath_ibdev *dev, struct ipath_mcast *mcast, struct ipath_mcast_qp *mqp) argument
240 struct ipath_mcast *mcast; local
289 struct ipath_mcast *mcast = NULL; local
[all...]
H A Dipath_verbs.c630 struct ipath_mcast *mcast; local
637 mcast = ipath_mcast_find(&hdr->u.l.grh.dgid);
638 if (mcast == NULL) {
643 list_for_each_entry_rcu(p, &mcast->qp_list, list)
649 if (atomic_dec_return(&mcast->refcount) <= 1)
650 wake_up(&mcast->wait);
/drivers/infiniband/hw/qib/
H A Dqib_verbs_mcast.c39 * qib_mcast_qp_alloc - alloc a struct to link a QP to mcast GID struct
76 struct qib_mcast *mcast; local
78 mcast = kmalloc(sizeof *mcast, GFP_KERNEL);
79 if (!mcast)
82 mcast->mgid = *mgid;
83 INIT_LIST_HEAD(&mcast->qp_list);
84 init_waitqueue_head(&mcast->wait);
85 atomic_set(&mcast->refcount, 0);
86 mcast
92 qib_mcast_free(struct qib_mcast *mcast) argument
115 struct qib_mcast *mcast; local
153 qib_mcast_add(struct qib_ibdev *dev, struct qib_ibport *ibp, struct qib_mcast *mcast, struct qib_mcast_qp *mqp) argument
230 struct qib_mcast *mcast; local
288 struct qib_mcast *mcast = NULL; local
[all...]
H A Dqib_verbs.c646 struct qib_mcast *mcast; local
651 mcast = qib_mcast_find(ibp, &hdr->u.l.grh.dgid);
652 if (mcast == NULL)
655 list_for_each_entry_rcu(p, &mcast->qp_list, list)
661 if (atomic_dec_return(&mcast->refcount) <= 1)
662 wake_up(&mcast->wait);
/drivers/infiniband/ulp/ipoib/
H A Dipoib_multicast.c69 static void ipoib_mcast_free(struct ipoib_mcast *mcast) argument
71 struct net_device *dev = mcast->dev;
77 mcast->mcmember.mgid.raw);
81 list_for_each_entry_safe(neigh, tmp, &mcast->neigh_list, list) {
84 * here, because we know that mcast->ah will always
95 if (mcast->ah)
96 ipoib_put_ah(mcast->ah);
98 while (!skb_queue_empty(&mcast->pkt_queue)) {
100 dev_kfree_skb_any(skb_dequeue(&mcast->pkt_queue));
107 kfree(mcast);
113 struct ipoib_mcast *mcast; local
136 struct ipoib_mcast *mcast; local
154 __ipoib_mcast_add(struct net_device *dev, struct ipoib_mcast *mcast) argument
182 ipoib_mcast_join_finish(struct ipoib_mcast *mcast, struct ib_sa_mcmember_rec *mcmember) argument
283 struct ipoib_mcast *mcast = multicast->context; local
313 ipoib_mcast_sendonly_join(struct ipoib_mcast *mcast) argument
387 struct ipoib_mcast *mcast = multicast->context; local
447 ipoib_mcast_join(struct net_device *dev, struct ipoib_mcast *mcast, int create) argument
570 struct ipoib_mcast *mcast = NULL; local
636 ipoib_mcast_leave(struct net_device *dev, struct ipoib_mcast *mcast) argument
661 struct ipoib_mcast *mcast; local
748 struct ipoib_mcast *mcast, *tmcast; local
792 struct ipoib_mcast *mcast, *tmcast; local
920 struct ipoib_mcast *mcast; local
[all...]
/drivers/infiniband/core/
H A Duverbs_main.c177 struct ib_uverbs_mcast_entry *mcast, *tmp; local
179 list_for_each_entry_safe(mcast, tmp, &uobj->mcast_list, list) {
180 ib_detach_mcast(qp, &mcast->gid, mcast->lid);
181 list_del(&mcast->list);
182 kfree(mcast);
H A Duverbs_cmd.c2386 struct ib_uverbs_mcast_entry *mcast; local
2398 list_for_each_entry(mcast, &obj->mcast_list, list)
2399 if (cmd.mlid == mcast->lid &&
2400 !memcmp(cmd.gid, mcast->gid.raw, sizeof mcast->gid.raw)) {
2405 mcast = kmalloc(sizeof *mcast, GFP_KERNEL);
2406 if (!mcast) {
2411 mcast->lid = cmd.mlid;
2412 memcpy(mcast
2433 struct ib_uverbs_mcast_entry *mcast; local
[all...]
/drivers/net/wireless/orinoco/
H A Dwext.c674 u16 enable, period, timeout, mcast; local
696 HERMES_RID_CNFMULTICASTRECEIVE, &mcast);
709 if (mcast)
/drivers/net/ethernet/i825xx/
H A D3c505.h143 mcast, member in struct:Memconf
/drivers/net/ethernet/atheros/atlx/
H A Datl2.h257 unsigned mcast:1; /* multicast packet */ member in struct:tx_pkt_status
306 unsigned mcast:1; /* current packet is multicast */ member in struct:rx_pkt_status
/drivers/net/ethernet/qlogic/qlge/
H A Dqlge_main.c4201 unsigned long pkts, mcast, dropped, errors, bytes; local
4205 pkts = mcast = dropped = errors = bytes = 0;
4211 mcast += rx_ring->rx_multicast;
4217 ndev->stats.multicast = mcast;
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sp.h140 } mcast; member in union:bnx2x_exe_queue_cmd_data
553 /* Maximal number of mcast MACs configured in one command */
590 /** Checks if there are more mcast MACs to be set or a previous
/drivers/net/ethernet/brocade/bna/
H A Dbfi_enet.h734 u64 mcast; member in struct:bfi_enet_stats_txf
753 u64 mcast; member in struct:bfi_enet_stats_rxf
/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4.h676 __be32 mcast; member in struct:mlx4_set_port_rqp_calc_context
/drivers/net/ethernet/micrel/
H A Dks8851_mll.c1110 * This routine removes all mcast addresses set in the hardware.
1146 static void ks_set_mcast(struct ks_net *ks, u16 mcast) argument
1150 ks->all_mcast = mcast;
1154 if (mcast)
1179 /* Turn on/off all mcast mode. */
1200 * turn on all mcast mode.
/drivers/net/wireless/bcmdhd/
H A Dwl_cfg80211.c4551 wpa_suite_mcast_t *mcast; local
4564 /* check the mcast cipher */
4565 mcast = (wpa_suite_mcast_t *)&wpa2ie->data[WPA2_VERSION_LEN];
4566 switch (mcast->type) {
4588 ucast = (wpa_suite_ucast_t *)&mcast[1];
4674 wpa_suite_mcast_t *mcast; local
4700 mcast = (wpa_suite_mcast_t *)&wpaie[1];
4702 if (!bcmp(mcast->oui, WPA_OUI, WPA_OUI_LEN)) {
4703 if (IS_WPA_CIPHER(mcast->type)) {
4705 switch (mcast
[all...]
/drivers/net/wireless/
H A Dmwl8k.c3385 mwl8k_cmd_use_fixed_rate_ap(struct ieee80211_hw *hw, int mcast, int mgmt) argument
3397 cmd->multicast_rate = mcast;
H A Dairo.c1289 static int RxSeqValid (struct airo_info *ai,miccntx *context,int mcast,u32 micSeq);
1489 int mcast = eth->da[0] & 1; local
1491 context = mcast ? &ai->mod[i].mCtx : &ai->mod[i].uCtx;
1520 if (RxSeqValid(ai, context, mcast, micSEQ) == SUCCESS) {
1553 static int RxSeqValid (struct airo_info *ai,miccntx *context,int mcast,u32 micSeq) argument
1560 if (mcast) {

Completed in 1901 milliseconds