Lines Matching defs:ndir
95 struct directory *ndir)
103 dosnameToDirentry(dn, ndir);
104 ndir->attr = attr;
105 ndir->ctime_ms = 0;
110 ndir->ctime[1] = ndir->time[1] = hour + min_hi;
111 ndir->ctime[0] = ndir->time[0] = min_low + sec;
116 ndir -> adate[1] = ndir->cdate[1] = ndir->date[1] = year + month_hi;
117 ndir -> adate[0] = ndir->cdate[0] = ndir->date[0] = month_low + day;
119 set_word(ndir->start, fat & 0xffff);
120 set_word(ndir->startHi, fat >> 16);
121 set_dword(ndir->size, size);
122 return ndir;
132 struct directory *ndir)
137 return mk_entry(&dn, attr, fat, size, date, ndir);