Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 7 of 7) sorted by relevance

/fs/udf/
Dudftime.c77 struct tm tm; in udf_time_to_disk_stamp() local
84 time64_to_tm(seconds, 0, &tm); in udf_time_to_disk_stamp()
85 dest->year = cpu_to_le16(tm.tm_year + 1900); in udf_time_to_disk_stamp()
86 dest->month = tm.tm_mon + 1; in udf_time_to_disk_stamp()
87 dest->day = tm.tm_mday; in udf_time_to_disk_stamp()
88 dest->hour = tm.tm_hour; in udf_time_to_disk_stamp()
89 dest->minute = tm.tm_min; in udf_time_to_disk_stamp()
90 dest->second = tm.tm_sec; in udf_time_to_disk_stamp()
/fs/fat/
Dmisc.c237 struct tm tm; in fat_time_unix2fat() local
238 time64_to_tm(ts->tv_sec, -fat_tz_offset(sbi), &tm); in fat_time_unix2fat()
241 if (tm.tm_year < 1980 - 1900) { in fat_time_unix2fat()
248 if (tm.tm_year > 2107 - 1900) { in fat_time_unix2fat()
257 tm.tm_year -= 80; in fat_time_unix2fat()
259 tm.tm_mon++; in fat_time_unix2fat()
261 tm.tm_sec >>= 1; in fat_time_unix2fat()
263 *time = cpu_to_le16(tm.tm_hour << 11 | tm.tm_min << 5 | tm.tm_sec); in fat_time_unix2fat()
264 *date = cpu_to_le16(tm.tm_year << 9 | tm.tm_mon << 5 | tm.tm_mday); in fat_time_unix2fat()
/fs/btrfs/
Dctree.c351 struct tree_mod_elem *tm; in btrfs_put_tree_mod_seq() local
385 tm = rb_entry(node, struct tree_mod_elem, node); in btrfs_put_tree_mod_seq()
386 if (tm->seq >= min_seq) in btrfs_put_tree_mod_seq()
389 kfree(tm); in btrfs_put_tree_mod_seq()
403 __tree_mod_log_insert(struct btrfs_fs_info *fs_info, struct tree_mod_elem *tm) in __tree_mod_log_insert() argument
412 tm->seq = btrfs_inc_tree_mod_seq(fs_info); in __tree_mod_log_insert()
419 if (cur->logical < tm->logical) in __tree_mod_log_insert()
421 else if (cur->logical > tm->logical) in __tree_mod_log_insert()
423 else if (cur->seq < tm->seq) in __tree_mod_log_insert()
425 else if (cur->seq > tm->seq) in __tree_mod_log_insert()
[all …]
/fs/affs/
DKconfig7 disks by Amiga(tm) systems since AmigaOS Version 1.3 (34.20). Say Y
/fs/ntfs/
Dinode.c3044 MFT_RECORD *tm = map_mft_record(tni); in __ntfs_write_inode() local
3047 if (IS_ERR(tm)) { in __ntfs_write_inode()
3049 err = PTR_ERR(tm); in __ntfs_write_inode()
3052 ret = write_mft_record(tni, tm, sync); in __ntfs_write_inode()
/fs/
Dnamespace.c2499 struct tm tm; in mnt_warn_timestamp_expiry() local
2501 time64_to_tm(sb->s_time_max, 0, &tm); in mnt_warn_timestamp_expiry()
2507 tm.tm_year+1900, (unsigned long long)sb->s_time_max); in mnt_warn_timestamp_expiry()
/fs/nilfs2/
Dsysfs.c23 struct tm res; \