Lines Matching defs:chunk
91 mblk_t *sb_mp; /* partial chunk */
96 uint_t sb_chunk; /* max chunk size */
252 * Free the current chunk.
336 uint_t chunk;
338 chunk = *(uint_t *)mp->b_cont->b_rptr;
343 sop->so_hiwat = SNIT_HIWAT(chunk, 1);
344 sop->so_lowat = SNIT_LOWAT(chunk, 1);
496 * Reset timeout, flush the chunk currently in
497 * progress, and start a new chunk.
737 uint_t chunk;
739 chunk = *(uint_t *)mp->b_cont->b_rptr;
744 sop->so_hiwat = SNIT_HIWAT(chunk, 1);
745 sop->so_lowat = SNIT_LOWAT(chunk, 1);
929 * This is used to calculate whether a chunk is nearly full.
936 * If the currently accumulating chunk doesn't have enough room
937 * for the message, close off the chunk, pass it upward, and start
938 * a new one. Then add the message to the current chunk, taking
940 * chunk size.
981 * chunk? If so close the chunk off and start a new one.
986 * First message too big for chunk - just send it up.
995 * We now know that the msg will fit in the chunk.
996 * Link it onto the end of the chunk.
1019 /* We can't fit this message on the current chunk. */
1025 * call) then allocate the head of a new chunk.
1028 /* Allocate leading header of new chunk */
1047 * chunk. The header values are copied into the chunk
1058 * chunk -- forgo the padding and close the chunk.
1071 * We may add another message to this chunk -- adjust
1087 * next message will fit in this chunk.
1127 /* Link the wrapper msg onto the end of the chunk */
1156 * Close off the currently accumulating chunk and pass
1160 * of the chunk timeout expiring.
1179 * If there's currently a chunk in progress, close it off
1187 * Clear old chunk. Ready for new msgs.