Home
last modified time | relevance | path

Searched refs:bufobj (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/sys/sys/
H A Dbufobj.h59 struct bufobj;
73 typedef void b_strategy_t(struct bufobj *, struct buf *);
75 typedef int b_sync_t(struct bufobj *, int waitfor);
76 typedef void b_bdflush_t(struct bufobj *, struct buf *);
97 struct bufobj { struct
101 LIST_ENTRY(bufobj) bo_synclist; /* S dirty vnode list */ argument
130 void bufobj_init(struct bufobj *bo, void *priv); argument
131 void bufobj_wdrop(struct bufobj *bo);
132 void bufobj_wref(struct bufobj *bo);
133 void bufobj_wrefl(struct bufobj *bo);
[all …]
H A Dbuf.h49 struct bufobj;
98 struct bufobj *b_bufobj;
574 void bufstrategy(struct bufobj *, struct buf *);
580 struct buf *incore(struct bufobj *, daddr_t);
582 struct buf *gbincore(struct bufobj *, daddr_t);
583 struct buf *gbincore_unlocked(struct bufobj *, daddr_t);
615 void pbgetbo(struct bufobj *bo, struct buf *bp);
H A Dvnode.h186 struct bufobj v_bufobj; /* * Buffer cache object */
649 int bnoreuselist(struct bufv *bufv, struct bufobj *bo, daddr_t startn,
/freebsd/sys/kern/
H A Dkern_kcov.c126 vm_object_t bufobj; /* (o) */ member
353 vm_object_reference(info->bufobj); in kcov_mmap_single()
355 *object = info->bufobj; in kcov_mmap_single()
379 info->bufobj = vm_pager_allocate(OBJT_PHYS, 0, info->bufsize, in kcov_alloc()
382 VM_OBJECT_WLOCK(info->bufobj); in kcov_alloc()
384 m = vm_page_grab(info->bufobj, n, in kcov_alloc()
390 VM_OBJECT_WUNLOCK(info->bufobj); in kcov_alloc()
407 if (info->bufobj != NULL) { in kcov_free()
408 vm_page_iter_limit_init(&pages, info->bufobj, in kcov_free()
410 VM_OBJECT_WLOCK(info->bufobj); in kcov_free()
[all …]
H A Dvfs_subr.c105 static int flushbuflist(struct bufv *bufv, int flags, struct bufobj *bo,
120 static int v_inval_buf_range_locked(struct vnode *vp, struct bufobj *bo,
279 LIST_HEAD(synclist, bufobj);
709 struct bufobj *bo; in vnode_fini()
2187 struct bufobj *bo; in freevnode()
2350 bufobj_invalbuf(struct bufobj *bo, int flags, int slpflag, int slptimeo) in bufobj_invalbuf()
2452 flushbuflist(struct bufv *bufv, int flags, struct bufobj *bo, int slpflag, in flushbuflist()
2521 bnoreuselist(struct bufv *bufv, struct bufobj *bo, daddr_t startn, daddr_t endn) in bnoreuselist()
2572 struct bufobj *bo; in vtruncbuf()
2634 struct bufobj *bo; in v_inval_buf_range()
[all …]
H A Dvfs_bio.c2402 bufbdflush(struct bufobj *bo, struct buf *bp) in bufbdflush()
2458 struct bufobj *bo; in bdwrite()
3256 struct bufobj *bo; in vfs_bio_awrite()
3710 incore(struct bufobj *bo, daddr_t blkno) in incore()
3984 struct bufobj *bo; in getblkx()
4606 struct bufobj *dropobj; in bufdone()
5166 bufsync(struct bufobj *bo, int waitfor) in bufsync()
5173 bufstrategy(struct bufobj *bo, struct buf *bp) in bufstrategy()
5190 bufobj_init(struct bufobj *bo, void *private) in bufobj_init()
5205 bufobj_wrefl(struct bufobj *bo) in bufobj_wrefl()
[all …]
H A Dvfs_cluster.c94 struct bufobj *bo; in cluster_read()
812 struct bufobj *bo; in cluster_wbuild()
/freebsd/sys/dev/spibus/
H A Dspigen.c75 vm_object_t bufobj; member
288 if (mmap->bufobj != NULL) in spigen_mmap_cleanup()
289 vm_object_deallocate(mmap->bufobj); in spigen_mmap_cleanup()
318 mmap->bufobj = vm_pager_allocate(OBJT_PHYS, 0, size, nprot, 0, in spigen_mmap_single()
322 VM_OBJECT_WLOCK(mmap->bufobj); in spigen_mmap_single()
323 vm_object_reference_locked(mmap->bufobj); // kernel and userland both in spigen_mmap_single()
325 m[n] = vm_page_grab(mmap->bufobj, n, in spigen_mmap_single()
330 VM_OBJECT_WUNLOCK(mmap->bufobj); in spigen_mmap_single()
340 *object = mmap->bufobj; in spigen_mmap_single()
/freebsd/sys/geom/
H A Dgeom_vfs.h33 struct bufobj;
38 void g_vfs_strategy(struct bufobj *bo, struct buf *bp);
H A Dgeom_vfs.c54 struct bufobj *sc_bo;
186 g_vfs_strategy(struct bufobj *bo, struct buf *bp) in g_vfs_strategy()
273 struct bufobj *bo; in g_vfs_open()
/freebsd/sys/fs/ext2fs/
H A Dext2_mount.h58 struct bufobj *um_bo;
H A Dext2_inode.c243 struct bufobj *bo; in ext2_ind_truncate()
/freebsd/lib/libprocstat/
H A Dudf.c54 struct bufobj *im_bo;
/freebsd/sys/fs/udf/
H A Dudf.h43 struct bufobj *im_bo;
/freebsd/sys/arm64/spe/
H A Darm_spe_dev.h113 vm_object_t bufobj; member
/freebsd/sys/ufs/ffs/
H A Dffs_vfsops.c1554 struct bufobj *bo; in ffs_sync()
2142 struct bufobj *bufobj; in ffs_backgroundwritedone() local
2153 bufobj = bp->b_bufobj; in ffs_backgroundwritedone()
2154 BO_LOCK(bufobj); in ffs_backgroundwritedone()
2164 BO_UNLOCK(bufobj); in ffs_backgroundwritedone()
2191 BO_LOCK(bufobj); in ffs_backgroundwritedone()
2205 BO_UNLOCK(bufobj); in ffs_backgroundwritedone()
2334 ffs_geom_strategy(struct bufobj *bo, struct buf *bp) in ffs_geom_strategy()
H A Dffs_extern.h72 void ffs_bdflush(struct bufobj *, struct buf *);
H A Dffs_rawread.c96 struct bufobj *bo; in ffs_rawread_sync()
/freebsd/sys/ufs/ufs/
H A Dufsmount.h87 struct bufobj *um_bo; /* (r) Buffer cache object */
/freebsd/sys/fs/msdosfs/
H A Dmsdosfsmount.h80 struct bufobj *pm_bo;
H A Dmsdosfs_vfsops.c517 struct bufobj *bo; in mountmsdosfs()
938 struct bufobj *bo; in msdosfs_unmount()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clsubs.c348 struct bufobj *bo; in ncl_clearcommit()
/freebsd/sys/fs/cd9660/
H A Diso.h229 struct bufobj *im_bo;
/freebsd/sys/vm/
H A Dvm_pager.c530 KASSERT(bp->b_bufobj == NULL, ("pbgetvp: not free (bufobj)")); in pbgetvp()
545 pbgetbo(struct bufobj *bo, struct buf *bp) in pbgetbo()
549 KASSERT(bp->b_bufobj == NULL, ("pbgetbo: not free (bufobj)")); in pbgetbo()
563 KASSERT(bp->b_bufobj != NULL, ("pbrelvp: NULL bufobj")); in pbrelvp()
573 * Disassociate a p-buffer from a bufobj.
580 KASSERT(bp->b_bufobj != NULL, ("pbrelbo: NULL bufobj")); in pbrelbo()
H A Dvnode_pager.c670 struct bufobj *bo; in vnode_pager_input_smlfs()
894 struct bufobj *bo; in vnode_pager_generic_getpages()

12