Home
last modified time | relevance | path

Searched refs:blocked (Results 1 – 25 of 165) sorted by relevance

1234567

/linux/Documentation/scsi/scsi_transport_srp/
H A Drport_state_diagram.dot10 blocked;
16 …running -> blocked [ label = "fast_io_fail_tmo >= 0 or\ndev_loss_tmo >= 0;\nsrp_start_tl_fail_tim…
18 blocked -> failfast [ label = "fast_io_fail_tmo\nexpired or\nreconnecting\nfailed" ];
19 blocked -> lost [ label = "dev_loss_tmo\nexpired or\nsrp_stop_rport_timers()" ];
21 blocked -> running [ label = "reconnecting\nsucceeded" ];
/linux/net/rfkill/
H A Dcore.c313 static void rfkill_set_block(struct rfkill *rfkill, bool blocked) in rfkill_set_block() argument
338 if (blocked) in rfkill_set_block()
346 err = rfkill->ops->set_block(rfkill->data, blocked); in rfkill_set_block()
383 static void rfkill_update_global_state(enum rfkill_type type, bool blocked) in rfkill_update_global_state() argument
388 rfkill_global_states[type].cur = blocked; in rfkill_update_global_state()
393 rfkill_global_states[i].cur = blocked; in rfkill_update_global_state()
409 static void __rfkill_switch_all(const enum rfkill_type type, bool blocked) in __rfkill_switch_all() argument
413 rfkill_update_global_state(type, blocked); in __rfkill_switch_all()
418 rfkill_set_block(rfkill, blocked); in __rfkill_switch_all()
432 void rfkill_switch_all(enum rfkill_type type, bool blocked) in rfkill_switch_all() argument
[all …]
H A Drfkill-gpio.c31 static int rfkill_gpio_set_power(void *data, bool blocked) in rfkill_gpio_set_power() argument
35 if (!blocked && !IS_ERR(rfkill->clk) && !rfkill->clk_enabled) { in rfkill_gpio_set_power()
42 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked); in rfkill_gpio_set_power()
43 gpiod_set_value_cansleep(rfkill->reset_gpio, !blocked); in rfkill_gpio_set_power()
45 if (blocked && !IS_ERR(rfkill->clk) && rfkill->clk_enabled) in rfkill_gpio_set_power()
48 rfkill->clk_enabled = !blocked; in rfkill_gpio_set_power()
H A Dinput.c85 bool blocked; in __rfkill_handle_normal_op() local
87 blocked = rfkill_get_global_sw_state(type); in __rfkill_handle_normal_op()
89 blocked = !blocked; in __rfkill_handle_normal_op()
91 rfkill_switch_all(type, blocked); in __rfkill_handle_normal_op()
H A Drfkill.h12 void rfkill_switch_all(const enum rfkill_type type, bool blocked);
/linux/kernel/
H A Dsignal.c113 if (sigismember(&t->blocked, sig) || sigismember(&t->real_blocked, sig)) in sig_ignored()
131 static inline bool has_pending_signals(sigset_t *signal, sigset_t *blocked) in has_pending_signals() argument
139 ready |= signal->sig[i] &~ blocked->sig[i]; in has_pending_signals()
142 case 4: ready = signal->sig[3] &~ blocked->sig[3]; in has_pending_signals()
143 ready |= signal->sig[2] &~ blocked->sig[2]; in has_pending_signals()
144 ready |= signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
145 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
148 case 2: ready = signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
149 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
152 case 1: ready = signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
[all …]
H A Dcompat.c35 static inline void compat_sig_setmask(sigset_t *blocked, compat_sigset_word set) in compat_sig_setmask() argument
37 memcpy(blocked->sig, &set, sizeof(set)); in compat_sig_setmask()
47 old_set = current->blocked.sig[0]; in COMPAT_SYSCALL_DEFINE3()
54 new_blocked = current->blocked; in COMPAT_SYSCALL_DEFINE3()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dflowring.c179 bool blocked) in brcmf_flowring_block() argument
193 if (ring->blocked == blocked) { in brcmf_flowring_block()
205 if (ring->blocked) { in brcmf_flowring_block()
212 flow->rings[flowid]->blocked = blocked; in brcmf_flowring_block()
221 brcmf_txflowblock_if(ifp, BRCMF_NETIF_STOP_REASON_FLOW, blocked); in brcmf_flowring_block()
268 if (!ring->blocked && in brcmf_flowring_enqueue()
296 if (ring->blocked && in brcmf_flowring_dequeue()
/linux/drivers/net/wireless/ath/ath5k/
H A Drfkill.c79 bool blocked; in ath5k_tasklet_rfkill_toggle() local
81 blocked = ath5k_is_rfkill_set(ah); in ath5k_tasklet_rfkill_toggle()
82 wiphy_rfkill_set_hw_state(ah->hw->wiphy, blocked); in ath5k_tasklet_rfkill_toggle()
/linux/fs/coda/
H A Dupcall.c619 *old = current->blocked; in coda_block_signals()
621 sigfillset(&current->blocked); in coda_block_signals()
622 sigdelset(&current->blocked, SIGKILL); in coda_block_signals()
623 sigdelset(&current->blocked, SIGSTOP); in coda_block_signals()
624 sigdelset(&current->blocked, SIGINT); in coda_block_signals()
633 current->blocked = *old; in coda_unblock_signals()
657 int blocked; in coda_waitfor_upcall() local
660 blocked = 1; in coda_waitfor_upcall()
673 if (blocked && time_after(jiffies, timeout) && in coda_waitfor_upcall()
677 blocked = 0; in coda_waitfor_upcall()
[all …]
/linux/Documentation/accounting/
H A Dcgroupstats.rst22 about tasks blocked on I/O. If CONFIG_TASK_DELAY_ACCT is disabled, this
29 sleeping 1, blocked 0, running 1, stopped 0, uninterruptible 0
31 sleeping 155, blocked 0, running 1, stopped 0, uninterruptible 2
/linux/Documentation/locking/
H A Drt-mutex-design.rst82 blocked on one of its locks. This is described in more detail
101 - A waiter is a struct that is stored on the stack of a blocked
103 a process being blocked on the mutex, it is fine to allocate
106 the task is blocked on. It also has rbtree node structures to
114 - A list of processes that are blocked on a mutex.
133 would never diverge, since a process can't be blocked on more than one
142 B blocked on L1
144 C blocked on L2
146 D blocked on L3
148 E blocked on L4
[all …]
/linux/drivers/net/wireless/mediatek/mt76/
H A Dtx.c451 return q->stopped || q->blocked || in mt76_txq_stopped()
817 void __mt76_set_tx_blocked(struct mt76_dev *dev, bool blocked) in __mt76_set_tx_blocked() argument
822 if (blocked == q->blocked) in __mt76_set_tx_blocked()
825 q->blocked = blocked; in __mt76_set_tx_blocked()
830 q->blocked = blocked; in __mt76_set_tx_blocked()
835 q->blocked = blocked; in __mt76_set_tx_blocked()
838 if (!blocked) in __mt76_set_tx_blocked()
906 dev->phy.q_tx[0]->blocked) in mt76_token_release()
/linux/net/atm/
H A Dpppoatm.c65 unsigned long blocked; member
124 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) in pppoatm_release_cb()
159 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) in pppoatm_pop()
254 test_and_set_bit(BLOCKED, &pvcc->blocked); in pppoatm_may_send()
308 test_and_set_bit(BLOCKED, &pvcc->blocked); in pppoatm_send()
/linux/arch/hexagon/kernel/
H A Dsignal.c227 sigset_t blocked; in SYSCALL_DEFINE0() local
235 if (__copy_from_user(&blocked, &frame->uc.uc_sigmask, sizeof(blocked))) in SYSCALL_DEFINE0()
238 set_current_blocked(&blocked); in SYSCALL_DEFINE0()
/linux/drivers/platform/surface/aggregator/
H A Dssh_packet_layer.c1623 for (i = 0; i < ARRAY_SIZE(ptl->rx.blocked.seqs); i++) { in ssh_ptl_rx_retransmit_check()
1624 if (likely(ptl->rx.blocked.seqs[i] != frame->seq)) in ssh_ptl_rx_retransmit_check()
1632 ptl->rx.blocked.seqs[ptl->rx.blocked.offset] = frame->seq; in ssh_ptl_rx_retransmit_check()
1633 ptl->rx.blocked.offset = (ptl->rx.blocked.offset + 1) in ssh_ptl_rx_retransmit_check()
1634 % ARRAY_SIZE(ptl->rx.blocked.seqs); in ssh_ptl_rx_retransmit_check()
2058 for (i = 0; i < ARRAY_SIZE(ptl->rx.blocked.seqs); i++) in ssh_ptl_init()
2059 ptl->rx.blocked.seqs[i] = U16_MAX; in ssh_ptl_init()
2060 ptl->rx.blocked.offset = 0; in ssh_ptl_init()
/linux/arch/mips/kernel/
H A Dsignal_o32.c261 sigset_t blocked; in sys32_sigreturn() local
268 if (__copy_conv_sigset_from_user(&blocked, &frame->sf_mask)) in sys32_sigreturn()
271 set_current_blocked(&blocked); in sys32_sigreturn()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmac80211_if.c424 bool blocked; in brcms_ops_start() local
435 blocked = brcms_rfkill_set_hw_state(wl); in brcms_ops_start()
437 if (!blocked) in brcms_ops_start()
445 if (!blocked) in brcms_ops_start()
887 bool blocked; in brcms_ops_rfkill_poll() local
890 blocked = brcms_c_check_radio_disabled(wl->wlc); in brcms_ops_rfkill_poll()
893 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_ops_rfkill_poll()
1730 bool blocked = brcms_c_check_radio_disabled(wl->wlc); in brcms_rfkill_set_hw_state() local
1733 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_rfkill_set_hw_state()
1734 if (blocked) in brcms_rfkill_set_hw_state()
[all …]
/linux/fs/proc/
H A Darray.c267 sigset_t pending, shpending, blocked, ignored, caught; in task_sig() local
274 sigemptyset(&blocked); in task_sig()
281 blocked = p->blocked; in task_sig()
298 render_sigset_t(m, "SigBlk:\t", &blocked); in task_sig()
626 seq_put_decimal_ull(m, " ", task->blocked.sig[0] & 0x7fffffffUL); in do_task_stat()
/linux/net/mac80211/
H A Dht.c357 bool blocked; in ieee80211_ba_session_work() local
363 blocked = test_sta_flag(sta, WLAN_STA_BLOCK_BA); in ieee80211_ba_session_work()
377 if (!blocked && in ieee80211_ba_session_work()
393 if (!blocked && tid_tx) { in ieee80211_ba_session_work()
445 if (!blocked && in ieee80211_ba_session_work()
/linux/Documentation/driver-api/
H A Drfkill.rst13 transmitter in the system. When a transmitter is blocked, it shall not
56 When the device is hard-blocked (either by a call to rfkill_set_hw_state()
89 rfkill drivers that control devices that can be hard-blocked unless they also
94 according to the switch state (LED_FULL when blocked, LED_OFF otherwise).
/linux/Documentation/userspace-api/
H A Dmseal.rst102 mprotect and pkey_mprotect are blocked because they changes the
113 Kernel will return -EPERM for blocked syscalls.
115 When blocked syscall return -EPERM due to sealing, the memory regions may
116 or may not be changed, depends on the syscall being blocked:
192 to RO memory, which is, in a way, by design. And those could be blocked
/linux/drivers/firewire/
H A Dsbp2.c140 bool blocked; member
167 int blocked; /* ditto */ member
706 if (!tgt->dont_block && !lu->blocked && in sbp2_conditionally_block()
708 lu->blocked = true; in sbp2_conditionally_block()
709 if (++tgt->blocked == 1) in sbp2_conditionally_block()
730 if (lu->blocked && lu->generation == card->generation) { in sbp2_conditionally_unblock()
731 lu->blocked = false; in sbp2_conditionally_unblock()
732 unblock = --tgt->blocked == 0; in sbp2_conditionally_unblock()
988 lu->blocked = false; in sbp2_add_logical_unit()
/linux/fs/bcachefs/
H A Djournal.c399 if (j->blocked) in journal_entry_open()
599 if (j->blocked) in __journal_res_get()
1014 if (!--j->blocked && in bch2_journal_unblock()
1032 if (!j->blocked++) { in __bch2_journal_block()
1061 u64 max_seq, bool *blocked) in __bch2_next_write_buffer_flush_journal_buf() argument
1083 if (open && !*blocked) { in __bch2_next_write_buffer_flush_journal_buf()
1086 *blocked = true; in __bch2_next_write_buffer_flush_journal_buf()
1103 u64 max_seq, bool *blocked) in bch2_next_write_buffer_flush_journal_buf() argument
1106 *blocked = false; in bch2_next_write_buffer_flush_journal_buf()
1109 max_seq, blocked)) != ERR_PTR(-EAGAIN)); in bch2_next_write_buffer_flush_journal_buf()
[all …]
/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_common.h169 void (*software_rfkill)(struct b43_wldev *dev, bool blocked);
396 void b43_software_rfkill(struct b43_wldev *dev, bool blocked);

1234567