Searched refs:timeo (Results 26 - 50 of 111) sorted by relevance

12345

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_reroute.c191 struct timeval timeo = { local
209 if (!ASSERT_EQ(wait_for_packet(tun_fd, __expect_icmp_ipv4, &timeo), 1,
H A Dlwt_redirect.c164 struct timeval timeo = { local
174 ret = wait_for_packet(tap_fd, filter, &timeo);
183 ret = wait_for_packet(psock, filter, &timeo);
/linux-master/fs/netfs/
H A Dfscache_io.c77 long timeo; local
127 timeo = wait_var_event_timeout(&cookie->state,
129 if (timeo <= 1 && !once_only) {
/linux-master/net/nfc/
H A Dllcp_sock.c17 static int sock_wait_state(struct sock *sk, int state, unsigned long timeo) argument
28 if (!timeo) {
34 err = sock_intr_errno(timeo);
39 timeo = schedule_timeout(timeo);
454 long timeo; local
466 timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK);
473 if (!timeo) {
479 ret = sock_intr_errno(timeo);
484 timeo
[all...]
/linux-master/drivers/mtd/lpddr/
H A Dlpddr_cmds.c128 unsigned int timeo, reset_timeo, sleep_time; local
134 timeo = chip_op_time * 8;
135 if (!timeo)
136 timeo = 500000;
137 reset_timeo = timeo;
144 if (!timeo) {
160 timeo -= sleep_time;
165 timeo--;
181 timeo = reset_timeo;
/linux-master/net/rds/
H A Drecv.c643 long timeo; local
650 timeo = sock_rcvtimeo(sk, nonblock);
652 rdsdebug("size %zu flags 0x%x timeo %ld\n", size, msg_flags, timeo);
679 timeo = wait_event_interruptible_timeout(*sk_sleep(sk),
682 rds_next_incoming(rs, &inc)), timeo);
683 rdsdebug("recvmsg woke inc %p timeo %ld\n", inc,
684 timeo);
685 if (timeo > 0 || timeo
[all...]
/linux-master/net/dccp/
H A Dproto.c742 long timeo; local
751 timeo = sock_sndtimeo(sk, noblock);
759 if ((rc = sk_stream_wait_connect(sk, &timeo)) != 0)
816 long timeo; local
825 timeo = sock_rcvtimeo(sk, flags & MSG_DONTWAIT);
883 if (!timeo) {
889 len = sock_intr_errno(timeo);
893 sk_wait_data(sk, &timeo, NULL);
/linux-master/arch/arm/mach-bcm/
H A Dplatsmp-brcmstb.c103 const unsigned long timeo = jiffies + msecs_to_jiffies(POLL_TMOUT_MS); local
110 } while (time_before(jiffies, timeo));
/linux-master/net/tls/
H A Dtls_main.c141 int wait_on_pending_writer(struct sock *sk, long *timeo) argument
148 if (!*timeo) {
154 rc = sock_intr_errno(*timeo);
158 ret = sk_wait_event(sk, timeo,
344 struct tls_context *ctx, long timeo)
347 !wait_on_pending_writer(sk, &timeo))
372 long timeo = sock_sndtimeo(sk, 0); local
382 tls_sk_proto_cleanup(sk, ctx, timeo);
343 tls_sk_proto_cleanup(struct sock *sk, struct tls_context *ctx, long timeo) argument
/linux-master/fs/nfs/
H A Dpnfs_nfs.c850 unsigned int timeo,
855 unsigned long connect_timeout = timeo * (retrans + 1) * HZ / 10;
890 timeo, retrans);
911 unsigned int timeo,
1001 da->da_transport, timeo,
1035 struct nfs4_deviceid_node *devid, unsigned int timeo,
1053 err = _nfs4_pnfs_v3_ds_connect(mds_srv, ds, timeo, retrans);
1056 err = _nfs4_pnfs_v4_ds_connect(mds_srv, ds, timeo, retrans,
848 _nfs4_pnfs_v3_ds_connect(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds, unsigned int timeo, unsigned int retrans) argument
909 _nfs4_pnfs_v4_ds_connect(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds, unsigned int timeo, unsigned int retrans, u32 minor_version) argument
1034 nfs4_pnfs_ds_connect(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds, struct nfs4_deviceid_node *devid, unsigned int timeo, unsigned int retrans, u32 version, u32 minor_version) argument
H A Dfs_context.c189 fsparam_u32 ("timeo", Opt_timeo),
688 ctx->timeo = result.uint_32;
1107 ctx->timeo = data->timeo;
1225 compat_int_t timeo; member in struct:compat_nfs4_mount_data_v1
1260 data->timeo = compat->timeo;
1341 ctx->timeo = data->timeo;
1608 ctx->timeo
[all...]
H A Dclient.c454 int timeo, int retrans)
456 to->to_initval = timeo * HZ / 10;
465 if (timeo == NFS_UNSPEC_TIMEO || to->to_initval == 0)
480 if (timeo == NFS_UNSPEC_TIMEO || to->to_initval == 0)
609 const struct rpc_timeout *timeo,
622 timeo,
692 ctx->timeo, ctx->retrans);
453 nfs_init_timeout_values(struct rpc_timeout *to, int proto, int timeo, int retrans) argument
608 nfs_init_server_rpcclient(struct nfs_server *server, const struct rpc_timeout *timeo, rpc_authflavor_t pseudoflavour) argument
/linux-master/net/phonet/
H A Dsocket.c224 long timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); local
265 if (!timeo) {
270 err = sock_intr_errno(timeo);
277 timeo = schedule_timeout(timeo);
/linux-master/net/smc/
H A Dsmc_tx.c82 long timeo; local
86 timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT);
101 if (!timeo) {
108 rc = sock_intr_errno(timeo);
115 sk_wait_event(sk, &timeo,
/linux-master/net/unix/
H A Daf_unix.c1441 static long unix_wait_for_peer(struct sock *other, long timeo)
1457 timeo = schedule_timeout(timeo);
1460 return timeo;
1471 long timeo; local
1490 timeo = sock_sndtimeo(sk, flags & O_NONBLOCK);
1539 if (!timeo)
1542 timeo = unix_wait_for_peer(other, timeo);
1544 err = sock_intr_errno(timeo);
1967 long timeo; local
2415 long timeo; local
2552 unix_stream_data_wait(struct sock *sk, long timeo, struct sk_buff *last, unsigned int last_len, bool freezable) argument
2702 long timeo; local
[all...]
/linux-master/net/bluetooth/
H A Dl2cap_sock.c334 long timeo; local
339 timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK);
341 BT_DBG("sk %p timeo %ld", sk, timeo);
355 if (!timeo) {
361 err = sock_intr_errno(timeo);
367 timeo = wait_woken(&wait, TASK_INTERRUPTIBLE, timeo);
1220 int timeo = L2CAP_WAIT_ACK_POLL_PERIOD; local
1231 if (!timeo)
[all...]
/linux-master/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c878 unsigned long timeo; local
882 timeo = jiffies + HZ;
891 if (time_after(jiffies, timeo)) {
930 if (time_after(jiffies, timeo)) {
1421 unsigned long timeo; local
1456 timeo = jiffies + msecs_to_jiffies(2);
1461 if (time_after(jiffies, timeo)) {
1649 unsigned long timeo; local
1673 timeo = jiffies + uWriteTimeout;
1684 timeo
1943 unsigned long timeo; local
2200 const unsigned long timeo = (HZ / 1000) + 1; local
2414 unsigned long timeo; local
2515 unsigned long timeo; local
2723 unsigned long timeo; local
[all...]
/linux-master/net/bluetooth/rfcomm/
H A Dsock.c476 long timeo; local
486 timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK);
488 BT_DBG("sk %p timeo %ld", sk, timeo);
502 if (!timeo) {
508 err = sock_intr_errno(timeo);
514 timeo = wait_woken(&wait, TASK_INTERRUPTIBLE, timeo);
/linux-master/net/iucv/
H A Daf_iucv.c56 #define __iucv_sock_wait(sk, condition, timeo, ret) \
59 long __timeo = timeo; \
81 #define iucv_sock_wait(sk, condition, timeo) \
85 __iucv_sock_wait(sk, condition, timeo, __ret); \
381 unsigned long timeo; local
405 timeo = sk->sk_lingertime;
407 timeo = IUCV_DISCONN_TIMEOUT;
410 timeo);
802 long timeo; local
812 timeo
909 long timeo; local
[all...]
/linux-master/net/bluetooth/cmtp/
H A Dcapi.c384 unsigned long timeo = CMTP_INTEROP_TIMEOUT; local
419 if (!timeo) {
437 timeo = schedule_timeout(timeo);
/linux-master/include/net/
H A Dstrparser.h168 size_t max_msg_size, long timeo);
/linux-master/drivers/mtd/nand/raw/
H A Dinternals.h112 void panic_nand_wait(struct nand_chip *chip, unsigned long timeo);
/linux-master/net/ipv4/
H A Dinet_connection_sock.c616 static int inet_csk_wait_for_connect(struct sock *sk, long timeo) argument
641 timeo = schedule_timeout(timeo);
650 err = sock_intr_errno(timeo);
654 if (!timeo)
683 long timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); local
687 if (!timeo)
690 error = inet_csk_wait_for_connect(sk, timeo);
H A Daf_inet.c598 static long inet_wait_for_connect(struct sock *sk, long timeo, int writebias) argument
612 timeo = wait_woken(&wait, TASK_INTERRUPTIBLE, timeo);
614 if (signal_pending(current) || !timeo)
619 return timeo;
631 long timeo; local
696 timeo = sock_sndtimeo(sk, flags & O_NONBLOCK);
705 if (!timeo || !inet_wait_for_connect(sk, timeo, writebias))
708 err = sock_intr_errno(timeo);
[all...]
/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_init.c617 int timeo; local
628 if (qlcnic_rom_fast_read(adapter, QLCNIC_ROM_DEV_INIT_TIMEOUT, &timeo))
629 timeo = QLCNIC_INIT_TIMEOUT_SECS;
631 adapter->dev_init_timeo = timeo;
633 if (qlcnic_rom_fast_read(adapter, QLCNIC_ROM_DRV_RESET_TIMEOUT, &timeo))
634 timeo = QLCNIC_RESET_TIMEOUT_SECS;
636 adapter->reset_ack_timeo = timeo;

Completed in 243 milliseconds

12345