Home
last modified time | relevance | path

Searched refs:space_at_end (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsgsbbc_mailbox.c1604 int space_at_end, space_at_start; in mbox_write() local
1656 space_at_end = mbox_consumer - mbox_producer - MBOX_ALIGN_BYTES; in mbox_write()
1657 if (space_at_end < 0) in mbox_write()
1658 space_at_end = 0; in mbox_write()
1661 space_at_end = mbox_len - mbox_producer; in mbox_write()
1663 space_at_end -= MBOX_ALIGN_BYTES; in mbox_write()
1670 f, space_at_end, space_at_start); in mbox_write()
1672 free_space = space_at_end + space_at_start; in mbox_write()
1696 if (space_at_end >= frag_header_size) { in mbox_write()
1709 space_at_end -= frag_header_size; in mbox_write()
[all …]
H A Dsgcn.c1053 int size, space, space_at_end; in circular_buffer_write() local
1067 space_at_end = end - wr; in circular_buffer_write()
1069 if (rd > wr || rd <= wr && space_at_end >= len) { /* one piece */ in circular_buffer_write()
1075 if (space_at_end) { in circular_buffer_write()
1077 wr, buf, space_at_end); in circular_buffer_write()
1080 if (len - space_at_end) { in circular_buffer_write()
1082 begin, buf+space_at_end, len-space_at_end); in circular_buffer_write()