/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 | 403 unsigned long timeout; in autofs_dev_ioctl_timeout() local 405 timeout = param->timeout.timeout; in autofs_dev_ioctl_timeout() 406 param->timeout.timeout = sbi->exp_timeout / HZ; in autofs_dev_ioctl_timeout() 407 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()
|
D | orangefs-kernel.h | 232 unsigned long timeout; member
|
/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() 241 int timeout = READ_ONCE(nfs_mountpoint_expiry_timeout); in nfs_expire_automounts() local 244 if (!list_empty(list) && timeout > 0) in nfs_expire_automounts() 245 schedule_delayed_work(&nfs_automount_task, timeout); in nfs_expire_automounts()
|
D | nfs4proc.c | 413 static long nfs4_update_delay(long *timeout) in nfs4_update_delay() argument 416 if (!timeout) in nfs4_update_delay() 418 if (*timeout <= 0) in nfs4_update_delay() 419 *timeout = NFS4_POLL_RETRY_MIN; in nfs4_update_delay() 420 if (*timeout > NFS4_POLL_RETRY_MAX) in nfs4_update_delay() 421 *timeout = NFS4_POLL_RETRY_MAX; in nfs4_update_delay() 422 ret = *timeout; in nfs4_update_delay() 423 *timeout <<= 1; in nfs4_update_delay() 427 static int nfs4_delay_killable(long *timeout) in nfs4_delay_killable() argument 432 nfs4_update_delay(timeout)); in nfs4_delay_killable() [all …]
|
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 | aio.c | 2213 struct __kernel_timespec __user *, timeout) in SYSCALL_DEFINE5() argument 2218 if (timeout && unlikely(get_timespec64(&ts, timeout))) in SYSCALL_DEFINE5() 2221 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); in SYSCALL_DEFINE5() 2239 struct __kernel_timespec __user *, timeout, in SYSCALL_DEFINE6() argument 2247 if (timeout && unlikely(get_timespec64(&ts, timeout))) in SYSCALL_DEFINE6() 2257 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); in SYSCALL_DEFINE6() 2274 struct old_timespec32 __user *, timeout, in SYSCALL_DEFINE6() argument 2282 if (timeout && unlikely(get_old_timespec32(&ts, timeout))) in SYSCALL_DEFINE6() 2293 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); in SYSCALL_DEFINE6() 2311 struct old_timespec32 __user *, timeout) in SYSCALL_DEFINE5() argument [all …]
|
D | eventpoll.c | 1854 int maxevents, long timeout) in ep_poll() argument 1863 if (timeout > 0) { in ep_poll() 1864 struct timespec64 end_time = ep_set_mstimeout(timeout); in ep_poll() 1869 } else if (timeout == 0) { in ep_poll() 2338 int maxevents, int timeout) in do_epoll_wait() argument 2372 error = ep_poll(ep, events, maxevents, timeout); in do_epoll_wait() 2380 int, maxevents, int, timeout) in SYSCALL_DEFINE4() argument 2382 return do_epoll_wait(epfd, events, maxevents, timeout); in SYSCALL_DEFINE4() 2390 int, maxevents, int, timeout, const sigset_t __user *, sigmask, in SYSCALL_DEFINE6() argument 2403 error = do_epoll_wait(epfd, events, maxevents, timeout); in SYSCALL_DEFINE6() [all …]
|
/fs/ecryptfs/ |
D | messaging.c | 327 signed long timeout = ecryptfs_message_wait_timeout * HZ; in ecryptfs_wait_for_response() local 331 timeout = schedule_timeout_interruptible(timeout); in ecryptfs_wait_for_response() 335 if (timeout) { in ecryptfs_wait_for_response()
|
/fs/ceph/ |
D | quota.c | 106 qri->timeout = 0; in find_quotarealm_inode() 144 if (qri->timeout && in lookup_quotarealm_inode() 145 time_before_eq(jiffies, qri->timeout)) { in lookup_quotarealm_inode() 164 qri->timeout = jiffies + msecs_to_jiffies(60 * 1000); /* XXX */ in lookup_quotarealm_inode() 166 qri->timeout = 0; in lookup_quotarealm_inode()
|
/fs/lockd/ |
D | svclock.c | 885 unsigned long timeout; in nlmsvc_grant_callback() local 906 timeout = 10 * HZ; in nlmsvc_grant_callback() 909 timeout = 60 * HZ; in nlmsvc_grant_callback() 911 nlmsvc_insert_block_locked(block, timeout); in nlmsvc_grant_callback() 984 unsigned long timeout = MAX_SCHEDULE_TIMEOUT; in nlmsvc_retry_blocked() local 994 timeout = block->b_when - jiffies; in nlmsvc_retry_blocked() 1011 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() 669 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 | 460 int timeout; in retry_timeout_seconds_show() local 464 timeout = -1; in retry_timeout_seconds_show() 466 timeout = jiffies_to_msecs(cfg->retry_timeout) / MSEC_PER_SEC; in retry_timeout_seconds_show() 468 return snprintf(buf, PAGE_SIZE, "%d\n", timeout); in retry_timeout_seconds_show()
|
D | xfs_dquot.h | 240 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 | 524 const int timeout, const int flags, in wait_for_free_credits() argument 532 if (timeout < 0) in wait_for_free_credits() 535 t = msecs_to_jiffies(timeout); in wait_for_free_credits() 569 timeout); in wait_for_free_credits() 611 timeout); in wait_for_free_credits()
|
/fs/ocfs2/dlm/ |
D | dlmrecovery.c | 290 unsigned long timeout = msecs_to_jiffies(DLM_RECO_THREAD_TIMEOUT_MS); in dlm_recovery_thread() local 307 timeout); in dlm_recovery_thread() 347 void dlm_wait_for_node_death(struct dlm_ctxt *dlm, u8 node, int timeout) in dlm_wait_for_node_death() argument 355 if (timeout) in dlm_wait_for_node_death() 358 msecs_to_jiffies(timeout)); in dlm_wait_for_node_death() 364 void dlm_wait_for_node_recovery(struct dlm_ctxt *dlm, u8 node, int timeout) in dlm_wait_for_node_recovery() argument 372 if (timeout) in dlm_wait_for_node_recovery() 375 msecs_to_jiffies(timeout)); in dlm_wait_for_node_recovery()
|
D | dlmthread.c | 686 unsigned long timeout = msecs_to_jiffies(DLM_THREAD_TIMEOUT_MS); in dlm_thread() local 806 timeout); in dlm_thread()
|