Lines Matching refs:buf
322 // This function sets up a fake buf and passes it directly to the
550 buffer_flushed_callback(struct buf *bp, void *arg)
559 //printf("jnl: buf flush: bp @ 0x%x l/blkno %qd/%qd vp 0x%x tr @ 0x%x\n",
584 // this buf may represent more than one block so take
767 struct buf *oblock_bp=NULL;
1409 // Replay the coalesced entries in the co-buf
2559 journal_modify_block_start(journal *jnl, struct buf *bp)
2667 journal_modify_block_abort(journal *jnl, struct buf *bp)
2734 journal_modify_block_end(journal *jnl, struct buf *bp, void (*func)(buf_t bp, void *arg), void *arg)
2870 journal_kill_block(journal *jnl, struct buf *bp)
3570 struct buf *bp;
3892 if (kmem_alloc(kernel_map, (vm_offset_t *)&bparray, blhdr->num_blocks * sizeof(struct buf *))) {
3893 panic("can't allocate %zd bytes for bparray\n", blhdr->num_blocks * sizeof(struct buf *));
3994 kmem_free(kernel_map, (vm_offset_t)bparray, blhdr->num_blocks * sizeof(struct buf *));
4060 * we can re-order the buf ptrs because everything is written out already
4664 journal_modify_block_start(__unused journal *jnl, __unused struct buf *bp)
4671 __unused struct buf *bp,
4672 __unused void (*func)(struct buf *bp, void *arg),
4679 journal_kill_block(__unused journal *jnl, __unused struct buf *bp)