Home
last modified time | relevance | path

Searched refs:month (Results 1 – 7 of 7) sorted by relevance

/fs/isofs/
Dutil.c19 int year, month, day, hour, minute, second, tz; in iso_date() local
23 month = p[1]; in iso_date()
39 for (i = 1; i < month; i++) in iso_date()
41 if (((year+2) % 4) == 0 && month > 2) in iso_date()
/fs/fat/
Dmisc.c196 time_t second, day, leap_day, month, year; in fat_time_fat2unix() local
199 month = max(1, (date >> 5) & 0xf); in fat_time_fat2unix()
205 if (IS_LEAP_YEAR(year) && month > 2) in fat_time_fat2unix()
212 + days_in_year[month] + day in fat_time_fat2unix()
/fs/ncpfs/
Ddir.c1241 int month, year, secs; in ncp_date_dos2unix() local
1245 month = ((date >> 5) - 1) & 15; in ncp_date_dos2unix()
1248 86400 * ((date & 31) - 1 + day_n[month] + (year / 4) + in ncp_date_dos2unix()
1249 year * 365 - ((year & 3) == 0 && month < 2 ? 1 : 0) + 3653); in ncp_date_dos2unix()
1259 int day, year, nl_day, month; in ncp_date_unix2dos() local
1272 month = 2; in ncp_date_unix2dos()
1275 for (month = 1; month < 12; month++) in ncp_date_unix2dos()
1276 if (day_n[month] > nl_day) in ncp_date_unix2dos()
1279 *date = cpu_to_le16(nl_day - day_n[month - 1] + 1 + (month << 5) + (year << 9)); in ncp_date_unix2dos()
/fs/cifs/
Dnetmisc.c959 int sec, min, days, month, year; in cnvrtDosUnixTm() local
976 month = sd->Month; in cnvrtDosUnixTm()
977 if ((days > 31) || (month > 12)) { in cnvrtDosUnixTm()
978 cERROR(1, "illegal date, month %d day: %d", month, days); in cnvrtDosUnixTm()
979 if (month > 12) in cnvrtDosUnixTm()
980 month = 12; in cnvrtDosUnixTm()
982 month -= 1; in cnvrtDosUnixTm()
983 days += total_days_of_prev_months[month]; in cnvrtDosUnixTm()
999 days -= ((year & 0x03) == 0) && (month < 2 ? 1 : 0); in cnvrtDosUnixTm()
/fs/udf/
Dudftime.c114 yday = ((__mon_yday[__isleap(year)][src.month - 1]) + src.day - 1); in udf_disk_stamp_to_time()
161 dest->month = y + 1; in udf_time_to_disk_stamp()
Decma_167.h63 uint8_t month; member
Dsuper.c805 le16_to_cpu(ts->year), ts->month, ts->day, ts->hour, in udf_load_pvoldesc()
2049 le16_to_cpu(ts.year), ts.month, ts.day, in udf_fill_super()