Lines Matching defs:lbp
211 logd_log_write(kmutex_t *lock, log_buf_t *lbp)
213 nca_log_buf_hdr_t *hdr = (nca_log_buf_hdr_t *)lbp->buffer;
242 iov.iov_base = lbp->buffer;
373 log_buf_t *lbp;
383 while ((lbp = logdp->head) == NULL) {
388 if ((logdp->head = lbp->next) == NULL)
392 logd_log_write(lock, lbp);
393 kmem_cache_free(log_buf_kmc, lbp);
603 log_buf_t *lbp = log;
612 if (lbp != NULL && lbp->cur_pos > (sizeof (nca_log_buf_hdr_t)) &&
613 lastlbp == lbp && lastpos == lbp->cur_pos) {
621 sp = &(((nca_log_buf_hdr_t *)lbp)->nca_logstats);
622 sp->n_log_size = lbp->cur_pos;
639 if ((lastlbp = lbp) != NULL)
640 lastpos = lbp->cur_pos;