Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 49) sorted by relevance

12

/fs/autofs/
Dexpire.c12 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 …]
Ddev-ioctl.c404 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/
Dwaitqueue.c21 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()
Dxattr.c128 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/
Dnfs4renewd.c116 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()
Dnamespace.c152 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()
Dnfs4proc.c407 static long nfs4_update_delay(long *timeout) in nfs4_update_delay() argument
410 if (!timeout) in nfs4_update_delay()
412 if (*timeout <= 0) in nfs4_update_delay()
413 *timeout = NFS4_POLL_RETRY_MIN; in nfs4_update_delay()
414 if (*timeout > NFS4_POLL_RETRY_MAX) in nfs4_update_delay()
415 *timeout = NFS4_POLL_RETRY_MAX; in nfs4_update_delay()
416 ret = *timeout; in nfs4_update_delay()
417 *timeout <<= 1; in nfs4_update_delay()
421 static int nfs4_delay_killable(long *timeout) in nfs4_delay_killable() argument
426 schedule_timeout(nfs4_update_delay(timeout)); in nfs4_delay_killable()
[all …]
Dmount_clnt.c163 .timeout = &mnt_timeout, in nfs_mount()
250 .timeout = &nfs_umnt_timeout, in nfs_umount()
Dnfs4session.h90 unsigned long timeout);
Dnfs4session.c224 unsigned long timeout) in nfs4_slot_wait_on_seqid() argument
228 timeout) == 0) in nfs4_slot_wait_on_seqid()
Dnfs4_fs.h209 long timeout; member
290 struct nfs4_state *state, long *timeout);
/fs/
Deventpoll.c1841 int maxevents, struct timespec64 *timeout) in ep_poll() argument
1850 if (timeout && (timeout->tv_sec | timeout->tv_nsec)) { in ep_poll()
1851 slack = select_estimate_accuracy(timeout); in ep_poll()
1853 *to = timespec64_to_ktime(*timeout); in ep_poll()
1854 } else if (timeout) { in ep_poll()
2328 int, maxevents, int, timeout) in SYSCALL_DEFINE4() argument
2333 ep_timeout_to_timespec(&to, timeout)); in SYSCALL_DEFINE4()
2362 int, maxevents, int, timeout, const sigset_t __user *, sigmask, in SYSCALL_DEFINE6() argument
2368 ep_timeout_to_timespec(&to, timeout), in SYSCALL_DEFINE6()
2373 int, maxevents, const struct __kernel_timespec __user *, timeout, in SYSCALL_DEFINE6() argument
[all …]
Daio.c2233 struct __kernel_timespec __user *, timeout) in SYSCALL_DEFINE5() argument
2238 if (timeout && unlikely(get_timespec64(&ts, timeout))) in SYSCALL_DEFINE5()
2241 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); in SYSCALL_DEFINE5()
2259 struct __kernel_timespec __user *, timeout, in SYSCALL_DEFINE6() argument
2267 if (timeout && unlikely(get_timespec64(&ts, timeout))) in SYSCALL_DEFINE6()
2277 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); in SYSCALL_DEFINE6()
2294 struct old_timespec32 __user *, timeout, in SYSCALL_DEFINE6() argument
2302 if (timeout && unlikely(get_old_timespec32(&ts, timeout))) in SYSCALL_DEFINE6()
2313 ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); in SYSCALL_DEFINE6()
2331 struct old_timespec32 __user *, timeout) in SYSCALL_DEFINE5() argument
[all …]
/fs/ecryptfs/
Dmessaging.c329 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/ceph/
Dquota.c108 qri->timeout = 0; in find_quotarealm_inode()
146 if (qri->timeout && in lookup_quotarealm_inode()
147 time_before_eq(jiffies, qri->timeout)) { in lookup_quotarealm_inode()
166 qri->timeout = jiffies + msecs_to_jiffies(60 * 1000); /* XXX */ in lookup_quotarealm_inode()
168 qri->timeout = 0; in lookup_quotarealm_inode()
/fs/lockd/
Dsvclock.c899 unsigned long timeout; in nlmsvc_grant_callback() local
920 timeout = 10 * HZ; in nlmsvc_grant_callback()
923 timeout = 60 * HZ; in nlmsvc_grant_callback()
925 nlmsvc_insert_block_locked(block, timeout); in nlmsvc_grant_callback()
998 unsigned long timeout = MAX_SCHEDULE_TIMEOUT; in nlmsvc_retry_blocked() local
1008 timeout = block->b_when - jiffies; in nlmsvc_retry_blocked()
1025 return timeout; in nlmsvc_retry_blocked()
Dsvc.c151 long timeout = MAX_SCHEDULE_TIMEOUT; in lockd() local
163 timeout = nlmsvc_retry_blocked(); in lockd()
169 err = svc_recv(rqstp, timeout); in lockd()
584 param_set_min_max(timeout, unsigned long, simple_strtoul,
Dclntlock.c131 int nlmclnt_block(struct nlm_wait *block, struct nlm_rqst *req, long timeout) in nlmclnt_block() argument
151 timeout); in nlmclnt_block()
/fs/xfs/
Dxfs_sysfs.c489 int timeout; in retry_timeout_seconds_show() local
493 timeout = -1; in retry_timeout_seconds_show()
495 timeout = jiffies_to_msecs(cfg->retry_timeout) / MSEC_PER_SEC; in retry_timeout_seconds_show()
497 return sysfs_emit(buf, "%d\n", timeout); in retry_timeout_seconds_show()
Dxfs_dquot.h242 time64_t xfs_dquot_set_timeout(struct xfs_mount *mp, time64_t timeout);
/fs/dlm/
Duser.c44 __u64 timeout; member
112 kb->i.lock.timeout = kb32->i.lock.timeout; in compat_input()
256 if (params->timeout) in device_user_lock()
279 (unsigned long) params->timeout); in device_user_lock()
297 (unsigned long) params->timeout); in device_user_lock()
DKconfig16 Enables deprecated DLM timeout features that will be removed in
/fs/smb/client/
Dtransport.c509 const int timeout, const int flags, in wait_for_free_credits() argument
518 if (timeout < 0) in wait_for_free_credits()
521 t = msecs_to_jiffies(timeout); in wait_for_free_credits()
581 timeout); in wait_for_free_credits()
624 timeout); in wait_for_free_credits()
/fs/ocfs2/dlm/
Ddlmrecovery.c281 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/smb/server/
Dvfs.h141 int ksmbd_vfs_posix_lock_wait_timeout(struct file_lock *flock, long timeout);

12