/fs/fat/ |
D | misc.c | 201 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()
|
D | namei_msdos.c | 233 __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()
|
/fs/pstore/ |
D | ram.c | 144 static int ramoops_read_kmsg_hdr(char *buffer, struct timespec64 *time, in ramoops_read_kmsg_hdr() argument 151 (time64_t *)&time->tv_sec, &time->tv_nsec, &data_type, in ramoops_read_kmsg_hdr() 153 time->tv_nsec *= 1000; in ramoops_read_kmsg_hdr() 159 (time64_t *)&time->tv_sec, &time->tv_nsec, in ramoops_read_kmsg_hdr() 161 time->tv_nsec *= 1000; in ramoops_read_kmsg_hdr() 164 time->tv_sec = 0; in ramoops_read_kmsg_hdr() 165 time->tv_nsec = 0; in ramoops_read_kmsg_hdr() 190 record->time.tv_sec = 0; in ramoops_pstore_read() 191 record->time.tv_nsec = 0; in ramoops_pstore_read() 201 &record->time, in ramoops_pstore_read() [all …]
|
D | zone.c | 56 struct timespec64 time; member 378 struct timespec64 time = { }; in psz_kmsg_recover_meta() local 430 if (hdr->time.tv_sec >= time.tv_sec) { in psz_kmsg_recover_meta() 431 time.tv_sec = hdr->time.tv_sec; in psz_kmsg_recover_meta() 730 hdr->time.tv_sec = record->time.tv_sec; in psz_write_kmsg_hdr() 731 hdr->time.tv_nsec = record->time.tv_nsec; in psz_write_kmsg_hdr() 951 record->time.tv_sec = hdr->time.tv_sec; in psz_kmsg_read_hdr() 952 record->time.tv_nsec = hdr->time.tv_nsec; in psz_kmsg_read_hdr()
|
/fs/exfat/ |
D | misc.c | 78 u8 tz, __le16 time, __le16 date, u8 time_cs) in exfat_get_entry_time() argument 80 u16 t = le16_to_cpu(time); in exfat_get_entry_time() 104 u8 *tz, __le16 *time, __le16 *date, u8 *time_cs) in exfat_set_entry_time() argument 113 *time = cpu_to_le16(t); in exfat_set_entry_time()
|
/fs/hfs/ |
D | hfs_fs.h | 271 #define hfs_m_to_utime(time) (struct timespec64){ .tv_sec = __hfs_m_to_utime(time) } argument 272 #define hfs_u_to_mtime(time) __hfs_u_to_mtime((time).tv_sec) argument
|
/fs/ntfs/ |
D | time.h | 74 static inline struct timespec64 ntfs2utc(const sle64 time) in ntfs2utc() argument 79 u64 t = (u64)(sle64_to_cpu(time) - NTFS_TIME_OFFSET); in ntfs2utc()
|
/fs/cifs/ |
D | inode.c | 191 cifs_i->time = 0; 193 cifs_i->time = jiffies; 422 CIFS_I(*pinode)->time = 0; /* force reval */ 429 CIFS_I(*pinode)->time = 0; /* force reval */ 772 CIFS_I(inode)->time = 0; 910 return ino && CIFS_CACHE_READ(CIFS_I(ino)) && CIFS_I(ino)->time != 0; 1092 CIFS_I(*inode)->time = 0; /* force reval */ 1100 CIFS_I(*inode)->time = 0; /* force reval */ 1205 CIFS_I(*inode)->time = 0; /* force reval */ 1213 CIFS_I(*inode)->time = 0; /* force reval */ [all …]
|
D | cifsfs.h | 44 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()
|
D | xattr.c | 146 CIFS_I(inode)->time = 0; in cifs_xattr_set() 153 CIFS_I(inode)->time = 0; in cifs_xattr_set() 201 CIFS_I(inode)->time = 0; in cifs_xattr_set()
|
/fs/ubifs/ |
D | shrinker.c | 62 time64_t time = ktime_get_seconds(); in shrink_tnc() local 110 abs(time - znode->time) >= age) { in shrink_tnc()
|
D | dir.c | 1275 struct timespec64 time; in do_rename() local 1384 time = current_time(old_dir); in do_rename() 1385 old_inode->i_ctime = time; in do_rename() 1414 old_dir->i_mtime = old_dir->i_ctime = time; in do_rename() 1415 new_dir->i_mtime = new_dir->i_ctime = time; in do_rename() 1432 new_inode->i_ctime = time; in do_rename() 1523 struct timespec64 time; in ubifs_xrename() local 1545 time = current_time(old_dir); in ubifs_xrename() 1546 fst_inode->i_ctime = time; in ubifs_xrename() 1547 snd_inode->i_ctime = time; in ubifs_xrename() [all …]
|
/fs/orangefs/ |
D | dcache.c | 100 unsigned long time = (unsigned long) dentry->d_fsdata; in orangefs_d_revalidate() local 102 if (time_before(jiffies, time)) in orangefs_d_revalidate()
|
/fs/nfsd/ |
D | nfsxdr.c | 135 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()
|
D | nfs3xdr.c | 35 encode_time3(__be32 *p, struct timespec64 *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 timespec64 *time) in decode_time3() argument 44 time->tv_sec = ntohl(*p++); in decode_time3() 45 time->tv_nsec = ntohl(*p++); in decode_time3() 335 struct timespec64 time; in nfs3svc_decode_sattrargs() local 336 p = decode_time3(p, &time); in nfs3svc_decode_sattrargs() 337 args->guardtime = time.tv_sec; in nfs3svc_decode_sattrargs()
|
/fs/xfs/ |
D | xfs_quotaops.c | 40 tstate->spc_timelimit = (u32)defq->blk.time; in xfs_qm_fill_state() 41 tstate->ino_timelimit = (u32)defq->ino.time; in xfs_qm_fill_state() 42 tstate->rt_spc_timelimit = (u32)defq->rtb.time; in xfs_qm_fill_state()
|
/fs/btrfs/ |
D | Kconfig | 86 Enable run-time debugging support for the btrfs filesystem. This may 96 Enable run-time assertion checking. This will result in panics if 106 Enable run-time extent reference verification instrumentation. This
|
/fs/ext4/ |
D | Kconfig | 44 allocation, persistent preallocation, high resolution time stamps, 46 up fsck time. For more information, please see the web pages at 99 Enables run-time debugging support for the ext4 filesystem.
|
/fs/sysv/ |
D | inode.c | 38 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/nfs/ |
D | callback_xdr.c | 627 static __be32 encode_attr_time(struct xdr_stream *xdr, const struct timespec64 *time) in encode_attr_time() argument 634 p = xdr_encode_hyper(p, time->tv_sec); in encode_attr_time() 635 *p = htonl(time->tv_nsec); in encode_attr_time() 639 …32 encode_attr_ctime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timespec64 *time) in encode_attr_ctime() argument 643 return encode_attr_time(xdr,time); in encode_attr_ctime() 646 …32 encode_attr_mtime(struct xdr_stream *xdr, const uint32_t *bitmap, const struct timespec64 *time) in encode_attr_mtime() argument 650 return encode_attr_time(xdr,time); in encode_attr_mtime()
|
/fs/verity/ |
D | Kconfig | 31 data each time it is paged back in, which provides better 32 protection against malicious disks vs. an ahead-of-time hash.
|
/fs/ocfs2/ |
D | Kconfig | 38 run-time selectable. 49 It is safe to say Y, as the clustering method is run-time
|
/fs/fuse/ |
D | dir.c | 29 static inline void __fuse_dentry_settime(struct dentry *entry, u64 time) in __fuse_dentry_settime() argument 31 entry->d_fsdata = (void *) time; in __fuse_dentry_settime() 41 u64 time; member 45 static inline void __fuse_dentry_settime(struct dentry *dentry, u64 time) in __fuse_dentry_settime() argument 47 ((union fuse_dentry *) dentry->d_fsdata)->time = time; in __fuse_dentry_settime() 52 return ((union fuse_dentry *) entry->d_fsdata)->time; in fuse_dentry_time() 56 static void fuse_dentry_settime(struct dentry *dentry, u64 time) in fuse_dentry_settime() argument 59 bool delete = !time && fc->delete_stale; in fuse_dentry_settime() 74 __fuse_dentry_settime(dentry, time); in fuse_dentry_settime()
|
/fs/isofs/ |
D | rock.c | 425 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/ |
D | write.c | 549 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()
|