Lines Matching refs:rbp
132 rollbuf_t *rbp; in log_roll_read() local
159 for (i = 0, rbp = rbs; i < nbuf; ++i, ++rbp) { in log_roll_read()
160 if (P2ALIGN(rbp->rb_bh.b_blkno, in log_roll_read()
172 bp = &rbp->rb_bh; in log_roll_read()
177 if (top_read_roll(rbp, ul)) { in log_roll_read()
213 for (error = 0, i = 0, rbp = rbs; i < nbuf; ++i, ++rbp) { in log_roll_read()
214 if (!rbp->rb_crb) { in log_roll_read()
215 bp = &rbp->rb_bh; in log_roll_read()
226 MAPBLOCKSIZE, rbp->rb_age)) { in log_roll_read()
234 logmap_list_put_roll(logmap, rbp->rb_age); in log_roll_read()
251 log_roll_write_crb(ufsvfs_t *ufsvfsp, rollbuf_t *rbp) in log_roll_write_crb() argument
253 crb_t *crb = rbp->rb_crb; in log_roll_write_crb()
254 buf_t *bp = &rbp->rb_bh; in log_roll_write_crb()
276 log_roll_write_bufs(ufsvfs_t *ufsvfsp, rollbuf_t *rbp) in log_roll_write_bufs() argument
278 buf_t *bp = &rbp->rb_bh; in log_roll_write_bufs()
280 rbsecmap_t secmap = rbp->rb_secmap; in log_roll_write_bufs()
343 rollbuf_t *rbp; in log_roll_write() local
354 for (head = rbs, rbp = rbs + 1; rbp < rbs + nbuf; rbp++) { in log_roll_write()
356 if (rbp->rb_bh.b_blkno < rbp2->rb_bh.b_blkno) { in log_roll_write()
358 rbp->rb_next = head; in log_roll_write()
359 head = rbp; in log_roll_write()
361 prev->rb_next = rbp; in log_roll_write()
362 rbp->rb_next = rbp2; in log_roll_write()
368 prev->rb_next = rbp; in log_roll_write()
369 rbp->rb_next = NULL; in log_roll_write()
376 for (rbp = head; rbp; rbp = rbp2) { in log_roll_write()
377 if (rbp->rb_crb) { in log_roll_write()
378 log_roll_write_crb(ufsvfsp, rbp); in log_roll_write()
380 log_roll_write_bufs(ufsvfsp, rbp); in log_roll_write()
383 rbp2 = rbp->rb_next; in log_roll_write()
384 rbp->rb_next = NULL; in log_roll_write()
390 for (rbp = rbs; rbp < rbs + nbuf; rbp++) { in log_roll_write()
391 bp = &rbp->rb_bh; in log_roll_write()
425 rollbuf_t *rbp; in trans_roll() local
464 for (i = 0, rbp = rbs; i < nmblk; ++i, ++rbp) { in trans_roll()
465 rbp->rb_next = NULL; in trans_roll()
466 bp = &rbp->rb_bh; in trans_roll()
580 for (i = 0, rbp = rbs; i < nbuf; ++i, ++rbp) { in trans_roll()
581 bp = &rbp->rb_bh; in trans_roll()