Lines Matching refs:mask_pat
13416 u8 *mask_pat; in nl80211_set_wowlan() local
13447 mask_pat = kmalloc(mask_len + pat_len, GFP_KERNEL); in nl80211_set_wowlan()
13448 if (!mask_pat) { in nl80211_set_wowlan()
13452 new_triggers.patterns[i].mask = mask_pat; in nl80211_set_wowlan()
13453 memcpy(mask_pat, nla_data(pat_tb[NL80211_PKTPAT_MASK]), in nl80211_set_wowlan()
13455 mask_pat += mask_len; in nl80211_set_wowlan()
13456 new_triggers.patterns[i].pattern = mask_pat; in nl80211_set_wowlan()
13458 memcpy(mask_pat, in nl80211_set_wowlan()
13669 u8 *mask_pat; in nl80211_parse_coalesce_rule() local
13697 mask_pat = kmalloc(mask_len + pat_len, GFP_KERNEL); in nl80211_parse_coalesce_rule()
13698 if (!mask_pat) in nl80211_parse_coalesce_rule()
13701 new_rule->patterns[i].mask = mask_pat; in nl80211_parse_coalesce_rule()
13702 memcpy(mask_pat, nla_data(pat_tb[NL80211_PKTPAT_MASK]), in nl80211_parse_coalesce_rule()
13705 mask_pat += mask_len; in nl80211_parse_coalesce_rule()
13706 new_rule->patterns[i].pattern = mask_pat; in nl80211_parse_coalesce_rule()
13708 memcpy(mask_pat, nla_data(pat_tb[NL80211_PKTPAT_PATTERN]), in nl80211_parse_coalesce_rule()