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.c122 long int days, rem, y; in udf_time_to_disk_stamp() local
134 days = ts.tv_sec / SECS_PER_DAY; in udf_time_to_disk_stamp()
145 while (days < 0 || days >= (__isleap(y) ? 366 : 365)) { in udf_time_to_disk_stamp()
146 long int yg = y + days / 365 - (days % 365 < 0); in udf_time_to_disk_stamp()
149 days -= ((yg - y) * 365 in udf_time_to_disk_stamp()
156 for (y = 11; days < (long int)ip[y]; --y) in udf_time_to_disk_stamp()
158 days -= ip[y]; in udf_time_to_disk_stamp()
160 dest->day = days + 1; in udf_time_to_disk_stamp()
/fs/cifs/
Dnetmisc.c965 int sec, min, days, month, year; in cnvrtDosUnixTm() local
981 days = sd->Day; in cnvrtDosUnixTm()
983 if ((days > 31) || (month > 12)) { in cnvrtDosUnixTm()
984 cifs_dbg(VFS, "illegal date, month %d day: %d\n", month, days); in cnvrtDosUnixTm()
989 days += total_days_of_prev_months[month]; in cnvrtDosUnixTm()
990 days += 3652; /* account for difference in days between 1980 and 1970 */ in cnvrtDosUnixTm()
992 days += year * 365; in cnvrtDosUnixTm()
993 days += (year/4); /* leap year */ in cnvrtDosUnixTm()
1001 days = days - 1; /* do not count leap year for the year 2100 */ in cnvrtDosUnixTm()
1005 days -= ((year & 0x03) == 0) && (month < 2 ? 1 : 0); in cnvrtDosUnixTm()
[all …]
/fs/affs/
Damigaffs.c373 u32 days; in secs_to_datestamp() local
379 days = secs / 86400; in secs_to_datestamp()
380 secs -= days * 86400; in secs_to_datestamp()
384 ds->days = cpu_to_be32(days); in secs_to_datestamp()
Dinode.c150 = (be32_to_cpu(tail->change.days) * (24 * 60 * 60) + in affs_iget()
DChanges177 the old link days ...