Home
last modified time | relevance | path

Searched refs:dostime (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/fdformat/
H A Dfdformat.c1572 ushort_t dostime; in write_DOS_label() local
1587 dostime = tp->tm_sec / 2; in write_DOS_label()
1588 dostime |= tp->tm_min << 5; in write_DOS_label()
1589 dostime |= tp->tm_hour << 11; in write_DOS_label()
1593 fat_rdir[0x16] = getlobyte(dostime); in write_DOS_label()
1594 fat_rdir[0x17] = gethibyte(dostime); in write_DOS_label()
1705 ushort_t dostime; in write_NEC_DOS_label() local
1720 dostime = tp->tm_sec / 2; in write_NEC_DOS_label()
1721 dostime |= tp->tm_min << 5; in write_NEC_DOS_label()
1722 dostime |= tp->tm_hour << 11; in write_NEC_DOS_label()
[all …]
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c2895 ushort_t dostime; in dirent_time_fill() local
2901 dostime = tp->tm_sec / 2; in dirent_time_fill()
2902 dostime |= tp->tm_min << 5; in dirent_time_fill()
2903 dostime |= tp->tm_hour << 11; in dirent_time_fill()
2907 dep->pcd_mtime.pct_time = htols(dostime); in dirent_time_fill()