Lines Matching defs:newdir
867 struct ext2fs_direct_2 newdir;
879 newdir.e2d_ino = ip->i_number;
880 newdir.e2d_namlen = cnp->cn_namelen;
883 newdir.e2d_type = DTTOFT(IFTODT(ip->i_mode));
885 newdir.e2d_type = EXT2_FT_UNKNOWN;
886 bcopy(cnp->cn_nameptr, newdir.e2d_name, (unsigned)cnp->cn_namelen + 1);
887 newentrysize = EXT2_DIR_REC_LEN(newdir.e2d_namlen);
890 error = ext2_htree_add_entry(dvp, &newdir, cnp);
906 return ext2_htree_create_index(dvp, cnp, &newdir);
920 newdir.e2d_reclen = DIRBLKSIZ;
923 aiov.iov_base = (caddr_t)&newdir;
941 error = ext2_add_entry(dvp, &newdir);