Searched refs:unix_date (Results 1 – 2 of 2) sorted by relevance
1257 ncp_date_unix2dos(int unix_date, __le16 *time, __le16 *date) in ncp_date_unix2dos() argument1261 unix_date = utc2local(unix_date); in ncp_date_unix2dos()1263 (unix_date % 60) / 2 + (((unix_date / 60) % 60) << 5) + in ncp_date_unix2dos()1264 (((unix_date / 3600) % 24) << 11)); in ncp_date_unix2dos()1265 day = unix_date / 86400 - 3652; in ncp_date_unix2dos()
64 void ncp_date_unix2dos(int unix_date, __le16 * time, __le16 * date);