Home
last modified time | relevance | path

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

/Linux-v5.4/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()
434 int flag = JFS_SBI(sb)->flag; in jfs_remount()
456 truncate_inode_pages(JFS_SBI(sb)->direct_inode->i_mapping, 0); in jfs_remount()
458 JFS_SBI(sb)->flag = flag; in jfs_remount()
472 JFS_SBI(sb)->flag = flag; in jfs_remount()
475 if ((JFS_SBI(sb)->flag & JFS_NOINTEGRITY) != (flag & JFS_NOINTEGRITY)) in jfs_remount()
481 JFS_SBI(sb)->flag = flag; in jfs_remount()
[all …]
Djfs_extent.c75 struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb); in extAlloc()
207 int rc, nbperpage = JFS_SBI(sb)->nbperpage; in extRealloc()
354 int nbperpage = JFS_SBI(sb)->nbperpage; in extHint()
367 prev = ((offset & ~POFFSET) >> JFS_SBI(sb)->l2bsize) - nbperpage; in extHint()
445 int rc, nbperpage = JFS_SBI(ip->i_sb)->nbperpage; in extFill()
499 struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb); in extBalloc()
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_mount.c71 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_mount()
228 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_mount_rw()
291 struct jfs_sb_info *sbi = JFS_SBI(sb); in chkSuper()
399 struct jfs_sb_info *sbi = JFS_SBI(sb); in updateSuper()
483 struct jfs_log *log = JFS_SBI(sb)->log; in logMOUNT()
Djfs_umount.c39 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_umount()
125 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_umount_rw()
Djfs_dmap.c169 BMAPBLKNO << JFS_SBI(ipbmap->i_sb)->l2nbperpage, in dbMount()
200 JFS_SBI(ipbmap->i_sb)->bmap = bmp; in dbMount()
231 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbUnmount()
253 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbSync()
262 BMAPBLKNO << JFS_SBI(ipbmap->i_sb)->l2nbperpage, in dbSync()
324 struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap; in dbFree()
325 struct bmap *bmp = JFS_SBI(ip->i_sb)->bmap; in dbFree()
343 if (JFS_SBI(sb)->flag & JFS_DISCARD) in dbFree()
344 if (JFS_SBI(sb)->minblks_trim <= nblocks) in dbFree()
416 struct bmap *bmp = JFS_SBI(ipbmap->i_sb)->bmap; in dbUpdatePMap()
[all …]
Djfs_imap.c114 IMAPBLKNO << JFS_SBI(ipimap->i_sb)->l2nbperpage, in diMount()
218 IMAPBLKNO << JFS_SBI(ipimap->i_sb)->l2nbperpage, in diSync()
293 struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb); in diRead()
418 struct jfs_sb_info *sbi = JFS_SBI(sb); in diReadSpecial()
500 struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb); in diWriteSpecial()
581 struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb); in diWrite()
852 struct inode *ipimap = JFS_SBI(ip->i_sb)->ipimap; in diFree()
883 agno = BLKTOAG(JFS_IP(ip)->agstart, JFS_SBI(ip->i_sb)); in diFree()
1335 ipimap = JFS_SBI(pip->i_sb)->ipimap; in diAlloc()
1344 agno = dbNextAG(JFS_SBI(pip->i_sb)->ipbmap); in diAlloc()
[all …]
Djfs_incore.h207 static inline struct jfs_sb_info *JFS_SBI(struct super_block *sb) in JFS_SBI() function
214 if (JFS_SBI(inode->i_sb)->log) in isReadOnly()
Djfs_txnmgr.c355 log = JFS_SBI(sb)->log; in txBegin()
451 log = JFS_SBI(sb)->log; in txBeginAnon()
501 log = JFS_SBI(tblk->sb)->log; in txEnd()
906 log = JFS_SBI(tblk->sb)->log; in txUnlock()
1155 log = JFS_SBI(sb)->log; in txCommit()
1386 lrd->aggregate = cpu_to_le32(JFS_SBI(ip->i_sb)->aggregate); in txLog()
2289 ipimap = JFS_SBI(tblk->sb)->ipimap; in txUpdateMap()
2426 struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap; in txAllocPMap()
2484 struct inode *ipbmap = JFS_SBI(ip->i_sb)->ipbmap; in txFreeMap()
2698 log = (struct jfs_log *) JFS_SBI(tblk->sb)->log; in txLazyCommit()
[all …]
Djfs_xtree.c153 size = ((u64) ip->i_size + (JFS_SBI(ip->i_sb)->bsize - 1)) >> in xtLookup()
154 JFS_SBI(ip->i_sb)->l2bsize; in xtLookup()
754 xlen = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp()
846 split->len = JFS_SBI(ip->i_sb)->nbperpage; in xtSplitUp()
894 JFS_SBI(ip->i_sb)->nbperpage, rcbn); in xtSplitUp()
1315 XT_PUTENTRY(xad, XAD_NEW, 0, JFS_SBI(ip->i_sb)->nbperpage, rbn); in xtSplitRoot()
2227 nblocks = JFS_SBI(ip->i_sb)->nbperpage; in xtAppend()
2483 (s64) JFS_SBI(ip->i_sb)->nbperpage); in xtDeleteUp()
2577 offset = xoff << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
2659 offset = xoff << JFS_SBI(ip->i_sb)->l2bsize; in xtRelocate()
[all …]
Djfs_unicode.c104 struct nls_table *nls_tab = JFS_SBI(dentry->d_sb)->nls_tab; in get_UCSname()
Djfs_metapage.c340 int blocks_per_mp = JFS_SBI(inode->i_sb)->nbperpage; in metapage_writepage()
417 len = min(xlen, (int)JFS_SBI(inode->i_sb)->nbperpage); in metapage_writepage()
601 mapping = JFS_SBI(inode->i_sb)->direct_inode->i_mapping; in __get_metapage()
771 JFS_SBI(ip->i_sb)->direct_inode->i_mapping; in __invalidate_metapages()
Djfs_logmgr.c1071 struct jfs_sb_info *sbi = JFS_SBI(sb); in lmLogOpen()
1174 log->base = addressPXD(&JFS_SBI(sb)->logpxd); in open_inline_log()
1175 log->size = lengthPXD(&JFS_SBI(sb)->logpxd) >> in open_inline_log()
1189 list_add(&JFS_SBI(sb)->log_list, &log->sb_list); in open_inline_log()
1190 JFS_SBI(sb)->log = log; in open_inline_log()
1222 list_add(&JFS_SBI(sb)->log_list, &dummy_log->sb_list); in open_dummy_log()
1223 JFS_SBI(sb)->log = dummy_log; in open_dummy_log()
1444 struct jfs_sb_info *sbi = JFS_SBI(sb); in lmLogClose()
Djfs_inode.c102 inode->i_generation = JFS_SBI(sb)->gengen++; in ialloc()
Dinode.c128 jfs_flush_journal(JFS_SBI(inode->i_sb)->log, wait); in jfs_write_inode()
171 struct bmap *bmap = JFS_SBI(inode->i_sb)->bmap; in jfs_evict_inode()
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()
2568 xsize = xlen << JFS_SBI(ip->i_sb)->l2bsize; in dtRelocate()
2679 psize = lengthPXD(pxd) << JFS_SBI(ip->i_sb)->l2bsize; in dtSearchNode()
[all …]
Djfs_dmap.h127 ((s64)(a) << (JFS_SBI((ip)->i_sb)->bmap->db_agl2size))
Dresize.c52 struct jfs_sb_info *sbi = JFS_SBI(sb); in jfs_extendfs()
Dnamei.c978 bmask = JFS_SBI(sb)->bsize - 1; in jfs_symlink()
981 xlen = xsize >> JFS_SBI(sb)->l2bsize; in jfs_symlink()
1003 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()