Home
last modified time | relevance | path

Searched refs:bufobj (Results 1 – 25 of 42) 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
129 void bufobj_init(struct bufobj *bo, void *priv); argument
130 void bufobj_wdrop(struct bufobj *bo);
131 void bufobj_wref(struct bufobj *bo);
132 void bufobj_wrefl(struct bufobj *bo);
135 int bufsync(struct bufobj *bo, int waitfor);
[all …]
H A Dbuf.h48 struct bufobj;
97 struct bufobj *b_bufobj;
559 void bufstrategy(struct bufobj *, struct buf *);
565 struct buf *incore(struct bufobj *, daddr_t);
567 struct buf *gbincore(struct bufobj *, daddr_t);
568 struct buf *gbincore_unlocked(struct bufobj *, daddr_t);
600 void pbgetbo(struct bufobj *bo, struct buf *bp);
H A Dvnode.h179 struct bufobj v_bufobj; /* * Buffer cache object */
641 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()
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()
413 VM_OBJECT_WUNLOCK(info->bufobj); in kcov_free()
[all …]
H A Dvfs_subr.c672 struct bufobj *bo; in vnode_fini()
2150 struct bufobj *bo; in freevnode()
2532 struct bufobj *bo; in vtruncbuf()
2594 struct bufobj *bo; in v_inval_buf_range()
2781 struct bufobj *bo; in bgetvp()
2806 struct bufobj *bo; in brelvp()
2941 struct bufobj *bo; in sched_sync()
3139 struct bufobj *bo; in reassignbuf()
5247 struct bufobj *bo; in vfs_allocate_syncvnode()
5322 struct bufobj *bo; in sync_fsync()
[all …]
H A Dvfs_bio.c2395 bufbdflush(struct bufobj *bo, struct buf *bp) in bufbdflush()
2451 struct bufobj *bo; in bdwrite()
3250 struct bufobj *bo; in vfs_bio_awrite()
3704 incore(struct bufobj *bo, daddr_t blkno) in incore()
3978 struct bufobj *bo; in getblkx()
4576 struct bufobj *dropobj; in bufdone()
5136 bufsync(struct bufobj *bo, int waitfor) in bufsync()
5160 bufobj_init(struct bufobj *bo, void *private) in bufobj_init()
5175 bufobj_wrefl(struct bufobj *bo) in bufobj_wrefl()
5184 bufobj_wref(struct bufobj *bo) in bufobj_wref()
[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);
H A Dgeom_vfs.c52 struct bufobj *sc_bo;
181 g_vfs_strategy(struct bufobj *bo, struct buf *bp) in g_vfs_strategy()
266 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.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.c1688 struct bufobj *bo; in ffs_sync()
2286 struct bufobj *bufobj; in ffs_backgroundwritedone() local
2297 bufobj = bp->b_bufobj; in ffs_backgroundwritedone()
2298 BO_LOCK(bufobj); in ffs_backgroundwritedone()
2308 BO_UNLOCK(bufobj); in ffs_backgroundwritedone()
2335 BO_LOCK(bufobj); in ffs_backgroundwritedone()
2349 BO_UNLOCK(bufobj); in ffs_backgroundwritedone()
2478 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/fs/msdosfs/
H A Dmsdosfsmount.h77 struct bufobj *pm_bo;
H A Dmsdosfs_vfsops.c517 struct bufobj *bo; in mountmsdosfs()
938 struct bufobj *bo; in msdosfs_unmount()
/freebsd/sys/ufs/ufs/
H A Dufsmount.h87 struct bufobj *um_bo; /* (r) Buffer cache object */
/freebsd/sys/fs/nfsclient/
H A Dnfs_clsubs.c353 struct bufobj *bo; in ncl_clearcommit()
/freebsd/sys/fs/cd9660/
H A Diso.h238 struct bufobj *im_bo;
/freebsd/sys/vm/
H A Dvm_pager.c545 pbgetbo(struct bufobj *bo, struct buf *bp) in pbgetbo()
H A Dvnode_pager.c653 struct bufobj *bo; in vnode_pager_input_smlfs()
878 struct bufobj *bo; in vnode_pager_generic_getpages()

12