Lines Matching refs:JFS_IP
51 dxd_t *ea = &JFS_IP(inode)->ea; in free_ea_wmap()
113 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_create()
114 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_create()
135 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_create()
173 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_create()
174 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_create()
245 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_mkdir()
246 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_mkdir()
267 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_mkdir()
306 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_mkdir()
307 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_mkdir()
377 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_rmdir()
378 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_rmdir()
396 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_rmdir()
397 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_rmdir()
412 if (JFS_IP(ip)->ea.flag & DXD_EXTENT) { in jfs_rmdir()
414 txEA(tid, ip, &JFS_IP(ip)->ea, NULL); in jfs_rmdir()
416 JFS_IP(ip)->ea.flag = 0; in jfs_rmdir()
419 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) { in jfs_rmdir()
421 txEA(tid, ip, &JFS_IP(ip)->acl, NULL); in jfs_rmdir()
423 JFS_IP(ip)->acl.flag = 0; in jfs_rmdir()
433 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_rmdir()
434 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_rmdir()
504 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_unlink()
505 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_unlink()
519 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
520 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_unlink()
542 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
543 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_unlink()
571 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
572 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_unlink()
576 mutex_lock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
584 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
666 if (JFS_IP(ip)->ea.flag & DXD_EXTENT) in commitZeroLink()
668 txEA(tid, ip, &JFS_IP(ip)->ea, NULL); in commitZeroLink()
673 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) in commitZeroLink()
675 txEA(tid, ip, &JFS_IP(ip)->acl, NULL); in commitZeroLink()
726 if (JFS_IP(ip)->ea.flag & DXD_EXTENT) { in jfs_free_zero_link()
727 s64 xaddr = addressDXD(&JFS_IP(ip)->ea); in jfs_free_zero_link()
728 int xlen = lengthDXD(&JFS_IP(ip)->ea); in jfs_free_zero_link()
733 invalidate_dxd_metapages(ip, JFS_IP(ip)->ea); in jfs_free_zero_link()
747 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) { in jfs_free_zero_link()
748 s64 xaddr = addressDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link()
749 int xlen = lengthDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link()
753 invalidate_dxd_metapages(ip, JFS_IP(ip)->acl); in jfs_free_zero_link()
816 mutex_lock_nested(&JFS_IP(dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_link()
817 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_link()
858 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_link()
859 mutex_unlock(&JFS_IP(dir)->commit_mutex); in jfs_link()
931 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_symlink()
932 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_symlink()
941 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_symlink()
961 ip->i_link = JFS_IP(ip)->i_inline; in jfs_symlink()
969 if (ssize > sizeof (JFS_IP(ip)->i_inline)) in jfs_symlink()
970 JFS_IP(ip)->mode2 &= ~INLINEEA; in jfs_symlink()
1050 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_symlink()
1051 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_symlink()
1168 mutex_lock_nested(&JFS_IP(new_dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_rename()
1169 mutex_lock_nested(&JFS_IP(old_ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_rename()
1171 mutex_lock_nested(&JFS_IP(old_dir)->commit_mutex, in jfs_rename()
1175 mutex_lock_nested(&JFS_IP(new_ip)->commit_mutex, in jfs_rename()
1189 mutex_unlock(&JFS_IP(new_ip)->commit_mutex); in jfs_rename()
1191 mutex_unlock(&JFS_IP(old_dir)->commit_mutex); in jfs_rename()
1192 mutex_unlock(&JFS_IP(old_ip)->commit_mutex); in jfs_rename()
1193 mutex_unlock(&JFS_IP(new_dir)->commit_mutex); in jfs_rename()
1259 JFS_IP(old_ip)->i_dtroot.header.idotdot = in jfs_rename()
1264 (struct metapage *) &JFS_IP(old_ip)->bxflag, in jfs_rename()
1312 mutex_unlock(&JFS_IP(new_ip)->commit_mutex); in jfs_rename()
1314 mutex_unlock(&JFS_IP(old_dir)->commit_mutex); in jfs_rename()
1315 mutex_unlock(&JFS_IP(old_ip)->commit_mutex); in jfs_rename()
1316 mutex_unlock(&JFS_IP(new_dir)->commit_mutex); in jfs_rename()
1320 mutex_lock(&JFS_IP(new_ip)->commit_mutex); in jfs_rename()
1328 mutex_unlock(&JFS_IP(new_ip)->commit_mutex); in jfs_rename()
1387 jfs_ip = JFS_IP(ip); in jfs_mknod()
1391 mutex_lock_nested(&JFS_IP(dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_mknod()
1392 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_mknod()
1412 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_mknod()
1436 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_mknod()
1437 mutex_unlock(&JFS_IP(dir)->commit_mutex); in jfs_mknod()
1520 le32_to_cpu(JFS_IP(d_inode(dentry))->i_dtroot.header.idotdot); in jfs_get_parent()