Lines Matching defs:lastbuf
3037 arc_buf_t *lastbuf = NULL;
3049 * the list then update the lastbuf and update
3053 lastbuf = *bufp;
3058 ASSERT3P(lastbuf, !=, buf);
3059 IMPLY(lastbuf != NULL, ARC_BUF_LAST(lastbuf));
3061 return (lastbuf);
3115 arc_buf_t *lastbuf = arc_buf_remove(hdr, buf);
3130 if (lastbuf != NULL && !ARC_BUF_ENCRYPTED(lastbuf)) {
3132 ASSERT(!arc_buf_is_shared(lastbuf));
3134 ASSERT(!ARC_BUF_COMPRESSED(lastbuf));
3145 arc_share_buf(hdr, lastbuf);
3152 * simply assert that the lastbuf is shared so
3156 ASSERT3P(lastbuf, !=, NULL);
3157 ASSERT(arc_buf_is_shared(lastbuf) ||
6479 arc_buf_t *lastbuf = arc_buf_remove(hdr, buf);
6480 ASSERT3P(lastbuf, !=, NULL);
6488 ASSERT(!arc_buf_is_shared(lastbuf));
6498 * have lastbuf handy, we try to share with it, but if
6502 if (arc_can_share(hdr, lastbuf)) {
6503 arc_share_buf(hdr, lastbuf);
6509 VERIFY3P(lastbuf->b_data, !=, NULL);
6515 * simply assert that the lastbuf is shared so
6519 ASSERT(arc_buf_is_shared(lastbuf) ||