Home
last modified time | relevance | path

Searched refs:i_ump (Results 1 – 25 of 40) sorted by relevance

12

/netbsd/sys/ufs/ffs/
H A Dffs_inode.c222 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 Dffs_extattr.c117 #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 Dffs_alloc.c188 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 Dffs_subr.c81 if (ip->i_ump->um_fstype == UFS1) { in ffs_load_inode()
H A Dffs_snapshot.c2290 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 Dinode.h100 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 Dufs_dirhash.c132 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 Dufs_rename.c625 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 Dufs_readwrite.c77 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 Dufs_quota.c140 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 Dufs_bswap.h41 #define UFS_IPNEEDSWAP(ip) UFS_MPNEEDSWAP((ip)->i_ump)
H A Ddinode.h144 ((ip)->i_ump->um_fstype == UFS1) ? \
H A Dufs_vnops.c420 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 Dufs_lookup.c349 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 Dufs_inode.c330 if (ip->i_ump->um_fstype == UFS2) in ufs_truncate_all()
H A Dufs_bmap.c129 ump = ip->i_ump; in ufs_bmaparray()
H A Dufs_quota1.c145 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 Dulfs_inode.h191 (((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 Dlfs_inode.h108 struct ulfsmount *i_ump; /* Mount point associated with this inode. */ member
H A Dlfs_vnops.c2232 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 Dulfs_bmap.c150 ump = ip->i_ump; in ulfs_bmaparray()
H A Dulfs_quota1.c146 time_second + ip->i_ump->umq1_btime[type]; in chkdqchg()
253 time_second + ip->i_ump->umq1_itime[type]; in chkiqchg()
H A Dlfs_rename.c323 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 Dext2fs_readwrite.c111 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 Dext2fs_bmap.c217 ump = ip->i_ump; in ext2fs_bmaparray()

12