Home
last modified time | relevance | path

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

/fs/ncpfs/
Ddir.c1226 ncp_date_unix2dos(int unix_date, __le16 *time, __le16 *date) in ncp_date_unix2dos() argument
1230 unix_date = utc2local(unix_date); in ncp_date_unix2dos()
1232 (unix_date % 60) / 2 + (((unix_date / 60) % 60) << 5) + in ncp_date_unix2dos()
1233 (((unix_date / 3600) % 24) << 11)); in ncp_date_unix2dos()
1234 day = unix_date / 86400 - 3652; in ncp_date_unix2dos()
/fs/smbfs/
Dproc.c490 int unix_date, __u16 *date, __u16 *time) in date_unix2dos() argument
494 unix_date = utc2local(server, unix_date); in date_unix2dos()
495 if (unix_date < 315532800) in date_unix2dos()
496 unix_date = 315532800; in date_unix2dos()
498 *time = (unix_date % 60) / 2 + in date_unix2dos()
499 (((unix_date / 60) % 60) << 5) + in date_unix2dos()
500 (((unix_date / 3600) % 24) << 11); in date_unix2dos()
502 day = unix_date / 86400 - 3652; in date_unix2dos()