Home
last modified time | relevance | path

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

12

/fs/xfs/
Dxfs_mru_cache.c133 unsigned long now) in _xfs_mru_cache_migrate() argument
144 while (mru->time_zero <= now - mru->grp_count * mru->grp_time) { in _xfs_mru_cache_migrate()
200 unsigned long now = jiffies; in _xfs_mru_cache_list_insert() local
207 if (!_xfs_mru_cache_migrate(mru, now)) { in _xfs_mru_cache_list_insert()
208 mru->time_zero = now; in _xfs_mru_cache_list_insert()
215 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.c924 struct timespec *now, in xfs_vn_update_time() argument
943 inode->i_ctime = *now; in xfs_vn_update_time()
944 ip->i_d.di_ctime.t_sec = (__int32_t)now->tv_sec; in xfs_vn_update_time()
945 ip->i_d.di_ctime.t_nsec = (__int32_t)now->tv_nsec; in xfs_vn_update_time()
948 inode->i_mtime = *now; in xfs_vn_update_time()
949 ip->i_d.di_mtime.t_sec = (__int32_t)now->tv_sec; in xfs_vn_update_time()
950 ip->i_d.di_mtime.t_nsec = (__int32_t)now->tv_nsec; in xfs_vn_update_time()
953 inode->i_atime = *now; in xfs_vn_update_time()
954 ip->i_d.di_atime.t_sec = (__int32_t)now->tv_sec; in xfs_vn_update_time()
955 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.c248 uint32_t now = get_seconds(); in jffs2_unlink() local
251 dentry->d_name.len, dead_f, now); in jffs2_unlink()
255 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_unlink()
268 uint32_t now; in jffs2_link() local
281 now = get_seconds(); in jffs2_link()
282 …ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now in jffs2_link()
289 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_link()
610 uint32_t now = get_seconds(); in jffs2_rmdir() local
618 dentry->d_name.len, f, now); in jffs2_rmdir()
620 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_rmdir()
[all …]
/fs/
Dattr.c175 struct timespec now; in notify_change2() local
197 now = current_fs_time(inode->i_sb); in notify_change2()
199 attr->ia_ctime = now; in notify_change2()
201 attr->ia_atime = now; in notify_change2()
203 attr->ia_mtime = now; in notify_change2()
Dinode.c1504 struct timespec now) in relatime_need_update() argument
1524 if ((long)(now.tv_sec - inode->i_atime.tv_sec) >= 24*60*60) in relatime_need_update()
1565 struct timespec now; in touch_atime() local
1579 now = current_fs_time(inode->i_sb); in touch_atime()
1581 if (!relatime_need_update(mnt, inode, now)) in touch_atime()
1584 if (timespec_equal(&inode->i_atime, &now)) in touch_atime()
1601 update_time(inode, &now, S_ATIME); in touch_atime()
1689 struct timespec now; in file_update_time() local
1697 now = current_fs_time(inode->i_sb); in file_update_time()
1698 if (!timespec_equal(&inode->i_mtime, &now)) in file_update_time()
[all …]
Dselect.c75 struct timespec now; in select_estimate_accuracy() local
84 ktime_get_ts(&now); in select_estimate_accuracy()
85 now = timespec_sub(*tv, now); in select_estimate_accuracy()
86 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.c292 unsigned long now = jiffies; in nfs_fhget() local
388 nfsi->attrtimeo_timestamp = now; in nfs_fhget()
1320 unsigned long now = jiffies; in nfs_update_inode() local
1489 nfsi->attrtimeo_timestamp = now; in nfs_update_inode()
1492 …if (!time_in_range_open(now, nfsi->attrtimeo_timestamp, nfsi->attrtimeo_timestamp + nfsi->attrtime… in nfs_update_inode()
1495 nfsi->attrtimeo_timestamp = now; in nfs_update_inode()
/fs/afs/
Dvlocation.c546 time_t now; in afs_vlocation_reaper() local
550 now = get_seconds(); in afs_vlocation_reaper()
561 if (expiry > now) { in afs_vlocation_reaper()
562 delay = (expiry - now) * HZ; in afs_vlocation_reaper()
625 time_t now; in afs_vlocation_updater() local
631 now = get_seconds(); in afs_vlocation_updater()
649 timeout = vl->update_at - now; in afs_vlocation_updater()
702 timeout = xvl->update_at - now; in afs_vlocation_updater()
Dserver.c275 time_t now; in afs_reap_server() local
277 now = get_seconds(); in afs_reap_server()
286 if (expiry > now) { in afs_reap_server()
287 delay = (expiry - now) * HZ; in afs_reap_server()
Dcallback.c365 time_t now;
373 now = get_seconds();
392 timeout = vnode->update_at - now;
442 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()
38 ino->last_used = now; in autofs4_can_expire()
327 now = jiffies; in autofs4_expire_direct()
372 now = jiffies; in autofs4_expire_indirect()
/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/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()
DCHANGES21 sendfile will now work over cifs mounts again. Add noforcegid
63 established security contexts. fsync now sends SMB Flush operation
83 (readdir) requests do not get invalid results which include the now
109 Cifs_mkdir and cifs_create now respect the setgid bit on parent dir.
243 (lock cancel now works, and unlock of merged range works even
244 to Windows servers now). Fix oops on mount to lanman servers
257 NTLMv2 authentication support (now can use stronger password hashing
320 wsize and rsize can now be larger than negotiated buffer size if server
322 Write size will in many cases now be 16K instead of 4K which greatly helps
432 longer than 530 (now can handle PATH_MAX). Fix pass through authentication
[all …]
/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.c1356 const struct timespec *now) in mctime_update_needed() argument
1358 if (!timespec_equal(&inode->i_mtime, now) || in mctime_update_needed()
1359 !timespec_equal(&inode->i_ctime, now)) in mctime_update_needed()
1375 struct timespec now = ubifs_current_time(inode); in update_mctime() local
1378 if (mctime_update_needed(inode, &now)) { in update_mctime()
1451 struct timespec now = ubifs_current_time(inode); in ubifs_vm_page_mkwrite() local
1480 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/reiserfs/
Djournal.c2865 time_t now = get_seconds(); in journal_transaction_should_end() local
2873 (now - journal->j_trans_start_time) > journal->j_max_trans_age || in journal_transaction_should_end()
2973 time_t now = get_seconds(); in do_journal_begin_r() local
3005 now = get_seconds(); in do_journal_begin_r()
3017 && (now - journal->j_trans_start_time) > in do_journal_begin_r()
3488 time_t now; in reiserfs_flush_old_commits() local
3492 now = get_seconds(); in reiserfs_flush_old_commits()
3505 (now - journal->j_trans_start_time) > journal->j_max_trans_age) { in reiserfs_flush_old_commits()
3537 time_t now; in check_journal_end() local
3610 now = get_seconds(); in check_journal_end()
[all …]
/fs/gfs2/
DKconfig22 The "nolock" lock module is now built in to GFS2 by default. If
Dglock.c676 unsigned long holdtime, now = jiffies; in glock_work_func() local
679 if (time_before(now, holdtime)) in glock_work_func()
680 delay = holdtime - now; in glock_work_func()
1286 unsigned long now = jiffies; in gfs2_glock_cb() local
1292 if (time_before(now, holdtime)) in gfs2_glock_cb()
1293 delay = holdtime - now; in gfs2_glock_cb()
/fs/ext4/
Dialloc.c670 unsigned long dtime, now; in recently_deleted() local
690 now = get_seconds(); in recently_deleted()
694 if (dtime && (dtime < now) && (now < dtime + recentcy)) in recently_deleted()
/fs/jbd2/
Dcommit.c127 struct timespec now = current_kernel_time(); 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()
/fs/btrfs/
Dfile.c1491 struct timespec now; in update_time_for_write() local
1496 now = current_fs_time(inode->i_sb); in update_time_for_write()
1497 if (!timespec_equal(&inode->i_mtime, &now)) in update_time_for_write()
1498 inode->i_mtime = now; in update_time_for_write()
1500 if (!timespec_equal(&inode->i_ctime, &now)) in update_time_for_write()
1501 inode->i_ctime = now; in update_time_for_write()

12