Home
last modified time | relevance | path

Searched refs:timeout_sec (Results 1 – 12 of 12) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_helpers.h204 static inline int poll_connect(int fd, unsigned int timeout_sec) in poll_connect() argument
206 struct timeval timeout = { .tv_sec = timeout_sec }; in poll_connect()
230 static inline int poll_read(int fd, unsigned int timeout_sec) in poll_read() argument
232 struct timeval timeout = { .tv_sec = timeout_sec }; in poll_read()
247 unsigned int timeout_sec) in accept_timeout() argument
249 if (poll_read(fd, timeout_sec)) in accept_timeout()
256 unsigned int timeout_sec) in recv_timeout() argument
258 if (poll_read(fd, timeout_sec)) in recv_timeout()
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dsock.c501 ssize_t test_server_run(int sk, ssize_t quota, time_t timeout_sec) in test_server_run() argument
510 ret = test_wait_fd(sk, timeout_sec, 0); in test_server_run()
521 ret = test_wait_fd(sk, timeout_sec, 1); in test_server_run()
537 const size_t msg_len, time_t timeout_sec) in test_client_loop() argument
550 ret = test_wait_fd(sk, timeout_sec, 1); in test_client_loop()
564 ret = test_wait_fd(sk, timeout_sec, 0); in test_client_loop()
584 time_t timeout_sec) in test_client_verify() argument
591 ret = test_client_loop(sk, buf, buf_sz, msg_len, timeout_sec); in test_client_verify()
H A Dftrace.c286 unsigned timeout_sec) in final_wait_for_events() argument
297 timeout.tv_sec = now.tv_sec + timeout_sec; in final_wait_for_events()
H A Daolib.h484 extern ssize_t test_server_run(int sk, ssize_t quota, time_t timeout_sec);
486 const size_t msg_len, time_t timeout_sec);
488 time_t timeout_sec);
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp.c155 unsigned int timeout_sec; member
322 u64 mask, u64 val, u32 timeout_sec) in nfp_nsp_wait_reg() argument
324 const unsigned long wait_until = jiffies + timeout_sec * HZ; in nfp_nsp_wait_reg()
400 0, arg->timeout_sec ?: NFP_NSP_TIMEOUT_DEFAULT); in __nfp_nsp_command()
818 .timeout_sec = 900, in nfp_nsp_write_flash()
/linux/tools/testing/selftests/net/
H A Dlib.sh96 local timeout_sec=$1; shift
/linux/drivers/accel/habanalabs/common/
H A Dcommand_submission.c822 uint timeout_sec; in cs_timedout() local
856 timeout_sec = jiffies_to_msecs(hdev->timeout_jiffies) / 1000; in cs_timedout()
862 cs->sequence, timeout_sec); in cs_timedout()
868 cs->sequence, timeout_sec); in cs_timedout()
874 cs->sequence, timeout_sec); in cs_timedout()
880 cs->sequence, timeout_sec); in cs_timedout()
/linux/drivers/scsi/qla2xxx/
H A Dqla_nvme.c403 nvme->u.nvme.timeout_sec = 0; in qla_nvme_xmt_ls_rsp()
513 nvme->u.nvme.timeout_sec = fd->timeout; in qla_nvme_ls_req()
H A Dqla_def.h640 uint32_t timeout_sec; member
H A Dqla_iocb.c3790 cmd_pkt->timeout = cpu_to_le16(nvme->u.nvme.timeout_sec); in qla_nvme_ls()
/linux/drivers/scsi/
H A Dhpsa_cmd.h498 __le16 timeout_sec; /* 0x62 - 0x63 */ member
H A Dhpsa.c9313 cp->timeout_sec = 0; in hpsa_enter_performant_mode()
10011 VERIFY_OFFSET(timeout_sec, 0x62); in verify_offsets()