Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 42) sorted by relevance

12

/fs/xfs/
Dxfs_mru_cache.c139 unsigned long now) in _xfs_mru_cache_migrate() argument
150 while (mru->time_zero <= now - mru->grp_count * mru->grp_time) { in _xfs_mru_cache_migrate()
206 unsigned long now = jiffies; in _xfs_mru_cache_list_insert() local
213 if (!_xfs_mru_cache_migrate(mru, now)) { in _xfs_mru_cache_list_insert()
214 mru->time_zero = now; in _xfs_mru_cache_list_insert()
221 grp = (now - mru->time_zero) / mru->grp_time; in _xfs_mru_cache_list_insert()
281 unsigned long now, next; in _xfs_mru_cache_reap() local
293 now = jiffies; in _xfs_mru_cache_reap()
294 if (next <= now) in _xfs_mru_cache_reap()
297 next -= now; in _xfs_mru_cache_reap()
Dxfs_iops.c971 struct timespec *now, in xfs_vn_update_time() argument
990 inode->i_ctime = *now; in xfs_vn_update_time()
991 ip->i_d.di_ctime.t_sec = (__int32_t)now->tv_sec; in xfs_vn_update_time()
992 ip->i_d.di_ctime.t_nsec = (__int32_t)now->tv_nsec; in xfs_vn_update_time()
995 inode->i_mtime = *now; in xfs_vn_update_time()
996 ip->i_d.di_mtime.t_sec = (__int32_t)now->tv_sec; in xfs_vn_update_time()
997 ip->i_d.di_mtime.t_nsec = (__int32_t)now->tv_nsec; in xfs_vn_update_time()
1000 inode->i_atime = *now; in xfs_vn_update_time()
1001 ip->i_d.di_atime.t_sec = (__int32_t)now->tv_sec; in xfs_vn_update_time()
1002 ip->i_d.di_atime.t_nsec = (__int32_t)now->tv_nsec; in xfs_vn_update_time()
/fs/affs/
DChanges103 - The partition checker now also ignores the
114 It also marks the inode dirty now (which is not
207 they appear now as normal Unix links. They are
208 now resolved only once in lookup(). The backside
237 - Owner/Group defaults now to the fs user (i.e.
242 name buffer. It is now silently truncated to
253 - fsuser is now checked last.
262 - Extension block caches are now allocated on
272 - Hash chains are now sorted by block numbers.
280 - Errors and warnings are now reported via a
[all …]
/fs/jffs2/
Ddir.c228 uint32_t now = get_seconds(); in jffs2_unlink() local
231 dentry->d_name.len, dead_f, now); in jffs2_unlink()
235 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_unlink()
248 uint32_t now; in jffs2_link() local
261 now = get_seconds(); in jffs2_link()
262 …ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now in jffs2_link()
269 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_link()
589 uint32_t now = get_seconds(); in jffs2_rmdir() local
601 dentry->d_name.len, f, now); in jffs2_rmdir()
603 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_rmdir()
[all …]
/fs/
Dattr.c195 struct timespec now; in notify_change2() local
227 now = current_fs_time(inode->i_sb); in notify_change2()
229 attr->ia_ctime = now; in notify_change2()
231 attr->ia_atime = now; in notify_change2()
233 attr->ia_mtime = now; in notify_change2()
Dinode.c1542 struct timespec now) in relatime_need_update() argument
1562 if ((long)(now.tv_sec - inode->i_atime.tv_sec) >= 24*60*60) in relatime_need_update()
1616 struct timespec now; in atime_needs_update() local
1630 now = current_fs_time(inode->i_sb); in atime_needs_update()
1632 if (!relatime_need_update(mnt, inode, now)) in atime_needs_update()
1635 if (timespec_equal(&inode->i_atime, &now)) in atime_needs_update()
1645 struct timespec now; in touch_atime() local
1664 now = current_fs_time(inode->i_sb); in touch_atime()
1665 update_time(inode, &now, S_ATIME); in touch_atime()
1785 struct timespec now; in file_update_time() local
[all …]
Dselect.c77 struct timespec now; in select_estimate_accuracy() local
86 ktime_get_ts(&now); in select_estimate_accuracy()
87 now = timespec_sub(*tv, now); in select_estimate_accuracy()
88 ret = __estimate_accuracy(&now); in select_estimate_accuracy()
/fs/nfs/
Dnfs4renewd.c62 unsigned long last, now; in nfs4_renew_state() local
74 now = jiffies; in nfs4_renew_state()
76 if (time_after(now, last + lease/3)) in nfs4_renew_state()
Dinode.c378 unsigned long now = jiffies; in nfs_fhget() local
477 nfsi->attrtimeo_timestamp = now; in nfs_fhget()
1643 unsigned long now = jiffies; in nfs_update_inode() local
1838 nfsi->attrtimeo_timestamp = now; in nfs_update_inode()
1843 if (!time_in_range_open(now, nfsi->attrtimeo_timestamp, in nfs_update_inode()
1849 nfsi->attrtimeo_timestamp = now; in nfs_update_inode()
/fs/afs/
Dvlocation.c547 time64_t now; in afs_vlocation_reaper() local
551 now = ktime_get_real_seconds(); in afs_vlocation_reaper()
562 if (expiry > now) { in afs_vlocation_reaper()
563 delay = (expiry - now) * HZ; in afs_vlocation_reaper()
626 time64_t now; in afs_vlocation_updater() local
632 now = ktime_get_real_seconds(); in afs_vlocation_updater()
650 timeout = vl->update_at - now; in afs_vlocation_updater()
704 timeout = xvl->update_at - now; in afs_vlocation_updater()
Dserver.c275 time64_t now; in afs_reap_server() local
277 now = ktime_get_real_seconds(); in afs_reap_server()
286 if (expiry > now) { in afs_reap_server()
287 delay = (expiry - now) * HZ; in afs_reap_server()
Dcallback.c365 time64_t now;
373 now = ktime_get_real_seconds();
392 timeout = vnode->update_at - now;
443 timeout = xvnode->update_at - now;
/fs/autofs4/
Dexpire.c17 static unsigned long now; variable
31 if (!timeout || time_after(ino->last_used + timeout, now)) in autofs4_can_expire()
309 now = jiffies; in autofs4_expire_direct()
440 now = jiffies; in autofs4_expire_indirect()
571 ino->last_used = now; in autofs4_expire_run()
601 ino->last_used = now; in autofs4_do_expire_multi()
/fs/ocfs2/cluster/
Dnetdebug.c133 ktime_t now; in nst_seq_show() local
141 now = ktime_get(); in nst_seq_show()
142 sock = ktime_to_us(ktime_sub(now, nst->st_sock_time)); in nst_seq_show()
143 send = ktime_to_us(ktime_sub(now, nst->st_send_time)); in nst_seq_show()
144 status = ktime_to_us(ktime_sub(now, nst->st_status_time)); in nst_seq_show()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c573 nfs4_ff_start_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) in nfs4_ff_start_busy_timer() argument
577 timer->start_time = now; in nfs4_ff_start_busy_timer()
582 nfs4_ff_end_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) in nfs4_ff_end_busy_timer() argument
590 timer->start_time = now; in nfs4_ff_end_busy_timer()
591 return ktime_sub(now, start); in nfs4_ff_end_busy_timer()
597 ktime_t now) in nfs4_ff_layoutstat_start_io() argument
602 nfs4_ff_start_busy_timer(&layoutstat->busy_timer, now); in nfs4_ff_layoutstat_start_io()
604 mirror->start_time = now; in nfs4_ff_layoutstat_start_io()
606 mirror->last_report_time = now; in nfs4_ff_layoutstat_start_io()
609 if (ktime_to_ms(ktime_sub(now, mirror->last_report_time)) >= in nfs4_ff_layoutstat_start_io()
[all …]
/fs/ext4/
DKconfig14 filesystem is now handled by the ext4 driver.
23 filesystem is now handled by the ext4 driver.
31 filesystem is now handled by the ext4 driver.
Dialloc.c681 unsigned long dtime, now; in recently_deleted() local
701 now = get_seconds(); in recently_deleted()
705 if (dtime && (dtime < now) && (now < dtime + recentcy)) in recently_deleted()
/fs/cifs/
Dtransport.c88 unsigned long now; in DeleteMidQEntry() local
97 now = jiffies; in DeleteMidQEntry()
100 if ((now - midEntry->when_alloc) > HZ) { in DeleteMidQEntry()
105 now - midEntry->when_alloc, in DeleteMidQEntry()
106 now - midEntry->when_sent, in DeleteMidQEntry()
107 now - midEntry->when_received); in DeleteMidQEntry()
/fs/befs/
DChangeLog142 default linux-supplied implementation. Fixed. Works now.
156 * Cleaned up the befs_count_blocks() function. Much smarter now.
217 I've done some serious testing on it now (on my box anyhow), and it
229 * Generic_read_file() is now used to read regular file data.
369 Not that it was possible to write before. But now the kernel won't even try.
386 * Cleaned up the fs/Config.in entries a bit, now slightly more descriptive.
401 * Will Dyson <will_dyson@pobox.com> is now attempting to maintain this module
/fs/ubifs/
Dfile.c1351 const struct timespec *now) in mctime_update_needed() argument
1353 if (!timespec_equal(&inode->i_mtime, now) || in mctime_update_needed()
1354 !timespec_equal(&inode->i_ctime, now)) in mctime_update_needed()
1410 struct timespec now = ubifs_current_time(inode); in update_mctime() local
1414 if (mctime_update_needed(inode, &now)) { in update_mctime()
1502 struct timespec now = ubifs_current_time(inode); in ubifs_vm_page_mkwrite() local
1531 update_time = mctime_update_needed(inode, &now); in ubifs_vm_page_mkwrite()
/fs/lockd/
Dhost.c113 unsigned long now = jiffies; in nlm_alloc_host() local
155 host->h_nextrebind = now + NLM_HOST_REBIND; in nlm_alloc_host()
156 host->h_expires = now + NLM_HOST_EXPIRE; in nlm_alloc_host()
/fs/gfs2/
DKconfig22 The "nolock" lock module is now built in to GFS2 by default. If
Dglock.c614 unsigned long holdtime, now = jiffies; in glock_work_func() local
617 if (time_before(now, holdtime)) in glock_work_func()
618 delay = holdtime - now; in glock_work_func()
1224 unsigned long now = jiffies; in gfs2_glock_cb() local
1230 if (time_before(now, holdtime)) in gfs2_glock_cb()
1231 delay = holdtime - now; in gfs2_glock_cb()
/fs/reiserfs/
Djournal.c2929 time_t now = get_seconds(); in journal_transaction_should_end() local
2937 (now - journal->j_trans_start_time) > journal->j_max_trans_age || in journal_transaction_should_end()
3038 time_t now = get_seconds(); in do_journal_begin_r() local
3071 now = get_seconds(); in do_journal_begin_r()
3085 && (now - journal->j_trans_start_time) > in do_journal_begin_r()
3574 time_t now; in reiserfs_flush_old_commits() local
3578 now = get_seconds(); in reiserfs_flush_old_commits()
3593 (now - journal->j_trans_start_time) > journal->j_max_trans_age) { in reiserfs_flush_old_commits()
3628 time_t now; in check_journal_end() local
3709 now = get_seconds(); in check_journal_end()
[all …]
/fs/jbd2/
Dcommit.c127 struct timespec64 now = current_kernel_time64(); in journal_submit_commit_record() local
142 tmp->h_commit_sec = cpu_to_be64(now.tv_sec); in journal_submit_commit_record()
143 tmp->h_commit_nsec = cpu_to_be32(now.tv_nsec); in journal_submit_commit_record()

12