Searched refs:secs (Results 1 – 6 of 6) sorted by relevance
/fs/affs/ |
D | amigaffs.c | 371 secs_to_datestamp(time_t secs, struct affs_date *ds) in secs_to_datestamp() argument 376 secs -= sys_tz.tz_minuteswest * 60 + ((8 * 365 + 2) * 24 * 60 * 60); in secs_to_datestamp() 377 if (secs < 0) in secs_to_datestamp() 378 secs = 0; in secs_to_datestamp() 379 days = secs / 86400; in secs_to_datestamp() 380 secs -= days * 86400; in secs_to_datestamp() 381 minute = secs / 60; in secs_to_datestamp() 382 secs -= minute * 60; in secs_to_datestamp() 386 ds->ticks = cpu_to_be32(secs * 50); in secs_to_datestamp()
|
D | affs.h | 138 extern void secs_to_datestamp(time_t secs, struct affs_date *ds);
|
/fs/hpfs/ |
D | anode.c | 393 void hpfs_truncate_btree(struct super_block *s, secno f, int fno, unsigned secs) in hpfs_truncate_btree() argument 409 if (!secs) { in hpfs_truncate_btree() 424 if (btree->u.internal[i].file_secno >= secs) goto f; in hpfs_truncate_btree() 435 if (btree->u.internal[i].file_secno == secs) { in hpfs_truncate_btree() 449 if (btree->u.external[i].file_secno + btree->u.external[i].length >= secs) goto ff; in hpfs_truncate_btree() 453 if (secs <= btree->u.external[i].file_secno) { in hpfs_truncate_btree() 454 hpfs_error(s, "there is an allocation error in file %08x, sector %08x", f, secs); in hpfs_truncate_btree() 457 else if (btree->u.external[i].file_secno + btree->u.external[i].length > secs) { in hpfs_truncate_btree() 458 hpfs_free_sectors(s, btree->u.external[i].disk_secno + secs - in hpfs_truncate_btree() 460 - secs + btree->u.external[i].file_secno); /* I hope gcc optimizes this :-) */ in hpfs_truncate_btree() [all …]
|
/fs/adfs/ |
D | inode.c | 235 adfs_unix2adfs_time(struct inode *inode, unsigned int secs) in adfs_unix2adfs_time() argument 241 low = (secs & 255) * 100; in adfs_unix2adfs_time() 242 high = (secs / 256) * 100 + (low >> 8) + 0x336e996a; in adfs_unix2adfs_time()
|
/fs/ncpfs/ |
D | dir.c | 1210 int month, year, secs; in ncp_date_dos2unix() local 1216 secs = (time & 31) * 2 + 60 * ((time >> 5) & 63) + (time >> 11) * 3600 + in ncp_date_dos2unix() 1220 return local2utc(secs); in ncp_date_dos2unix()
|
/fs/smbfs/ |
D | proc.c | 472 time_t secs; in date_dos2unix() local 478 secs = (time & 31) * 2 + 60 * ((time >> 5) & 63) + (time >> 11) * 3600 + 86400 * in date_dos2unix() 482 return local2utc(server, secs); in date_dos2unix()
|