Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/jfs/
Dnamei.c93 down(&JFS_IP(dip)->commit_sem); in jfs_create()
94 down(&JFS_IP(ip)->commit_sem); in jfs_create()
142 up(&JFS_IP(dip)->commit_sem); in jfs_create()
143 up(&JFS_IP(ip)->commit_sem); in jfs_create()
214 down(&JFS_IP(dip)->commit_sem); in jfs_mkdir()
215 down(&JFS_IP(ip)->commit_sem); in jfs_mkdir()
265 up(&JFS_IP(dip)->commit_sem); in jfs_mkdir()
266 up(&JFS_IP(ip)->commit_sem); in jfs_mkdir()
324 down(&JFS_IP(dip)->commit_sem); in jfs_rmdir()
325 down(&JFS_IP(ip)->commit_sem); in jfs_rmdir()
[all …]
Djfs_incore.h101 #define IREAD_LOCK(ip) down_read(&JFS_IP(ip)->rdwrlock)
102 #define IREAD_UNLOCK(ip) up_read(&JFS_IP(ip)->rdwrlock)
103 #define IWRITE_LOCK(ip) down_write(&JFS_IP(ip)->rdwrlock)
104 #define IWRITE_UNLOCK(ip) up_write(&JFS_IP(ip)->rdwrlock)
121 #define set_cflag(flag, ip) set_bit(flag, &(JFS_IP(ip)->cflag))
122 #define clear_cflag(flag, ip) clear_bit(flag, &(JFS_IP(ip)->cflag))
123 #define test_cflag(flag, ip) test_bit(flag, &(JFS_IP(ip)->cflag))
125 test_and_clear_bit(flag, &(JFS_IP(ip)->cflag))
160 static inline struct jfs_inode_info *JFS_IP(struct inode *inode) in JFS_IP() function
Djfs_extent.c101 down(&JFS_IP(ip)->commit_sem); in extAlloc()
143 up(&JFS_IP(ip)->commit_sem); in extAlloc()
164 up(&JFS_IP(ip)->commit_sem); in extAlloc()
180 up(&JFS_IP(ip)->commit_sem); in extAlloc()
225 down(&JFS_IP(ip)->commit_sem); in extRealloc()
335 up(&JFS_IP(ip)->commit_sem); in extRealloc()
436 down(&JFS_IP(ip)->commit_sem); in extRecord()
441 up(&JFS_IP(ip)->commit_sem); in extRecord()
517 struct jfs_inode_info *ji = JFS_IP(ip); in extBalloc()
Dinode.c41 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_clear_inode()
148 down(&JFS_IP(inode)->commit_sem); in jfs_commit_inode()
157 up(&JFS_IP(inode)->commit_sem); in jfs_commit_inode()
227 take_locks = (JFS_IP(ip)->fileset != AGGREGATE_I); in jfs_get_block()
373 down(&JFS_IP(ip)->commit_sem); in jfs_truncate_nolock()
379 up(&JFS_IP(ip)->commit_sem); in jfs_truncate_nolock()
388 up(&JFS_IP(ip)->commit_sem); in jfs_truncate_nolock()
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;\
Djfs_extent.h23 (addressPXD(&(JFS_IP(ip)->ixpxd)) + lengthPXD(&(JFS_IP(ip)->ixpxd)) - 1)
Dsymlink.c25 char *s = JFS_IP(dentry->d_inode)->i_inline; in jfs_follow_link()
31 char *s = JFS_IP(dentry->d_inode)->i_inline; in jfs_readlink()
Djfs_imap.c190 JFS_IP(ipimap)->i_imap = imap; in diMount()
214 struct inomap *imap = JFS_IP(ipimap)->i_imap; in diUnmount()
243 struct inomap *imp = JFS_IP(ipimap)->i_imap; in diSync()
343 JFS_IP(ip)->ipimap = ipimap; in diRead()
349 imap = JFS_IP(ipimap)->i_imap; in diRead()
421 JFS_IP(ip)->agno = BLKTOAG(agstart, sbi); in diRead()
422 JFS_IP(ip)->active_ag = -1; in diRead()
474 JFS_IP(ip)->ipimap = sbi->ipaimap2; in diReadSpecial()
477 JFS_IP(ip)->ipimap = sbi->ipaimap; in diReadSpecial()
512 if ((inum == FILESYSTEM_I) && (JFS_IP(ip)->ipimap == sbi->ipaimap)) { in diReadSpecial()
[all …]
Dfile.c72 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_open()
86 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_release()
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)
Dxattr.c172 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write_inline()
232 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write()
335 struct jfs_inode_info *ji = JFS_IP(ip); in ea_read_inline()
370 struct jfs_inode_info *ji = JFS_IP(ip); in ea_read()
444 struct jfs_inode_info *ji = JFS_IP(inode); in ea_get()
588 struct jfs_inode_info *ji = JFS_IP(inode); in ea_put()
Dresize.c473 memcpy(&JFS_IP(ipbmap2)->i_xtroot, &JFS_IP(ipbmap)->i_xtroot, 288); in jfs_extendfs()
Djfs_inode.c53 jfs_inode = JFS_IP(inode); in ialloc()
Djfs_txnmgr.c560 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txLock()
957 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txMaplock()
1175 jfs_ip = JFS_IP(ip); in txCommit()
1286 jfs_ip = JFS_IP(ip); in txCommit()
1335 lrd->log.redopage.fileset = cpu_to_le32(JFS_IP(ip)->fileset); in txLog()
1506 if (JFS_IP(tlck->ip)->next_index < MAX_INLINE_DIRTABLE_ENTRY) { in dataLog()
1665 p = &JFS_IP(ip)->i_xtroot; in xtLog()
2343 pxdlock.pxd = JFS_IP(ip)->ixpxd; in txUpdateMap()
2537 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txFreelock()
2598 JFS_IP(tlck->ip)->xtlid = 0; in txAbort()
Djfs_dtree.c250 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in find_index()
336 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in add_index()
844 if (JFS_IP(ip)->next_index == DIREND) { in dtInsert()
1831 ((JFS_IP(ip)->ea.flag & DXD_EXTENT) ? in dtExtendPage()
1832 lengthDXD(&JFS_IP(ip)->ea) : 0) + in dtExtendPage()
1833 ((JFS_IP(ip)->acl.flag & DXD_EXTENT) ? in dtExtendPage()
1834 lengthDXD(&JFS_IP(ip)->acl) : 0)); in dtExtendPage()
1883 sp = &JFS_IP(ip)->i_dtroot; in dtSplitRoot()
2800 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in dtInitRoot()
2931 if ((index < 2) || (index >= JFS_IP(inode)->next_index)) { in add_missing_indices()
[all …]
Djfs_xtree.c502 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in xtSearch()
955 (JFS_IP(ip)->mode2 & INLINEEA)) { in xtSplitUp()
957 JFS_IP(ip)->mode2 &= ~INLINEEA; in xtSplitUp()
1466 sp = &JFS_IP(ip)->i_xtroot; in xtSplitRoot()
2923 nblks = nb >> JFS_IP(ip->i_sb)->l2bsize; in xtRelocate()
3309 txLock(tid, ip, (struct metapage *) &JFS_IP(ip)->bxflag, in xtInitRoot()
3311 p = &JFS_IP(ip)->i_xtroot; in xtInitRoot()
3831 JFS_IP(ip)->mode2 |= INLINEEA; in xtTruncate()
Dsuper.c121 struct inomap *imap = JFS_IP(sbi->ipimap)->i_imap; in jfs_statfs()
Djfs_metapage.c346 if (JFS_IP(inode)->fileset == AGGREGATE_I) in __get_metapage()
Djfs_logmgr.c379 p = (caddr_t) &JFS_IP(tlck->ip)->i_dtroot; in lmWriteRecord()
381 p = (caddr_t) &JFS_IP(tlck->ip)->i_xtroot; in lmWriteRecord()
Djfs_dmap.c860 ((writers == 1) && (JFS_IP(ip)->active_ag != agno))) { in dbAlloc()