Searched refs:ch_end (Results 1 – 3 of 3) sorted by relevance
93 unsigned long lh_start, lh_end, lh_size, ch_start, ch_end, ch_size; in create_mem_hole() local103 ch_end = ch_start + ch_size - 1; in create_mem_hole()109 if (addr > ch_end) in create_mem_hole()114 lh_end = min(addr + size - 1, ch_end); in create_mem_hole()117 if (lh_start == ch_start && lh_end == ch_end) { in create_mem_hole()120 } else if (lh_end == ch_end) { in create_mem_hole()141 ch_end - lh_end, ch_type); in create_mem_hole()
662 __u8 *ch_end; in sctp_rcv_ootb() local672 ch_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length)); in sctp_rcv_ootb()673 if (ch_end > skb_tail_pointer(skb)) in sctp_rcv_ootb()698 ch = (sctp_chunkhdr_t *) ch_end; in sctp_rcv_ootb()699 } while (ch_end < skb_tail_pointer(skb)); in sctp_rcv_ootb()1028 __u8 *ch_end; in __sctp_rcv_walk_lookup() local1039 ch_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length)); in __sctp_rcv_walk_lookup()1040 if (ch_end > skb_tail_pointer(skb)) in __sctp_rcv_walk_lookup()1072 ch = (sctp_chunkhdr_t *) ch_end; in __sctp_rcv_walk_lookup()1074 } while (ch_end < skb_tail_pointer(skb)); in __sctp_rcv_walk_lookup()
3341 __u8 *ch_end; in sctp_sf_ootb() local3386 ch_end = ((__u8 *)ch) + WORD_ROUND(ntohs(ch->length)); in sctp_sf_ootb()3387 if (ch_end > skb_tail_pointer(skb)) in sctp_sf_ootb()3391 ch = (sctp_chunkhdr_t *) ch_end; in sctp_sf_ootb()3392 } while (ch_end < skb_tail_pointer(skb)); in sctp_sf_ootb()