Searched refs:ch_end (Results 1 – 3 of 3) sorted by relevance
472 u32 y, ch_begin = 0, ch_end = priv->available_chnl_num;477 ch_end = idx_2G_end + 1;483 for (y = ch_begin; y < ch_end; y++)497 if (find_clean_channel(priv, ch_begin, ch_end, tmp_score)) {509 for (y = ch_begin; y < ch_end; y++) {536 for (y = ch_begin; y < ch_end; y++) {555 if ((int)(y + 1) < (int)ch_end)557 if ((int)(y + 2) < (int)ch_end)559 if ((int)(y + 3) < (int)ch_end)561 if ((int)(y + 4) < (int)ch_end)[all …]
671 int ch_end, offset = 0; in sctp_rcv_ootb() local685 ch_end = offset + SCTP_PAD4(ntohs(ch->length)); in sctp_rcv_ootb()686 if (ch_end > skb->len) in sctp_rcv_ootb()711 offset = ch_end; in sctp_rcv_ootb()712 } while (ch_end < skb->len); in sctp_rcv_ootb()1208 __u8 *ch_end; in __sctp_rcv_walk_lookup() local1219 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in __sctp_rcv_walk_lookup()1220 if (ch_end > skb_tail_pointer(skb)) in __sctp_rcv_walk_lookup()1253 ch = (struct sctp_chunkhdr *)ch_end; in __sctp_rcv_walk_lookup()1255 } while (ch_end + sizeof(*ch) < skb_tail_pointer(skb)); in __sctp_rcv_walk_lookup()
3588 __u8 *ch_end; in sctp_sf_ootb() local3603 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in sctp_sf_ootb()3604 if (ch_end > skb_tail_pointer(skb)) in sctp_sf_ootb()3639 ch = (struct sctp_chunkhdr *)ch_end; in sctp_sf_ootb()3640 } while (ch_end < skb_tail_pointer(skb)); in sctp_sf_ootb()