Lines Matching refs:JFS_IP

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()
233 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_mkdir()
234 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_mkdir()
255 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_mkdir()
294 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_mkdir()
295 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_mkdir()
365 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_rmdir()
366 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_rmdir()
384 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_rmdir()
385 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_rmdir()
400 if (JFS_IP(ip)->ea.flag & DXD_EXTENT) { in jfs_rmdir()
402 txEA(tid, ip, &JFS_IP(ip)->ea, NULL); in jfs_rmdir()
404 JFS_IP(ip)->ea.flag = 0; in jfs_rmdir()
407 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) { in jfs_rmdir()
409 txEA(tid, ip, &JFS_IP(ip)->acl, NULL); in jfs_rmdir()
411 JFS_IP(ip)->acl.flag = 0; in jfs_rmdir()
421 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_rmdir()
422 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_rmdir()
492 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_unlink()
493 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_unlink()
507 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
508 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_unlink()
530 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
531 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_unlink()
559 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
560 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_unlink()
564 mutex_lock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
572 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
654 if (JFS_IP(ip)->ea.flag & DXD_EXTENT) in commitZeroLink()
656 txEA(tid, ip, &JFS_IP(ip)->ea, NULL); in commitZeroLink()
661 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) in commitZeroLink()
663 txEA(tid, ip, &JFS_IP(ip)->acl, NULL); in commitZeroLink()
714 if (JFS_IP(ip)->ea.flag & DXD_EXTENT) { in jfs_free_zero_link()
715 s64 xaddr = addressDXD(&JFS_IP(ip)->ea); in jfs_free_zero_link()
716 int xlen = lengthDXD(&JFS_IP(ip)->ea); in jfs_free_zero_link()
721 invalidate_dxd_metapages(ip, JFS_IP(ip)->ea); in jfs_free_zero_link()
735 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) { in jfs_free_zero_link()
736 s64 xaddr = addressDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link()
737 int xlen = lengthDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link()
741 invalidate_dxd_metapages(ip, JFS_IP(ip)->acl); in jfs_free_zero_link()
804 mutex_lock_nested(&JFS_IP(dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_link()
805 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_link()
846 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_link()
847 mutex_unlock(&JFS_IP(dir)->commit_mutex); in jfs_link()
919 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_symlink()
920 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_symlink()
929 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_symlink()
949 ip->i_link = JFS_IP(ip)->i_inline_all; in jfs_symlink()
957 if (ssize > sizeof (JFS_IP(ip)->i_inline)) in jfs_symlink()
958 JFS_IP(ip)->mode2 &= ~INLINEEA; in jfs_symlink()
1038 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_symlink()
1039 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_symlink()
1156 mutex_lock_nested(&JFS_IP(new_dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_rename()
1157 mutex_lock_nested(&JFS_IP(old_ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_rename()
1159 mutex_lock_nested(&JFS_IP(old_dir)->commit_mutex, in jfs_rename()
1163 mutex_lock_nested(&JFS_IP(new_ip)->commit_mutex, in jfs_rename()
1177 mutex_unlock(&JFS_IP(new_ip)->commit_mutex); in jfs_rename()
1179 mutex_unlock(&JFS_IP(old_dir)->commit_mutex); in jfs_rename()
1180 mutex_unlock(&JFS_IP(old_ip)->commit_mutex); in jfs_rename()
1181 mutex_unlock(&JFS_IP(new_dir)->commit_mutex); in jfs_rename()
1247 JFS_IP(old_ip)->i_dtroot.header.idotdot = in jfs_rename()
1252 (struct metapage *) &JFS_IP(old_ip)->bxflag, in jfs_rename()
1300 mutex_unlock(&JFS_IP(new_ip)->commit_mutex); in jfs_rename()
1302 mutex_unlock(&JFS_IP(old_dir)->commit_mutex); in jfs_rename()
1303 mutex_unlock(&JFS_IP(old_ip)->commit_mutex); in jfs_rename()
1304 mutex_unlock(&JFS_IP(new_dir)->commit_mutex); in jfs_rename()
1308 mutex_lock(&JFS_IP(new_ip)->commit_mutex); in jfs_rename()
1316 mutex_unlock(&JFS_IP(new_ip)->commit_mutex); in jfs_rename()
1375 jfs_ip = JFS_IP(ip); in jfs_mknod()
1379 mutex_lock_nested(&JFS_IP(dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_mknod()
1380 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_mknod()
1400 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_mknod()
1424 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_mknod()
1425 mutex_unlock(&JFS_IP(dir)->commit_mutex); in jfs_mknod()
1508 le32_to_cpu(JFS_IP(d_inode(dentry))->i_dtroot.header.idotdot); in jfs_get_parent()