Searched refs:jfs_ip (Results 1 – 7 of 7) sorted by relevance
48 void jfs_get_inode_flags(struct jfs_inode_info *jfs_ip) in jfs_get_inode_flags() argument50 unsigned int flags = jfs_ip->vfs_inode.i_flags; in jfs_get_inode_flags()52 jfs_ip->mode2 &= ~(JFS_IMMUTABLE_FL | JFS_APPEND_FL | JFS_NOATIME_FL | in jfs_get_inode_flags()55 jfs_ip->mode2 |= JFS_IMMUTABLE_FL; in jfs_get_inode_flags()57 jfs_ip->mode2 |= JFS_APPEND_FL; in jfs_get_inode_flags()59 jfs_ip->mode2 |= JFS_NOATIME_FL; in jfs_get_inode_flags()61 jfs_ip->mode2 |= JFS_DIRSYNC_FL; in jfs_get_inode_flags()63 jfs_ip->mode2 |= JFS_SYNC_FL; in jfs_get_inode_flags()
602 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in diWrite() local621 ipimap = jfs_ip->ipimap; in diWrite()625 if (!addressPXD(&(jfs_ip->ixpxd)) || in diWrite()626 (lengthPXD(&(jfs_ip->ixpxd)) != in diWrite()636 blkno = INOPBLK(&(jfs_ip->ixpxd), ino, sbi->l2nbperpage); in diWrite()689 if (S_ISDIR(ip->i_mode) && (lid = jfs_ip->xtlid)) { in diWrite()697 jfs_ip->xtlid = 0; in diWrite()707 p = &jfs_ip->i_xtroot; in diWrite()723 if ((lid = jfs_ip->blid) == 0) in diWrite()725 jfs_ip->blid = 0; in diWrite()[all …]
594 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txLock() local613 lid = jfs_ip->xtlid; in txLock()655 if (jfs_ip->atlhead == lid) { in txLock()656 if (jfs_ip->atltail == lid) { in txLock()661 list_del_init(&jfs_ip->anon_inode_list); in txLock()664 jfs_ip->atlhead = tlck->next; in txLock()667 for (last = jfs_ip->atlhead; in txLock()673 if (jfs_ip->atltail == lid) in txLock()674 jfs_ip->atltail = last; in txLock()737 jfs_ip->xtlid = lid; in txLock()[all …]
785 struct jfs_inode_info *jfs_ip = (struct jfs_inode_info *) foo; in init_once() local787 memset(jfs_ip, 0, sizeof(struct jfs_inode_info)); in init_once()788 INIT_LIST_HEAD(&jfs_ip->anon_inode_list); in init_once()789 init_rwsem(&jfs_ip->rdwrlock); in init_once()790 mutex_init(&jfs_ip->commit_mutex); in init_once()791 init_rwsem(&jfs_ip->xattr_sem); in init_once()792 spin_lock_init(&jfs_ip->ag_lock); in init_once()793 jfs_ip->active_ag = -1; in init_once()794 inode_init_once(&jfs_ip->vfs_inode); in init_once()
252 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in find_index() local267 if (index >= jfs_ip->next_index) { in find_index()277 slot = &jfs_ip->i_dirtable[index - 2]; in find_index()338 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in add_index() local352 if (jfs_ip->next_index < 2) { in add_index()354 jfs_ip->next_index); in add_index()355 jfs_ip->next_index = 2; in add_index()358 index = jfs_ip->next_index++; in add_index()369 dirtab_slot = &jfs_ip->i_dirtable[index-2]; in add_index()396 memcpy(temp_table, &jfs_ip->i_dirtable, sizeof(temp_table)); in add_index()[all …]
241 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in xtSearch() local289 if ((jfs_ip->btorder & BT_SEQUENTIAL) && in xtSearch()291 (index = jfs_ip->btindex) < in xtSearch()364 jfs_ip->btindex = index; in xtSearch()411 btindex = jfs_ip->btindex; in xtSearch()414 jfs_ip->btorder = BT_SEQUENTIAL; in xtSearch()416 jfs_ip->btorder = BT_RANDOM; in xtSearch()417 jfs_ip->btindex = index; in xtSearch()469 btindex = jfs_ip->btindex; in xtSearch()471 jfs_ip->btorder = BT_SEQUENTIAL; in xtSearch()[all …]
1345 struct jfs_inode_info *jfs_ip; in jfs_mknod() local1370 jfs_ip = JFS_IP(ip); in jfs_mknod()1404 jfs_ip->dev = new_encode_dev(rdev); in jfs_mknod()