Home
last modified time | relevance | path

Searched refs:timeout (Results 776 - 800 of 5869) sorted by relevance

1...<<31323334353637383940>>...235

/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_conntrack_expect.c54 WARN_ON(timer_pending(&exp->timeout)); in nf_ct_unlink_expect_report()
71 struct nf_conntrack_expect *exp = from_timer(exp, t, timeout); in nf_ct_expectation_timed_out()
107 if (del_timer(&exp->timeout)) { in nf_ct_remove_expect()
187 * about to invoke ->destroy(), or nf_ct_delete() via timeout in nf_ct_find_expectation()
201 } else if (del_timer(&exp->timeout)) { in nf_ct_find_expectation()
379 timer_setup(&exp->timeout, nf_ct_expectation_timed_out, 0); in nf_ct_expect_insert()
383 exp->timeout.expires = jiffies + in nf_ct_expect_insert()
384 helper->expect_policy[exp->class].timeout * HZ; in nf_ct_expect_insert()
386 add_timer(&exp->timeout); in nf_ct_expect_insert()
503 if (iter(exp, data) && del_timer(&exp->timeout)) { in nf_ct_expect_iterate_destroy()
[all...]
/kernel/linux/linux-6.6/drivers/cxl/
H A Dpci.c64 /* Check again in case preempted before timeout test */ in cxl_pci_mbox_wait_for_doorbell()
161 int timeout = mds->security.poll_tmo_secs + 10; in cxl_mbox_sanitize_work() local
163 mds->security.poll_tmo_secs = min(15 * 60, timeout); in cxl_mbox_sanitize_work()
164 schedule_delayed_work(&mds->security.poll_dwork, timeout * HZ); in cxl_mbox_sanitize_work()
175 * Return: -ETIMEDOUT if timeout occurred waiting for completion. 0 on success.
264 cxl_cmd_err(cxlds->dev, mbox_cmd, md_status, "mailbox timeout"); in __cxl_pci_mbox_send_cmd()
282 * of the command. In the event of timeout, the mailbox state is in __cxl_pci_mbox_send_cmd()
288 int i, timeout; in __cxl_pci_mbox_send_cmd() local
299 /* give first timeout a second */ in __cxl_pci_mbox_send_cmd()
300 timeout in __cxl_pci_mbox_send_cmd()
386 unsigned long timeout; cxl_pci_setup_mailbox() local
[all...]
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
H A Ds5h1420.c167 unsigned long timeout; in s5h1420_send_master_cmd() local
189 timeout = jiffies + ((100*HZ) / 1000); in s5h1420_send_master_cmd()
190 while(time_before(jiffies, timeout)) { in s5h1420_send_master_cmd()
196 if (time_after(jiffies, timeout)) in s5h1420_send_master_cmd()
213 unsigned long timeout; in s5h1420_recv_slave_reply() local
222 timeout = jiffies + ((reply->timeout*HZ) / 1000); in s5h1420_recv_slave_reply()
223 while(time_before(jiffies, timeout)) { in s5h1420_recv_slave_reply()
229 if (time_after(jiffies, timeout)) { in s5h1420_recv_slave_reply()
267 unsigned long timeout; in s5h1420_send_burst() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wan/
H A Dwanxl.c397 unsigned long timeout; in wanxl_open() local
415 timeout = jiffies + HZ; in wanxl_open()
421 } while (time_after(timeout, jiffies)); in wanxl_open()
432 unsigned long timeout; in wanxl_close() local
440 timeout = jiffies + HZ; in wanxl_close()
444 } while (time_after(timeout, jiffies)); in wanxl_close()
478 unsigned long timeout = jiffies + 5 * HZ; in wanxl_puts_command() local
486 } while (time_after(timeout, jiffies)); in wanxl_puts_command()
554 unsigned long timeout; in wanxl_pci_init_one() local
650 timeout in wanxl_pci_init_one()
[all...]
/kernel/linux/linux-6.6/sound/isa/
H A Dsscape.c254 static int host_read_ctrl_unsafe(unsigned io_base, unsigned timeout) in host_read_ctrl_unsafe() argument
258 while (((data = host_read_unsafe(io_base)) < 0) && (timeout != 0)) { in host_read_ctrl_unsafe()
260 --timeout; in host_read_ctrl_unsafe()
286 unsigned timeout) in host_write_ctrl_unsafe()
290 while (!(err = host_write_unsafe(io_base, data)) && (timeout != 0)) { in host_write_ctrl_unsafe()
292 --timeout; in host_write_ctrl_unsafe()
347 unsigned timeout) in sscape_wait_dma_unsafe()
349 while (!(sscape_read_unsafe(io_base, reg) & 0x01) && (timeout != 0)) { in sscape_wait_dma_unsafe()
351 --timeout; in sscape_wait_dma_unsafe()
364 static int obp_startup_ack(struct soundscape *s, unsigned timeout) in obp_startup_ack() argument
285 host_write_ctrl_unsafe(unsigned io_base, unsigned char data, unsigned timeout) host_write_ctrl_unsafe() argument
346 sscape_wait_dma_unsafe(unsigned io_base, enum GA_REG reg, unsigned timeout) sscape_wait_dma_unsafe() argument
391 host_startup_ack(struct soundscape *s, unsigned timeout) host_startup_ack() argument
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_conntrack_expect.c55 WARN_ON(timer_pending(&exp->timeout)); in nf_ct_unlink_expect_report()
74 struct nf_conntrack_expect *exp = from_timer(exp, t, timeout); in nf_ct_expectation_timed_out()
121 if (del_timer(&exp->timeout)) { in nf_ct_remove_expect()
203 * about to invoke ->destroy(), or nf_ct_delete() via timeout in nf_ct_find_expectation()
217 } else if (del_timer(&exp->timeout)) { in nf_ct_find_expectation()
396 timer_setup(&exp->timeout, nf_ct_expectation_timed_out, 0); in nf_ct_expect_insert()
400 exp->timeout.expires = jiffies + in nf_ct_expect_insert()
401 helper->expect_policy[exp->class].timeout * HZ; in nf_ct_expect_insert()
403 add_timer(&exp->timeout); in nf_ct_expect_insert()
523 if (iter(exp, data) && del_timer(&exp->timeout)) { in nf_ct_expect_iterate_destroy()
[all...]
/kernel/linux/linux-5.10/drivers/media/rc/
H A Dredrat3.c383 rawir.timeout = true; in redrat3_process_ir_data()
384 rawir.duration = rr3->rc->timeout; in redrat3_process_ir_data()
385 dev_dbg(dev, "storing trailing timeout with duration %d\n", in redrat3_process_ir_data()
472 u32 timeout = MS_TO_US(150); /* a sane default, if things go haywire */ in redrat3_get_timeout() local
478 return timeout; in redrat3_get_timeout()
485 dev_warn(rr3->dev, "Failed to read timeout from hardware\n"); in redrat3_get_timeout()
487 timeout = redrat3_len_to_us(be32_to_cpup(tmp)); in redrat3_get_timeout()
489 dev_dbg(rr3->dev, "Got timeout of %d ms\n", timeout / 1000); in redrat3_get_timeout()
494 return timeout; in redrat3_get_timeout()
502 __be32 *timeout; redrat3_set_timeout() local
[all...]
/kernel/linux/linux-6.6/drivers/media/rc/
H A Dredrat3.c383 rawir.timeout = true; in redrat3_process_ir_data()
384 rawir.duration = rr3->rc->timeout; in redrat3_process_ir_data()
385 dev_dbg(dev, "storing trailing timeout with duration %d\n", in redrat3_process_ir_data()
472 u32 timeout = MS_TO_US(150); /* a sane default, if things go haywire */ in redrat3_get_timeout() local
478 return timeout; in redrat3_get_timeout()
485 dev_warn(rr3->dev, "Failed to read timeout from hardware\n"); in redrat3_get_timeout()
487 timeout = redrat3_len_to_us(be32_to_cpup(tmp)); in redrat3_get_timeout()
489 dev_dbg(rr3->dev, "Got timeout of %d ms\n", timeout / 1000); in redrat3_get_timeout()
494 return timeout; in redrat3_get_timeout()
502 __be32 *timeout; redrat3_set_timeout() local
[all...]
/kernel/linux/linux-5.10/net/bluetooth/
H A Dhci_request.c130 const void *param, u8 event, u32 timeout) in __hci_cmd_sync_ev()
149 hdev->req_status != HCI_REQ_PEND, timeout); in __hci_cmd_sync_ev()
187 const void *param, u32 timeout) in __hci_cmd_sync()
189 return __hci_cmd_sync_ev(hdev, opcode, plen, param, 0, timeout); in __hci_cmd_sync()
196 unsigned long opt, u32 timeout, u8 *hci_status) in __hci_req_sync()
236 hdev->req_status != HCI_REQ_PEND, timeout); in __hci_req_sync()
272 unsigned long opt, u32 timeout, u8 *hci_status) in hci_req_sync()
283 ret = __hci_req_sync(hdev, req, opt, timeout, hci_status); in hci_req_sync()
1985 unsigned long timeout; in interleave_scan_work() local
1988 timeout in interleave_scan_work()
129 __hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, const void *param, u8 event, u32 timeout) __hci_cmd_sync_ev() argument
186 __hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, const void *param, u32 timeout) __hci_cmd_sync() argument
194 __hci_req_sync(struct hci_dev *hdev, int (*func)(struct hci_request *req, unsigned long opt), unsigned long opt, u32 timeout, u8 *hci_status) __hci_req_sync() argument
270 hci_req_sync(struct hci_dev *hdev, int (*req)(struct hci_request *req, unsigned long opt), unsigned long opt, u32 timeout, u8 *hci_status) hci_req_sync() argument
2322 u16 timeout; __hci_req_schedule_adv_instance() local
3042 unsigned long timeout, duration, scan_start, now; le_scan_restart_work() local
3138 unsigned long timeout; start_discovery() local
[all...]
/kernel/linux/linux-5.10/block/
H A Dbsg.c165 rq->timeout = msecs_to_jiffies(hdr.timeout); in bsg_sg_io()
166 if (!rq->timeout) in bsg_sg_io()
167 rq->timeout = q->sg_timeout; in bsg_sg_io()
168 if (!rq->timeout) in bsg_sg_io()
169 rq->timeout = BLK_DEFAULT_SG_TIMEOUT; in bsg_sg_io()
170 if (rq->timeout < BLK_MIN_SG_TIMEOUT) in bsg_sg_io()
171 rq->timeout = BLK_MIN_SG_TIMEOUT; in bsg_sg_io()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
H A Dnvm.c153 s32 timeout = E1000_NVM_GRANT_ATTEMPTS; in e1000e_acquire_nvm() local
158 while (timeout) { in e1000e_acquire_nvm()
163 timeout--; in e1000e_acquire_nvm()
166 if (!timeout) { in e1000e_acquire_nvm()
248 u16 timeout = NVM_MAX_RETRY_SPI; in e1000_ready_nvm_eeprom() local
259 * not cleared within 'timeout', then error out. in e1000_ready_nvm_eeprom()
261 while (timeout) { in e1000_ready_nvm_eeprom()
270 timeout--; in e1000_ready_nvm_eeprom()
273 if (!timeout) { in e1000_ready_nvm_eeprom()
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-owl.c85 /* I2C bus timeout */
131 unsigned int val, timeout = 0; in owl_i2c_reset_fifo() local
144 } while (timeout++ < OWL_I2C_MAX_RETRIES); in owl_i2c_reset_fifo()
146 if (timeout > OWL_I2C_MAX_RETRIES) { in owl_i2c_reset_fifo()
147 dev_err(&i2c_dev->adap.dev, "FIFO reset timeout\n"); in owl_i2c_reset_fifo()
229 unsigned long timeout; in owl_i2c_check_bus_busy() local
232 timeout = jiffies + OWL_I2C_TIMEOUT; in owl_i2c_check_bus_busy()
234 if (time_after(jiffies, timeout)) { in owl_i2c_check_bus_busy()
235 dev_err(&adap->dev, "Bus busy timeout\n"); in owl_i2c_check_bus_busy()
361 adap->timeout); in owl_i2c_master_xfer()
[all...]
H A Di2c-mlxcpld.c279 int timeout = 0; in mlxcpld_i2c_wait_for_free() local
285 timeout += MLXCPLD_I2C_POLL_TIME; in mlxcpld_i2c_wait_for_free()
286 } while (timeout <= MLXCPLD_I2C_XFER_TO); in mlxcpld_i2c_wait_for_free()
288 if (timeout > MLXCPLD_I2C_XFER_TO) in mlxcpld_i2c_wait_for_free()
296 * It puts current process to sleep until we get interrupt or timeout expires.
301 int status, i, timeout = 0; in mlxcpld_i2c_wait_for_tc() local
308 timeout += MLXCPLD_I2C_POLL_TIME; in mlxcpld_i2c_wait_for_tc()
309 } while (status == 0 && timeout < MLXCPLD_I2C_XFER_TO); in mlxcpld_i2c_wait_for_tc()
509 mlxcpld_i2c_adapter.timeout = usecs_to_jiffies(MLXCPLD_I2C_XFER_TO); in mlxcpld_i2c_probe()
/kernel/linux/linux-5.10/drivers/ide/
H A Dide-eh.c342 unsigned long flags, timeout; in do_reset1() local
370 timeout = jiffies; in do_reset1()
373 time_after(tdrive->sleep, timeout)) in do_reset1()
374 timeout = tdrive->sleep; in do_reset1()
378 if (time_before_eq(timeout, now)) in do_reset1()
382 timeout = schedule_timeout_uninterruptible(timeout - now); in do_reset1()
384 } while (timeout); in do_reset1()
/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_device.h154 unsigned int eh_timeout; /* Error handling timeout */
406 unsigned char *buffer, int len, int timeout,
411 int timeout, int retries,
414 extern int scsi_test_unit_ready(struct scsi_device *sdev, int timeout,
445 int timeout, int retries, u64 flags,
449 sshdr, timeout, retries, flags, rq_flags, resid) \
454 sense, sshdr, timeout, retries, flags, rq_flags, \
459 unsigned bufflen, struct scsi_sense_hdr *sshdr, int timeout, in scsi_execute_req()
463 bufflen, NULL, sshdr, timeout, retries, 0, 0, resid); in scsi_execute_req()
457 scsi_execute_req(struct scsi_device *sdev, const unsigned char *cmd, int data_direction, void *buffer, unsigned bufflen, struct scsi_sense_hdr *sshdr, int timeout, int retries, int *resid) scsi_execute_req() argument
/kernel/linux/linux-5.10/include/trace/events/
H A Dib_mad.h48 __field(unsigned long, timeout)
64 __entry->timeout = wr->timeout;
88 "wrtid 0x%llx; %d/%d retries(%d); timeout %lu length %d : " \
96 __entry->retry, __entry->timeout, __entry->length,
136 __field(unsigned long, timeout)
153 __entry->timeout = wr->timeout;
169 "wrtid 0x%llx %d/%d retries(%d) timeout %lu length %d: " \
176 __entry->retry, __entry->timeout,
[all...]
/kernel/linux/linux-5.10/net/dccp/
H A Doutput.c213 * @delay: timeout in jiffies
607 unsigned long timeout = jiffies + 2 * HZ;
609 /* Use new timeout only if there wasn't a older one earlier. */
621 if (!time_before(timeout, icsk->icsk_ack.timeout))
622 timeout = icsk->icsk_ack.timeout;
625 icsk->icsk_ack.timeout = timeout;
626 sk_reset_timer(sk, &icsk->icsk_delack_timer, timeout);
[all...]
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-ds1374.c382 MODULE_PARM_DESC(wdt_margin, "Watchdog timeout in seconds (default 32s)");
395 static int ds1374_wdt_settimeout(struct watchdog_device *wdt, unsigned int timeout) in ds1374_wdt_settimeout() argument
401 wdt->timeout = timeout; in ds1374_wdt_settimeout()
415 timeout = timeout * 4096; in ds1374_wdt_settimeout()
416 ret = ds1374_write_rtc(client, timeout, DS1374_REG_WDALM0, 3); in ds1374_wdt_settimeout()
518 ds1374->wdt.timeout = TIMER_MARGIN_DEFAULT; in ds1374_probe()
527 ds1374_wdt_settimeout(&ds1374->wdt, ds1374->wdt.timeout); in ds1374_probe()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/
H A Dnvm.c153 s32 timeout = E1000_NVM_GRANT_ATTEMPTS; in e1000e_acquire_nvm() local
158 while (timeout) { in e1000e_acquire_nvm()
163 timeout--; in e1000e_acquire_nvm()
166 if (!timeout) { in e1000e_acquire_nvm()
248 u16 timeout = NVM_MAX_RETRY_SPI; in e1000_ready_nvm_eeprom() local
259 * not cleared within 'timeout', then error out. in e1000_ready_nvm_eeprom()
261 while (timeout) { in e1000_ready_nvm_eeprom()
270 timeout--; in e1000_ready_nvm_eeprom()
273 if (!timeout) { in e1000_ready_nvm_eeprom()
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-ds1374.c379 MODULE_PARM_DESC(wdt_margin, "Watchdog timeout in seconds (default 32s)");
392 static int ds1374_wdt_settimeout(struct watchdog_device *wdt, unsigned int timeout) in ds1374_wdt_settimeout() argument
398 wdt->timeout = timeout; in ds1374_wdt_settimeout()
412 timeout = timeout * 4096; in ds1374_wdt_settimeout()
413 ret = ds1374_write_rtc(client, timeout, DS1374_REG_WDALM0, 3); in ds1374_wdt_settimeout()
514 ds1374->wdt.timeout = TIMER_MARGIN_DEFAULT; in ds1374_probe()
523 ds1374_wdt_settimeout(&ds1374->wdt, ds1374->wdt.timeout); in ds1374_probe()
/kernel/linux/linux-6.6/include/trace/events/
H A Dib_mad.h48 __field(unsigned long, timeout)
63 __entry->timeout = wr->timeout;
87 "wrtid 0x%llx; %d/%d retries(%d); timeout %lu length %d : " \
95 __entry->retry, __entry->timeout, __entry->length,
135 __field(unsigned long, timeout)
152 __entry->timeout = wr->timeout;
168 "wrtid 0x%llx %d/%d retries(%d) timeout %lu length %d: " \
175 __entry->retry, __entry->timeout,
[all...]
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dmarvell-88x2222.c327 static int timeout; in mv2222_read_status_10g() local
343 timeout++; in mv2222_read_status_10g()
345 if (timeout > AUTONEG_TIMEOUT) { in mv2222_read_status_10g()
346 timeout = 0; in mv2222_read_status_10g()
363 static int timeout; in mv2222_read_status_1g() local
372 timeout++; in mv2222_read_status_1g()
374 if (timeout > AUTONEG_TIMEOUT) { in mv2222_read_status_1g()
375 timeout = 0; in mv2222_read_status_1g()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/
H A Diwl-io.c51 u32 bits, u32 mask, int timeout) in iwl_poll_bit()
60 } while (t < timeout); in iwl_poll_bit()
75 /* return as if we have a HW timeout/failure */ in iwl_read_direct32()
99 int timeout) in iwl_poll_direct_bit()
108 } while (t < timeout); in iwl_poll_direct_bit()
147 /* return as if we have a HW timeout/failure */ in iwl_read_prph()
163 u32 bits, u32 mask, int timeout) in iwl_poll_prph_bit()
172 } while (t < timeout); in iwl_poll_prph_bit()
499 unsigned long timeout = jiffies + IWL_TRANS_NMI_TIMEOUT; in iwl_trans_sync_nmi_with_addr() local
509 while (time_after(timeout, jiffie in iwl_trans_sync_nmi_with_addr()
50 iwl_poll_bit(struct iwl_trans *trans, u32 addr, u32 bits, u32 mask, int timeout) iwl_poll_bit() argument
98 iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask, int timeout) iwl_poll_direct_bit() argument
162 iwl_poll_prph_bit(struct iwl_trans *trans, u32 addr, u32 bits, u32 mask, int timeout) iwl_poll_prph_bit() argument
[all...]
/kernel/linux/linux-6.6/block/
H A Dbsg-lib.c29 bool open_for_write, unsigned int timeout) in bsg_transport_sg_io_fn()
47 rq->timeout = timeout; in bsg_transport_sg_io_fn()
237 job->timeout = req->timeout; in bsg_prepare_job()
350 .timeout = bsg_timeout,
358 * @timeout: timeout handler function pointer
362 bsg_job_fn *job_fn, bsg_timeout_fn *timeout, int dd_job_size) in bsg_setup_queue()
374 bset->timeout_fn = timeout; in bsg_setup_queue()
28 bsg_transport_sg_io_fn(struct request_queue *q, struct sg_io_v4 *hdr, bool open_for_write, unsigned int timeout) bsg_transport_sg_io_fn() argument
361 bsg_setup_queue(struct device *dev, const char *name, bsg_job_fn *job_fn, bsg_timeout_fn *timeout, int dd_job_size) bsg_setup_queue() argument
[all...]
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-owl.c88 /* I2C bus timeout */
135 unsigned int val, timeout = 0; in owl_i2c_reset_fifo() local
148 } while (timeout++ < OWL_I2C_MAX_RETRIES); in owl_i2c_reset_fifo()
150 if (timeout > OWL_I2C_MAX_RETRIES) { in owl_i2c_reset_fifo()
151 dev_err(&i2c_dev->adap.dev, "FIFO reset timeout\n"); in owl_i2c_reset_fifo()
238 unsigned long timeout; in owl_i2c_check_bus_busy() local
241 timeout = jiffies + OWL_I2C_TIMEOUT; in owl_i2c_check_bus_busy()
243 if (time_after(jiffies, timeout)) { in owl_i2c_check_bus_busy()
244 dev_err(&adap->dev, "Bus busy timeout\n"); in owl_i2c_check_bus_busy()
378 adap->timeout); in owl_i2c_xfer_common()
[all...]

Completed in 22 milliseconds

1...<<31323334353637383940>>...235