Home
last modified time | relevance | path

Searched refs:JFS_IP (Results 1 – 21 of 21) sorted by relevance

/fs/jfs/
Dnamei.c51 dxd_t *ea = &JFS_IP(inode)->ea; in free_ea_wmap()
111 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_create()
112 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_create()
133 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_create()
171 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_create()
172 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_create()
243 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_mkdir()
244 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_mkdir()
265 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_mkdir()
304 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_mkdir()
[all …]
Djfs_incore.h108 down_read_nested(&JFS_IP(ip)->rdwrlock, subclass)
109 #define IREAD_UNLOCK(ip) up_read(&JFS_IP(ip)->rdwrlock)
111 down_write_nested(&JFS_IP(ip)->rdwrlock, subclass)
112 #define IWRITE_UNLOCK(ip) up_write(&JFS_IP(ip)->rdwrlock)
150 #define set_cflag(flag, ip) set_bit(flag, &(JFS_IP(ip)->cflag))
151 #define clear_cflag(flag, ip) clear_bit(flag, &(JFS_IP(ip)->cflag))
152 #define test_cflag(flag, ip) test_bit(flag, &(JFS_IP(ip)->cflag))
154 test_and_clear_bit(flag, &(JFS_IP(ip)->cflag))
204 static inline struct jfs_inode_info *JFS_IP(struct inode *inode) in JFS_IP() function
211 return (JFS_IP(inode)->next_index <= (MAX_INLINE_DIRTABLE_ENTRY + 1)); in jfs_dirtable_inline()
Djfs_extent.c97 mutex_lock(&JFS_IP(ip)->commit_mutex); in extAlloc()
139 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extAlloc()
147 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extAlloc()
169 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extAlloc()
181 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extAlloc()
226 mutex_lock(&JFS_IP(ip)->commit_mutex); in extRealloc()
263 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extRealloc()
343 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extRealloc()
430 mutex_lock(&JFS_IP(ip)->commit_mutex); in extRecord()
435 mutex_unlock(&JFS_IP(ip)->commit_mutex); in extRecord()
[all …]
Dinode.c70 JFS_IP(inode)->i_inline[inode->i_size] = '\0'; in jfs_iget()
112 mutex_lock(&JFS_IP(inode)->commit_mutex); in jfs_commit_inode()
121 mutex_unlock(&JFS_IP(inode)->commit_mutex); in jfs_commit_inode()
156 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()
Dxattr.c161 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write_inline()
220 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write()
334 struct jfs_inode_info *ji = JFS_IP(ip); in ea_read_inline()
369 struct jfs_inode_info *ji = JFS_IP(ip); in ea_read()
443 struct jfs_inode_info *ji = JFS_IP(inode); in ea_get()
608 struct jfs_inode_info *ji = JFS_IP(inode); in ea_put()
722 down_write(&JFS_IP(inode)->xattr_sem); in __jfs_setxattr()
842 up_write(&JFS_IP(inode)->xattr_sem); in __jfs_setxattr()
853 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_setxattr()
896 down_read(&JFS_IP(inode)->xattr_sem); in __jfs_getxattr()
[all …]
Djfs_btree.h64 (BT_IS_ROOT(MP) ? (TYPE *)&JFS_IP(IP)->ROOT : (TYPE *)(MP)->data)
71 MP = (struct metapage *)&JFS_IP(IP)->bxflag;\
72 P = (TYPE *)&JFS_IP(IP)->ROOT;\
162 P = (TYPE *)&JFS_IP(IP)->ROOT;\
Dacl.c126 mutex_lock(&JFS_IP(inode)->commit_mutex); in jfs_set_acl()
131 mutex_unlock(&JFS_IP(inode)->commit_mutex); in jfs_set_acl()
155 JFS_IP(inode)->mode2 = (JFS_IP(inode)->mode2 & 0xffff0000) | in jfs_init_acl()
Djfs_imap.c171 JFS_IP(ipimap)->i_imap = imap; in diMount()
193 struct inomap *imap = JFS_IP(ipimap)->i_imap; in diUnmount()
222 struct inomap *imp = JFS_IP(ipimap)->i_imap; in diSync()
322 JFS_IP(ip)->ipimap = ipimap; in diRead()
328 imap = JFS_IP(ipimap)->i_imap; in diRead()
400 JFS_IP(ip)->agstart = agstart; in diRead()
401 JFS_IP(ip)->active_ag = -1; in diRead()
445 JFS_IP(ip)->ipimap = sbi->ipaimap2; in diReadSpecial()
448 JFS_IP(ip)->ipimap = sbi->ipaimap; in diReadSpecial()
486 if ((inum == FILESYSTEM_I) && (JFS_IP(ip)->ipimap == sbi->ipaimap)) { in diReadSpecial()
[all …]
Djfs_extent.h23 (addressPXD(&(JFS_IP(ip)->ixpxd)) + lengthPXD(&(JFS_IP(ip)->ixpxd)) - 1)
Djfs_inode.c31 unsigned int flags = JFS_IP(inode)->mode2; in jfs_set_inode_flags()
86 jfs_inode = JFS_IP(inode); in ialloc()
118 jfs_inode->mode2 = JFS_IP(parent)->mode2 & JFS_FL_INHERIT; in ialloc()
Djfs_dtree.h163 (le32_to_cpu(JFS_IP(IP)->i_dtroot.header.idotdot))
167 #define dtEmpty(IP) (JFS_IP(IP)->i_dtroot.header.nextindex == 0)
Dfile.c74 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_open()
88 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_release()
Dsymlink.c27 char *s = JFS_IP(dentry->d_inode)->i_inline; in jfs_follow_link()
Dresize.c479 memcpy(&JFS_IP(ipbmap2)->i_xtroot, &JFS_IP(ipbmap)->i_xtroot, 288); in jfs_extendfs()
Djfs_txnmgr.c593 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txLock()
997 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txMaplock()
1215 jfs_ip = JFS_IP(ip); in txCommit()
1352 jfs_ip = JFS_IP(ip); in txCommit()
1400 lrd->log.redopage.fileset = cpu_to_le32(JFS_IP(ip)->fileset); in txLog()
1724 p = &JFS_IP(ip)->i_xtroot; in xtLog()
2598 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txFreelock()
2656 JFS_IP(tlck->ip)->xtlid = 0; in txAbort()
Dioctl.c62 struct jfs_inode_info *jfs_inode = JFS_IP(inode); in jfs_ioctl()
Dsuper.c126 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_i_callback()
132 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_destroy_inode()
150 struct inomap *imap = JFS_IP(sbi->ipimap)->i_imap; in jfs_statfs()
Djfs_xtree.c242 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in xtSearch()
717 (JFS_IP(ip)->mode2 & INLINEEA)) { in xtSplitUp()
719 JFS_IP(ip)->mode2 &= ~INLINEEA; in xtSplitUp()
1240 sp = &JFS_IP(ip)->i_xtroot; in xtSplitRoot()
2698 nblks = nb >> JFS_IP(ip->i_sb)->l2bsize; in xtRelocate()
3082 txLock(tid, ip, (struct metapage *) &JFS_IP(ip)->bxflag, in xtInitRoot()
3084 p = &JFS_IP(ip)->i_xtroot; in xtInitRoot()
3604 JFS_IP(ip)->mode2 |= INLINEEA; in xtTruncate()
Djfs_dtree.c252 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in find_index()
338 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in add_index()
849 if (JFS_IP(ip)->next_index == DIREND) { in dtInsert()
1900 sp = &JFS_IP(ip)->i_dtroot; in dtSplitRoot()
2828 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in dtInitRoot()
2954 if ((index < 2) || (index >= JFS_IP(inode)->next_index)) { in add_missing_indices()
3062 (dir_index >= JFS_IP(ip)->next_index)) { in jfs_readdir()
3074 if (loop_count++ > JFS_IP(ip)->next_index) { in jfs_readdir()
3225 JFS_IP(ip)->next_index)) { in jfs_readdir()
Djfs_logmgr.c399 p = (caddr_t) &JFS_IP(tlck->ip)->i_dtroot; in lmWriteRecord()
401 p = (caddr_t) &JFS_IP(tlck->ip)->i_xtroot; in lmWriteRecord()
Djfs_dmap.c804 ((writers == 1) && (JFS_IP(ip)->active_ag != agno))) { in dbAlloc()