jfs_ip 239 fs/jfs/jfs_dtree.c struct jfs_inode_info *jfs_ip = JFS_IP(ip); jfs_ip 254 fs/jfs/jfs_dtree.c if (index >= jfs_ip->next_index) { jfs_ip 264 fs/jfs/jfs_dtree.c slot = &jfs_ip->i_dirtable[index - 2]; jfs_ip 325 fs/jfs/jfs_dtree.c struct jfs_inode_info *jfs_ip = JFS_IP(ip); jfs_ip 339 fs/jfs/jfs_dtree.c if (jfs_ip->next_index < 2) { jfs_ip 341 fs/jfs/jfs_dtree.c jfs_ip->next_index); jfs_ip 342 fs/jfs/jfs_dtree.c jfs_ip->next_index = 2; jfs_ip 345 fs/jfs/jfs_dtree.c index = jfs_ip->next_index++; jfs_ip 356 fs/jfs/jfs_dtree.c dirtab_slot = &jfs_ip->i_dirtable[index-2]; jfs_ip 383 fs/jfs/jfs_dtree.c memcpy(temp_table, &jfs_ip->i_dirtable, sizeof(temp_table)); jfs_ip 396 fs/jfs/jfs_dtree.c memcpy(&jfs_ip->i_dirtable, temp_table, jfs_ip 408 fs/jfs/jfs_dtree.c memcpy(&jfs_ip->i_dirtable, temp_table, jfs_ip 473 fs/jfs/jfs_dtree.c jfs_ip->next_index--; jfs_ip 2816 fs/jfs/jfs_dtree.c struct jfs_inode_info *jfs_ip = JFS_IP(ip); jfs_ip 2855 fs/jfs/jfs_dtree.c jfs_ip->next_index = 2; jfs_ip 2864 fs/jfs/jfs_dtree.c tlck = txLock(tid, ip, (struct metapage *) & jfs_ip->bxflag, jfs_ip 2875 fs/jfs/jfs_dtree.c p = &jfs_ip->i_dtroot; jfs_ip 582 fs/jfs/jfs_imap.c struct jfs_inode_info *jfs_ip = JFS_IP(ip); jfs_ip 601 fs/jfs/jfs_imap.c ipimap = jfs_ip->ipimap; jfs_ip 605 fs/jfs/jfs_imap.c if (!addressPXD(&(jfs_ip->ixpxd)) || jfs_ip 606 fs/jfs/jfs_imap.c (lengthPXD(&(jfs_ip->ixpxd)) != jfs_ip 616 fs/jfs/jfs_imap.c blkno = INOPBLK(&(jfs_ip->ixpxd), ino, sbi->l2nbperpage); jfs_ip 669 fs/jfs/jfs_imap.c if (S_ISDIR(ip->i_mode) && (lid = jfs_ip->xtlid)) { jfs_ip 677 fs/jfs/jfs_imap.c jfs_ip->xtlid = 0; jfs_ip 687 fs/jfs/jfs_imap.c p = &jfs_ip->i_xtroot; jfs_ip 703 fs/jfs/jfs_imap.c if ((lid = jfs_ip->blid) == 0) jfs_ip 705 fs/jfs/jfs_imap.c jfs_ip->blid = 0; jfs_ip 723 fs/jfs/jfs_imap.c p = &jfs_ip->i_xtroot; jfs_ip 747 fs/jfs/jfs_imap.c p = (dtpage_t *) &jfs_ip->i_dtroot; jfs_ip 766 fs/jfs/jfs_imap.c memcpy(&dp->di_fastsymlink, jfs_ip->i_inline, IDATASIZE); jfs_ip 777 fs/jfs/jfs_imap.c memcpy(&dp->di_inlineea, jfs_ip->i_inline_ea, INODESLOTSIZE); jfs_ip 791 fs/jfs/jfs_imap.c memcpy(&dp->di_dirtable, &jfs_ip->i_dirtable, 96); jfs_ip 1296 fs/jfs/jfs_imap.c struct jfs_inode_info *jfs_ip = JFS_IP(ip); jfs_ip 1299 fs/jfs/jfs_imap.c jfs_ip->ixpxd = iagp->inoext[extno]; jfs_ip 1300 fs/jfs/jfs_imap.c jfs_ip->agstart = le64_to_cpu(iagp->agstart); jfs_ip 1301 fs/jfs/jfs_imap.c jfs_ip->active_ag = -1; jfs_ip 3028 fs/jfs/jfs_imap.c struct jfs_inode_info *jfs_ip = JFS_IP(ip); jfs_ip 3031 fs/jfs/jfs_imap.c jfs_ip->fileset = le32_to_cpu(dip->di_fileset); jfs_ip 3032 fs/jfs/jfs_imap.c jfs_ip->mode2 = le32_to_cpu(dip->di_mode); jfs_ip 3050 fs/jfs/jfs_imap.c jfs_ip->saved_uid = make_kuid(&init_user_ns, le32_to_cpu(dip->di_uid)); jfs_ip 3052 fs/jfs/jfs_imap.c ip->i_uid = jfs_ip->saved_uid; jfs_ip 3057 fs/jfs/jfs_imap.c jfs_ip->saved_gid = make_kgid(&init_user_ns, le32_to_cpu(dip->di_gid)); jfs_ip 3059 fs/jfs/jfs_imap.c ip->i_gid = jfs_ip->saved_gid; jfs_ip 3074 fs/jfs/jfs_imap.c jfs_ip->ixpxd = dip->di_ixpxd; /* in-memory pxd's are little-endian */ jfs_ip 3075 fs/jfs/jfs_imap.c jfs_ip->acl = dip->di_acl; /* as are dxd's */ jfs_ip 3076 fs/jfs/jfs_imap.c jfs_ip->ea = dip->di_ea; jfs_ip 3077 fs/jfs/jfs_imap.c jfs_ip->next_index = le32_to_cpu(dip->di_next_index); jfs_ip 3078 fs/jfs/jfs_imap.c jfs_ip->otime = le32_to_cpu(dip->di_otime.tv_sec); jfs_ip 3079 fs/jfs/jfs_imap.c jfs_ip->acltype = le32_to_cpu(dip->di_acltype); jfs_ip 3082 fs/jfs/jfs_imap.c jfs_ip->dev = le32_to_cpu(dip->di_rdev); jfs_ip 3083 fs/jfs/jfs_imap.c ip->i_rdev = new_decode_dev(jfs_ip->dev); jfs_ip 3087 fs/jfs/jfs_imap.c memcpy(&jfs_ip->i_dirtable, &dip->di_dirtable, 384); jfs_ip 3089 fs/jfs/jfs_imap.c memcpy(&jfs_ip->i_xtroot, &dip->di_xtroot, 288); jfs_ip 3091 fs/jfs/jfs_imap.c memcpy(&jfs_ip->i_inline_ea, &dip->di_inlineea, 128); jfs_ip 3094 fs/jfs/jfs_imap.c jfs_ip->cflag = 0; jfs_ip 3095 fs/jfs/jfs_imap.c jfs_ip->btindex = 0; jfs_ip 3096 fs/jfs/jfs_imap.c jfs_ip->btorder = 0; jfs_ip 3097 fs/jfs/jfs_imap.c jfs_ip->bxflag = 0; jfs_ip 3098 fs/jfs/jfs_imap.c jfs_ip->blid = 0; jfs_ip 3099 fs/jfs/jfs_imap.c jfs_ip->atlhead = 0; jfs_ip 3100 fs/jfs/jfs_imap.c jfs_ip->atltail = 0; jfs_ip 3101 fs/jfs/jfs_imap.c jfs_ip->xtlid = 0; jfs_ip 3112 fs/jfs/jfs_imap.c struct jfs_inode_info *jfs_ip = JFS_IP(ip); jfs_ip 3115 fs/jfs/jfs_imap.c dip->di_fileset = cpu_to_le32(jfs_ip->fileset); jfs_ip 3126 fs/jfs/jfs_imap.c jfs_ip->saved_uid)); jfs_ip 3131 fs/jfs/jfs_imap.c jfs_ip->saved_gid)); jfs_ip 3137 fs/jfs/jfs_imap.c dip->di_mode = cpu_to_le32((jfs_ip->mode2 & 0xffff0000) | jfs_ip 3140 fs/jfs/jfs_imap.c dip->di_mode = cpu_to_le32(jfs_ip->mode2); jfs_ip 3148 fs/jfs/jfs_imap.c dip->di_ixpxd = jfs_ip->ixpxd; /* in-memory pxd's are little-endian */ jfs_ip 3149 fs/jfs/jfs_imap.c dip->di_acl = jfs_ip->acl; /* as are dxd's */ jfs_ip 3150 fs/jfs/jfs_imap.c dip->di_ea = jfs_ip->ea; jfs_ip 3151 fs/jfs/jfs_imap.c dip->di_next_index = cpu_to_le32(jfs_ip->next_index); jfs_ip 3152 fs/jfs/jfs_imap.c dip->di_otime.tv_sec = cpu_to_le32(jfs_ip->otime); jfs_ip 3154 fs/jfs/jfs_imap.c dip->di_acltype = cpu_to_le32(jfs_ip->acltype); jfs_ip 3156 fs/jfs/jfs_imap.c dip->di_rdev = cpu_to_le32(jfs_ip->dev); jfs_ip 580 fs/jfs/jfs_txnmgr.c struct jfs_inode_info *jfs_ip = JFS_IP(ip); jfs_ip 599 fs/jfs/jfs_txnmgr.c lid = jfs_ip->xtlid; jfs_ip 641 fs/jfs/jfs_txnmgr.c if (jfs_ip->atlhead == lid) { jfs_ip 642 fs/jfs/jfs_txnmgr.c if (jfs_ip->atltail == lid) { jfs_ip 647 fs/jfs/jfs_txnmgr.c list_del_init(&jfs_ip->anon_inode_list); jfs_ip 650 fs/jfs/jfs_txnmgr.c jfs_ip->atlhead = tlck->next; jfs_ip 653 fs/jfs/jfs_txnmgr.c for (last = jfs_ip->atlhead; jfs_ip 659 fs/jfs/jfs_txnmgr.c if (jfs_ip->atltail == lid) jfs_ip 660 fs/jfs/jfs_txnmgr.c jfs_ip->atltail = last; jfs_ip 723 fs/jfs/jfs_txnmgr.c jfs_ip->xtlid = lid; jfs_ip 744 fs/jfs/jfs_txnmgr.c tlck->next = jfs_ip->atlhead; jfs_ip 745 fs/jfs/jfs_txnmgr.c jfs_ip->atlhead = lid; jfs_ip 748 fs/jfs/jfs_txnmgr.c jfs_ip->atltail = lid; jfs_ip 750 fs/jfs/jfs_txnmgr.c list_add_tail(&jfs_ip->anon_inode_list, jfs_ip 781 fs/jfs/jfs_txnmgr.c p = &jfs_ip->i_xtroot; jfs_ip 818 fs/jfs/jfs_txnmgr.c if (jfs_ip->fileset != AGGREGATE_I) { jfs_ip 984 fs/jfs/jfs_txnmgr.c struct jfs_inode_info *jfs_ip = JFS_IP(ip); jfs_ip 1029 fs/jfs/jfs_txnmgr.c tlck->next = jfs_ip->atlhead; jfs_ip 1030 fs/jfs/jfs_txnmgr.c jfs_ip->atlhead = lid; jfs_ip 1033 fs/jfs/jfs_txnmgr.c jfs_ip->atltail = lid; jfs_ip 1034 fs/jfs/jfs_txnmgr.c list_add_tail(&jfs_ip->anon_inode_list, jfs_ip 1133 fs/jfs/jfs_txnmgr.c struct jfs_inode_info *jfs_ip; jfs_ip 1202 fs/jfs/jfs_txnmgr.c jfs_ip = JFS_IP(ip); jfs_ip 1235 fs/jfs/jfs_txnmgr.c if (jfs_ip->atlhead) { jfs_ip 1236 fs/jfs/jfs_txnmgr.c lid_to_tlock(jfs_ip->atltail)->next = tblk->next; jfs_ip 1237 fs/jfs/jfs_txnmgr.c tblk->next = jfs_ip->atlhead; jfs_ip 1239 fs/jfs/jfs_txnmgr.c tblk->last = jfs_ip->atltail; jfs_ip 1240 fs/jfs/jfs_txnmgr.c jfs_ip->atlhead = jfs_ip->atltail = 0; jfs_ip 1242 fs/jfs/jfs_txnmgr.c list_del_init(&jfs_ip->anon_inode_list); jfs_ip 1339 fs/jfs/jfs_txnmgr.c jfs_ip = JFS_IP(ip); jfs_ip 1344 fs/jfs/jfs_txnmgr.c jfs_ip->bxflag = 0; jfs_ip 1345 fs/jfs/jfs_txnmgr.c jfs_ip->blid = 0; jfs_ip 2581 fs/jfs/jfs_txnmgr.c struct jfs_inode_info *jfs_ip = JFS_IP(ip); jfs_ip 2585 fs/jfs/jfs_txnmgr.c if (!jfs_ip->atlhead) jfs_ip 2589 fs/jfs/jfs_txnmgr.c xtlck = (struct tlock *) &jfs_ip->atlhead; jfs_ip 2602 fs/jfs/jfs_txnmgr.c if (jfs_ip->atlhead) jfs_ip 2603 fs/jfs/jfs_txnmgr.c jfs_ip->atltail = xlid; jfs_ip 2605 fs/jfs/jfs_txnmgr.c jfs_ip->atltail = 0; jfs_ip 2609 fs/jfs/jfs_txnmgr.c list_del_init(&jfs_ip->anon_inode_list); jfs_ip 2845 fs/jfs/jfs_txnmgr.c struct jfs_inode_info *jfs_ip; jfs_ip 2854 fs/jfs/jfs_txnmgr.c jfs_ip = list_entry(TxAnchor.anon_list.next, jfs_ip 2857 fs/jfs/jfs_txnmgr.c ip = &jfs_ip->vfs_inode; jfs_ip 2865 fs/jfs/jfs_txnmgr.c mutex_lock(&jfs_ip->commit_mutex); jfs_ip 2868 fs/jfs/jfs_txnmgr.c mutex_unlock(&jfs_ip->commit_mutex); jfs_ip 2916 fs/jfs/jfs_txnmgr.c struct jfs_inode_info *jfs_ip; jfs_ip 2925 fs/jfs/jfs_txnmgr.c jfs_ip = list_entry(TxAnchor.anon_list.next, jfs_ip 2928 fs/jfs/jfs_txnmgr.c ip = &jfs_ip->vfs_inode; jfs_ip 2934 fs/jfs/jfs_txnmgr.c list_del_init(&jfs_ip->anon_inode_list); jfs_ip 2935 fs/jfs/jfs_txnmgr.c } else if (mutex_trylock(&jfs_ip->commit_mutex)) { jfs_ip 2944 fs/jfs/jfs_txnmgr.c mutex_unlock(&jfs_ip->commit_mutex); jfs_ip 2961 fs/jfs/jfs_txnmgr.c list_move(&jfs_ip->anon_inode_list, jfs_ip 229 fs/jfs/jfs_xtree.c struct jfs_inode_info *jfs_ip = JFS_IP(ip); jfs_ip 277 fs/jfs/jfs_xtree.c if ((jfs_ip->btorder & BT_SEQUENTIAL) && jfs_ip 279 fs/jfs/jfs_xtree.c (index = jfs_ip->btindex) < jfs_ip 352 fs/jfs/jfs_xtree.c jfs_ip->btindex = index; jfs_ip 399 fs/jfs/jfs_xtree.c btindex = jfs_ip->btindex; jfs_ip 402 fs/jfs/jfs_xtree.c jfs_ip->btorder = BT_SEQUENTIAL; jfs_ip 404 fs/jfs/jfs_xtree.c jfs_ip->btorder = BT_RANDOM; jfs_ip 405 fs/jfs/jfs_xtree.c jfs_ip->btindex = index; jfs_ip 457 fs/jfs/jfs_xtree.c btindex = jfs_ip->btindex; jfs_ip 459 fs/jfs/jfs_xtree.c jfs_ip->btorder = BT_SEQUENTIAL; jfs_ip 461 fs/jfs/jfs_xtree.c jfs_ip->btorder = BT_RANDOM; jfs_ip 462 fs/jfs/jfs_xtree.c jfs_ip->btindex = base; jfs_ip 1350 fs/jfs/namei.c struct jfs_inode_info *jfs_ip; jfs_ip 1374 fs/jfs/namei.c jfs_ip = JFS_IP(ip); jfs_ip 1408 fs/jfs/namei.c jfs_ip->dev = new_encode_dev(rdev); jfs_ip 923 fs/jfs/super.c struct jfs_inode_info *jfs_ip = (struct jfs_inode_info *) foo; jfs_ip 925 fs/jfs/super.c memset(jfs_ip, 0, sizeof(struct jfs_inode_info)); jfs_ip 926 fs/jfs/super.c INIT_LIST_HEAD(&jfs_ip->anon_inode_list); jfs_ip 927 fs/jfs/super.c init_rwsem(&jfs_ip->rdwrlock); jfs_ip 928 fs/jfs/super.c mutex_init(&jfs_ip->commit_mutex); jfs_ip 929 fs/jfs/super.c init_rwsem(&jfs_ip->xattr_sem); jfs_ip 930 fs/jfs/super.c spin_lock_init(&jfs_ip->ag_lock); jfs_ip 931 fs/jfs/super.c jfs_ip->active_ag = -1; jfs_ip 932 fs/jfs/super.c inode_init_once(&jfs_ip->vfs_inode);