Lines Matching refs:lastbuf
3094 arc_buf_t *lastbuf = NULL;
3106 * the list then update the lastbuf and update
3110 lastbuf = *bufp;
3115 ASSERT3P(lastbuf, !=, buf);
3116 IMPLY(hdr->b_l1hdr.b_bufcnt > 0, lastbuf != NULL);
3118 IMPLY(lastbuf != NULL, ARC_BUF_LAST(lastbuf));
3120 return (lastbuf);
3175 arc_buf_t *lastbuf = arc_buf_remove(hdr, buf);
3190 if (lastbuf != NULL && !ARC_BUF_ENCRYPTED(lastbuf)) {
3192 VERIFY(!arc_buf_is_shared(lastbuf));
3194 VERIFY(!ARC_BUF_COMPRESSED(lastbuf));
3205 arc_share_buf(hdr, lastbuf);
3212 * simply assert that the lastbuf is shared so
3216 ASSERT3P(lastbuf, !=, NULL);
3217 ASSERT(arc_buf_is_shared(lastbuf) ||
6647 arc_buf_t *lastbuf = arc_buf_remove(hdr, buf);
6648 ASSERT3P(lastbuf, !=, NULL);
6656 VERIFY(!arc_buf_is_shared(lastbuf));
6666 * have lastbuf handy, we try to share with it, but if
6670 if (arc_can_share(hdr, lastbuf)) {
6671 arc_share_buf(hdr, lastbuf);
6677 VERIFY3P(lastbuf->b_data, !=, NULL);
6683 * simply assert that the lastbuf is shared so
6687 ASSERT(arc_buf_is_shared(lastbuf) ||