Home
last modified time | relevance | path

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

12

/freebsd-13.1/sys/sys/
H A Dbufobj.h61 struct bufobj;
75 typedef void b_strategy_t(struct bufobj *, struct buf *);
77 typedef int b_sync_t(struct bufobj *, int waitfor);
78 typedef void b_bdflush_t(struct bufobj *, struct buf *);
99 struct bufobj { struct
131 void bufobj_init(struct bufobj *bo, void *priv); argument
132 void bufobj_wdrop(struct bufobj *bo);
133 void bufobj_wref(struct bufobj *bo);
134 void bufobj_wrefl(struct bufobj *bo);
137 int bufsync(struct bufobj *bo, int waitfor);
[all …]
H A Dbuf.h51 struct bufobj;
100 struct bufobj *b_bufobj;
550 void bufstrategy(struct bufobj *, struct buf *);
556 struct buf *incore(struct bufobj *, daddr_t);
558 struct buf *gbincore(struct bufobj *, daddr_t);
559 struct buf *gbincore_unlocked(struct bufobj *, daddr_t);
587 void pbgetbo(struct bufobj *bo, struct buf *bp);
H A Dvnode.h156 struct bufobj v_bufobj; /* * Buffer cache object */
642 int bnoreuselist(struct bufv *bufv, struct bufobj *bo, daddr_t startn,
/freebsd-13.1/sys/kern/
H A Dkern_kcov.c129 vm_object_t bufobj; /* (o) */ member
358 vm_object_reference(info->bufobj); in kcov_mmap_single()
360 *object = info->bufobj; in kcov_mmap_single()
387 VM_OBJECT_WLOCK(info->bufobj); in kcov_alloc()
389 m = vm_page_grab(info->bufobj, n, in kcov_alloc()
395 VM_OBJECT_WUNLOCK(info->bufobj); in kcov_alloc()
412 if (info->bufobj != NULL) { in kcov_free()
413 VM_OBJECT_WLOCK(info->bufobj); in kcov_free()
414 m = vm_page_lookup(info->bufobj, 0); in kcov_free()
419 VM_OBJECT_WUNLOCK(info->bufobj); in kcov_free()
[all …]
H A Dvfs_subr.c618 struct bufobj *bo; in vnode_fini()
1905 struct bufobj *bo; in freevnode()
2277 struct bufobj *bo; in vtruncbuf()
2336 struct bufobj *bo; in v_inval_buf_range()
2523 struct bufobj *bo; in bgetvp()
2548 struct bufobj *bo; in brelvp()
2680 struct bufobj *bo; in sched_sync()
2878 struct bufobj *bo; in reassignbuf()
5076 struct bufobj *bo; in vfs_allocate_syncvnode()
5150 struct bufobj *bo; in sync_fsync()
[all …]
H A Dvfs_bio.c2363 bufbdflush(struct bufobj *bo, struct buf *bp) in bufbdflush()
2419 struct bufobj *bo; in bdwrite()
3218 struct bufobj *bo; in vfs_bio_awrite()
3669 incore(struct bufobj *bo, daddr_t blkno) in incore()
3943 struct bufobj *bo; in getblkx()
4520 struct bufobj *dropobj; in bufdone()
5077 bufsync(struct bufobj *bo, int waitfor) in bufsync()
5101 bufobj_init(struct bufobj *bo, void *private) in bufobj_init()
5114 bufobj_wrefl(struct bufobj *bo) in bufobj_wrefl()
5123 bufobj_wref(struct bufobj *bo) in bufobj_wref()
[all …]
H A Dvfs_cluster.c99 struct bufobj *bo; in cluster_read()
814 struct bufobj *bo; in cluster_wbuild()
/freebsd-13.1/sys/dev/spibus/
H A Dspigen.c77 vm_object_t bufobj; member
290 if (mmap->bufobj != NULL) in spigen_mmap_cleanup()
291 vm_object_deallocate(mmap->bufobj); in spigen_mmap_cleanup()
320 mmap->bufobj = vm_pager_allocate(OBJT_PHYS, 0, size, nprot, 0, in spigen_mmap_single()
324 VM_OBJECT_WLOCK(mmap->bufobj); in spigen_mmap_single()
325 vm_object_reference_locked(mmap->bufobj); // kernel and userland both in spigen_mmap_single()
327 m[n] = vm_page_grab(mmap->bufobj, n, in spigen_mmap_single()
332 VM_OBJECT_WUNLOCK(mmap->bufobj); in spigen_mmap_single()
342 *object = mmap->bufobj; in spigen_mmap_single()
/freebsd-13.1/sys/geom/
H A Dgeom_vfs.h35 struct bufobj;
40 void g_vfs_strategy(struct bufobj *bo, struct buf *bp);
H A Dgeom_vfs.c55 struct bufobj *sc_bo;
168 g_vfs_strategy(struct bufobj *bo, struct buf *bp) in g_vfs_strategy()
244 struct bufobj *bo; in g_vfs_open()
/freebsd-13.1/sys/fs/ext2fs/
H A Dext2_mount.h61 struct bufobj *um_bo;
H A Dext2_inode.c244 struct bufobj *bo; in ext2_ind_truncate()
/freebsd-13.1/lib/libprocstat/
H A Dudf.c56 struct bufobj *im_bo;
/freebsd-13.1/sys/fs/udf/
H A Dudf.h45 struct bufobj *im_bo;
H A Dudf_vfsops.c326 struct bufobj *bo; in udf_mountfs()
/freebsd-13.1/sys/ufs/ffs/
H A Dffs_vfsops.c1725 struct bufobj *bo;
2323 struct bufobj *bufobj; in ffs_backgroundwritedone() local
2334 bufobj = bp->b_bufobj; in ffs_backgroundwritedone()
2335 BO_LOCK(bufobj); in ffs_backgroundwritedone()
2345 BO_UNLOCK(bufobj); in ffs_backgroundwritedone()
2372 BO_LOCK(bufobj); in ffs_backgroundwritedone()
2386 BO_UNLOCK(bufobj); in ffs_backgroundwritedone()
2515 ffs_geom_strategy(struct bufobj *bo, struct buf *bp) in ffs_geom_strategy()
H A Dffs_extern.h74 void ffs_bdflush(struct bufobj *, struct buf *);
H A Dffs_rawread.c101 struct bufobj *bo; in ffs_rawread_sync()
/freebsd-13.1/sys/fs/msdosfs/
H A Dmsdosfsmount.h78 struct bufobj *pm_bo;
H A Dmsdosfs_vfsops.c427 struct bufobj *bo; in mountmsdosfs()
838 struct bufobj *bo; in msdosfs_unmount()
/freebsd-13.1/sys/ufs/ufs/
H A Dufsmount.h93 struct bufobj *um_bo; /* (r) Buffer cache object */
/freebsd-13.1/sys/fs/cd9660/
H A Diso.h238 struct bufobj *im_bo;
/freebsd-13.1/sys/fs/nfsclient/
H A Dnfs_clsubs.c356 struct bufobj *bo; in ncl_clearcommit()
/freebsd-13.1/sys/vm/
H A Dvm_pager.c529 pbgetbo(struct bufobj *bo, struct buf *bp) in pbgetbo()
H A Dvnode_pager.c578 struct bufobj *bo; in vnode_pager_input_smlfs()
803 struct bufobj *bo; in vnode_pager_generic_getpages()

12