Searched refs:ch_end (Results 1 – 3 of 3) sorted by relevance
669 int ch_end, offset = 0; in sctp_rcv_ootb() local683 ch_end = offset + SCTP_PAD4(ntohs(ch->length)); in sctp_rcv_ootb()684 if (ch_end > skb->len) in sctp_rcv_ootb()709 offset = ch_end; in sctp_rcv_ootb()710 } while (ch_end < skb->len); in sctp_rcv_ootb()1201 __u8 *ch_end; in __sctp_rcv_walk_lookup() local1212 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in __sctp_rcv_walk_lookup()1213 if (ch_end > skb_tail_pointer(skb)) in __sctp_rcv_walk_lookup()1246 ch = (struct sctp_chunkhdr *)ch_end; in __sctp_rcv_walk_lookup()1248 } while (ch_end < skb_tail_pointer(skb)); in __sctp_rcv_walk_lookup()
3545 __u8 *ch_end; in sctp_sf_ootb() local3557 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in sctp_sf_ootb()3558 if (ch_end > skb_tail_pointer(skb)) in sctp_sf_ootb()3593 ch = (struct sctp_chunkhdr *)ch_end; in sctp_sf_ootb()3594 } while (ch_end < skb_tail_pointer(skb)); in sctp_sf_ootb()
3768 const int ch_end = ((node_idx + 1) * target->ch_count / in srp_create_target() local3779 if (ch_start + cpu_idx >= ch_end) in srp_create_target()