Searched refs:ch_end (Results 1 – 3 of 3) sorted by relevance
668 int ch_end, offset = 0; in sctp_rcv_ootb() local682 ch_end = offset + SCTP_PAD4(ntohs(ch->length)); in sctp_rcv_ootb()683 if (ch_end > skb->len) in sctp_rcv_ootb()708 offset = ch_end; in sctp_rcv_ootb()709 } 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()
3531 __u8 *ch_end; in sctp_sf_ootb() local3543 ch_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in sctp_sf_ootb()3544 if (ch_end > skb_tail_pointer(skb)) in sctp_sf_ootb()3579 ch = (struct sctp_chunkhdr *)ch_end; in sctp_sf_ootb()3580 } while (ch_end < skb_tail_pointer(skb)); in sctp_sf_ootb()
3914 const int ch_end = ((node_idx + 1) * target->ch_count / in srp_create_target() local3925 if (ch_start + cpu_idx >= ch_end) in srp_create_target()