Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 34) 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()
/fs/nfs/
Dnfs4renewd.c66 unsigned long last, now; in nfs4_renew_state() local
75 now = jiffies; in nfs4_renew_state()
76 timeout = (2 * lease) / 3 + (long)last - (long)now; in nfs4_renew_state()
78 if (time_after(now, last + lease/3)) { in nfs4_renew_state()
Dinode.c270 unsigned long now = jiffies; in nfs_fhget() local
327 nfsi->attrtimeo_timestamp = now; in nfs_fhget()
1075 unsigned long now = jiffies; in nfs_update_inode() local
1175 nfsi->attrtimeo_timestamp = now; in nfs_update_inode()
1178 …if (!time_in_range_open(now, nfsi->attrtimeo_timestamp, nfsi->attrtimeo_timestamp + nfsi->attrtime… in nfs_update_inode()
1181 nfsi->attrtimeo_timestamp = now; in nfs_update_inode()
/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()
612 uint32_t now = get_seconds(); in jffs2_rmdir() local
620 dentry->d_name.len, f, now); in jffs2_rmdir()
622 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_rmdir()
[all …]
/fs/
Dattr.c108 struct timespec now; in notify_change() local
116 now = current_fs_time(inode->i_sb); in notify_change()
118 attr->ia_ctime = now; in notify_change()
120 attr->ia_atime = now; in notify_change()
122 attr->ia_mtime = now; in notify_change()
Dinode.c1305 struct timespec now; in touch_atime() local
1330 now = current_fs_time(inode->i_sb); in touch_atime()
1331 if (timespec_equal(&inode->i_atime, &now)) in touch_atime()
1334 inode->i_atime = now; in touch_atime()
1356 struct timespec now; in file_update_time() local
1367 now = current_fs_time(inode->i_sb); in file_update_time()
1368 if (!timespec_equal(&inode->i_mtime, &now)) { in file_update_time()
1369 inode->i_mtime = now; in file_update_time()
1373 if (!timespec_equal(&inode->i_ctime, &now)) { in file_update_time()
1374 inode->i_ctime = now; in file_update_time()
Dselect.c66 struct timespec now; in estimate_accuracy() local
75 ktime_get_ts(&now); in estimate_accuracy()
76 now = timespec_sub(*tv, now); in estimate_accuracy()
77 ret = __estimate_accuracy(&now); in estimate_accuracy()
/fs/afs/
Dvlocation.c542 time_t now; in afs_vlocation_reaper() local
546 now = get_seconds(); in afs_vlocation_reaper()
557 if (expiry > now) { in afs_vlocation_reaper()
558 delay = (expiry - now) * HZ; in afs_vlocation_reaper()
629 time_t now; in afs_vlocation_updater() local
635 now = get_seconds(); in afs_vlocation_updater()
653 timeout = vl->update_at - now; in afs_vlocation_updater()
706 timeout = xvl->update_at - now; in afs_vlocation_updater()
Dserver.c274 time_t now; in afs_reap_server() local
276 now = get_seconds(); in afs_reap_server()
285 if (expiry > now) { in afs_reap_server()
286 delay = (expiry - now) * HZ; in afs_reap_server()
Dcallback.c367 time_t now;
375 now = get_seconds();
394 timeout = vnode->update_at - now;
444 timeout = xvnode->update_at - now;
/fs/autofs4/
Dexpire.c17 static unsigned long now; variable
35 if (!timeout || time_after(ino->last_used + timeout, now)) in autofs4_can_expire()
42 ino->last_used = now; in autofs4_can_expire()
270 now = jiffies; in autofs4_expire_direct()
314 now = jiffies; in autofs4_expire_indirect()
/fs/ntfs/
DChangeLog10 attributes, etc. For now none of these are implemented so are safe.
73 - We have struct kmem_cache now so use it instead of the typedef
99 fixup code as this is now done by ntfs_cluster_alloc().
135 uncompressed) files can now be extended using the normal write(2)
165 need to panic() if the allocation fails as it now cannot fail.
349 the dirty page containing the on-disk inode X, the page is now locked
429 - Rewrite handling of multi sector transfer errors. We now do not set
432 protected attributes now check the magic of each ntfs record as they
443 and write_mft_record_nolock(). From now on we require that the
491 now set the buffers belonging to the mft record dirty as well as the
[all …]
/fs/cifs/
Dtransport.c76 unsigned long now; in DeleteMidQEntry() local
88 now = jiffies; in DeleteMidQEntry()
91 if ((now - midEntry->when_alloc) > HZ) { in DeleteMidQEntry()
97 now - midEntry->when_alloc, in DeleteMidQEntry()
98 now - midEntry->when_sent, in DeleteMidQEntry()
99 now - midEntry->when_received); in DeleteMidQEntry()
DCHANGES19 (readdir) requests do not get invalid results which include the now
45 Cifs_mkdir and cifs_create now respect the setgid bit on parent dir.
179 (lock cancel now works, and unlock of merged range works even
180 to Windows servers now). Fix oops on mount to lanman servers
193 NTLMv2 authentication support (now can use stronger password hashing
256 wsize and rsize can now be larger than negotiated buffer size if server
258 Write size will in many cases now be 16K instead of 4K which greatly helps
368 longer than 530 (now can handle PATH_MAX). Fix pass through authentication
505 also now allowing support for specifying client netbiosname. NT4 support added.
632 and on revalidate errors. Fix cases where pid is now tgid. Fix return code
[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.c1337 const struct timespec *now) in mctime_update_needed() argument
1339 if (!timespec_equal(&inode->i_mtime, now) || in mctime_update_needed()
1340 !timespec_equal(&inode->i_ctime, now)) in mctime_update_needed()
1356 struct timespec now = ubifs_current_time(inode); in update_mctime() local
1359 if (mctime_update_needed(inode, &now)) { in update_mctime()
1441 struct timespec now = ubifs_current_time(inode); in ubifs_vm_page_mkwrite() local
1470 update_time = mctime_update_needed(inode, &now); in ubifs_vm_page_mkwrite()
/fs/qnx4/
DKconfig24 It's currently broken, so for now:
/fs/gfs2/
DKconfig21 The "nolock" lock module is now built in to GFS2 by default.
Dglock.c671 unsigned long holdtime, now = jiffies; in glock_work_func() local
673 if (time_before(now, holdtime)) in glock_work_func()
674 delay = holdtime - now; in glock_work_func()
1301 unsigned long now = jiffies; in blocking_cb() local
1308 if (time_before(now, holdtime)) in blocking_cb()
1309 delay = holdtime - now; in blocking_cb()
/fs/reiserfs/
Djournal.c2897 time_t now = get_seconds(); in journal_transaction_should_end() local
2905 (now - journal->j_trans_start_time) > journal->j_max_trans_age || in journal_transaction_should_end()
3003 time_t now = get_seconds(); in do_journal_begin_r() local
3033 now = get_seconds(); in do_journal_begin_r()
3045 && (now - journal->j_trans_start_time) > in do_journal_begin_r()
3516 time_t now; in reiserfs_flush_old_commits() local
3520 now = get_seconds(); in reiserfs_flush_old_commits()
3534 (now - journal->j_trans_start_time) > journal->j_max_trans_age) { in reiserfs_flush_old_commits()
3567 time_t now; in check_journal_end() local
3640 now = get_seconds(); in check_journal_end()
[all …]
/fs/jbd2/
Dcommit.c104 struct timespec now = current_kernel_time(); in journal_submit_commit_record() local
119 tmp->h_commit_sec = cpu_to_be64(now.tv_sec); in journal_submit_commit_record()
120 tmp->h_commit_nsec = cpu_to_be32(now.tv_nsec); in journal_submit_commit_record()
/fs/partitions/
DKconfig182 Normal partitions are now called Basic Disks under Windows 2000, XP,
211 partition table format used by DEC (now Compaq) Ultrix machines.
/fs/dlm/
Dlock.c1490 static int _can_be_granted(struct dlm_rsb *r, struct dlm_lkb *lkb, int now) in _can_be_granted() argument
1556 if (now && conv && !(lkb->lkb_exflags & DLM_LKF_QUECVT)) in _can_be_granted()
1573 if (!now && conv && first_in_list(lkb, &r->res_convertqueue)) in _can_be_granted()
1587 if (now && !conv && list_empty(&r->res_convertqueue) && in _can_be_granted()
1599 if (!now && !conv && list_empty(&r->res_convertqueue) && in _can_be_granted()
1606 static int can_be_granted(struct dlm_rsb *r, struct dlm_lkb *lkb, int now, in can_be_granted() argument
1616 rv = _can_be_granted(r, lkb, now); in can_be_granted()
1636 lkb->lkb_id, now); in can_be_granted()
1657 rv = _can_be_granted(r, lkb, now); in can_be_granted()
/fs/ocfs2/cluster/
Dtcp.c1478 struct timeval now; in o2net_idle_timer() local
1480 do_gettimeofday(&now); in o2net_idle_timer()
1490 now.tv_sec, (long) now.tv_usec, in o2net_idle_timer()

12