Home
last modified time | relevance | path

Searched refs:ipimap (Results 1 – 10 of 10) sorted by relevance

/fs/jfs/
Djfs_imap.c94 int diMount(struct inode *ipimap) in diMount() argument
111 mp = read_metapage(ipimap, in diMount()
112 IMAPBLKNO << JFS_SBI(ipimap->i_sb)->l2nbperpage, in diMount()
155 imap->im_ipimap = ipimap; in diMount()
156 JFS_IP(ipimap)->i_imap = imap; in diMount()
176 int diUnmount(struct inode *ipimap, int mounterror) in diUnmount() argument
178 struct inomap *imap = JFS_IP(ipimap)->i_imap; in diUnmount()
184 if (!(mounterror || isReadOnly(ipimap))) in diUnmount()
185 diSync(ipimap); in diUnmount()
190 truncate_inode_pages(ipimap->i_mapping, 0); in diUnmount()
[all …]
Djfs_umount.c41 struct inode *ipimap = sbi->ipimap; in jfs_umount() local
63 diUnmount(ipimap, 0); in jfs_umount()
65 diFreeSpecial(ipimap); in jfs_umount()
66 sbi->ipimap = NULL; in jfs_umount()
92 sbi->ipimap = NULL; in jfs_umount()
142 diSync(sbi->ipimap); in jfs_umount_rw()
Djfs_mount.c76 struct inode *ipimap = NULL; in jfs_mount() local
166 ipimap = diReadSpecial(sb, FILESYSTEM_I, 0); in jfs_mount()
167 if (ipimap == NULL) { in jfs_mount()
173 jfs_info("jfs_mount: ipimap:0x%p", ipimap); in jfs_mount()
176 if ((rc = diMount(ipimap))) { in jfs_mount()
182 sbi->ipimap = ipimap; in jfs_mount()
191 diFreeSpecial(ipimap); in jfs_mount()
235 truncate_inode_pages(sbi->ipimap->i_mapping, 0); in jfs_mount_rw()
237 diUnmount(sbi->ipimap, 1); in jfs_mount_rw()
238 if ((rc = diMount(sbi->ipimap))) { in jfs_mount_rw()
Dresize.c56 struct inode *ipimap = sbi->ipimap; in jfs_extendfs() local
434 if ((rc = diExtendFS(ipimap, ipbmap))) in jfs_extendfs()
438 if ((rc = diSync(ipimap))) in jfs_extendfs()
Dinode.c149 struct inode *ipimap = JFS_SBI(inode->i_sb)->ipimap; in jfs_evict_inode() local
155 if (ipimap && JFS_IP(ipimap)->i_imap) in jfs_evict_inode()
Djfs_imap.h152 extern int diUpdatePMap(struct inode *ipimap, unsigned long inum,
154 extern int diExtendFS(struct inode *ipimap, struct inode *ipbmap);
Djfs_incore.h40 struct inode *ipimap; /* inode map */ member
165 struct inode *ipimap; /* aggregate inode map inode */ member
Djfs_txnmgr.c2282 struct inode *ipimap; in txUpdateMap() local
2291 ipimap = JFS_SBI(tblk->sb)->ipimap; in txUpdateMap()
2342 txAllocPMap(ipimap, maplock, tblk); in txUpdateMap()
2361 txFreeMap(ipimap, maplock, in txUpdateMap()
2364 txFreeMap(ipimap, maplock, in txUpdateMap()
2390 diUpdatePMap(ipimap, tblk->ino, false, tblk); in txUpdateMap()
2397 txAllocPMap(ipimap, (struct maplock *) & pxdlock, tblk); in txUpdateMap()
2400 diUpdatePMap(ipimap, ip->i_ino, true, tblk); in txUpdateMap()
Dsuper.c124 struct inomap *imap = JFS_IP(sbi->ipimap)->i_imap; in jfs_statfs()
Djfs_logmgr.c208 writer(sbi->ipimap->i_mapping); in write_special_inodes()