/netbsd/sys/ufs/ffs/ |
H A D | ffs_inode.c | 222 struct ufsmount *ump = oip->i_ump; in ffs_truncate() 476 oip->i_ump->um_mountp->mnt_wapbl) { in ffs_truncate() 478 oip->i_ump->um_mountp, in ffs_truncate() 493 oip->i_ump->um_mountp, dcookie); in ffs_truncate() 522 oip->i_ump->um_mountp, in ffs_truncate() 648 if ((ip)->i_ump->um_fstype == UFS1) \ in ffs_indirtrunc() 708 if (ip->i_ump->um_fstype == UFS1) in ffs_indirtrunc() 721 if (ip->i_ump->um_fstype == UFS1) in ffs_indirtrunc() 736 if ((ip->i_ump->um_mountp->mnt_wapbl) && in ffs_indirtrunc() 739 ip->i_ump->um_mountp, in ffs_indirtrunc() [all …]
|
H A D | ffs_extattr.c | 117 #define I_IS_UFS2(ip) ((ip)->i_ump->um_fstype == UFS2) 154 if (uio->uio_rw != UIO_READ || ip->i_ump->um_fstype != UFS2) in ffs_extread() 272 if (uio->uio_rw != UIO_WRITE || ip->i_ump->um_fstype != UFS2) in ffs_extwrite() 467 if ((ip->i_ump->um_flags & UFS_EA) == 0) { in ffs_open_ea() 503 KASSERT((ip->i_ump->um_flags & UFS_EA) != 0); in ffs_close_ea() 590 if (ip->i_ump->um_fstype == UFS1) in ffs_openextattr() 616 if (ip->i_ump->um_fstype == UFS1) in ffs_closeextattr() 650 if (ip->i_ump->um_fstype == UFS1) { in ffs_getextattr() 713 if (ip->i_ump->um_fstype == UFS1) { in ffs_setextattr() 839 if (ip->i_ump->um_fstype == UFS1) { in ffs_listextattr() [all …]
|
H A D | ffs_alloc.c | 188 ump = ip->i_ump; in ffs_alloc() 319 ump = ip->i_ump; in ffs_realloccg() 498 if ((ip->i_ump->um_mountp->mnt_wapbl) && in ffs_realloccg() 582 ump = pip->i_ump; in ffs_valloc() 778 KASSERT(mutex_owned(&ip->i_ump->um_lock)); in ffs_blkpref_ufs1() 842 KASSERT(mutex_owned(&ip->i_ump->um_lock)); in ffs_blkpref_ufs2() 983 ump = ip->i_ump; in ffs_fragextend() 1064 ump = ip->i_ump; in ffs_alloccg() 1096 ffs_blkfree_common(ip->i_ump, ip->i_fs, in ffs_alloccg() 1193 KASSERT(mutex_owned(&ip->i_ump->um_lock)); in ffs_alloccgblk() [all …]
|
H A D | ffs_subr.c | 81 if (ip->i_ump->um_fstype == UFS1) { in ffs_load_inode()
|
H A D | ffs_snapshot.c | 2290 if (ip->i_ump->um_fstype == UFS1) in db_get() 2299 if (ip->i_ump->um_fstype == UFS1) in db_assign() 2308 if (ip->i_ump->um_fstype == UFS1) in ib_get() 2317 if (ip->i_ump->um_fstype == UFS1) in idb_get() 2326 if (ip->i_ump->um_fstype == UFS1) in idb_assign()
|
/netbsd/sys/ufs/ufs/ |
H A D | inode.h | 100 struct ufsmount *i_ump; /* Mount point associated with this inode. */ member 246 ((ip)->i_ump->um_fstype == UFS2 && (ip)->i_ffs2_extsize > 0) 253 (((ip)->i_ump->um_fstype == UFS1) ? \ 258 if ((ip)->i_ump->um_fstype == UFS1) \ 266 if ((ip)->i_ump->um_fstype == UFS1) \ 273 (((ip)->i_ump->um_fstype == UFS1) ? \
|
H A D | ufs_dirhash.c | 132 const int needswap = UFS_MPNEEDSWAP(ip->i_ump); in ufsdirhash_build() 133 int dirblksiz = ip->i_ump->um_dirblksiz; in ufsdirhash_build() 342 const int needswap = UFS_MPNEEDSWAP(ip->i_ump); in ufsdirhash_lookup() 343 int dirblksiz = ip->i_ump->um_dirblksiz; in ufsdirhash_lookup() 516 int dirblksiz = ip->i_ump->um_dirblksiz; in ufsdirhash_findfree() 601 int dirblksiz = ip->i_ump->um_dirblksiz; in ufsdirhash_enduseful() 636 int dirblksiz = ip->i_ump->um_dirblksiz; in ufsdirhash_add() 683 int dirblksiz = ip->i_ump->um_dirblksiz; in ufsdirhash_remove() 744 int dirblksiz = ip->i_ump->um_dirblksiz; in ufsdirhash_newblk() 780 int dirblksiz = ip->i_ump->um_dirblksiz; in ufsdirhash_dirtrunc() [all …]
|
H A D | ufs_rename.c | 625 KASSERT(ump == VTOI(dvp)->i_ump); in ufs_rename_recalculate_fulr() 744 KASSERT(VTOI(vp)->i_ump != NULL); in ufs_direct_namlen() 747 swap = (UFS_MPNEEDSWAP(VTOI(vp)->i_ump) == 0); in ufs_direct_namlen() 749 swap = (UFS_MPNEEDSWAP(VTOI(vp)->i_ump) != 0); in ufs_direct_namlen() 880 UFS_MPNEEDSWAP(VTOI(vp)->i_ump)); in ufs_read_dotdot() 898 KASSERT(VTOI(vp)->i_ump != NULL); in ufs_dirbuf_dotdot_namlen() 901 swap = (UFS_MPNEEDSWAP(VTOI(vp)->i_ump) == 0); in ufs_dirbuf_dotdot_namlen() 903 swap = (UFS_MPNEEDSWAP(VTOI(vp)->i_ump) != 0); in ufs_dirbuf_dotdot_namlen()
|
H A D | ufs_readwrite.c | 77 ump = ip->i_ump; in READ() 139 ump = ip->i_ump; in BUFRD() 257 ump = ip->i_ump; in WRITE() 480 ump = ip->i_ump; in BUFWR()
|
H A D | ufs_quota.c | 140 if (ip->i_ump->um_flags & UFS_QUOTA) in chkdq() 144 if (ip->i_ump->um_flags & UFS_QUOTA2) in chkdq() 160 if (ip->i_ump->um_flags & UFS_QUOTA) in chkiq() 164 if (ip->i_ump->um_flags & UFS_QUOTA2) in chkiq() 748 struct ufsmount *ump = ip->i_ump; in getinoquota()
|
H A D | ufs_bswap.h | 41 #define UFS_IPNEEDSWAP(ip) UFS_MPNEEDSWAP((ip)->i_ump)
|
H A D | dinode.h | 144 ((ip)->i_ump->um_fstype == UFS1) ? \
|
H A D | ufs_vnops.c | 420 if (ip->i_ump->um_fstype == UFS1) { in ufs_getattr() 425 UFS_MPNEEDSWAP(ip->i_ump)); in ufs_getattr() 445 UFS_MPNEEDSWAP(ip->i_ump)); in ufs_getattr() 646 ip->i_ump->um_fstype == UFS2) { in ufs_setattr() 1234 struct ufsmount *ump = dp->i_ump; in ufs_mkdir() 1528 if (len < ip->i_ump->um_maxsymlinklen) { in ufs_symlink() 2186 ump = ip->i_ump; in ufs_vinit()
|
H A D | ufs_lookup.c | 349 struct ufsmount *ump = dp->i_ump; in ufs_lookup() 1156 const int needswap = UFS_MPNEEDSWAP(dp->i_ump); in ufs_dirremove() 1203 int dirblksiz = ip->i_ump->um_dirblksiz; in ufs_dirremove() 1267 ep->d_ino = ufs_rw32(newinum, UFS_MPNEEDSWAP(dp->i_ump)); in ufs_dirrewrite()
|
H A D | ufs_inode.c | 330 if (ip->i_ump->um_fstype == UFS2) in ufs_truncate_all()
|
H A D | ufs_bmap.c | 129 ump = ip->i_ump; in ufs_bmaparray()
|
H A D | ufs_quota1.c | 145 time_second + ip->i_ump->umq1_btime[type]; in chkdqchg() 253 time_second + ip->i_ump->umq1_itime[type]; in chkiqchg()
|
/netbsd/sys/ufs/lfs/ |
H A D | ulfs_inode.h | 191 (((ip)->i_ump->um_fstype == ULFS1) ? \ 196 if ((ip)->i_ump->um_fstype == ULFS1) \ 204 if ((ip)->i_ump->um_fstype == ULFS1) \ 212 (((ip)->i_ump->um_fstype == ULFS1) ? \
|
H A D | lfs_inode.h | 108 struct ulfsmount *i_ump; /* Mount point associated with this inode. */ member
|
H A D | lfs_vnops.c | 2232 ump = ip->i_ump; in lfs_openextattr() 2258 ump = ip->i_ump; in lfs_closeextattr() 2288 ump = ip->i_ump; in lfs_getextattr() 2322 ump = ip->i_ump; in lfs_setextattr() 2356 ump = ip->i_ump; in lfs_listextattr() 2388 ump = ip->i_ump; in lfs_deleteextattr()
|
H A D | ulfs_bmap.c | 150 ump = ip->i_ump; in ulfs_bmaparray()
|
H A D | ulfs_quota1.c | 146 time_second + ip->i_ump->umq1_btime[type]; in chkdqchg() 253 time_second + ip->i_ump->umq1_itime[type]; in chkiqchg()
|
H A D | lfs_rename.c | 323 KASSERT(VTOI(vp)->i_ump != NULL); in ulfs_direct_namlen() 368 KASSERT(ump == VTOI(dvp)->i_ump); in ulfs_rename_recalculate_fulr()
|
/netbsd/sys/ufs/ext2fs/ |
H A D | ext2fs_readwrite.c | 111 ump = ip->i_ump; in ext2fs_read() 168 ump = ip->i_ump; in ext2fs_bufrd() 281 ump = ip->i_ump; in ext2fs_write() 377 ump = ip->i_ump; in ext2fs_bufwr()
|
H A D | ext2fs_bmap.c | 217 ump = ip->i_ump; in ext2fs_bmaparray()
|