Searched refs:timeo (Results 1 - 25 of 111) sorted by relevance

12345

/linux-master/net/sunrpc/
H A Dtimer.c32 * @timeo: initial timeout value, in jiffies
35 void rpc_init_rtt(struct rpc_rtt *rt, unsigned long timeo) argument
40 rt->timeo = timeo;
42 if (timeo > RPC_RTO_INIT)
43 init = (timeo - RPC_RTO_INIT) << 3;
108 * other - timeo
115 return rt->timeo;
/linux-master/include/linux/sunrpc/
H A Dtimer.h16 unsigned long timeo; /* default timeout value */ member in struct:rpc_rtt
23 extern void rpc_init_rtt(struct rpc_rtt *rt, unsigned long timeo);
/linux-master/net/smc/
H A Dsmc_rx.h24 int smc_rx_wait(struct smc_sock *smc, long *timeo,
H A Dsmc_rx.c249 * @timeo pointer to max seconds to wait, pointer to value 0 for no timeout
255 int smc_rx_wait(struct smc_sock *smc, long *timeo, argument
269 rc = sk_wait_event(sk, timeo,
356 long timeo; local
368 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT);
402 !timeo ||
420 if (!timeo)
423 read_done = sock_intr_errno(timeo);
429 smc_rx_wait(smc, &timeo, smc_rx_data_available);
443 smc_rx_wait(smc, &timeo, fun
[all...]
/linux-master/arch/x86/platform/olpc/
H A Dolpc.c65 unsigned int timeo; local
68 for (timeo = ec_timeout; state != desired && timeo; timeo--) {
74 timeo < (ec_timeout - EC_BASE_TIMEOUT)) {
76 line, ec_timeout - timeo);
85 unsigned int timeo; local
88 for (timeo = ec_timeout; state != desired && timeo; timeo
[all...]
/linux-master/include/net/
H A Dinet_timewait_sock.h99 void __inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo,
102 static inline void inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo) argument
104 __inet_twsk_schedule(tw, timeo, false);
107 static inline void inet_twsk_reschedule(struct inet_timewait_sock *tw, int timeo) argument
109 __inet_twsk_schedule(tw, timeo, true);
/linux-master/net/ipv4/
H A Dudp_bpf.c39 long timeo)
47 if (!timeo)
54 wait_woken(&wait, TASK_INTERRUPTIBLE, timeo);
86 long timeo; local
89 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT);
90 data = udp_msg_wait_data(sk, psock, timeo);
38 udp_msg_wait_data(struct sock *sk, struct sk_psock *psock, long timeo) argument
H A Dtcp_bpf.c179 long timeo)
187 if (!timeo)
192 ret = sk_wait_event(sk, &timeo,
279 long timeo; local
298 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT);
299 if (!timeo) {
305 copied = sock_intr_errno(timeo);
309 data = tcp_msg_wait_data(sk, psock, timeo);
355 long timeo; local
358 timeo
178 tcp_msg_wait_data(struct sock *sk, struct sk_psock *psock, long timeo) argument
500 long timeo; local
[all...]
H A Dinet_timewait_sock.c226 void __inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo, bool rearm) argument
254 bool kill = timeo <= 4*HZ;
258 BUG_ON(mod_timer(&tw->tw_timer, jiffies + timeo));
261 mod_timer_pending(&tw->tw_timer, jiffies + timeo);
/linux-master/include/uapi/linux/
H A Dnfs4_mount.h32 int timeo; /* 1 */ member in struct:nfs4_mount_data
H A Dnfs_mount.h34 int timeo; /* 1 */ member in struct:nfs_mount_data
/linux-master/drivers/mtd/nand/raw/
H A Dnand_legacy.c169 * @timeo: Timeout
174 static void panic_nand_wait_ready(struct nand_chip *chip, unsigned long timeo) argument
179 for (i = 0; i < timeo; i++) {
196 unsigned long timeo = 400; local
199 return panic_nand_wait_ready(chip, timeo);
202 timeo = jiffies + msecs_to_jiffies(timeo);
207 } while (time_before(jiffies, timeo));
217 * @timeo: Timeout in ms
221 static void nand_wait_status_ready(struct nand_chip *chip, unsigned long timeo) argument
536 unsigned long timeo = 400; local
[all...]
/linux-master/net/bluetooth/
H A Daf_bluetooth.c353 static long bt_sock_data_wait(struct sock *sk, long timeo) argument
367 if (signal_pending(current) || !timeo)
372 timeo = schedule_timeout(timeo);
379 return timeo;
388 long timeo; local
398 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT);
416 if (!timeo)
419 timeo = bt_sock_data_wait(sk, timeo);
586 bt_sock_wait_state(struct sock *sk, int state, unsigned long timeo) argument
625 unsigned long timeo; local
[all...]
/linux-master/net/caif/
H A Dcaif_socket.c305 static long caif_stream_data_wait(struct sock *sk, long timeo) argument
319 !timeo)
324 timeo = schedule_timeout(timeo);
335 return timeo;
350 long timeo; local
366 timeo = sock_rcvtimeo(sk, flags&MSG_DONTWAIT);
402 if (!timeo)
407 timeo = caif_stream_data_wait(sk, timeo);
460 caif_wait_for_flow_on(struct caifsock *cf_sk, int wait_writeable, long timeo, int *err) argument
496 transmit_skb(struct sk_buff *skb, struct caifsock *cf_sk, int noblock, long timeo) argument
523 long timeo; local
594 long timeo; local
742 long timeo; local
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsignal_pending.c13 struct itimerval timeo = { local
36 err = setitimer(ITIMER_REAL, &timeo, NULL);
/linux-master/net/vmw_vsock/
H A Dvsock_bpf.c37 static bool vsock_msg_wait_data(struct sock *sk, struct sk_psock *psock, long timeo) argument
46 if (!timeo)
53 wait_woken(&wait, TASK_INTERRUPTIBLE, timeo);
95 long timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT); local
97 if (!vsock_msg_wait_data(sk, psock, timeo)) {
/linux-master/net/rxrpc/
H A Dsendmsg.c45 static int rxrpc_wait_to_be_connected(struct rxrpc_call *call, long *timeo) argument
74 ret = sock_intr_errno(*timeo);
77 *timeo = schedule_timeout(*timeo);
106 long *timeo)
117 return sock_intr_errno(*timeo);
120 *timeo = schedule_timeout(*timeo);
170 long *timeo)
181 *timeo
104 rxrpc_wait_for_tx_window_intr(struct rxrpc_sock *rx, struct rxrpc_call *call, long *timeo) argument
168 rxrpc_wait_for_tx_window_nonintr(struct rxrpc_sock *rx, struct rxrpc_call *call, long *timeo) argument
189 rxrpc_wait_for_tx_window(struct rxrpc_sock *rx, struct rxrpc_call *call, long *timeo, bool waitall) argument
286 long timeo; local
[all...]
H A Drecvmsg.c286 long timeo; local
296 timeo = sock_rcvtimeo(&rx->sk, flags & MSG_DONTWAIT);
311 if (timeo == 0) {
329 timeo = schedule_timeout(timeo);
462 ret = sock_intr_errno(timeo);
/linux-master/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c252 unsigned long timeo; local
266 timeo = jiffies + HZ;
293 if (time_after(jiffies, timeo)) {
338 if (time_after(jiffies, timeo)) {
358 timeo = jiffies + HZ;
426 unsigned long cmd_adr, timeo; local
441 timeo = jiffies + HZ;
471 if (time_after(jiffies, timeo)) {
491 timeo = jiffies + HZ;
538 timeo
737 unsigned long timeo; local
1036 unsigned long timeo = jiffies + HZ; local
1182 unsigned long timeo = jiffies + HZ; local
[all...]
/linux-master/net/unix/
H A Dunix_bpf.c16 long timeo)
25 if (!timeo)
32 wait_woken(&wait, TASK_INTERRUPTIBLE, timeo);
75 long timeo; local
78 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT);
79 data = unix_msg_wait_data(sk, psock, timeo);
15 unix_msg_wait_data(struct sock *sk, struct sk_psock *psock, long timeo) argument
/linux-master/net/strparser/
H A Dstrparser.c57 static void strp_start_timer(struct strparser *strp, long timeo) argument
59 if (timeo && timeo != LONG_MAX)
60 mod_delayed_work(strp_wq, &strp->msg_timer_work, timeo);
91 size_t max_msg_size, long timeo)
219 strp_start_timer(strp, timeo);
269 strp_start_timer(strp, timeo);
319 size_t max_msg_size, long timeo)
326 max_msg_size, timeo);
89 __strp_recv(read_descriptor_t *desc, struct sk_buff *orig_skb, unsigned int orig_offset, size_t orig_len, size_t max_msg_size, long timeo) argument
317 strp_process(struct strparser *strp, struct sk_buff *orig_skb, unsigned int orig_offset, size_t orig_len, size_t max_msg_size, long timeo) argument
/linux-master/net/dccp/
H A Dminisocks.c32 void dccp_time_wait(struct sock *sk, int state, int timeo) argument
50 if (timeo < rto)
51 timeo = rto;
54 timeo = DCCP_TIMEWAIT_LEN;
61 inet_twsk_schedule(tw, timeo);
/linux-master/arch/mips/pci/
H A Dfixup-cobalt.c127 signed int timeo; local
129 timeo = GT_READ(GT_PCI0_TOR_OFS);
/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_io.c1019 long timeo; local
1023 timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT);
1026 err = sk_stream_wait_connect(sk, &timeo);
1216 err = csk_wait_memory(cdev, sk, &timeo);
1353 long timeo; local
1358 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT);
1373 copied = timeo ? sock_intr_errno(timeo) :
1396 if (!timeo)
1411 if (!timeo) {
1546 long timeo; local
1673 long timeo; local
[all...]
/linux-master/net/llc/
H A Daf_llc.c521 const long timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); local
523 if (!timeo || !llc_ui_wait_for_conn(sk, timeo))
526 rc = sock_intr_errno(timeo);
645 static int llc_wait_data(struct sock *sk, long timeo) argument
660 if (!timeo)
662 rc = sock_intr_errno(timeo);
666 if (sk_wait_data(sk, &timeo, NULL))
773 long timeo; local
780 timeo
[all...]

Completed in 344 milliseconds

12345