Home
last modified time | relevance | path

Searched refs:alive (Results 1 - 25 of 93) sorted by relevance

1234

/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Dtcp_nip_timer.c33 * @alive: bool, socket alive state
35 static int tcp_nip_orphan_retries(struct sock *sk, bool alive) in tcp_nip_orphan_retries() argument
40 if (sk->sk_err_soft && !alive) in tcp_nip_orphan_retries()
47 if (retries == 0 && alive) in tcp_nip_orphan_retries()
131 const bool alive = icsk->icsk_rto < TCP_RTO_MAX; in tcp_nip_write_timeout() local
134 retry_until = tcp_nip_orphan_retries(sk, alive); in tcp_nip_write_timeout()
237 const bool alive = inet_csk_rto_backoff(icsk, TCP_RTO_MAX) < TCP_RTO_MAX; in tcp_nip_probe_timer() local
239 max_probes = tcp_nip_orphan_retries(sk, alive); in tcp_nip_probe_timer()
240 nip_dbg("sock dead, icsk_backoff=%u, max_probes=%u, alive in tcp_nip_probe_timer()
[all...]
/kernel/linux/linux-5.10/drivers/staging/gasket/
H A Dgasket_ioctl.c224 bool alive; in gasket_ioctl_check_permissions() local
228 alive = (gasket_dev->status == GASKET_STATUS_ALIVE); in gasket_ioctl_check_permissions()
229 if (!alive) in gasket_ioctl_check_permissions()
230 dev_dbg(gasket_dev->dev, "%s alive %d status %d\n", in gasket_ioctl_check_permissions()
231 __func__, alive, gasket_dev->status); in gasket_ioctl_check_permissions()
248 return alive && write; in gasket_ioctl_check_permissions()
252 return alive && write; in gasket_ioctl_check_permissions()
256 return alive && write; in gasket_ioctl_check_permissions()
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
H A Dsynth.c153 synth->alive = 1; in spk_synth_is_alive_nop()
160 if (synth->alive) in spk_synth_is_alive_restart()
164 synth->alive = 1; in spk_synth_is_alive_restart()
184 if (!synth->alive) { in synth_start()
201 if (synth->alive) { in spk_do_flush()
292 if (synth->alive) { in synth_insert_next_index()
396 synth->alive = 0; in do_synth_init()
436 synth->alive = 0; in synth_release()
H A Dthread.c34 (synth && synth->catch_up && synth->alive && in speakup_thread()
50 if (synth && synth->catch_up && synth->alive) { in speakup_thread()
H A Dserialio.c196 synth->alive = 1; in spk_serial_synth_probe()
220 if ((in_synth->alive) && (timeouts >= NUM_DISABLE_TIMEOUTS)) { in spk_serial_wait_for_xmitr()
223 in_synth->alive = 0; in spk_serial_wait_for_xmitr()
285 if (in_synth->alive && spk_serial_wait_for_xmitr(in_synth)) { in spk_serial_out()
H A Dspk_ttyio.c225 if (in_synth->alive && speakup_tty && speakup_tty->ops->write) { in spk_ttyio_out()
239 in_synth->alive = 0; in spk_ttyio_out()
276 spk_ttyio_synth->alive = 0; in check_tty()
375 synth->alive = 1; in spk_ttyio_synth_probe()
H A Dspeakup_soft.c177 if (synth_soft.alive) { in softsynth_open()
181 synth_soft.alive = 1; in softsynth_open()
191 synth_soft.alive = 0; in softsynth_close()
215 synth_soft.alive = 1; in softsynthx_read()
416 if (synth_soft.alive) in softsynth_is_alive()
H A Dbuffers.c21 * So we only stop when we know alive == 1 (else we discard the data anyway),
22 * and the alive synth will eventually call start_ttys from the thread context.
65 if (!synth->alive) { in synth_buffer_add()
/kernel/linux/linux-6.6/drivers/accessibility/speakup/
H A Dsynth.c153 synth->alive = 1; in spk_synth_is_alive_nop()
160 if (synth->alive) in spk_synth_is_alive_restart()
164 synth->alive = 1; in spk_synth_is_alive_restart()
184 if (!synth->alive) { in synth_start()
201 if (synth->alive) { in spk_do_flush()
294 if (synth->alive) { in synth_insert_next_index()
399 synth->alive = 0; in do_synth_init()
441 synth->alive = 0; in synth_release()
H A Dthread.c34 (synth && synth->catch_up && synth->alive && in speakup_thread()
50 if (synth && synth->catch_up && synth->alive) { in speakup_thread()
H A Dserialio.c196 synth->alive = 1; in spk_serial_synth_probe()
220 if ((in_synth->alive) && (timeouts >= NUM_DISABLE_TIMEOUTS)) { in spk_serial_wait_for_xmitr()
223 in_synth->alive = 0; in spk_serial_wait_for_xmitr()
285 if (in_synth->alive && spk_serial_wait_for_xmitr(in_synth)) { in spk_serial_out()
H A Dspeakup_soft.c196 if (synth_soft.alive) { in softsynth_open()
200 synth_soft.alive = 1; in softsynth_open()
210 synth_soft.alive = 0; in softsynth_close()
234 synth_soft.alive = 1; in softsynthx_read()
436 if (synth_soft.alive) in softsynth_is_alive()
H A Dspk_ttyio.c229 if (!in_synth->alive || !tty->ops->write) in spk_ttyio_out()
248 in_synth->alive = 0; in spk_ttyio_out()
346 synth->alive = 1; in spk_ttyio_synth_probe()
H A Dbuffers.c21 * So we only stop when we know alive == 1 (else we discard the data anyway),
22 * and the alive synth will eventually call start_ttys from the thread context.
65 if (!synth->alive) { in synth_buffer_add()
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_timer.c142 * @alive: bool, socket alive state
144 static int tcp_orphan_retries(struct sock *sk, bool alive) in tcp_orphan_retries() argument
149 if (sk->sk_err_soft && !alive) in tcp_orphan_retries()
155 if (retries == 0 && alive) in tcp_orphan_retries()
255 const bool alive = icsk->icsk_rto < TCP_RTO_MAX; in tcp_write_timeout() local
257 retry_until = tcp_orphan_retries(sk, alive); in tcp_write_timeout()
258 do_reset = alive || in tcp_write_timeout()
386 const bool alive = inet_csk_rto_backoff(icsk, TCP_RTO_MAX) < TCP_RTO_MAX; in tcp_probe_timer() local
388 max_probes = tcp_orphan_retries(sk, alive); in tcp_probe_timer()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp_timer.c144 * @alive: bool, socket alive state
146 static int tcp_orphan_retries(struct sock *sk, bool alive) in tcp_orphan_retries() argument
151 if (READ_ONCE(sk->sk_err_soft) && !alive) in tcp_orphan_retries()
157 if (retries == 0 && alive) in tcp_orphan_retries()
263 const bool alive = icsk->icsk_rto < TCP_RTO_MAX; in tcp_write_timeout() local
265 retry_until = tcp_orphan_retries(sk, alive); in tcp_write_timeout()
266 do_reset = alive || in tcp_write_timeout()
401 const bool alive = inet_csk_rto_backoff(icsk, TCP_RTO_MAX) < TCP_RTO_MAX; in tcp_probe_timer() local
403 max_probes = tcp_orphan_retries(sk, alive); in tcp_probe_timer()
[all...]
/kernel/linux/linux-5.10/sound/usb/line6/
H A Dpcm.c119 int alive; in line6_wait_clear_audio_urbs() local
122 alive = 0; in line6_wait_clear_audio_urbs()
125 alive++; in line6_wait_clear_audio_urbs()
127 if (!alive) in line6_wait_clear_audio_urbs()
132 if (alive) in line6_wait_clear_audio_urbs()
134 "timeout: still %d active urbs..\n", alive); in line6_wait_clear_audio_urbs()
/kernel/linux/linux-6.6/sound/usb/line6/
H A Dpcm.c119 int alive; in line6_wait_clear_audio_urbs() local
122 alive = 0; in line6_wait_clear_audio_urbs()
125 alive++; in line6_wait_clear_audio_urbs()
127 if (!alive) in line6_wait_clear_audio_urbs()
132 if (alive) in line6_wait_clear_audio_urbs()
134 "timeout: still %d active urbs..\n", alive); in line6_wait_clear_audio_urbs()
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
H A Ddriver.c366 i2400m->alive = 1; in i2400m_dev_start()
367 wmb();/* see i2400m->updown and i2400m->alive's doc */ in i2400m_dev_start()
428 i2400m->alive = 0; in i2400m_dev_stop()
429 wmb(); /* see i2400m->updown and i2400m->alive's doc */ in i2400m_dev_stop()
614 if (i2400m->alive) { in __i2400m_dev_reset_handle()
654 if (i2400m->alive) { in __i2400m_dev_reset_handle()
803 i2400m->alive = 0; in i2400m_init()
/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A Dacpiphp_glue.c648 bool alive = dev->ignore_hotplug; in trim_stale_devices() local
655 alive = alive || (ACPI_SUCCESS(status) && device_status_valid(sta)); in trim_stale_devices()
657 if (!alive) in trim_stale_devices()
658 alive = pci_device_is_present(dev); in trim_stale_devices()
660 if (!alive) { in trim_stale_devices()
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A Dacpiphp_glue.c657 bool alive = dev->ignore_hotplug; in trim_stale_devices() local
664 alive = alive || (ACPI_SUCCESS(status) && device_status_valid(sta)); in trim_stale_devices()
666 if (!alive) in trim_stale_devices()
667 alive = pci_device_is_present(dev); in trim_stale_devices()
669 if (!alive) { in trim_stale_devices()
/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dsmp.c172 smp_debug(100, KERN_DEBUG "CPU%d is alive!\n", this_cpu); in ipi_interrupt()
378 goto alive ; in smp_boot_one_cpu()
386 alive: in smp_boot_one_cpu()
388 smp_debug(100, KERN_DEBUG "SMP: CPU:%d came alive after %ld _us\n", in smp_boot_one_cpu()
/kernel/linux/linux-5.10/net/mpls/
H A Daf_mpls.c228 /* number of alive nexthops (rt->rt_nhn_alive) and the flags for
239 u8 alive; in mpls_select_multipath() local
247 alive = READ_ONCE(rt->rt_nhn_alive); in mpls_select_multipath()
248 if (alive == 0) in mpls_select_multipath()
252 nh_index = hash % alive; in mpls_select_multipath()
253 if (alive == rt->rt_nhn) in mpls_select_multipath()
1507 u8 alive = 0; in mpls_ifdown() local
1565 alive++; in mpls_ifdown()
1568 WRITE_ONCE(rt->rt_nhn_alive, alive); in mpls_ifdown()
1582 u8 alive; in mpls_ifup() local
[all...]
/kernel/linux/linux-6.6/net/mpls/
H A Daf_mpls.c229 /* number of alive nexthops (rt->rt_nhn_alive) and the flags for
240 u8 alive; in mpls_select_multipath() local
248 alive = READ_ONCE(rt->rt_nhn_alive); in mpls_select_multipath()
249 if (alive == 0) in mpls_select_multipath()
253 nh_index = hash % alive; in mpls_select_multipath()
254 if (alive == rt->rt_nhn) in mpls_select_multipath()
1510 u8 alive = 0; in mpls_ifdown() local
1564 alive++; in mpls_ifdown()
1567 WRITE_ONCE(rt->rt_nhn_alive, alive); in mpls_ifdown()
1581 u8 alive; in mpls_ifup() local
[all...]
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dsmp.c171 smp_debug(100, KERN_DEBUG "CPU%d is alive!\n", this_cpu); in ipi_interrupt()
390 goto alive ; in smp_boot_one_cpu()
398 alive: in smp_boot_one_cpu()
400 smp_debug(100, KERN_DEBUG "SMP: CPU:%d came alive after %ld _us\n", in smp_boot_one_cpu()

Completed in 21 milliseconds

1234