Lines Matching refs:jfs_ip

580 	struct jfs_inode_info *jfs_ip = JFS_IP(ip);  in diWrite()  local
599 ipimap = jfs_ip->ipimap; in diWrite()
603 if (!addressPXD(&(jfs_ip->ixpxd)) || in diWrite()
604 (lengthPXD(&(jfs_ip->ixpxd)) != in diWrite()
614 blkno = INOPBLK(&(jfs_ip->ixpxd), ino, sbi->l2nbperpage); in diWrite()
667 if (S_ISDIR(ip->i_mode) && (lid = jfs_ip->xtlid)) { in diWrite()
675 jfs_ip->xtlid = 0; in diWrite()
685 p = &jfs_ip->i_xtroot; in diWrite()
701 if ((lid = jfs_ip->blid) == 0) in diWrite()
703 jfs_ip->blid = 0; in diWrite()
721 p = &jfs_ip->i_xtroot; in diWrite()
745 p = (dtpage_t *) &jfs_ip->i_dtroot; in diWrite()
764 memcpy(&dp->di_inline_all, jfs_ip->i_inline_all, IDATASIZE); in diWrite()
775 memcpy(&dp->di_inlineea, jfs_ip->i_inline_ea, INODESLOTSIZE); in diWrite()
789 memcpy(&dp->di_dirtable, &jfs_ip->i_dirtable, 96); in diWrite()
1294 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in diInitInode() local
1297 jfs_ip->ixpxd = iagp->inoext[extno]; in diInitInode()
1298 jfs_ip->agstart = le64_to_cpu(iagp->agstart); in diInitInode()
1299 jfs_ip->active_ag = -1; in diInitInode()
3026 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in copy_from_dinode() local
3029 jfs_ip->fileset = le32_to_cpu(dip->di_fileset); in copy_from_dinode()
3030 jfs_ip->mode2 = le32_to_cpu(dip->di_mode); in copy_from_dinode()
3048 jfs_ip->saved_uid = make_kuid(&init_user_ns, le32_to_cpu(dip->di_uid)); in copy_from_dinode()
3050 ip->i_uid = jfs_ip->saved_uid; in copy_from_dinode()
3055 jfs_ip->saved_gid = make_kgid(&init_user_ns, le32_to_cpu(dip->di_gid)); in copy_from_dinode()
3057 ip->i_gid = jfs_ip->saved_gid; in copy_from_dinode()
3072 jfs_ip->ixpxd = dip->di_ixpxd; /* in-memory pxd's are little-endian */ in copy_from_dinode()
3073 jfs_ip->acl = dip->di_acl; /* as are dxd's */ in copy_from_dinode()
3074 jfs_ip->ea = dip->di_ea; in copy_from_dinode()
3075 jfs_ip->next_index = le32_to_cpu(dip->di_next_index); in copy_from_dinode()
3076 jfs_ip->otime = le32_to_cpu(dip->di_otime.tv_sec); in copy_from_dinode()
3077 jfs_ip->acltype = le32_to_cpu(dip->di_acltype); in copy_from_dinode()
3080 jfs_ip->dev = le32_to_cpu(dip->di_rdev); in copy_from_dinode()
3081 ip->i_rdev = new_decode_dev(jfs_ip->dev); in copy_from_dinode()
3085 memcpy(&jfs_ip->u.dir, &dip->u._dir, 384); in copy_from_dinode()
3087 memcpy(&jfs_ip->i_xtroot, &dip->di_xtroot, 288); in copy_from_dinode()
3089 memcpy(&jfs_ip->i_inline_ea, &dip->di_inlineea, 128); in copy_from_dinode()
3092 jfs_ip->cflag = 0; in copy_from_dinode()
3093 jfs_ip->btindex = 0; in copy_from_dinode()
3094 jfs_ip->btorder = 0; in copy_from_dinode()
3095 jfs_ip->bxflag = 0; in copy_from_dinode()
3096 jfs_ip->blid = 0; in copy_from_dinode()
3097 jfs_ip->atlhead = 0; in copy_from_dinode()
3098 jfs_ip->atltail = 0; in copy_from_dinode()
3099 jfs_ip->xtlid = 0; in copy_from_dinode()
3110 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in copy_to_dinode() local
3113 dip->di_fileset = cpu_to_le32(jfs_ip->fileset); in copy_to_dinode()
3124 jfs_ip->saved_uid)); in copy_to_dinode()
3129 jfs_ip->saved_gid)); in copy_to_dinode()
3135 dip->di_mode = cpu_to_le32((jfs_ip->mode2 & 0xffff0000) | in copy_to_dinode()
3138 dip->di_mode = cpu_to_le32(jfs_ip->mode2); in copy_to_dinode()
3146 dip->di_ixpxd = jfs_ip->ixpxd; /* in-memory pxd's are little-endian */ in copy_to_dinode()
3147 dip->di_acl = jfs_ip->acl; /* as are dxd's */ in copy_to_dinode()
3148 dip->di_ea = jfs_ip->ea; in copy_to_dinode()
3149 dip->di_next_index = cpu_to_le32(jfs_ip->next_index); in copy_to_dinode()
3150 dip->di_otime.tv_sec = cpu_to_le32(jfs_ip->otime); in copy_to_dinode()
3152 dip->di_acltype = cpu_to_le32(jfs_ip->acltype); in copy_to_dinode()
3154 dip->di_rdev = cpu_to_le32(jfs_ip->dev); in copy_to_dinode()