Home | History | Annotate | Download | only in common

Lines Matching refs:left

548 	int left;
580 left = rsn_ie_len - 6;
597 left = rsn_ie_len - sizeof(*hdr);
600 if (left >= RSN_SELECTOR_LEN) {
610 left -= RSN_SELECTOR_LEN;
611 } else if (left > 0) {
613 __func__, left);
617 if (left >= 2) {
621 left -= 2;
622 if (count == 0 || count > left / RSN_SELECTOR_LEN) {
624 "count %u left %u", __func__, count, left);
630 left -= RSN_SELECTOR_LEN;
639 } else if (left == 1) {
645 if (left >= 2) {
649 left -= 2;
650 if (count == 0 || count > left / RSN_SELECTOR_LEN) {
652 "count %u left %u", __func__, count, left);
658 left -= RSN_SELECTOR_LEN;
660 } else if (left == 1) {
666 if (left >= 2) {
669 left -= 2;
672 if (left >= 2) {
675 left -= 2;
676 if (num_pmkid > (unsigned int) left / PMKID_LEN) {
678 "(num_pmkid=%u left=%d)",
679 __func__, num_pmkid, left);
686 left -= data->num_pmkid * PMKID_LEN;
691 if (left >= 4) {
701 left -= RSN_SELECTOR_LEN;
705 if (left > 0) {
708 pos, left);
744 int left;
775 left = wpa_ie_len - sizeof(*hdr);
777 if (left >= WPA_SELECTOR_LEN) {
780 left -= WPA_SELECTOR_LEN;
781 } else if (left > 0) {
783 __func__, left);
787 if (left >= 2) {
791 left -= 2;
792 if (count == 0 || count > left / WPA_SELECTOR_LEN) {
794 "count %u left %u", __func__, count, left);
800 left -= WPA_SELECTOR_LEN;
802 } else if (left == 1) {
808 if (left >= 2) {
812 left -= 2;
813 if (count == 0 || count > left / WPA_SELECTOR_LEN) {
815 "count %u left %u", __func__, count, left);
821 left -= WPA_SELECTOR_LEN;
823 } else if (left == 1) {
829 if (left >= 2) {
832 left -= 2;
835 if (left > 0) {
838 pos, left);