Home
last modified time | relevance | path

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

123

/fs/btrfs/
Ddiscard.c195 u64 now) in find_next_block_group() argument
211 if (ret_block_group->discard_eligible_time < now) in find_next_block_group()
240 int *discard_index, u64 now) in peek_discard_list() argument
246 block_group = find_next_block_group(discard_ctl, now); in peek_discard_list()
248 if (block_group && now >= block_group->discard_eligible_time) { in peek_discard_list()
376 u64 now, bool override) in __btrfs_discard_schedule_work() argument
385 block_group = find_next_block_group(discard_ctl, now); in __btrfs_discard_schedule_work()
407 if (now < block_group->discard_eligible_time) { in __btrfs_discard_schedule_work()
408 u64 bg_timeout = block_group->discard_eligible_time - now; in __btrfs_discard_schedule_work()
414 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.c1044 struct timespec64 now; in xfs_vn_update_time() local
1065 now = inode_set_ctime_current(inode); in xfs_vn_update_time()
1067 now = current_time(inode); in xfs_vn_update_time()
1070 inode->i_mtime = now; in xfs_vn_update_time()
1072 inode->i_atime = now; in xfs_vn_update_time()
/fs/jffs2/
Ddir.c234 uint32_t now = JFFS2_NOW(); in jffs2_unlink() local
237 dentry->d_name.len, dead_f, now); in jffs2_unlink()
241 dir_i->i_mtime = inode_set_ctime_to_ts(dir_i, ITIME(now)); in jffs2_unlink()
254 uint32_t now; in jffs2_link() local
267 now = JFFS2_NOW(); in jffs2_link()
268 …ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now in jffs2_link()
275 dir_i->i_mtime = inode_set_ctime_to_ts(dir_i, ITIME(now)); in jffs2_link()
599 uint32_t now = JFFS2_NOW(); in jffs2_rmdir() local
611 dentry->d_name.len, f, now); in jffs2_rmdir()
613 dir_i->i_mtime = inode_set_ctime_to_ts(dir_i, ITIME(now)); in jffs2_rmdir()
[all …]
/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.c548 time64_t now = ktime_get_real_seconds(), next_manage = TIME64_MAX; in afs_manage_servers() local
578 if (purging || expire_at <= now) { in afs_manage_servers()
594 now = ktime_get_real_seconds(); in afs_manage_servers()
596 if (next_manage - now <= 0) { in afs_manage_servers()
600 afs_set_server_timer(net, next_manage - now); in afs_manage_servers()
/fs/xfs/scrub/
Dstats.h35 u64 now = xchk_stats_now(); in xchk_stats_elapsed_ns() local
42 if (now == since) in xchk_stats_elapsed_ns()
45 return now - since; in xchk_stats_elapsed_ns()
/fs/
Dinode.c1886 struct timespec64 now) in relatime_need_update() argument
1908 if ((long)(now.tv_sec - inode->i_atime.tv_sec) >= 24*60*60) in relatime_need_update()
1935 struct timespec64 now; in inode_update_timestamps() local
1940 now = inode_set_ctime_current(inode); in inode_update_timestamps()
1941 if (!timespec64_equal(&now, &ctime)) in inode_update_timestamps()
1943 if (!timespec64_equal(&now, &inode->i_mtime)) { in inode_update_timestamps()
1944 inode->i_mtime = now; in inode_update_timestamps()
1950 now = current_time(inode); in inode_update_timestamps()
1954 if (!timespec64_equal(&now, &inode->i_atime)) { in inode_update_timestamps()
1955 inode->i_atime = now; in inode_update_timestamps()
[all …]
Dattr.c387 struct timespec64 now; in notify_change() local
419 now = current_time(inode); in notify_change()
421 attr->ia_ctime = now; in notify_change()
423 attr->ia_atime = now; in notify_change()
427 attr->ia_mtime = now; in notify_change()
Dselect.c79 struct timespec64 now; in select_estimate_accuracy() local
88 ktime_get_ts64(&now); in select_estimate_accuracy()
89 now = timespec64_sub(*tv, now); in select_estimate_accuracy()
90 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/fat/
Dmisc.c314 int fat_truncate_time(struct inode *inode, struct timespec64 *now, int flags) in fat_truncate_time() argument
322 if (now == NULL) { in fat_truncate_time()
323 now = &ts; in fat_truncate_time()
328 inode->i_atime = fat_truncate_atime(sbi, now); in fat_truncate_time()
336 fat_truncate_mtime(sbi, now)); in fat_truncate_time()
/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.c580 nfs4_ff_start_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) in nfs4_ff_start_busy_timer() argument
584 timer->start_time = now; in nfs4_ff_start_busy_timer()
589 nfs4_ff_end_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) in nfs4_ff_end_busy_timer() argument
597 timer->start_time = now; in nfs4_ff_end_busy_timer()
598 return ktime_sub(now, start); in nfs4_ff_end_busy_timer()
604 ktime_t now) in nfs4_ff_layoutstat_start_io() argument
609 nfs4_ff_start_busy_timer(&layoutstat->busy_timer, now); in nfs4_ff_layoutstat_start_io()
611 mirror->start_time = now; in nfs4_ff_layoutstat_start_io()
616 if (ktime_to_ms(ktime_sub(now, ffl->last_report_time)) >= in nfs4_ff_layoutstat_start_io()
618 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.c1360 const struct timespec64 *now) in mctime_update_needed() argument
1364 if (!timespec64_equal(&inode->i_mtime, now) || in mctime_update_needed()
1365 !timespec64_equal(&ctime, now)) in mctime_update_needed()
1413 struct timespec64 now = current_time(inode); in update_mctime() local
1417 if (mctime_update_needed(inode, &now)) { in update_mctime()
1498 struct timespec64 now = current_time(inode); in ubifs_vm_page_mkwrite() local
1527 update_time = mctime_update_needed(inode, &now); in ubifs_vm_page_mkwrite()
/fs/smb/client/
Dtransport.c86 unsigned long now; in __release_mid() local
104 now = jiffies; in __release_mid()
105 if (now < midEntry->when_alloc) in __release_mid()
107 roundtrip_time = now - midEntry->when_alloc; in __release_mid()
133 time_after(now, midEntry->when_alloc + (slow_rsp_threshold * HZ)) && in __release_mid()
148 now - midEntry->when_alloc, in __release_mid()
149 now - midEntry->when_sent, in __release_mid()
150 now - midEntry->when_received); in __release_mid()
/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/nfsd/
Dnfssvc.c368 struct timespec64 now; in nfsd_reset_write_verifier_locked() local
375 ktime_get_raw_ts64(&now); in nfsd_reset_write_verifier_locked()
376 verf = siphash_2u64(now.tv_sec, now.tv_nsec, &nn->siphash_key); in nfsd_reset_write_verifier_locked()
/fs/erofs/
DKconfig98 LZMA support is an experimental feature for now and so most file
113 DEFLATE support is an experimental feature for now and so most
/fs/jbd2/
Dcommit.c121 struct timespec64 now; in journal_submit_commit_record() local
135 ktime_get_coarse_real_ts64(&now); in journal_submit_commit_record()
136 tmp->h_commit_sec = cpu_to_be64(now.tv_sec); in journal_submit_commit_record()
137 tmp->h_commit_nsec = cpu_to_be32(now.tv_nsec); in journal_submit_commit_record()
/fs/f2fs/
Dsegment.h849 time64_t diff, now = ktime_get_boottime_seconds(); in get_mtime() local
851 if (now >= sit_i->mounted_time) in get_mtime()
852 return sit_i->elapsed_time + now - sit_i->mounted_time; in get_mtime()
856 diff = sit_i->mounted_time - now; in get_mtime()
/fs/squashfs/
DKconfig33 Squashfs now supports two options for decompressing file
36 Squashfs now supports the ability to decompress directly into
87 Squashfs now supports three parallelisation options for

123