Searched refs:secs (Results 1 – 4 of 4) sorted by relevance
/fs/hpfs/ |
D | anode.c | 399 void hpfs_truncate_btree(struct super_block *s, secno f, int fno, unsigned secs) in hpfs_truncate_btree() argument 415 if (!secs) { in hpfs_truncate_btree() 430 if (le32_to_cpu(btree->u.internal[i].file_secno) >= secs) goto f; in hpfs_truncate_btree() 441 if (btree->u.internal[i].file_secno == cpu_to_le32(secs)) { in hpfs_truncate_btree() 455 …o_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) >= secs) goto ff; in hpfs_truncate_btree() 459 if (secs <= le32_to_cpu(btree->u.external[i].file_secno)) { in hpfs_truncate_btree() 460 hpfs_error(s, "there is an allocation error in file %08x, sector %08x", f, secs); in hpfs_truncate_btree() 463 … (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > secs) { in hpfs_truncate_btree() 464 hpfs_free_sectors(s, le32_to_cpu(btree->u.external[i].disk_secno) + secs - in hpfs_truncate_btree() 466 - secs + le32_to_cpu(btree->u.external[i].file_secno)); /* I hope gcc optimizes this :-) */ in hpfs_truncate_btree() [all …]
|
/fs/f2fs/ |
D | gc.c | 1959 unsigned int secs, bool gc_only) in free_segment_range() argument 1968 MAIN_SECS(sbi) -= secs; in free_segment_range() 2019 MAIN_SECS(sbi) += secs; in free_segment_range() 2023 static void update_sb_metadata(struct f2fs_sb_info *sbi, int secs) in update_sb_metadata() argument 2030 int segs = secs * sbi->segs_per_sec; in update_sb_metadata() 2039 raw_sb->section_count = cpu_to_le32(section_count + secs); in update_sb_metadata() 2056 static void update_fs_metadata(struct f2fs_sb_info *sbi, int secs) in update_fs_metadata() argument 2058 int segs = secs * sbi->segs_per_sec; in update_fs_metadata() 2065 MAIN_SECS(sbi) += secs; in update_fs_metadata() 2066 FREE_I(sbi)->free_sections = (int)FREE_I(sbi)->free_sections + secs; in update_fs_metadata() [all …]
|
/fs/affs/ |
D | amigaffs.c | 372 affs_secs_to_datestamp(time64_t secs, struct affs_date *ds) in affs_secs_to_datestamp() argument 378 secs -= sys_tz.tz_minuteswest * 60 + AFFS_EPOCH_DELTA; in affs_secs_to_datestamp() 379 if (secs < 0) in affs_secs_to_datestamp() 380 secs = 0; in affs_secs_to_datestamp() 381 days = div_s64_rem(secs, 86400, &rem); in affs_secs_to_datestamp()
|
D | affs.h | 142 extern void affs_secs_to_datestamp(time64_t secs, struct affs_date *ds);
|