/fs/autofs/ |
D | expire.c | 12 unsigned long timeout, unsigned int how) in autofs_can_expire() argument 22 if (!timeout || time_after(ino->last_used + timeout, jiffies)) in autofs_can_expire() 152 unsigned long timeout, in autofs_direct_busy() argument 172 if (!autofs_can_expire(top, timeout, how)) in autofs_direct_busy() 184 unsigned long timeout, in autofs_tree_busy() argument 235 if (!autofs_can_expire(top, timeout, how)) in autofs_tree_busy() 243 unsigned long timeout, in autofs_check_leaves() argument 266 if (autofs_can_expire(p, timeout, how)) in autofs_check_leaves() 281 unsigned long timeout; in autofs_expire_direct() local 286 timeout = sbi->exp_timeout; in autofs_expire_direct() [all …]
|
D | dev-ioctl.c | 404 unsigned long timeout; in autofs_dev_ioctl_timeout() local 406 timeout = param->timeout.timeout; in autofs_dev_ioctl_timeout() 407 param->timeout.timeout = sbi->exp_timeout / HZ; in autofs_dev_ioctl_timeout() 408 sbi->exp_timeout = timeout * HZ; in autofs_dev_ioctl_timeout()
|
/fs/orangefs/ |
D | waitqueue.c | 21 long timeout, 69 long timeout = MAX_SCHEDULE_TIMEOUT; in service_operation() local 137 timeout = 0; in service_operation() 139 timeout = op_timeout_secs * HZ; in service_operation() 146 ret = wait_for_matching_downcall(op, timeout, flags); in service_operation() 179 timeout = op_timeout_secs * HZ; in service_operation() 319 long timeout, in wait_for_matching_downcall() argument 334 n = wait_for_completion_io_timeout(&op->waitq, timeout); in wait_for_matching_downcall() 337 timeout); in wait_for_matching_downcall() 339 n = wait_for_completion_killable_timeout(&op->waitq, timeout); in wait_for_matching_downcall()
|
D | xattr.c | 128 if (cx && time_before(jiffies, cx->timeout)) { in orangefs_inode_getxattr() 176 cx->timeout = jiffies + in orangefs_inode_getxattr() 224 cx->timeout = jiffies + HZ; in orangefs_inode_getxattr() 231 cx->timeout = jiffies + HZ; in orangefs_inode_getxattr()
|
/fs/nfs/ |
D | nfs4renewd.c | 116 long timeout; in nfs4_schedule_state_renewal() local 119 timeout = (2 * clp->cl_lease_time) / 3 + (long)clp->cl_last_renewal in nfs4_schedule_state_renewal() 121 if (timeout < 5 * HZ) in nfs4_schedule_state_renewal() 122 timeout = 5 * HZ; in nfs4_schedule_state_renewal() 124 __func__, (timeout + HZ - 1) / HZ); in nfs4_schedule_state_renewal() 125 mod_delayed_work(system_wq, &clp->cl_renewd, timeout); in nfs4_schedule_state_renewal()
|
D | namespace.c | 152 int timeout = READ_ONCE(nfs_mountpoint_expiry_timeout); in nfs_d_automount() local 199 if (timeout <= 0) in nfs_d_automount() 203 schedule_delayed_work(&nfs_automount_task, timeout); in nfs_d_automount() 244 int timeout = READ_ONCE(nfs_mountpoint_expiry_timeout); in nfs_expire_automounts() local 247 if (!list_empty(list) && timeout > 0) in nfs_expire_automounts() 248 schedule_delayed_work(&nfs_automount_task, timeout); in nfs_expire_automounts()
|
D | nfs4proc.c | 411 static long nfs4_update_delay(long *timeout) in nfs4_update_delay() argument 414 if (!timeout) in nfs4_update_delay() 416 if (*timeout <= 0) in nfs4_update_delay() 417 *timeout = NFS4_POLL_RETRY_MIN; in nfs4_update_delay() 418 if (*timeout > NFS4_POLL_RETRY_MAX) in nfs4_update_delay() 419 *timeout = NFS4_POLL_RETRY_MAX; in nfs4_update_delay() 420 ret = *timeout; in nfs4_update_delay() 421 *timeout <<= 1; in nfs4_update_delay() 425 static int nfs4_delay_killable(long *timeout) in nfs4_delay_killable() argument 430 nfs4_update_delay(timeout)); in nfs4_delay_killable() [all …]
|
D | mount_clnt.c | 163 .timeout = &mnt_timeout, in nfs_mount() 250 .timeout = &nfs_umnt_timeout, in nfs_umount()
|
D | nfs4session.h | 89 unsigned long timeout);
|
D | nfs4session.c | 224 unsigned long timeout) in nfs4_slot_wait_on_seqid() argument 228 timeout) == 0) in nfs4_slot_wait_on_seqid()
|
D | nfs4_fs.h | 209 long timeout; member 291 struct nfs4_state *state, long *timeout);
|
/fs/ |
D | eventpoll.c | 1783 int maxevents, struct timespec64 *timeout) in ep_poll() argument 1792 if (timeout && (timeout->tv_sec | timeout->tv_nsec)) { in ep_poll() 1793 slack = select_estimate_accuracy(timeout); in ep_poll() 1795 *to = timespec64_to_ktime(*timeout); in ep_poll() 1796 } else if (timeout) { in ep_poll() 2264 int, maxevents, int, timeout) in SYSCALL_DEFINE4() argument 2269 ep_timeout_to_timespec(&to, timeout)); in SYSCALL_DEFINE4() 2298 int, maxevents, int, timeout, const sigset_t __user *, sigmask, in SYSCALL_DEFINE6() argument 2304 ep_timeout_to_timespec(&to, timeout), in SYSCALL_DEFINE6() 2309 int, maxevents, const struct __kernel_timespec __user *, timeout, in SYSCALL_DEFINE6() argument [all …]
|
D | aio.c | 2205 struct __kernel_timespec __user *, timeout) in SYSCALL_DEFINE5() argument 2210 if (timeout && unlikely(get_timespec64(&ts, timeout))) in SYSCALL_DEFINE5() 2213 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); in SYSCALL_DEFINE5() 2231 struct __kernel_timespec __user *, timeout, in SYSCALL_DEFINE6() argument 2239 if (timeout && unlikely(get_timespec64(&ts, timeout))) in SYSCALL_DEFINE6() 2249 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); in SYSCALL_DEFINE6() 2266 struct old_timespec32 __user *, timeout, in SYSCALL_DEFINE6() argument 2274 if (timeout && unlikely(get_old_timespec32(&ts, timeout))) in SYSCALL_DEFINE6() 2285 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); in SYSCALL_DEFINE6() 2303 struct old_timespec32 __user *, timeout) in SYSCALL_DEFINE5() argument [all …]
|
/fs/ceph/ |
D | quota.c | 105 qri->timeout = 0; in find_quotarealm_inode() 143 if (qri->timeout && in lookup_quotarealm_inode() 144 time_before_eq(jiffies, qri->timeout)) { in lookup_quotarealm_inode() 163 qri->timeout = jiffies + msecs_to_jiffies(60 * 1000); /* XXX */ in lookup_quotarealm_inode() 165 qri->timeout = 0; in lookup_quotarealm_inode()
|
/fs/ecryptfs/ |
D | messaging.c | 329 signed long timeout = ecryptfs_message_wait_timeout * HZ; in ecryptfs_wait_for_response() local 333 timeout = schedule_timeout_interruptible(timeout); in ecryptfs_wait_for_response() 337 if (timeout) { in ecryptfs_wait_for_response()
|
/fs/lockd/ |
D | svclock.c | 905 unsigned long timeout; in nlmsvc_grant_callback() local 926 timeout = 10 * HZ; in nlmsvc_grant_callback() 929 timeout = 60 * HZ; in nlmsvc_grant_callback() 931 nlmsvc_insert_block_locked(block, timeout); in nlmsvc_grant_callback() 1004 unsigned long timeout = MAX_SCHEDULE_TIMEOUT; in nlmsvc_retry_blocked() local 1014 timeout = block->b_when - jiffies; in nlmsvc_retry_blocked() 1031 return timeout; in nlmsvc_retry_blocked()
|
D | svc.c | 155 long timeout = MAX_SCHEDULE_TIMEOUT; in lockd() local 167 timeout = nlmsvc_retry_blocked(); in lockd() 173 err = svc_recv(rqstp, timeout); in lockd() 671 param_set_min_max(timeout, unsigned long, simple_strtoul,
|
D | clntlock.c | 131 int nlmclnt_block(struct nlm_wait *block, struct nlm_rqst *req, long timeout) in nlmclnt_block() argument 151 timeout); in nlmclnt_block()
|
/fs/xfs/ |
D | xfs_sysfs.c | 461 int timeout; in retry_timeout_seconds_show() local 465 timeout = -1; in retry_timeout_seconds_show() 467 timeout = jiffies_to_msecs(cfg->retry_timeout) / MSEC_PER_SEC; in retry_timeout_seconds_show() 469 return snprintf(buf, PAGE_SIZE, "%d\n", timeout); in retry_timeout_seconds_show()
|
D | xfs_dquot.h | 250 time64_t xfs_dquot_set_timeout(struct xfs_mount *mp, time64_t timeout);
|
/fs/dlm/ |
D | user.c | 42 __u64 timeout; member 110 kb->i.lock.timeout = kb32->i.lock.timeout; in compat_input() 268 (unsigned long) params->timeout); in device_user_lock() 273 (unsigned long) params->timeout, in device_user_lock() 281 (unsigned long) params->timeout); in device_user_lock()
|
/fs/cachefiles/ |
D | namei.c | 197 signed long timeout = 60 * HZ; in cachefiles_mark_object_active() local 220 requeue = fscache_object_sleep_till_congested(&timeout); in cachefiles_mark_object_active() 221 } while (timeout > 0 && !requeue); in cachefiles_mark_object_active() 232 if (timeout <= 0) { in cachefiles_mark_object_active()
|
/fs/cifs/ |
D | transport.c | 513 const int timeout, const int flags, in wait_for_free_credits() argument 522 if (timeout < 0) in wait_for_free_credits() 525 t = msecs_to_jiffies(timeout); in wait_for_free_credits() 575 timeout); in wait_for_free_credits() 623 timeout); in wait_for_free_credits()
|
/fs/ocfs2/dlm/ |
D | dlmrecovery.c | 281 unsigned long timeout = msecs_to_jiffies(DLM_RECO_THREAD_TIMEOUT_MS); in dlm_recovery_thread() local 298 timeout); in dlm_recovery_thread() 338 void dlm_wait_for_node_death(struct dlm_ctxt *dlm, u8 node, int timeout) in dlm_wait_for_node_death() argument 346 if (timeout) in dlm_wait_for_node_death() 349 msecs_to_jiffies(timeout)); in dlm_wait_for_node_death() 355 void dlm_wait_for_node_recovery(struct dlm_ctxt *dlm, u8 node, int timeout) in dlm_wait_for_node_recovery() argument 363 if (timeout) in dlm_wait_for_node_recovery() 366 msecs_to_jiffies(timeout)); in dlm_wait_for_node_recovery()
|
/fs/ksmbd/ |
D | vfs.h | 180 int ksmbd_vfs_posix_lock_wait_timeout(struct file_lock *flock, long timeout);
|