/Linux-v5.4/fs/jfs/ |
D | namei.c | 38 dxd_t *ea = &JFS_IP(inode)->ea; in free_ea_wmap() 100 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_create() 101 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_create() 122 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_create() 160 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_create() 161 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_create() 232 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_mkdir() 233 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_mkdir() 254 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_mkdir() 293 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_mkdir() [all …]
|
D | jfs_incore.h | 101 down_read_nested(&JFS_IP(ip)->rdwrlock, subclass) 102 #define IREAD_UNLOCK(ip) up_read(&JFS_IP(ip)->rdwrlock) 104 down_write_nested(&JFS_IP(ip)->rdwrlock, subclass) 105 #define IWRITE_UNLOCK(ip) up_write(&JFS_IP(ip)->rdwrlock) 143 #define set_cflag(flag, ip) set_bit(flag, &(JFS_IP(ip)->cflag)) 144 #define clear_cflag(flag, ip) clear_bit(flag, &(JFS_IP(ip)->cflag)) 145 #define test_cflag(flag, ip) test_bit(flag, &(JFS_IP(ip)->cflag)) 147 test_and_clear_bit(flag, &(JFS_IP(ip)->cflag)) 197 static inline struct jfs_inode_info *JFS_IP(struct inode *inode) in JFS_IP() function 204 return (JFS_IP(inode)->next_index <= (MAX_INLINE_DIRTABLE_ENTRY + 1)); in jfs_dirtable_inline()
|
D | jfs_extent.c | 84 mutex_lock(&JFS_IP(ip)->commit_mutex); in extAlloc() 126 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extAlloc() 134 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extAlloc() 156 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extAlloc() 168 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extAlloc() 213 mutex_lock(&JFS_IP(ip)->commit_mutex); in extRealloc() 250 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extRealloc() 330 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extRealloc() 417 mutex_lock(&JFS_IP(ip)->commit_mutex); in extRecord() 422 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extRecord() [all …]
|
D | inode.c | 55 inode->i_link = JFS_IP(inode)->i_inline; in jfs_iget() 102 mutex_lock(&JFS_IP(inode)->commit_mutex); in jfs_commit_inode() 111 mutex_unlock(&JFS_IP(inode)->commit_mutex); in jfs_commit_inode() 141 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_evict_inode() 148 if (JFS_IP(inode)->fileset == FILESYSTEM_I) { in jfs_evict_inode() 395 mutex_lock(&JFS_IP(ip)->commit_mutex); in jfs_truncate_nolock() 401 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_truncate_nolock() 410 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_truncate_nolock()
|
D | jfs_btree.h | 51 (BT_IS_ROOT(MP) ? (TYPE *)&JFS_IP(IP)->ROOT : (TYPE *)(MP)->data) 58 MP = (struct metapage *)&JFS_IP(IP)->bxflag;\ 59 P = (TYPE *)&JFS_IP(IP)->ROOT;\ 149 P = (TYPE *)&JFS_IP(IP)->ROOT;\
|
D | acl.c | 102 mutex_lock(&JFS_IP(inode)->commit_mutex); in jfs_set_acl() 121 mutex_unlock(&JFS_IP(inode)->commit_mutex); in jfs_set_acl() 149 JFS_IP(inode)->mode2 = (JFS_IP(inode)->mode2 & 0xffff0000) | in jfs_init_acl()
|
D | jfs_extent.h | 10 (addressPXD(&(JFS_IP(ip)->ixpxd)) + lengthPXD(&(JFS_IP(ip)->ixpxd)) - 1)
|
D | xattr.c | 146 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write_inline() 205 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write() 319 struct jfs_inode_info *ji = JFS_IP(ip); in ea_read_inline() 354 struct jfs_inode_info *ji = JFS_IP(ip); in ea_read() 428 struct jfs_inode_info *ji = JFS_IP(inode); in ea_get() 595 struct jfs_inode_info *ji = JFS_IP(inode); in ea_put() 669 down_write(&JFS_IP(inode)->xattr_sem); in __jfs_setxattr() 789 up_write(&JFS_IP(inode)->xattr_sem); in __jfs_setxattr() 805 down_read(&JFS_IP(inode)->xattr_sem); in __jfs_getxattr() 840 up_read(&JFS_IP(inode)->xattr_sem); in __jfs_getxattr() [all …]
|
D | jfs_inode.c | 18 unsigned int flags = JFS_IP(inode)->mode2; in jfs_set_inode_flags() 54 jfs_inode = JFS_IP(inode); in ialloc() 86 jfs_inode->mode2 = JFS_IP(parent)->mode2 & JFS_FL_INHERIT; in ialloc()
|
D | jfs_imap.c | 158 JFS_IP(ipimap)->i_imap = imap; in diMount() 180 struct inomap *imap = JFS_IP(ipimap)->i_imap; in diUnmount() 209 struct inomap *imp = JFS_IP(ipimap)->i_imap; in diSync() 309 JFS_IP(ip)->ipimap = ipimap; in diRead() 315 imap = JFS_IP(ipimap)->i_imap; in diRead() 387 JFS_IP(ip)->agstart = agstart; in diRead() 388 JFS_IP(ip)->active_ag = -1; in diRead() 432 JFS_IP(ip)->ipimap = sbi->ipaimap2; in diReadSpecial() 435 JFS_IP(ip)->ipimap = sbi->ipaimap; in diReadSpecial() 473 if ((inum == FILESYSTEM_I) && (JFS_IP(ip)->ipimap == sbi->ipaimap)) { in diReadSpecial() [all …]
|
D | file.c | 61 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_open() 75 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_release()
|
D | jfs_dtree.h | 150 (le32_to_cpu(JFS_IP(IP)->i_dtroot.header.idotdot)) 154 #define dtEmpty(IP) (JFS_IP(IP)->i_dtroot.header.nextindex == 0)
|
D | super.c | 116 kmem_cache_free(jfs_inode_cachep, JFS_IP(inode)); in jfs_free_inode() 123 struct inomap *imap = JFS_IP(sbi->ipimap)->i_imap; in jfs_statfs() 837 return JFS_IP(inode)->i_dquot; in jfs_get_dquots() 852 JFS_IP(inode)->mode2 |= JFS_NOATIME_FL | JFS_IMMUTABLE_FL; in jfs_quota_on() 874 JFS_IP(inode)->mode2 &= ~(JFS_NOATIME_FL | JFS_IMMUTABLE_FL); in jfs_quota_off()
|
D | resize.c | 472 memcpy(&JFS_IP(ipbmap2)->i_xtroot, &JFS_IP(ipbmap)->i_xtroot, 288); in jfs_extendfs()
|
D | ioctl.c | 63 struct jfs_inode_info *jfs_inode = JFS_IP(inode); in jfs_ioctl()
|
D | jfs_txnmgr.c | 580 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txLock() 984 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txMaplock() 1202 jfs_ip = JFS_IP(ip); in txCommit() 1339 jfs_ip = JFS_IP(ip); in txCommit() 1387 lrd->log.redopage.fileset = cpu_to_le32(JFS_IP(ip)->fileset); in txLog() 1711 p = &JFS_IP(ip)->i_xtroot; in xtLog() 2581 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txFreelock() 2639 JFS_IP(tlck->ip)->xtlid = 0; in txAbort()
|
D | jfs_xtree.c | 229 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in xtSearch() 704 (JFS_IP(ip)->mode2 & INLINEEA)) { in xtSplitUp() 706 JFS_IP(ip)->mode2 &= ~INLINEEA; in xtSplitUp() 1227 sp = &JFS_IP(ip)->i_xtroot; in xtSplitRoot() 2685 nblks = nb >> JFS_IP(ip->i_sb)->l2bsize; in xtRelocate() 3069 txLock(tid, ip, (struct metapage *) &JFS_IP(ip)->bxflag, in xtInitRoot() 3071 p = &JFS_IP(ip)->i_xtroot; in xtInitRoot() 3591 JFS_IP(ip)->mode2 |= INLINEEA; in xtTruncate()
|
D | jfs_dtree.c | 239 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in find_index() 325 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in add_index() 837 if (JFS_IP(ip)->next_index == DIREND) { in dtInsert() 1888 sp = &JFS_IP(ip)->i_dtroot; in dtSplitRoot() 2816 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in dtInitRoot() 2942 if ((index < 2) || (index >= JFS_IP(inode)->next_index)) { in add_missing_indices() 3050 (dir_index >= JFS_IP(ip)->next_index)) { in jfs_readdir() 3062 if (loop_count++ > JFS_IP(ip)->next_index) { in jfs_readdir() 3211 JFS_IP(ip)->next_index)) { in jfs_readdir()
|
D | jfs_logmgr.c | 386 p = (caddr_t) &JFS_IP(tlck->ip)->i_dtroot; in lmWriteRecord() 388 p = (caddr_t) &JFS_IP(tlck->ip)->i_xtroot; in lmWriteRecord()
|
D | jfs_dmap.c | 791 ((writers == 1) && (JFS_IP(ip)->active_ag != agno))) { in dbAlloc()
|