/freebsd/sys/sys/ |
H A D | bufobj.h | 59 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 D | buf.h | 48 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 D | vnode.h | 35 #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 D | kern_kcov.c | 125 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 D | vfs_subr.c | 110 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 D | vfs_bio.c | 2400 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 D | vfs_cluster.c | 94 struct bufobj *bo; in cluster_read() 810 struct bufobj *bo; in cluster_wbuild()
|
/freebsd/sys/dev/spibus/ |
H A D | spigen.c | 75 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 D | geom_vfs.h | 33 struct bufobj; 38 void g_vfs_strategy(struct bufobj *bo, struct buf *bp);
|
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_mount.h | 58 struct bufobj *um_bo;
|
H A D | ext2_inode.c | 243 struct bufobj *bo; in ext2_ind_truncate()
|
/freebsd/lib/libprocstat/ |
H A D | udf.c | 56 struct bufobj *im_bo;
|
/freebsd/sys/fs/udf/ |
H A D | udf.h | 43 struct bufobj *im_bo;
|
H A D | udf_vfsops.c | 313 struct bufobj *bo; in udf_mountfs()
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_vfsops.c | 1557 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 D | ffs_extern.h | 72 void ffs_bdflush(struct bufobj *, struct buf *);
|
H A D | ffs_rawread.c | 96 struct bufobj *bo; in ffs_rawread_sync()
|
H A D | ffs_inode.c | 243 struct bufobj *bo __diagused; in ffs_truncate()
|
/freebsd/sys/ufs/ufs/ |
H A D | ufsmount.h | 87 struct bufobj *um_bo; /* (r) Buffer cache object */
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfsmount.h | 77 struct bufobj *pm_bo;
|
H A D | msdosfs_vfsops.c | 517 struct bufobj *bo; in mountmsdosfs() 940 struct bufobj *bo; in msdosfs_unmount()
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clsubs.c | 353 struct bufobj *bo; in ncl_clearcommit()
|
/freebsd/sys/fs/cd9660/ |
H A D | iso.h | 229 struct bufobj *im_bo;
|
/freebsd/sys/vm/ |
H A D | vm_pager.c | 530 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 D | vnode_pager.c | 670 struct bufobj *bo; in vnode_pager_input_smlfs() 894 struct bufobj *bo; in vnode_pager_generic_getpages()
|