Home
last modified time | relevance | path

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

123

/fs/xfs/
Dxfs_mru_cache.c128 unsigned long now) in _xfs_mru_cache_migrate() argument
139 while (mru->time_zero <= now - mru->grp_count * mru->grp_time) { in _xfs_mru_cache_migrate()
195 unsigned long now = jiffies; in _xfs_mru_cache_list_insert() local
202 if (!_xfs_mru_cache_migrate(mru, now)) { in _xfs_mru_cache_list_insert()
203 mru->time_zero = now; in _xfs_mru_cache_list_insert()
210 grp = (now - mru->time_zero) / mru->grp_time; in _xfs_mru_cache_list_insert()
270 unsigned long now, next; in _xfs_mru_cache_reap() local
282 now = jiffies; in _xfs_mru_cache_reap()
283 if (next <= now) in _xfs_mru_cache_reap()
286 next -= now; in _xfs_mru_cache_reap()
Dxfs_iops.c1064 struct timespec64 *now, in xfs_vn_update_time() argument
1078 return generic_update_time(inode, now, flags); in xfs_vn_update_time()
1090 inode->i_ctime = *now; in xfs_vn_update_time()
1092 inode->i_mtime = *now; in xfs_vn_update_time()
1094 inode->i_atime = *now; in xfs_vn_update_time()
/fs/fat/
Dmisc.c285 int fat_truncate_time(struct inode *inode, struct timespec64 *now, int flags) in fat_truncate_time() argument
293 if (now == NULL) { in fat_truncate_time()
294 now = &ts; in fat_truncate_time()
300 time64_t seconds = now->tv_sec - fat_tz_offset(sbi); in fat_truncate_time()
311 inode->i_ctime = timespec64_trunc(*now, 10000000); in fat_truncate_time()
313 inode->i_ctime = fat_timespec64_trunc_2secs(*now); in fat_truncate_time()
316 inode->i_mtime = fat_timespec64_trunc_2secs(*now); in fat_truncate_time()
322 int fat_update_time(struct inode *inode, struct timespec64 *now, int flags) in fat_update_time() argument
330 fat_truncate_time(inode, now, flags); in fat_update_time()
/fs/afs/
Dcell.c386 time64_t now, expiry = 0; in afs_update_cell() local
422 now = ktime_get_real_seconds(); in afs_update_cell()
425 if (expiry < now + min_ttl) in afs_update_cell()
426 expiry = now + min_ttl; in afs_update_cell()
427 else if (expiry > now + max_ttl) in afs_update_cell()
428 expiry = now + max_ttl; in afs_update_cell()
445 cell->dns_expiry = now + 10; in afs_update_cell()
531 time64_t now, expire_delay; in afs_put_cell() local
538 now = ktime_get_real_seconds(); in afs_put_cell()
539 cell->last_inactive = now; in afs_put_cell()
[all …]
Dserver.c443 time64_t now = ktime_get_real_seconds(), next_manage = TIME64_MAX; in afs_manage_servers() local
469 if (purging || expire_at <= now) { in afs_manage_servers()
485 now = ktime_get_real_seconds(); in afs_manage_servers()
487 if (next_manage - now <= 0) { in afs_manage_servers()
491 afs_set_server_timer(net, next_manage - now); in afs_manage_servers()
573 time64_t now = ktime_get_real_seconds(); in afs_check_server_record() local
583 diff = READ_ONCE(server->update_at) - now; in afs_check_server_record()
Dvolume.c286 time64_t now = ktime_get_real_seconds(); in afs_check_volume_status() local
291 if (volume->update_at <= now) in afs_check_volume_status()
/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.c230 uint32_t now = JFFS2_NOW(); in jffs2_unlink() local
233 dentry->d_name.len, dead_f, now); in jffs2_unlink()
237 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_unlink()
250 uint32_t now; in jffs2_link() local
263 now = JFFS2_NOW(); in jffs2_link()
264 …ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now in jffs2_link()
271 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_link()
591 uint32_t now = JFFS2_NOW(); in jffs2_rmdir() local
599 dentry->d_name.len, f, now); in jffs2_rmdir()
601 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_rmdir()
[all …]
/fs/
Dattr.c234 struct timespec64 now; in notify_change2() local
266 now = current_time(inode); in notify_change2()
268 attr->ia_ctime = now; in notify_change2()
270 attr->ia_atime = now; in notify_change2()
272 attr->ia_mtime = now; in notify_change2()
Dinode.c1627 struct timespec64 now) in relatime_need_update() argument
1647 if ((long)(now.tv_sec - inode->i_atime.tv_sec) >= 24*60*60) in relatime_need_update()
1705 struct timespec64 now; in atime_needs_update() local
1726 now = current_time(inode); in atime_needs_update()
1728 if (!relatime_need_update(mnt, inode, now)) in atime_needs_update()
1731 if (timespec64_equal(&inode->i_atime, &now)) in atime_needs_update()
1741 struct timespec64 now; in touch_atime() local
1760 now = current_time(inode); in touch_atime()
1761 update_time(inode, &now, S_ATIME); in touch_atime()
1880 struct timespec64 now; in file_update_time() local
[all …]
Dselect.c78 struct timespec64 now; in select_estimate_accuracy() local
87 ktime_get_ts64(&now); in select_estimate_accuracy()
88 now = timespec64_sub(*tv, now); in select_estimate_accuracy()
89 ret = __estimate_accuracy(&now); in select_estimate_accuracy()
/fs/nfs/
Dnfs4renewd.c62 unsigned long last, now; in nfs4_renew_state() local
73 now = jiffies; in nfs4_renew_state()
75 if (time_after(now, last + lease/3)) in nfs4_renew_state()
/fs/ocfs2/cluster/
Dnetdebug.c114 ktime_t now; in nst_seq_show() local
122 now = ktime_get(); in nst_seq_show()
123 sock = ktime_to_us(ktime_sub(now, nst->st_sock_time)); in nst_seq_show()
124 send = ktime_to_us(ktime_sub(now, nst->st_send_time)); in nst_seq_show()
125 status = ktime_to_us(ktime_sub(now, nst->st_status_time)); in nst_seq_show()
/fs/ext4/
DKconfig15 filesystem is now handled by the ext4 driver.
24 filesystem is now handled by the ext4 driver.
32 filesystem is now handled by the ext4 driver.
/fs/cifs/
Dtransport.c96 unsigned long now; in _cifs_mid_q_entry_release() local
113 now = jiffies; in _cifs_mid_q_entry_release()
114 if (now < midEntry->when_alloc) in _cifs_mid_q_entry_release()
116 roundtrip_time = now - midEntry->when_alloc; in _cifs_mid_q_entry_release()
142 time_after(now, midEntry->when_alloc + (slow_rsp_threshold * HZ)) && in _cifs_mid_q_entry_release()
157 now - midEntry->when_alloc, in _cifs_mid_q_entry_release()
158 now - midEntry->when_sent, in _cifs_mid_q_entry_release()
159 now - midEntry->when_received); in _cifs_mid_q_entry_release()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c606 nfs4_ff_start_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) in nfs4_ff_start_busy_timer() argument
610 timer->start_time = now; in nfs4_ff_start_busy_timer()
615 nfs4_ff_end_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) in nfs4_ff_end_busy_timer() argument
623 timer->start_time = now; in nfs4_ff_end_busy_timer()
624 return ktime_sub(now, start); in nfs4_ff_end_busy_timer()
630 ktime_t now) in nfs4_ff_layoutstat_start_io() argument
635 nfs4_ff_start_busy_timer(&layoutstat->busy_timer, now); in nfs4_ff_layoutstat_start_io()
637 mirror->start_time = now; in nfs4_ff_layoutstat_start_io()
642 if (ktime_to_ms(ktime_sub(now, ffl->last_report_time)) >= in nfs4_ff_layoutstat_start_io()
644 ffl->last_report_time = now; in nfs4_ff_layoutstat_start_io()
[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.c1361 const struct timespec64 *now) in mctime_update_needed() argument
1363 if (!timespec64_equal(&inode->i_mtime, now) || in mctime_update_needed()
1364 !timespec64_equal(&inode->i_ctime, now)) in mctime_update_needed()
1421 struct timespec64 now = current_time(inode); in update_mctime() local
1425 if (mctime_update_needed(inode, &now)) { in update_mctime()
1520 struct timespec64 now = current_time(inode); in ubifs_vm_page_mkwrite() local
1549 update_time = mctime_update_needed(inode, &now); in ubifs_vm_page_mkwrite()
/fs/f2fs/
Dsegment.h768 time64_t diff, now = ktime_get_real_seconds(); in get_mtime() local
770 if (now >= sit_i->mounted_time) in get_mtime()
771 return sit_i->elapsed_time + now - sit_i->mounted_time; in get_mtime()
775 diff = sit_i->mounted_time - now; in get_mtime()
/fs/lockd/
Dhost.c115 unsigned long now = jiffies; in nlm_alloc_host() local
157 host->h_nextrebind = now + NLM_HOST_REBIND; in nlm_alloc_host()
158 host->h_expires = now + NLM_HOST_EXPIRE; in nlm_alloc_host()
/fs/squashfs/
DKconfig33 Squashfs now supports two options for decompressing file
36 Squashfs now supports the ability to decompress directly into
61 Squashfs now supports three parallelisation options for
/fs/jbd2/
Dcommit.c124 struct timespec64 now; in journal_submit_commit_record() local
137 ktime_get_coarse_real_ts64(&now); in journal_submit_commit_record()
138 tmp->h_commit_sec = cpu_to_be64(now.tv_sec); in journal_submit_commit_record()
139 tmp->h_commit_nsec = cpu_to_be32(now.tv_nsec); in journal_submit_commit_record()
/fs/reiserfs/
Djournal.c2908 time64_t now = ktime_get_seconds(); in journal_transaction_should_end() local
2916 (now - journal->j_trans_start_time) > journal->j_max_trans_age || in journal_transaction_should_end()
3017 time64_t now = ktime_get_seconds(); in do_journal_begin_r() local
3050 now = ktime_get_seconds(); in do_journal_begin_r()
3064 && (now - journal->j_trans_start_time) > in do_journal_begin_r()
3552 time64_t now; in reiserfs_flush_old_commits() local
3556 now = ktime_get_seconds(); in reiserfs_flush_old_commits()
3571 (now - journal->j_trans_start_time) > journal->j_max_trans_age) { in reiserfs_flush_old_commits()
3606 time64_t now; in check_journal_end() local
3687 now = ktime_get_seconds(); in check_journal_end()
[all …]
/fs/nfsd/
Dnfs4layouts.c657 ktime_t now, cutoff; in nfsd4_cb_layout_done() local
673 now = ktime_get(); in nfsd4_cb_layout_done()
680 if (ktime_before(now, cutoff)) { in nfsd4_cb_layout_done()
/fs/gfs2/
DKconfig24 The "nolock" lock module is now built in to GFS2 by default. If

123