Home
last modified time | relevance | path

Searched refs:bufobj (Results 1 – 25 of 40) 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.h48 struct bufobj;
97 struct bufobj *b_bufobj;
566 void bufstrategy(struct bufobj *, struct buf *);
572 struct buf *incore(struct bufobj *, daddr_t);
574 struct buf *gbincore(struct bufobj *, daddr_t);
575 struct buf *gbincore_unlocked(struct bufobj *, daddr_t);
607 void pbgetbo(struct bufobj *bo, struct buf *bp);
H A Dvnode.h35 #include <sys/bufobj.h>
179 struct bufobj v_bufobj; /* * Buffer cache object */
642 int bnoreuselist(struct bufv *bufv, struct bufobj *bo, daddr_t startn,
/freebsd/sys/kern/
H A Dkern_kcov.c125 vm_object_t bufobj; /* (o) */ member
352 vm_object_reference(info->bufobj); in kcov_mmap_single()
354 *object = info->bufobj; in kcov_mmap_single()
378 info->bufobj = vm_pager_allocate(OBJT_PHYS, 0, info->bufsize, in kcov_alloc()
381 VM_OBJECT_WLOCK(info->bufobj); in kcov_alloc()
383 m = vm_page_grab(info->bufobj, n, in kcov_alloc()
389 VM_OBJECT_WUNLOCK(info->bufobj); in kcov_alloc()
406 if (info->bufobj != NULL) { in kcov_free()
407 VM_OBJECT_WLOCK(info->bufobj); in kcov_free()
408 m = vm_page_lookup(info->bufobj, 0); in kcov_free()
[all …]
H A Dvfs_subr.c110 static int flushbuflist(struct bufv *bufv, int flags, struct bufobj *bo,
125 static int v_inval_buf_range_locked(struct vnode *vp, struct bufobj *bo,
284 LIST_HEAD(synclist, bufobj);
714 struct bufobj *bo; in vnode_fini()
2179 struct bufobj *bo; in freevnode()
2336 bufobj_invalbuf(struct bufobj *bo, int flags, int slpflag, int slptimeo) in bufobj_invalbuf()
2438 flushbuflist(struct bufv *bufv, int flags, struct bufobj *bo, int slpflag, in flushbuflist()
2507 bnoreuselist(struct bufv *bufv, struct bufobj *bo, daddr_t startn, daddr_t endn) in bnoreuselist()
2558 struct bufobj *bo; in vtruncbuf()
2620 struct bufobj *bo; in v_inval_buf_range()
[all …]
H A Dvfs_bio.c2400 bufbdflush(struct bufobj *bo, struct buf *bp) in bufbdflush()
2456 struct bufobj *bo; in bdwrite()
3255 struct bufobj *bo; in vfs_bio_awrite()
3709 incore(struct bufobj *bo, daddr_t blkno) in incore()
3983 struct bufobj *bo; in getblkx()
4600 struct bufobj *dropobj; in bufdone()
5160 bufsync(struct bufobj *bo, int waitfor) in bufsync()
5167 bufstrategy(struct bufobj *bo, struct buf *bp) in bufstrategy()
5184 bufobj_init(struct bufobj *bo, void *private) in bufobj_init()
5199 bufobj_wrefl(struct bufobj *bo) in bufobj_wrefl()
[all …]
H A Dvfs_cluster.c94 struct bufobj *bo; in cluster_read()
810 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);
/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.c56 struct bufobj *im_bo;
/freebsd/sys/fs/udf/
H A Dudf.h43 struct bufobj *im_bo;
H A Dudf_vfsops.c313 struct bufobj *bo; in udf_mountfs()
/freebsd/sys/ufs/ffs/
H A Dffs_vfsops.c1557 struct bufobj *bo; in ffs_sync()
2145 struct bufobj *bufobj;
2156 bufobj = bp->b_bufobj; in ffs_backgroundwritedone()
2157 BO_LOCK(bufobj); in ffs_backgroundwritedone()
2167 BO_UNLOCK(bufobj); in ffs_backgroundwritedone()
2194 BO_LOCK(bufobj); in ffs_backgroundwritedone()
2208 BO_UNLOCK(bufobj); in ffs_backgroundwritedone()
2337 ffs_geom_strategy(struct bufobj *bo, struct buf *bp) in ffs_bufwrite()
2344 * This is the bufobj strateg in ffs_bufwrite()
2155 struct bufobj *bufobj; ffs_backgroundwritedone() local
[all...]
H A Dffs_extern.h72 void ffs_bdflush(struct bufobj *, struct buf *);
H A Dffs_rawread.c96 struct bufobj *bo; in ffs_rawread_sync()
H A Dffs_inode.c243 struct bufobj *bo __diagused; in ffs_truncate()
/freebsd/sys/ufs/ufs/
H A Dufsmount.h87 struct bufobj *um_bo; /* (r) Buffer cache object */
/freebsd/sys/fs/msdosfs/
H A Dmsdosfsmount.h77 struct bufobj *pm_bo;
H A Dmsdosfs_vfsops.c517 struct bufobj *bo; in mountmsdosfs()
940 struct bufobj *bo; in msdosfs_unmount()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clsubs.c353 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