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()
531 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
532 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_unlink()
560 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
561 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_unlink()
565 mutex_lock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
573 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_unlink()
655 if (JFS_IP(ip)->ea.flag & DXD_EXTENT) in commitZeroLink()
657 txEA(tid, ip, &JFS_IP(ip)->ea, NULL); in commitZeroLink()
662 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) in commitZeroLink()
664 txEA(tid, ip, &JFS_IP(ip)->acl, NULL); in commitZeroLink()
715 if (JFS_IP(ip)->ea.flag & DXD_EXTENT) { in jfs_free_zero_link()
716 s64 xaddr = addressDXD(&JFS_IP(ip)->ea); in jfs_free_zero_link()
717 int xlen = lengthDXD(&JFS_IP(ip)->ea); in jfs_free_zero_link()
722 invalidate_dxd_metapages(ip, JFS_IP(ip)->ea); in jfs_free_zero_link()
736 if (JFS_IP(ip)->acl.flag & DXD_EXTENT) { in jfs_free_zero_link()
737 s64 xaddr = addressDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link()
738 int xlen = lengthDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link()
742 invalidate_dxd_metapages(ip, JFS_IP(ip)->acl); in jfs_free_zero_link()
810 mutex_lock_nested(&JFS_IP(dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_link()
811 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_link()
852 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_link()
853 mutex_unlock(&JFS_IP(dir)->commit_mutex); in jfs_link()
925 mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_symlink()
926 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_symlink()
935 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_symlink()
955 ip->i_link = JFS_IP(ip)->i_inline_all; in jfs_symlink()
963 if (ssize > sizeof (JFS_IP(ip)->i_inline)) in jfs_symlink()
964 JFS_IP(ip)->mode2 &= ~INLINEEA; in jfs_symlink()
1044 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_symlink()
1045 mutex_unlock(&JFS_IP(dip)->commit_mutex); in jfs_symlink()
1162 mutex_lock_nested(&JFS_IP(new_dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_rename()
1163 mutex_lock_nested(&JFS_IP(old_ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_rename()
1165 mutex_lock_nested(&JFS_IP(old_dir)->commit_mutex, in jfs_rename()
1169 mutex_lock_nested(&JFS_IP(new_ip)->commit_mutex, in jfs_rename()
1183 mutex_unlock(&JFS_IP(new_ip)->commit_mutex); in jfs_rename()
1185 mutex_unlock(&JFS_IP(old_dir)->commit_mutex); in jfs_rename()
1186 mutex_unlock(&JFS_IP(old_ip)->commit_mutex); in jfs_rename()
1187 mutex_unlock(&JFS_IP(new_dir)->commit_mutex); in jfs_rename()
1253 JFS_IP(old_ip)->i_dtroot.header.idotdot = in jfs_rename()
1258 (struct metapage *) &JFS_IP(old_ip)->bxflag, in jfs_rename()
1307 mutex_unlock(&JFS_IP(new_ip)->commit_mutex); in jfs_rename()
1309 mutex_unlock(&JFS_IP(old_dir)->commit_mutex); in jfs_rename()
1310 mutex_unlock(&JFS_IP(old_ip)->commit_mutex); in jfs_rename()
1311 mutex_unlock(&JFS_IP(new_dir)->commit_mutex); in jfs_rename()
1315 mutex_lock(&JFS_IP(new_ip)->commit_mutex); in jfs_rename()
1323 mutex_unlock(&JFS_IP(new_ip)->commit_mutex); in jfs_rename()
1382 jfs_ip = JFS_IP(ip); in jfs_mknod()
1386 mutex_lock_nested(&JFS_IP(dir)->commit_mutex, COMMIT_MUTEX_PARENT); in jfs_mknod()
1387 mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD); in jfs_mknod()
1407 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_mknod()
1431 mutex_unlock(&JFS_IP(ip)->commit_mutex); in jfs_mknod()
1432 mutex_unlock(&JFS_IP(dir)->commit_mutex); in jfs_mknod()
1515 le32_to_cpu(JFS_IP(d_inode(dentry))->i_dtroot.header.idotdot); in jfs_get_parent()