Searched refs:ch_end (Results 1 – 3 of 3) sorted by relevance
673 int ch_end, offset = 0; in sctp_rcv_ootb() local687 ch_end = offset + SCTP_PAD4(ntohs(ch->length)); in sctp_rcv_ootb()688 if (ch_end > skb->len) in sctp_rcv_ootb()713 offset = ch_end; in sctp_rcv_ootb()714 } while (ch_end < skb->len); in sctp_rcv_ootb()1152 __u8 *ch_end; in __sctp_rcv_walk_lookup() local1163 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in __sctp_rcv_walk_lookup()1164 if (ch_end > skb_tail_pointer(skb)) in __sctp_rcv_walk_lookup()1197 ch = (struct sctp_chunkhdr *)ch_end; in __sctp_rcv_walk_lookup()1199 } while (ch_end < skb_tail_pointer(skb)); in __sctp_rcv_walk_lookup()
3546 __u8 *ch_end; in sctp_sf_ootb() local3558 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in sctp_sf_ootb()3559 if (ch_end > skb_tail_pointer(skb)) in sctp_sf_ootb()3594 ch = (struct sctp_chunkhdr *)ch_end; in sctp_sf_ootb()3595 } while (ch_end < skb_tail_pointer(skb)); in sctp_sf_ootb()
3862 const int ch_end = ((node_idx + 1) * target->ch_count / in srp_create_target() local3873 if (ch_start + cpu_idx >= ch_end) in srp_create_target()