Searched refs:chunk_end (Results 1 – 10 of 10) sorted by relevance
96 ch = (struct sctp_chunkhdr *)chunk->chunk_end; in sctp_inq_peek()139 ch = (struct sctp_chunkhdr *)chunk->chunk_end; in sctp_inq_pop()141 skb_pull(chunk->skb, chunk->chunk_end - chunk->skb->data); in sctp_inq_pop()201 chunk->chunk_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in sctp_inq_pop()205 if (chunk->chunk_end + sizeof(*ch) <= skb_tail_pointer(chunk->skb)) { in sctp_inq_pop()208 } else if (chunk->chunk_end > skb_tail_pointer(chunk->skb)) { in sctp_inq_pop()211 chunk->chunk_end = skb_tail_pointer(chunk->skb); in sctp_inq_pop()
1067 chunk->chunk_end = skb_tail_pointer(chunk->skb); in sctp_addto_param()1245 retval->chunk_end = skb_tail_pointer(retval->skb); in sctp_make_pad()1355 retval->chunk_end = skb_tail_pointer(retval->skb); in sctp_make_auth()1461 retval->chunk_end = ((__u8 *)chunk_hdr) + sizeof(*chunk_hdr); in _sctp_make_chunk()1547 chunk->chunk_end = skb_tail_pointer(chunk->skb); in sctp_addto_chunk()1571 chunk->chunk_end = skb_tail_pointer(chunk->skb); in sctp_user_addto_chunk()2321 if (param.v != (void *)chunk->chunk_end) in sctp_verify_init()3264 if (param.v != chunk->chunk_end) in sctp_verify_asconf()
728 skb_trim(skb, chunk->chunk_end - padding - skb->data); in sctp_ulpevent_make_rcvmsg()
972 while (chunk->chunk_end > chunk->skb->data) { in sctp_cmd_process_operr()
193 return (void *)err == (void *)chunk->chunk_end; in sctp_err_chunk_valid()3578 if ((void *)err != (void *)chunk->chunk_end) in sctp_sf_operr_notify()
83 unsigned char *chunk_end = chunk_start + bytes_read - 1; in read_objdump_chunk() local86 while (chunk_start < chunk_end) { in read_objdump_chunk()88 *chunk_start = *chunk_end; in read_objdump_chunk()89 *chunk_end = tmp; in read_objdump_chunk()91 chunk_end--; in read_objdump_chunk()
135 u64 chunk, chunk_end; in xp_aligned_validate_desc() local139 chunk_end = xp_aligned_extract_addr(pool, desc->addr + desc->len - 1); in xp_aligned_validate_desc()140 if (chunk != chunk_end) in xp_aligned_validate_desc()
781 u64 chunk_end; in btrfs_check_chunk_valid() local836 if (unlikely(check_add_overflow(logical, length, &chunk_end))) { in btrfs_check_chunk_valid()
484 int chunk_end; in cdns3_wa2_descmiss_copy_data() local494 chunk_end = descmiss_priv_req->flags & REQUEST_INTERNAL_CH; in cdns3_wa2_descmiss_copy_data()502 if (!chunk_end) in cdns3_wa2_descmiss_copy_data()
608 __u8 *chunk_end; member