Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 5 of 5) sorted by relevance

/fs/affs/
Damigaffs.c372 secs_to_datestamp(time_t secs, struct affs_date *ds) in secs_to_datestamp() argument
377 secs -= sys_tz.tz_minuteswest * 60 + ((8 * 365 + 2) * 24 * 60 * 60); in secs_to_datestamp()
378 if (secs < 0) in secs_to_datestamp()
379 secs = 0; in secs_to_datestamp()
380 days = secs / 86400; in secs_to_datestamp()
381 secs -= days * 86400; in secs_to_datestamp()
382 minute = secs / 60; in secs_to_datestamp()
383 secs -= minute * 60; in secs_to_datestamp()
387 ds->ticks = cpu_to_be32(secs * 50); in secs_to_datestamp()
Daffs.h137 extern void secs_to_datestamp(time_t secs, struct affs_date *ds);
/fs/hpfs/
Danode.c398 void hpfs_truncate_btree(struct super_block *s, secno f, int fno, unsigned secs) in hpfs_truncate_btree() argument
414 if (!secs) { in hpfs_truncate_btree()
429 if (le32_to_cpu(btree->u.internal[i].file_secno) >= secs) goto f; in hpfs_truncate_btree()
440 if (btree->u.internal[i].file_secno == cpu_to_le32(secs)) { in hpfs_truncate_btree()
454 …o_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) >= secs) goto ff; in hpfs_truncate_btree()
458 if (secs <= le32_to_cpu(btree->u.external[i].file_secno)) { in hpfs_truncate_btree()
459 hpfs_error(s, "there is an allocation error in file %08x, sector %08x", f, secs); in hpfs_truncate_btree()
462 … (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > secs) { in hpfs_truncate_btree()
463 hpfs_free_sectors(s, le32_to_cpu(btree->u.external[i].disk_secno) + secs - in hpfs_truncate_btree()
465 - secs + le32_to_cpu(btree->u.external[i].file_secno)); /* I hope gcc optimizes this :-) */ in hpfs_truncate_btree()
[all …]
/fs/adfs/
Dinode.c215 adfs_unix2adfs_time(struct inode *inode, unsigned int secs) in adfs_unix2adfs_time() argument
221 low = (secs & 255) * 100; in adfs_unix2adfs_time()
222 high = (secs / 256) * 100 + (low >> 8) + 0x336e996a; in adfs_unix2adfs_time()
/fs/ncpfs/
Ddir.c1228 int month, year, secs; in ncp_date_dos2unix() local
1234 secs = (time & 31) * 2 + 60 * ((time >> 5) & 63) + (time >> 11) * 3600 + in ncp_date_dos2unix()
1238 return local2utc(secs); in ncp_date_dos2unix()