Lines Matching refs:ip
731 struct inode *ip;
802 ip = VTOI(vp);
803 error = bread(devvp, fsbtodb(fs, ino_to_fsba(fs, ip->i_number)),
813 EXT2_INODE_SIZE(fs) * ino_to_fsbo(fs, ip->i_number)), ip);
1121 struct inode *ip;
1141 ip = VTOI(vp);
1142 if ((ip->i_flag &
1195 struct inode *ip;
1209 ip = malloc(sizeof(struct inode), M_EXT2NODE, M_WAITOK | M_ZERO);
1214 free(ip, M_EXT2NODE);
1217 vp->v_data = ip;
1218 ip->i_vnode = vp;
1219 ip->i_e2fs = fs = ump->um_e2fs;
1220 ip->i_ump = ump;
1221 ip->i_number = ino;
1226 free(ip, M_EXT2NODE);
1250 EXT2_INODE_SIZE(fs) * ino_to_fsbo(fs, ino)), ip);
1257 ip->i_block_group = ino_to_cg(fs, ino);
1258 ip->i_next_alloc_block = 0;
1259 ip->i_next_alloc_goal = 0;
1269 if (!(ip->i_flag & IN_E4EXTENTS) &&
1270 (S_ISDIR(ip->i_mode) || S_ISREG(ip->i_mode))) {
1271 used_blocks = howmany(ip->i_size, fs->e2fs_bsize);
1273 ip->i_db[i] = 0;
1276 ext2_print_inode(ip);
1277 ext4_ext_print_extent_tree_status(ip);
1312 struct inode *ip;
1329 ip = VTOI(nvp);
1330 if (ip->i_mode == 0 ||
1331 ip->i_gen != ufhp->ufid_gen || ip->i_nlink <= 0) {