Lines Matching refs:comp_mask
255 static int check_selector(ib_sa_comp_mask comp_mask, in check_selector() argument
262 if (!(comp_mask & selector_mask) || !(comp_mask & value_mask)) in check_selector()
284 struct ib_sa_mcmember_rec *dst, ib_sa_comp_mask comp_mask) in cmp_rec() argument
288 if (comp_mask & IB_SA_MCMEMBER_REC_PORT_GID && in cmp_rec()
291 if (comp_mask & IB_SA_MCMEMBER_REC_QKEY && src->qkey != dst->qkey) in cmp_rec()
293 if (comp_mask & IB_SA_MCMEMBER_REC_MLID && src->mlid != dst->mlid) in cmp_rec()
295 if (check_selector(comp_mask, IB_SA_MCMEMBER_REC_MTU_SELECTOR, in cmp_rec()
299 if (comp_mask & IB_SA_MCMEMBER_REC_TRAFFIC_CLASS && in cmp_rec()
302 if (comp_mask & IB_SA_MCMEMBER_REC_PKEY && src->pkey != dst->pkey) in cmp_rec()
304 if (check_selector(comp_mask, IB_SA_MCMEMBER_REC_RATE_SELECTOR, in cmp_rec()
308 if (check_selector(comp_mask, in cmp_rec()
314 if (comp_mask & IB_SA_MCMEMBER_REC_SL && src->sl != dst->sl) in cmp_rec()
316 if (comp_mask & IB_SA_MCMEMBER_REC_FLOW_LABEL && in cmp_rec()
319 if (comp_mask & IB_SA_MCMEMBER_REC_HOP_LIMIT && in cmp_rec()
322 if (comp_mask & IB_SA_MCMEMBER_REC_SCOPE && src->scope != dst->scope) in cmp_rec()
339 member->multicast.comp_mask, in send_join()
452 multicast->comp_mask); in mcast_work_handler()
610 ib_sa_comp_mask comp_mask, gfp_t gfp_mask, in ib_sa_join_multicast() argument
631 member->multicast.comp_mask = comp_mask; in ib_sa_join_multicast()