Home
last modified time | relevance | path

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

1234567

/linux/include/linux/
A Drfkill.h64 int (*set_block)(void *data, bool blocked);
150 bool blocked, unsigned long reason);
170 static inline bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_hw_state() argument
172 return rfkill_set_hw_state_reason(rfkill, blocked, in rfkill_set_hw_state()
196 bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked);
212 void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked);
275 bool blocked, in rfkill_set_hw_state_reason() argument
278 return blocked; in rfkill_set_hw_state_reason()
281 static inline bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_hw_state() argument
283 return blocked; in rfkill_set_hw_state()
[all …]
/linux/Documentation/scsi/scsi_transport_srp/
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/
A Dcore.c336 if (blocked) in rfkill_set_block()
405 rfkill_set_block(rfkill, blocked); in __rfkill_switch_all()
427 __rfkill_switch_all(type, blocked); in rfkill_switch_all()
529 bool blocked, unsigned long reason) in rfkill_set_hw_state_reason() argument
539 return blocked; in rfkill_set_hw_state_reason()
543 if (blocked) { in rfkill_set_hw_state_reason()
572 if (blocked) in __rfkill_set_sw_state()
589 blocked = blocked || hwblock; in rfkill_set_sw_state()
593 return blocked; in rfkill_set_sw_state()
595 if (prev != blocked && !hwblock) in rfkill_set_sw_state()
[all …]
A Drfkill-gpio.c29 static int rfkill_gpio_set_power(void *data, bool blocked) in rfkill_gpio_set_power() argument
33 if (!blocked && !IS_ERR(rfkill->clk) && !rfkill->clk_enabled) in rfkill_gpio_set_power()
36 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked); in rfkill_gpio_set_power()
37 gpiod_set_value_cansleep(rfkill->reset_gpio, !blocked); in rfkill_gpio_set_power()
39 if (blocked && !IS_ERR(rfkill->clk) && rfkill->clk_enabled) in rfkill_gpio_set_power()
42 rfkill->clk_enabled = !blocked; in rfkill_gpio_set_power()
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()
/linux/drivers/platform/x86/
A Dxo1-rfkill.c15 static int rfkill_set_block(void *data, bool blocked) in rfkill_set_block() argument
20 if (blocked == card_blocked) in rfkill_set_block()
23 if (blocked) in rfkill_set_block()
30 card_blocked = blocked; in rfkill_set_block()
A Damilo-rfkill.c28 static int amilo_a1655_rfkill_set_block(void *data, bool blocked) in amilo_a1655_rfkill_set_block() argument
30 u8 param = blocked ? A1655_WIFI_OFF : A1655_WIFI_ON; in amilo_a1655_rfkill_set_block()
54 static int amilo_m7440_rfkill_set_block(void *data, bool blocked) in amilo_m7440_rfkill_set_block() argument
56 u8 val1 = blocked ? M7440_RADIO_OFF1 : M7440_RADIO_ON1; in amilo_m7440_rfkill_set_block()
57 u8 val2 = blocked ? M7440_RADIO_OFF2 : M7440_RADIO_ON2; in amilo_m7440_rfkill_set_block()
A Dmsi-laptop.c709 static int rfkill_bluetooth_set(void *data, bool blocked) in rfkill_bluetooth_set() argument
716 int result = set_device_state(blocked ? "0" : "1", 0, in rfkill_bluetooth_set()
722 static int rfkill_wlan_set(void *data, bool blocked) in rfkill_wlan_set() argument
724 int result = set_device_state(blocked ? "0" : "1", 0, in rfkill_wlan_set()
730 static int rfkill_threeg_set(void *data, bool blocked) in rfkill_threeg_set() argument
732 int result = set_device_state(blocked ? "0" : "1", 0, in rfkill_threeg_set()
768 static bool msi_rfkill_set_state(struct rfkill *rfkill, bool blocked) in msi_rfkill_set_state() argument
771 return rfkill_set_hw_state(rfkill, blocked); in msi_rfkill_set_state()
773 return rfkill_set_sw_state(rfkill, blocked); in msi_rfkill_set_state()
/linux/kernel/
A Dsignal.c1323 int ret, blocked, ignored; in force_sig_info_to_task() local
1330 blocked = sigismember(&t->blocked, sig); in force_sig_info_to_task()
1335 if (blocked) { in force_sig_info_to_task()
2877 sigset_t blocked; in signal_delivered() local
2885 sigorsets(&blocked, &current->blocked, &ksig->ka.sa.sa_mask); in signal_delivered()
2963 unblocked = tsk->blocked; in exit_signals()
3010 tsk->blocked = *newset; in __set_task_blocked()
3058 *oldset = tsk->blocked; in sigprocmask()
3590 sigandsets(&tsk->blocked, &tsk->blocked, &mask); in do_sigtimedwait()
4654 sigset_t blocked; in SYSCALL_DEFINE1() local
[all …]
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/
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/arch/arm/mach-pxa/
A Dtosa-bt.c34 static int tosa_bt_set_block(void *data, bool blocked) in tosa_bt_set_block() argument
36 pr_info("BT_RADIO going: %s\n", blocked ? "off" : "on"); in tosa_bt_set_block()
38 if (!blocked) { in tosa_bt_set_block()
/linux/drivers/net/wireless/ath/ath5k/
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/
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()
677 blocked = 0; in coda_waitfor_upcall()
686 if (blocked) in coda_waitfor_upcall()
[all …]
/linux/Documentation/locking/
A Drt-mutex-design.rst114 - A list of processes that are blocked on a mutex.
142 B blocked on L1
144 C blocked on L2
146 D blocked on L3
148 E blocked on L4
178 blocked on mutex L2::
211 blocked on mutexes owned by the process.
280 C blocked on L3
282 B blocked on L2
284 A blocked on L1
[all …]
/linux/drivers/net/wireless/mediatek/mt76/
A Dtx.c433 return q->stopped || q->blocked || in mt76_txq_stopped()
698 void __mt76_set_tx_blocked(struct mt76_dev *dev, bool blocked) in __mt76_set_tx_blocked() argument
704 if (blocked == q->blocked) in __mt76_set_tx_blocked()
707 q->blocked = blocked; in __mt76_set_tx_blocked()
710 q2->blocked = blocked; in __mt76_set_tx_blocked()
713 if (!blocked) in __mt76_set_tx_blocked()
750 dev->phy.q_tx[0]->blocked) in mt76_token_release()
/linux/Documentation/accounting/
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/net/atm/
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/
A Dsignal.c228 sigset_t blocked; in sys_rt_sigreturn() local
236 if (__copy_from_user(&blocked, &frame->uc.uc_sigmask, sizeof(blocked))) in sys_rt_sigreturn()
239 set_current_blocked(&blocked); in sys_rt_sigreturn()
/linux/arch/arm/mach-s3c/
A Dh1940-bluetooth.c50 static int h1940bt_set_block(void *data, bool blocked) in h1940bt_set_block() argument
52 h1940bt_enable(!blocked); in h1940bt_set_block()
/linux/Documentation/filesystems/
A Ddirectory-locking.rst81 renames will be blocked on filesystem lock and we don't start changing
90 Now consider the minimal deadlock. Each process is blocked on
93 not contended, since any process blocked on it is not holding any locks.
94 Thus all processes are blocked on ->i_rwsem.
102 blocked on source and it means that it doesn't hold any locks.
107 is blocked on belongs to child of that object due to (1).
/linux/drivers/platform/surface/aggregator/
A Dssh_packet_layer.c1607 for (i = 0; i < ARRAY_SIZE(ptl->rx.blocked.seqs); i++) { in ssh_ptl_rx_retransmit_check()
1608 if (likely(ptl->rx.blocked.seqs[i] != seq)) in ssh_ptl_rx_retransmit_check()
1616 ptl->rx.blocked.seqs[ptl->rx.blocked.offset] = seq; in ssh_ptl_rx_retransmit_check()
1617 ptl->rx.blocked.offset = (ptl->rx.blocked.offset + 1) in ssh_ptl_rx_retransmit_check()
1618 % ARRAY_SIZE(ptl->rx.blocked.seqs); in ssh_ptl_rx_retransmit_check()
2042 for (i = 0; i < ARRAY_SIZE(ptl->rx.blocked.seqs); i++) in ssh_ptl_init()
2043 ptl->rx.blocked.seqs[i] = U16_MAX; in ssh_ptl_init()
2044 ptl->rx.blocked.offset = 0; in ssh_ptl_init()
/linux/fs/ocfs2/dlm/
A Ddlmmaster.c92 int *blocked);
96 int blocked);
709 int blocked = 0; in dlm_get_lock_resource() local
815 if (blocked) { in dlm_get_lock_resource()
930 if (blocked) in dlm_get_lock_resource()
1004 int *blocked) in dlm_wait_for_lock_mastery() argument
1051 if ((*blocked && !b) || (!*blocked && b)) { in dlm_wait_for_lock_mastery()
1054 *blocked, b); in dlm_wait_for_lock_mastery()
1055 *blocked = b; in dlm_wait_for_lock_mastery()
1209 int blocked) in dlm_restart_lock_mastery() argument
[all …]
/linux/arch/mips/kernel/
A Dsignal_o32.c260 sigset_t blocked; in sys32_sigreturn() local
267 if (__copy_conv_sigset_from_user(&blocked, &frame->sf_mask)) in sys32_sigreturn()
270 set_current_blocked(&blocked); in sys32_sigreturn()
/linux/net/mac80211/
A Dht.c344 bool blocked; in ieee80211_ba_session_work() local
348 blocked = test_sta_flag(sta, WLAN_STA_BLOCK_BA); in ieee80211_ba_session_work()
363 if (!blocked && in ieee80211_ba_session_work()
379 if (!blocked && tid_tx) { in ieee80211_ba_session_work()
402 if (!blocked && in ieee80211_ba_session_work()

Completed in 56 milliseconds

1234567