Lines Matching refs:dirbuf
981 char *dirbuf; in ext2_add_entry() local
1006 if ((error = ext2_blkatoff(dvp, (off_t)dp->i_offset, &dirbuf, in ext2_add_entry()
1017 ep = (struct ext2fs_direct_2 *)dirbuf; in ext2_add_entry()
1021 nep = (struct ext2fs_direct_2 *)(dirbuf + loc); in ext2_add_entry()
1213 struct dirtemplate dirbuf; in ext2_checkpath() local
1230 error = vn_rdwr(UIO_READ, vp, (caddr_t)&dirbuf, in ext2_checkpath()
1236 namlen = dirbuf.dotdot_type; /* like ufs little-endian */ in ext2_checkpath()
1238 dirbuf.dotdot_name[0] != '.' || in ext2_checkpath()
1239 dirbuf.dotdot_name[1] != '.') { in ext2_checkpath()
1243 if (le32toh(dirbuf.dotdot_ino) == source->i_number) { in ext2_checkpath()
1247 if (le32toh(dirbuf.dotdot_ino) == EXT2_ROOTINO) in ext2_checkpath()
1250 if ((error = VFS_VGET(vp->v_mount, le32toh(dirbuf.dotdot_ino), in ext2_checkpath()