Home
last modified time | relevance | path

Searched refs:JFS_SBI (Results 1 – 22 of 22) sorted by relevance

/Linux-v6.6/fs/jfs/
Djfs_discard.c67 struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap; in jfs_ioc_trim()
68 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in jfs_ioc_trim()
97 agno = BLKTOAG(start, JFS_SBI(ip->i_sb)); in jfs_ioc_trim()
98 agno_end = BLKTOAG(end, JFS_SBI(ip->i_sb)); in jfs_ioc_trim()
Dsuper.c64 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_handle_error()
121 struct jfs_sb_info *sbi = JFS_SBI(dentry->d_sb); in jfs_statfs()
187 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_put_super()
238 struct jfs_sb_info *sbi = JFS_SBI(sb); in parse_options()
429 int flag = JFS_SBI(sb)->flag; in jfs_remount()
451 truncate_inode_pages(JFS_SBI(sb)->direct_inode->i_mapping, 0); in jfs_remount()
453 JFS_SBI(sb)->flag = flag; in jfs_remount()
467 JFS_SBI(sb)->flag = flag; in jfs_remount()
470 if ((JFS_SBI(sb)->flag & JFS_NOINTEGRITY) != (flag & JFS_NOINTEGRITY)) in jfs_remount()
476 JFS_SBI(sb)->flag = flag; in jfs_remount()
[all …]
Djfs_mount.c73 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_mount()
223 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_mount_rw()
290 struct jfs_sb_info *sbi = JFS_SBI(sb); in chkSuper()
405 struct jfs_sb_info *sbi = JFS_SBI(sb); in updateSuper()
489 struct jfs_log *log = JFS_SBI(sb)->log; in logMOUNT()
Dfile.c32 jfs_flush_journal(JFS_SBI(inode->i_sb)->log, 1); in jfs_fsync()
64 struct jfs_sb_info *jfs_sb = JFS_SBI(inode->i_sb); in jfs_open()
79 struct bmap *bmap = JFS_SBI(inode->i_sb)->bmap; in jfs_release()
Djfs_extent.c72 struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb); in extAlloc()
195 int nbperpage = JFS_SBI(sb)->nbperpage; in extHint()
208 prev = ((offset & ~POFFSET) >> JFS_SBI(sb)->l2bsize) - nbperpage; in extHint()
302 struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb); in extBalloc()
Djfs_umount.c39 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_umount()
123 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_umount_rw()
Djfs_dmap.c170 BMAPBLKNO << JFS_SBI(ipbmap->i_sb)->l2nbperpage, in dbMount()
223 JFS_SBI(ipbmap->i_sb)->bmap = bmp; in dbMount()
260 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbUnmount()
272 JFS_SBI(ipbmap->i_sb)->bmap = NULL; in dbUnmount()
283 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbSync()
292 BMAPBLKNO << JFS_SBI(ipbmap->i_sb)->l2nbperpage, in dbSync()
354 struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap; in dbFree()
355 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in dbFree()
373 if (JFS_SBI(sb)->flag & JFS_DISCARD) in dbFree()
374 if (JFS_SBI(sb)->minblks_trim <= nblocks) in dbFree()
[all …]
Djfs_imap.c112 IMAPBLKNO << JFS_SBI(ipimap->i_sb)->l2nbperpage, in diMount()
217 IMAPBLKNO << JFS_SBI(ipimap->i_sb)->l2nbperpage, in diSync()
292 struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb); in diRead()
417 struct jfs_sb_info *sbi = JFS_SBI(sb); in diReadSpecial()
499 struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb); in diWriteSpecial()
580 struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb); in diWrite()
851 struct inode *ipimap = JFS_SBI(ip->i_sb)->ipimap; in diFree()
882 agno = BLKTOAG(JFS_IP(ip)->agstart, JFS_SBI(ip->i_sb)); in diFree()
1334 ipimap = JFS_SBI(pip->i_sb)->ipimap; in diAlloc()
1343 agno = dbNextAG(JFS_SBI(pip->i_sb)->ipbmap); in diAlloc()
[all …]
Djfs_incore.h215 static inline struct jfs_sb_info *JFS_SBI(struct super_block *sb) in JFS_SBI() function
222 if (JFS_SBI(inode->i_sb)->log) in isReadOnly()
Djfs_txnmgr.c355 log = JFS_SBI(sb)->log; in txBegin()
456 log = JFS_SBI(sb)->log; in txBeginAnon()
506 log = JFS_SBI(tblk->sb)->log; in txEnd()
911 log = JFS_SBI(tblk->sb)->log; in txUnlock()
1160 log = JFS_SBI(sb)->log; in txCommit()
1389 lrd->aggregate = cpu_to_le32(JFS_SBI(ip->i_sb)->aggregate); in txLog()
2257 ipimap = JFS_SBI(tblk->sb)->ipimap; in txUpdateMap()
2394 struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap; in txAllocPMap()
2452 struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap; in txFreeMap()
2666 log = (struct jfs_log *) JFS_SBI(tblk->sb)->log; in txLazyCommit()
[all …]
Dinode.c128 jfs_flush_journal(JFS_SBI(inode->i_sb)->log, wait); in jfs_write_inode()
149 struct inode *ipimap = JFS_SBI(inode->i_sb)->ipimap; in jfs_evict_inode()
173 struct bmap *bmap = JFS_SBI(inode->i_sb)->bmap; in jfs_evict_inode()
Djfs_xtree.c142 size = ((u64) ip->i_size + (JFS_SBI(ip->i_sb)->bsize - 1)) >> in xtLookup()
143 JFS_SBI(ip->i_sb)->l2bsize; in xtLookup()
743 xlen = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp()
835 split->len = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp()
883 JFS_SBI(ip->i_sb)->nbperpage, rcbn); in xtSplitUp()
1304 XT_PUTENTRY(xad, XAD_NEW, 0, JFS_SBI(ip->i_sb)->nbperpage, rbn); in xtSplitRoot()
2012 nblocks = JFS_SBI(ip->i_sb)->nbperpage; in xtAppend()
2254 teof = (newsize + (JFS_SBI(ip->i_sb)->bsize - 1)) >> in xtTruncate()
2255 JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate()
2320 newsize = (xoff + xlen) << JFS_SBI(ip->i_sb)->l2bsize; in xtTruncate()
[all …]
Djfs_unicode.c104 struct nls_table *nls_tab = JFS_SBI(dentry->d_sb)->nls_tab; in get_UCSname()
Djfs_metapage.c341 int blocks_per_mp = JFS_SBI(inode->i_sb)->nbperpage; in metapage_writepage()
418 len = min(xlen, (int)JFS_SBI(inode->i_sb)->nbperpage); in metapage_writepage()
600 mapping = JFS_SBI(inode->i_sb)->direct_inode->i_mapping; in __get_metapage()
799 JFS_SBI(ip->i_sb)->direct_inode->i_mapping; in __invalidate_metapages()
Djfs_logmgr.c1063 struct jfs_sb_info *sbi = JFS_SBI(sb); in lmLogOpen()
1166 log->base = addressPXD(&JFS_SBI(sb)->logpxd); in open_inline_log()
1167 log->size = lengthPXD(&JFS_SBI(sb)->logpxd) >> in open_inline_log()
1181 list_add(&JFS_SBI(sb)->log_list, &log->sb_list); in open_inline_log()
1182 JFS_SBI(sb)->log = log; in open_inline_log()
1214 list_add(&JFS_SBI(sb)->log_list, &dummy_log->sb_list); in open_dummy_log()
1215 JFS_SBI(sb)->log = dummy_log; in open_dummy_log()
1437 struct jfs_sb_info *sbi = JFS_SBI(sb); in lmLogClose()
Djfs_inode.c102 inode->i_generation = JFS_SBI(sb)->gengen++; in ialloc()
Djfs_dtree.h91 #define DO_INDEX(INODE) (JFS_SBI((INODE)->i_sb)->mntflag & JFS_DIR_INDEX)
Djfs_dtree.c269 JFS_SBI(ip->i_sb)->l2nbperpage; in find_index()
324 struct jfs_sb_info *sbi = JFS_SBI(sb); in add_index()
597 if ((JFS_SBI(sb)->mntflag & JFS_OS2) == JFS_OS2) { in dtSearch()
640 JFS_SBI(sb)->mntflag); in dtSearch()
780 psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize; in dtSearch()
921 struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb); in dtSplitUp()
1727 xsize = xlen << JFS_SBI(sb)->l2bsize; in dtExtendPage()
1901 xsize = xlen << JFS_SBI(sb)->l2bsize; in dtSplitRoot()
2698 struct nls_table *codepage = JFS_SBI(ip->i_sb)->nls_tab; in jfs_readdir()
3086 psize = lengthPXD(xd) << JFS_SBI(ip->i_sb)->l2bsize; in dtReadFirst()
Djfs_dmap.h127 ((s64)(a) << (JFS_SBI((ip)->i_sb)->bmap->db_agl2size))
Dresize.c53 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_extendfs()
Dnamei.c984 bmask = JFS_SBI(sb)->bsize - 1; in jfs_symlink()
987 xlen = xsize >> JFS_SBI(sb)->l2bsize; in jfs_symlink()
1009 xaddr += JFS_SBI(sb)->nbperpage; in jfs_symlink()
Dxattr.c206 struct jfs_sb_info *sbi = JFS_SBI(sb); in ea_write()
355 struct jfs_sb_info *sbi = JFS_SBI(sb); in ea_read()