Home
last modified time | relevance | path

Searched refs:days (Results 1 – 6 of 6) sorted by relevance

/fs/isofs/
Dutil.c20 int crtime, days, i; in iso_date() local
36 days = year * 365; in iso_date()
38 days += (year+1) / 4; in iso_date()
40 days += monlen[i-1]; in iso_date()
42 days++; in iso_date()
43 days += day - 1; in iso_date()
44 crtime = ((((days * 24) + hour) * 60 + minute) * 60) in iso_date()
/fs/udf/
Dudftime.c124 long int days, rem, y; in udf_time_to_disk_stamp() local
136 days = ts.tv_sec / SECS_PER_DAY; in udf_time_to_disk_stamp()
147 while (days < 0 || days >= (__isleap(y) ? 366 : 365)) { in udf_time_to_disk_stamp()
148 long int yg = y + days / 365 - (days % 365 < 0); in udf_time_to_disk_stamp()
151 days -= ((yg - y) * 365 in udf_time_to_disk_stamp()
158 for (y = 11; days < (long int)ip[y]; --y) in udf_time_to_disk_stamp()
160 days -= ip[y]; in udf_time_to_disk_stamp()
162 dest->day = days + 1; in udf_time_to_disk_stamp()
/fs/cifs/
Dnetmisc.c959 int sec, min, days, month, year; in cnvrtDosUnixTm() local
975 days = sd->Day; in cnvrtDosUnixTm()
977 if ((days > 31) || (month > 12)) { in cnvrtDosUnixTm()
978 cERROR(1, "illegal date, month %d day: %d", month, days); in cnvrtDosUnixTm()
983 days += total_days_of_prev_months[month]; in cnvrtDosUnixTm()
984 days += 3652; /* account for difference in days between 1980 and 1970 */ in cnvrtDosUnixTm()
986 days += year * 365; in cnvrtDosUnixTm()
987 days += (year/4); /* leap year */ in cnvrtDosUnixTm()
995 days = days - 1; /* do not count leap year for the year 2100 */ in cnvrtDosUnixTm()
999 days -= ((year & 0x03) == 0) && (month < 2 ? 1 : 0); in cnvrtDosUnixTm()
[all …]
/fs/affs/
Damigaffs.c377 u32 days; in secs_to_datestamp() local
383 days = secs / 86400; in secs_to_datestamp()
384 secs -= days * 86400; in secs_to_datestamp()
388 ds->days = cpu_to_be32(days); in secs_to_datestamp()
Dinode.c153 = (be32_to_cpu(tail->change.days) * (24 * 60 * 60) + in affs_iget()
DChanges177 the old link days ...