Home
last modified time | relevance | path

Searched refs:mnt_wapbl (Results 1 – 14 of 14) sorted by relevance

/netbsd/sys/ufs/ufs/
H A Dufs_wapbl.h88 if (mp->mnt_wapbl) { in ufs_wapbl_begin()
100 if (mp->mnt_wapbl) { in ufs_wapbl_end()
101 wapbl_end(mp->mnt_wapbl); in ufs_wapbl_end()
110 if ((vp)->v_mount->mnt_wapbl) { \
116 if (mp->mnt_wapbl) wapbl_jlock_assert(mp->mnt_wapbl)
118 if (mp->mnt_wapbl) wapbl_junlock_assert(mp->mnt_wapbl)
125 if (mp->mnt_wapbl) wapbl_register_inode(mp->mnt_wapbl, ino, mode)
127 if (mp->mnt_wapbl) wapbl_unregister_inode(mp->mnt_wapbl, ino, mode)
130 (mp->mnt_wapbl) \
137 (mp->mnt_wapbl) \
[all …]
H A Dufs_quota1.c323 if (mp->mnt_wapbl != NULL) { in quota1_handle_cmd_quotaon()
H A Dufs_vnops.c2392 KASSERT(rw != UIO_WRITE || vp->v_mount->mnt_wapbl == NULL || in ufs_bufio()
/netbsd/sys/sys/
H A Dmount.h155 struct wapbl *mnt_wapbl; /* log info */ member
300 (*(MP)->mnt_wapbl_op->wo_wapbl_discard)((MP)->mnt_wapbl)
310 (*(MP)->mnt_wapbl_op->wo_wapbl_add_buf)((MP)->mnt_wapbl, (BP))
312 (*(MP)->mnt_wapbl_op->wo_wapbl_remove_buf)((MP)->mnt_wapbl, (BP))
314 (*(MP)->mnt_wapbl_op->wo_wapbl_resize_buf)((MP)->mnt_wapbl, (BP), \
317 (*(MP)->mnt_wapbl_op->wo_wapbl_begin)((MP)->mnt_wapbl, \
320 (*(MP)->mnt_wapbl_op->wo_wapbl_end)((MP)->mnt_wapbl)
322 (*(MP)->mnt_wapbl_op->wo_wapbl_junlock_assert)((MP)->mnt_wapbl)
324 (*(MP)->mnt_wapbl_op->wo_wapbl_jlock_assert)((MP)->mnt_wapbl)
H A Dwapbl.h219 return mp && mp->mnt_wapbl; in wapbl_vphaswapbl()
/netbsd/sys/ufs/ffs/
H A Dffs_vnops.c262 if (mp && mp->mnt_wapbl) { in ffs_spec_fsync()
335 if (mp->mnt_wapbl) { in ffs_fsync()
360 error = wapbl_flush(mp->mnt_wapbl, 0); in ffs_fsync()
428 if (mp && mp->mnt_wapbl) { in ffs_full_fsync()
473 error = wapbl_flush(mp->mnt_wapbl, 0); in ffs_full_fsync()
H A Dffs_wapbl.c318 if (mp->mnt_wapbl == NULL) { in ffs_wapbl_start()
356 error = wapbl_start(&mp->mnt_wapbl, mp, devvp, off, in ffs_wapbl_start()
380 error = wapbl_flush(mp->mnt_wapbl, 1); in ffs_wapbl_start()
438 if (mp->mnt_wapbl) { in ffs_wapbl_stop()
446 error = wapbl_flush(mp->mnt_wapbl, 1); in ffs_wapbl_stop()
463 error = wapbl_stop(mp->mnt_wapbl, force); in ffs_wapbl_stop()
470 mp->mnt_wapbl = NULL; in ffs_wapbl_stop()
H A Dffs_inode.c225 bool wapbl = omp->mnt_wapbl != NULL; in ffs_truncate()
476 oip->i_ump->um_mountp->mnt_wapbl) { in ffs_truncate()
519 if ((oip->i_ump->um_mountp->mnt_wapbl) && in ffs_truncate()
559 if ((oip->i_ump->um_mountp->mnt_wapbl) && in ffs_truncate()
641 const int wapbl = (ip->i_ump->um_mountp->mnt_wapbl != NULL); in ffs_indirtrunc()
736 if ((ip->i_ump->um_mountp->mnt_wapbl) && in ffs_indirtrunc()
H A Dffs_vfsops.c1793 KASSERT(!(mp->mnt_wapbl_replay && mp->mnt_wapbl)); in ffs_unmount()
1881 if (mp->mnt_wapbl) { in ffs_flushfiles()
1882 error = wapbl_flush(mp->mnt_wapbl, 1); in ffs_flushfiles()
2053 if (mp->mnt_wapbl) { in ffs_sync()
2054 error = wapbl_flush(mp->mnt_wapbl, (waitfor == MNT_WAIT)); in ffs_sync()
2511 if (mp && mp->mnt_wapbl) { in ffs_vfs_fsync()
2526 error = wapbl_flush(mp->mnt_wapbl, 0); in ffs_vfs_fsync()
H A Dffs_snapshot.c609 if (mp->mnt_wapbl)
1665 if (ip->i_nlink > 0 && mp->mnt_wapbl) in ffs_snapblkfree()
1703 if (error == 0 && ip->i_nlink > 0 && mp->mnt_wapbl) in ffs_snapblkfree()
2041 if (error == 0 && ip->i_nlink > 0 && mp->mnt_wapbl) in ffs_copyonwrite()
H A Dffs_alloc.c498 if ((ip->i_ump->um_mountp->mnt_wapbl) && in ffs_realloccg()
/netbsd/sys/miscfs/genfs/
H A Dgenfs_io.c115 const bool need_wapbl = (vp->v_mount->mnt_wapbl && in genfs_getpages()
139 if ((flags & PGO_JOURNALLOCKED) && vp->v_mount->mnt_wapbl) in genfs_getpages()
903 if ((origflags & PGO_JOURNALLOCKED) && vp->v_mount->mnt_wapbl) in genfs_do_putpages()
965 holds_wapbl = (trans_mp->mnt_wapbl && in genfs_do_putpages()
1741 bool need_wapbl = (vp->v_mount && vp->v_mount->mnt_wapbl && in genfs_directio()
1745 if ((ioflag & IO_JOURNALLOCKED) && vp->v_mount->mnt_wapbl) in genfs_directio()
/netbsd/sys/kern/
H A Dvfs_subr.c669 return mp->mnt_wapbl != NULL ? metadelay : syncdelay; in sync_delay()
H A Dvfs_bio.c846 if (mp && mp->mnt_wapbl) { in bwrite()