Lines Matching refs:patlen
100 size_t patlen; in wowlan_parse_tcp_file() local
102 if (parse_hex_mask(buf + 5, &pat, &patlen, &mask)) in wowlan_parse_tcp_file()
105 DIV_ROUND_UP(patlen, 8), mask); in wowlan_parse_tcp_file()
107 patlen, pat); in wowlan_parse_tcp_file()
212 size_t patlen; in handle_wowlan_enable() local
285 if (parse_hex_mask(value2, &pat, &patlen, &mask)) { in handle_wowlan_enable()
292 DIV_ROUND_UP(patlen, 8), mask); in handle_wowlan_enable()
293 NLA_PUT(patterns, NL80211_PKTPAT_PATTERN, patlen, pat); in handle_wowlan_enable()
433 int i, patlen, masklen; in print_wowlan_handler() local
443 patlen = nla_len(patattr[NL80211_PKTPAT_PATTERN]); in print_wowlan_handler()
444 if (DIV_ROUND_UP(patlen, 8) != masklen) { in print_wowlan_handler()
456 for (i = 0; i < patlen; i++) { in print_wowlan_handler()
461 if (i != patlen - 1) in print_wowlan_handler()