Home
last modified time | relevance | path

Searched refs:chunk_end (Results 1 – 9 of 9) sorted by relevance

/linux/net/sctp/
H A Dinqueue.c104 ch = (struct sctp_chunkhdr *)chunk->chunk_end; in sctp_inq_peek()
145 ch = (struct sctp_chunkhdr *)chunk->chunk_end; in sctp_inq_pop()
147 skb_pull(chunk->skb, chunk->chunk_end - chunk->skb->data); in sctp_inq_pop()
207 chunk->chunk_end = ((__u8 *)ch) + SCTP_PAD4(ntohs(ch->length)); in sctp_inq_pop()
211 if (chunk->chunk_end + sizeof(*ch) <= skb_tail_pointer(chunk->skb)) { in sctp_inq_pop()
214 } else if (chunk->chunk_end > skb_tail_pointer(chunk->skb)) { in sctp_inq_pop()
217 chunk->chunk_end = skb_tail_pointer(chunk->skb); in sctp_inq_pop()
H A Dsm_make_chunk.c1067 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()
3256 if (param.v != chunk->chunk_end) in sctp_verify_asconf()
H A Dulpevent.c728 skb_trim(skb, chunk->chunk_end - padding - skb->data); in sctp_ulpevent_make_rcvmsg()
H A Dsm_sideeffect.c972 while (chunk->chunk_end > chunk->skb->data) { in sctp_cmd_process_operr()
H A Dsm_statefuns.c194 return (void *)err == (void *)chunk->chunk_end; in sctp_err_chunk_valid()
3587 if ((void *)err != (void *)chunk->chunk_end) in sctp_sf_operr_notify()
/linux/tools/perf/tests/
H A Dcode-reading.c83 unsigned char *chunk_end = chunk_start + bytes_read - 1; in read_objdump_chunk() local
86 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()
/linux/drivers/usb/cdns3/
H A Dcdns3-gadget.c485 int chunk_end; in cdns3_wa2_descmiss_copy_data() local
495 chunk_end = descmiss_priv_req->flags & REQUEST_INTERNAL_CH; in cdns3_wa2_descmiss_copy_data()
503 if (!chunk_end) in cdns3_wa2_descmiss_copy_data()
/linux/fs/btrfs/
H A Dtree-checker.c823 u64 chunk_end; in btrfs_check_chunk_valid() local
878 if (unlikely(check_add_overflow(logical, length, &chunk_end))) { in btrfs_check_chunk_valid()
/linux/include/net/sctp/
H A Dstructs.h606 __u8 *chunk_end; member