Lines Matching refs:dirbuf
983 char *dirbuf; in ext2_add_entry() local
1008 if ((error = ext2_blkatoff(dvp, (off_t)dp->i_offset, &dirbuf, in ext2_add_entry()
1019 ep = (struct ext2fs_direct_2 *)dirbuf; in ext2_add_entry()
1023 nep = (struct ext2fs_direct_2 *)(dirbuf + loc); in ext2_add_entry()
1215 struct dirtemplate dirbuf; in ext2_checkpath() local
1232 error = vn_rdwr(UIO_READ, vp, (caddr_t)&dirbuf, in ext2_checkpath()
1238 namlen = dirbuf.dotdot_type; /* like ufs little-endian */ in ext2_checkpath()
1240 dirbuf.dotdot_name[0] != '.' || in ext2_checkpath()
1241 dirbuf.dotdot_name[1] != '.') { in ext2_checkpath()
1245 if (le32toh(dirbuf.dotdot_ino) == source->i_number) { in ext2_checkpath()
1249 if (le32toh(dirbuf.dotdot_ino) == EXT2_ROOTINO) in ext2_checkpath()
1252 if ((error = VFS_VGET(vp->v_mount, le32toh(dirbuf.dotdot_ino), in ext2_checkpath()