Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 74) sorted by relevance

123

/fs/fat/
Dmisc.c201 u16 time = le16_to_cpu(__time), date = le16_to_cpu(__date); in fat_time_fat2unix() local
215 second = (time & 0x1f) << 1; in fat_time_fat2unix()
216 second += ((time >> 5) & 0x3f) * SECS_PER_MIN; in fat_time_fat2unix()
217 second += (time >> 11) * SECS_PER_HOUR; in fat_time_fat2unix()
235 __le16 *time, __le16 *date, u8 *time_cs) in fat_time_unix2fat() argument
242 *time = 0; in fat_time_unix2fat()
249 *time = cpu_to_le16((23 << 11) | (59 << 5) | 29); in fat_time_unix2fat()
263 *time = cpu_to_le16(tm.tm_hour << 11 | tm.tm_min << 5 | tm.tm_sec); in fat_time_unix2fat()
Dnamei_msdos.c233 __le16 time, date; in msdos_add_entry() local
241 fat_time_unix2fat(sbi, ts, &time, &date, NULL); in msdos_add_entry()
245 de.time = time; in msdos_add_entry()
Ddir.c1144 __le16 date, time; in fat_alloc_new_dir() local
1159 fat_time_unix2fat(sbi, ts, &time, &date, &time_cs); in fat_alloc_new_dir()
1169 de[0].time = de[1].time = time; in fat_alloc_new_dir()
1173 de[0].ctime = de[1].ctime = time; in fat_alloc_new_dir()
/fs/pstore/
Dram.c138 static int ramoops_read_kmsg_hdr(char *buffer, struct timespec64 *time, in ramoops_read_kmsg_hdr() argument
145 (time64_t *)&time->tv_sec, &time->tv_nsec, &data_type, in ramoops_read_kmsg_hdr()
147 time->tv_nsec *= 1000; in ramoops_read_kmsg_hdr()
153 (time64_t *)&time->tv_sec, &time->tv_nsec, in ramoops_read_kmsg_hdr()
155 time->tv_nsec *= 1000; in ramoops_read_kmsg_hdr()
158 time->tv_sec = 0; in ramoops_read_kmsg_hdr()
159 time->tv_nsec = 0; in ramoops_read_kmsg_hdr()
236 record->time.tv_sec = 0; in ramoops_pstore_read()
237 record->time.tv_nsec = 0; in ramoops_pstore_read()
247 &record->time, in ramoops_pstore_read()
[all …]
/fs/hfs/
Dhfs_fs.h255 #define hfs_m_to_utime(time) (struct timespec){ .tv_sec = __hfs_m_to_utime(time) } argument
256 #define hfs_u_to_mtime(time) __hfs_u_to_mtime((time).tv_sec) argument
/fs/ntfs/
Dtime.h74 static inline struct timespec64 ntfs2utc(const sle64 time) in ntfs2utc() argument
79 u64 t = (u64)(sle64_to_cpu(time) - NTFS_TIME_OFFSET); in ntfs2utc()
Dusnjrnl.h170 /*0x20*/sle64 time; /* Time when this record was created. */ member
/fs/ubifs/
Dshrinker.c62 time64_t time = ktime_get_seconds(); in shrink_tnc() local
110 abs(time - znode->time) >= age) { in shrink_tnc()
Ddir.c1262 struct timespec64 time; in do_rename() local
1348 time = current_time(old_dir); in do_rename()
1349 old_inode->i_ctime = time; in do_rename()
1378 old_dir->i_mtime = old_dir->i_ctime = time; in do_rename()
1379 new_dir->i_mtime = new_dir->i_ctime = time; in do_rename()
1396 new_inode->i_ctime = time; in do_rename()
1495 struct timespec64 time; in ubifs_xrename() local
1513 time = current_time(old_dir); in ubifs_xrename()
1514 fst_inode->i_ctime = time; in ubifs_xrename()
1515 snd_inode->i_ctime = time; in ubifs_xrename()
[all …]
/fs/cifs/
Dinode.c185 cifs_i->time = 0;
187 cifs_i->time = jiffies;
417 CIFS_I(*pinode)->time = 0; /* force reval */
425 CIFS_I(*pinode)->time = 0; /* force reval */
701 CIFS_I(inode)->time = 0;
757 CIFS_I(*inode)->time != 0) {
938 CIFS_I(*inode)->time = 0; /* force reval */
946 CIFS_I(*inode)->time = 0; /* force reval */
1429 cifs_inode->time = 0; /* will force revalidate to get info
1435 CIFS_I(dir)->time = 0; /* force revalidate of dir as well */
[all …]
Dcifsfs.h44 static inline void cifs_set_time(struct dentry *dentry, unsigned long time) in cifs_set_time() argument
46 dentry->d_fsdata = (void *) time; in cifs_set_time()
/fs/nfsd/
Dnfsxdr.c135 struct timespec64 time; in encode_fattr() local
176 time = stat->mtime; in encode_fattr()
177 lease_get_mtime(d_inode(dentry), &time); in encode_fattr()
178 *p++ = htonl((u32) time.tv_sec); in encode_fattr()
179 *p++ = htonl(time.tv_nsec ? time.tv_nsec / 1000 : 0); in encode_fattr()
Dnfs3xdr.c35 encode_time3(__be32 *p, struct timespec *time) in encode_time3() argument
37 *p++ = htonl((u32) time->tv_sec); *p++ = htonl(time->tv_nsec); in encode_time3()
42 decode_time3(__be32 *p, struct timespec *time) in decode_time3() argument
44 time->tv_sec = ntohl(*p++); in decode_time3()
45 time->tv_nsec = ntohl(*p++); in decode_time3()
333 struct timespec time; in nfs3svc_decode_sattrargs() local
334 p = decode_time3(p, &time); in nfs3svc_decode_sattrargs()
335 args->guardtime = time.tv_sec; in nfs3svc_decode_sattrargs()
/fs/orangefs/
Ddcache.c98 unsigned long time = (unsigned long) dentry->d_fsdata; in orangefs_d_revalidate() local
100 if (time_before(jiffies, time)) in orangefs_d_revalidate()
Dorangefs-kernel.h487 unsigned long time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000; in orangefs_set_timeout() local
489 dentry->d_fsdata = (void *) time; in orangefs_set_timeout()
/fs/btrfs/
DKconfig80 Enable run-time debugging support for the btrfs filesystem. This may
90 Enable run-time assertion checking. This will result in panics if
100 Enable run-time extent reference verification instrumentation. This
/fs/ext4/
DKconfig49 allocation, persistent preallocation, high resolution time stamps,
51 up fsck time. For more information, please see the web pages at
104 Enables run-time debugging support for the ext4 filesystem.
/fs/nfs/
Dcallback_xdr.c630 static __be32 encode_attr_time(struct xdr_stream *xdr, const struct timespec *time) in encode_attr_time() argument
637 p = xdr_encode_hyper(p, time->tv_sec); in encode_attr_time()
638 *p = htonl(time->tv_nsec); in encode_attr_time()
642 …be32 encode_attr_ctime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timespec *time) in encode_attr_ctime() argument
646 return encode_attr_time(xdr,time); in encode_attr_ctime()
649 …be32 encode_attr_mtime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timespec *time) in encode_attr_mtime() argument
653 return encode_attr_time(xdr,time); in encode_attr_mtime()
/fs/sysv/
Dinode.c38 u32 time = (u32)ktime_get_real_seconds(), old_time; in sysv_sync_fs() local
50 *sbi->s_sb_state = cpu_to_fs32(sbi, 0x7c269d38u - time); in sysv_sync_fs()
51 *sbi->s_sb_time = cpu_to_fs32(sbi, time); in sysv_sync_fs()
/fs/verity/
DKconfig27 data each time it is paged back in, which provides better
28 protection against malicious disks vs. an ahead-of-time hash.
/fs/ocfs2/
DKconfig38 run-time selectable.
49 It is safe to say Y, as the clustering method is run-time
/fs/fuse/
Ddir.c28 static inline void __fuse_dentry_settime(struct dentry *entry, u64 time) in __fuse_dentry_settime() argument
30 entry->d_fsdata = (void *) time; in __fuse_dentry_settime()
40 u64 time; member
44 static inline void __fuse_dentry_settime(struct dentry *dentry, u64 time) in __fuse_dentry_settime() argument
46 ((union fuse_dentry *) dentry->d_fsdata)->time = time; in __fuse_dentry_settime()
51 return ((union fuse_dentry *) entry->d_fsdata)->time; in fuse_dentry_time()
55 static void fuse_dentry_settime(struct dentry *dentry, u64 time) in fuse_dentry_settime() argument
58 bool delete = !time && fc->delete_stale; in fuse_dentry_settime()
73 __fuse_dentry_settime(dentry, time); in fuse_dentry_settime()
/fs/isofs/
Drock.c425 iso_date(rr->u.TF.times[cnt++].time, in parse_rock_ridge_inode_internal()
431 iso_date(rr->u.TF.times[cnt++].time, in parse_rock_ridge_inode_internal()
437 iso_date(rr->u.TF.times[cnt++].time, in parse_rock_ridge_inode_internal()
443 iso_date(rr->u.TF.times[cnt++].time, in parse_rock_ridge_inode_internal()
/fs/jffs2/
Dwrite.c549 uint32_t time) in jffs2_do_unlink() argument
581 rd->mctime = cpu_to_je32(time); in jffs2_do_unlink()
669 … jffs2_inode_info *dir_f, uint32_t ino, uint8_t type, const char *name, int namelen, uint32_t time) in jffs2_do_link() argument
698 rd->mctime = cpu_to_je32(time); in jffs2_do_link()
/fs/qnx4/
DKconfig6 This is the file system used by the real-time operating systems

123