Home
last modified time | relevance | path

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

123

/fs/btrfs/
Ddiscard.c178 u64 now) in find_next_block_group() argument
194 if (ret_block_group->discard_eligible_time < now) in find_next_block_group()
223 int *discard_index, u64 now) in peek_discard_list() argument
229 block_group = find_next_block_group(discard_ctl, now); in peek_discard_list()
231 if (block_group && now >= block_group->discard_eligible_time) { in peek_discard_list()
355 u64 now, bool override) in __btrfs_discard_schedule_work() argument
364 block_group = find_next_block_group(discard_ctl, now); in __btrfs_discard_schedule_work()
386 if (now < block_group->discard_eligible_time) { in __btrfs_discard_schedule_work()
387 u64 bg_timeout = block_group->discard_eligible_time - now; in __btrfs_discard_schedule_work()
393 u64 elapsed = now - discard_ctl->prev_discard_time; in __btrfs_discard_schedule_work()
[all …]
/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.c1038 struct timespec64 *now, in xfs_vn_update_time() argument
1052 return generic_update_time(inode, now, flags); in xfs_vn_update_time()
1064 inode->i_ctime = *now; in xfs_vn_update_time()
1066 inode->i_mtime = *now; in xfs_vn_update_time()
1068 inode->i_atime = *now; in xfs_vn_update_time()
/fs/fat/
Dmisc.c296 int fat_truncate_time(struct inode *inode, struct timespec64 *now, int flags) in fat_truncate_time() argument
304 if (now == NULL) { in fat_truncate_time()
305 now = &ts; in fat_truncate_time()
311 time64_t seconds = now->tv_sec - fat_tz_offset(sbi); in fat_truncate_time()
322 inode->i_ctime = fat_timespec64_trunc_10ms(*now); in fat_truncate_time()
324 inode->i_ctime = fat_timespec64_trunc_2secs(*now); in fat_truncate_time()
327 inode->i_mtime = fat_timespec64_trunc_2secs(*now); in fat_truncate_time()
333 int fat_update_time(struct inode *inode, struct timespec64 *now, int flags) in fat_update_time() argument
341 fat_truncate_time(inode, now, flags); in fat_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/afs/
Dcell.c399 time64_t now, expiry = 0; in afs_update_cell() local
437 now = ktime_get_real_seconds(); in afs_update_cell()
440 if (expiry < now + min_ttl) in afs_update_cell()
441 expiry = now + min_ttl; in afs_update_cell()
442 else if (expiry > now + max_ttl) in afs_update_cell()
443 expiry = now + max_ttl; in afs_update_cell()
460 cell->dns_expiry = now + 10; in afs_update_cell()
594 time64_t now, expire_delay; in afs_unuse_cell() local
602 now = ktime_get_real_seconds(); in afs_unuse_cell()
603 cell->last_inactive = now; in afs_unuse_cell()
[all …]
Dserver.c544 time64_t now = ktime_get_real_seconds(), next_manage = TIME64_MAX; in afs_manage_servers() local
574 if (purging || expire_at <= now) { in afs_manage_servers()
590 now = ktime_get_real_seconds(); in afs_manage_servers()
592 if (next_manage - now <= 0) { in afs_manage_servers()
596 afs_set_server_timer(net, next_manage - now); in afs_manage_servers()
/fs/jffs2/
Ddir.c233 uint32_t now = JFFS2_NOW(); in jffs2_unlink() local
236 dentry->d_name.len, dead_f, now); in jffs2_unlink()
240 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_unlink()
253 uint32_t now; in jffs2_link() local
266 now = JFFS2_NOW(); in jffs2_link()
267 …ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now in jffs2_link()
274 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_link()
596 uint32_t now = JFFS2_NOW(); in jffs2_rmdir() local
608 dentry->d_name.len, f, now); in jffs2_rmdir()
610 dir_i->i_mtime = dir_i->i_ctime = ITIME(now); in jffs2_rmdir()
[all …]
/fs/
Dinode.c1768 struct timespec64 now) in relatime_need_update() argument
1788 if ((long)(now.tv_sec - inode->i_atime.tv_sec) >= 24*60*60) in relatime_need_update()
1846 struct timespec64 now; in atime_needs_update() local
1867 now = current_time(inode); in atime_needs_update()
1869 if (!relatime_need_update(mnt, inode, now)) in atime_needs_update()
1872 if (timespec64_equal(&inode->i_atime, &now)) in atime_needs_update()
1882 struct timespec64 now; in touch_atime() local
1901 now = current_time(inode); in touch_atime()
1902 inode_update_time(inode, &now, S_ATIME); in touch_atime()
1994 struct timespec64 now; in file_update_time() local
[all …]
Dattr.c395 struct timespec64 now; in notify_change() local
427 now = current_time(inode); in notify_change()
429 attr->ia_ctime = now; in notify_change()
431 attr->ia_atime = now; in notify_change()
435 attr->ia_mtime = now; in notify_change()
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.c112 ktime_t now; in nst_seq_show() local
120 now = ktime_get(); in nst_seq_show()
121 sock = ktime_to_us(ktime_sub(now, nst->st_sock_time)); in nst_seq_show()
122 send = ktime_to_us(ktime_sub(now, nst->st_send_time)); in nst_seq_show()
123 status = ktime_to_us(ktime_sub(now, nst->st_status_time)); in nst_seq_show()
/fs/ext4/
DKconfig10 filesystem is now handled by the ext4 driver.
19 filesystem is now handled by the ext4 driver.
27 filesystem is now handled by the ext4 driver.
/fs/nfs/flexfilelayout/
Dflexfilelayout.c574 nfs4_ff_start_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) in nfs4_ff_start_busy_timer() argument
578 timer->start_time = now; in nfs4_ff_start_busy_timer()
583 nfs4_ff_end_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) in nfs4_ff_end_busy_timer() argument
591 timer->start_time = now; in nfs4_ff_end_busy_timer()
592 return ktime_sub(now, start); in nfs4_ff_end_busy_timer()
598 ktime_t now) in nfs4_ff_layoutstat_start_io() argument
603 nfs4_ff_start_busy_timer(&layoutstat->busy_timer, now); in nfs4_ff_layoutstat_start_io()
605 mirror->start_time = now; in nfs4_ff_layoutstat_start_io()
610 if (ktime_to_ms(ktime_sub(now, ffl->last_report_time)) >= in nfs4_ff_layoutstat_start_io()
612 ffl->last_report_time = now; in nfs4_ff_layoutstat_start_io()
[all …]
/fs/cifs/
Dtransport.c83 unsigned long now; in _cifs_mid_q_entry_release() local
100 now = jiffies; in _cifs_mid_q_entry_release()
101 if (now < midEntry->when_alloc) in _cifs_mid_q_entry_release()
103 roundtrip_time = now - midEntry->when_alloc; in _cifs_mid_q_entry_release()
129 time_after(now, midEntry->when_alloc + (slow_rsp_threshold * HZ)) && in _cifs_mid_q_entry_release()
144 now - midEntry->when_alloc, in _cifs_mid_q_entry_release()
145 now - midEntry->when_sent, in _cifs_mid_q_entry_release()
146 now - midEntry->when_received); in _cifs_mid_q_entry_release()
/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.c1364 const struct timespec64 *now) in mctime_update_needed() argument
1366 if (!timespec64_equal(&inode->i_mtime, now) || in mctime_update_needed()
1367 !timespec64_equal(&inode->i_ctime, now)) in mctime_update_needed()
1420 struct timespec64 now = current_time(inode); in update_mctime() local
1424 if (mctime_update_needed(inode, &now)) { in update_mctime()
1519 struct timespec64 now = current_time(inode); in ubifs_vm_page_mkwrite() local
1548 update_time = mctime_update_needed(inode, &now); in ubifs_vm_page_mkwrite()
/fs/f2fs/
Diostat.c25 time64_t now = ktime_get_real_seconds(); in iostat_info_seq_show() local
30 seq_printf(seq, "time: %-16llu\n", now); in iostat_info_seq_show()
Dsegment.h827 time64_t diff, now = ktime_get_boottime_seconds(); in get_mtime() local
829 if (now >= sit_i->mounted_time) in get_mtime()
830 return sit_i->elapsed_time + now - sit_i->mounted_time; in get_mtime()
834 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.c2919 time64_t now = ktime_get_seconds(); in journal_transaction_should_end() local
2927 (now - journal->j_trans_start_time) > journal->j_max_trans_age || in journal_transaction_should_end()
3028 time64_t now = ktime_get_seconds(); in do_journal_begin_r() local
3061 now = ktime_get_seconds(); in do_journal_begin_r()
3075 && (now - journal->j_trans_start_time) > in do_journal_begin_r()
3563 time64_t now; in reiserfs_flush_old_commits() local
3567 now = ktime_get_seconds(); in reiserfs_flush_old_commits()
3582 (now - journal->j_trans_start_time) > journal->j_max_trans_age) { in reiserfs_flush_old_commits()
3617 time64_t now; in check_journal_end() local
3698 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()

123