Lines Matching defs:dir
770 struct dirent dir;
805 * Iterate through the file id descriptors. Give the parent dir
830 dir.d_fileno = node->hash_id;
831 dir.d_type = DT_DIR;
832 dir.d_name[0] = '.';
833 dir.d_name[1] = '\0';
834 dir.d_namlen = 1;
835 dir.d_reclen = GENERIC_DIRSIZ(&dir);
836 uiodir.dirent = &dir;
837 error = udf_uiodir(&uiodir, dir.d_reclen, uio, 1);
841 dir.d_fileno = udf_getid(&fid->icb);
842 dir.d_type = DT_DIR;
843 dir.d_name[0] = '.';
844 dir.d_name[1] = '.';
845 dir.d_name[2] = '\0';
846 dir.d_namlen = 2;
847 dir.d_reclen = GENERIC_DIRSIZ(&dir);
848 uiodir.dirent = &dir;
849 error = udf_uiodir(&uiodir, dir.d_reclen, uio, 2);
851 dir.d_namlen = udf_transname(&fid->data[fid->l_iu],
852 &dir.d_name[0], fid->l_fi, udfmp);
853 dir.d_fileno = udf_getid(&fid->icb);
854 dir.d_type = (fid->file_char & UDF_FILE_CHAR_DIR) ?
856 dir.d_reclen = GENERIC_DIRSIZ(&dir);
857 uiodir.dirent = &dir;
858 error = udf_uiodir(&uiodir, dir.d_reclen, uio,