| /linux/include/linux/ |
| H A D | rfkill.h | 64 int (*set_block)(void *data, bool blocked); 151 bool blocked, 172 static inline bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_hw_state() argument 174 return rfkill_set_hw_state_reason(rfkill, blocked, in rfkill_set_hw_state() 198 bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked); 214 void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked); 284 bool blocked, in rfkill_set_hw_state_reason() argument 287 return blocked; in rfkill_set_hw_state_reason() 290 static inline bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_hw_state() argument 292 return blocked; in rfkill_set_hw_state() [all …]
|
| /linux/Documentation/scsi/scsi_transport_srp/ |
| H A D | rport_state_diagram.dot | 10 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 D | core.c | 322 * @blocked: the new software state 327 static void rfkill_set_block(struct rfkill *rfkill, bool blocked) in rfkill_set_block() argument 352 if (blocked) in rfkill_set_block() 360 err = rfkill->ops->set_block(rfkill->data, blocked); in rfkill_set_block() 397 static void rfkill_update_global_state(enum rfkill_type type, bool blocked) in rfkill_update_global_state() argument 402 rfkill_global_states[type].cur = blocked; in rfkill_update_global_state() 407 rfkill_global_states[i].cur = blocked; in rfkill_update_global_state() 416 * @blocked: the new state 423 static void __rfkill_switch_all(const enum rfkill_type type, bool blocked) in __rfkill_switch_all() argument 427 rfkill_update_global_state(type, blocked); in __rfkill_switch_all() 446 rfkill_switch_all(enum rfkill_type type,bool blocked) rfkill_switch_all() argument 556 rfkill_set_hw_state_reason(struct rfkill * rfkill,bool blocked,enum rfkill_hard_block_reasons reason) rfkill_set_hw_state_reason() argument 587 __rfkill_set_sw_state(struct rfkill * rfkill,bool blocked) __rfkill_set_sw_state() argument 601 rfkill_set_sw_state(struct rfkill * rfkill,bool blocked) rfkill_set_sw_state() argument 628 rfkill_init_sw_state(struct rfkill * rfkill,bool blocked) rfkill_init_sw_state() argument [all...] |
| H A D | rfkill-gpio.c | 30 static int rfkill_gpio_set_power(void *data, bool blocked) in rfkill_gpio_set_power() argument 34 if (!blocked && !IS_ERR(rfkill->clk) && !rfkill->clk_enabled) { in rfkill_gpio_set_power() 41 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked); in rfkill_gpio_set_power() 42 gpiod_set_value_cansleep(rfkill->reset_gpio, !blocked); in rfkill_gpio_set_power() 44 if (blocked && !IS_ERR(rfkill->clk) && rfkill->clk_enabled) in rfkill_gpio_set_power() 47 rfkill->clk_enabled = !blocked; in rfkill_gpio_set_power()
|
| H A D | input.c | 85 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 D | rfkill.h | 12 void rfkill_switch_all(const enum rfkill_type type, bool blocked);
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | rfkill.c | 79 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/kernel/ |
| H A D | signal.c | 113 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 135 ready |= signal->sig[i] & ~blocked->sig[i]; in has_pending_signals() 144 PENDING(&t->pending, &t->blocked) || in recalc_sigpending_tsk() 145 PENDING(&t->signal->shared_pending, &t->blocked) || in recalc_sigpending_tsk() 683 if (!((pending->signal.sig[0] & ~tsk->blocked.sig[0]) & SYNCHRONOUS_MASK)) in dequeue_synchronous_signal() 954 if (sigismember(&p->blocked, sig)) in wants_signal() 1332 int ret, blocked, ignored; in force_sig_info_to_task() local 1339 blocked = sigismember(&t->blocked, sig); in force_sig_info_to_task() 1340 if (blocked || ignored || (handler != HANDLER_CURRENT)) { in force_sig_info_to_task() [all …]
|
| H A D | compat.c | 35 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/Documentation/accounting/ |
| H A D | cgroupstats.rst | 22 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/fs/coda/ |
| H A D | upcall.c | 619 *old = current->blocked; in coda_block_signals() 621 sigfillset(¤t->blocked); in coda_block_signals() 622 sigdelset(¤t->blocked, SIGKILL); in coda_block_signals() 623 sigdelset(¤t->blocked, SIGSTOP); in coda_block_signals() 624 sigdelset(¤t->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/locking/ |
| H A D | rt-mutex-design.rst | 82 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/platform/x86/ |
| H A D | msi-laptop.c | 714 static int rfkill_bluetooth_set(void *data, bool blocked) in rfkill_bluetooth_set() argument 721 int result = set_device_state(blocked ? "0" : "1", 0, in rfkill_bluetooth_set() 727 static int rfkill_wlan_set(void *data, bool blocked) in rfkill_wlan_set() argument 729 int result = set_device_state(blocked ? "0" : "1", 0, in rfkill_wlan_set() 735 static int rfkill_threeg_set(void *data, bool blocked) in rfkill_threeg_set() argument 737 int result = set_device_state(blocked ? "0" : "1", 0, in rfkill_threeg_set() 773 static bool msi_rfkill_set_state(struct rfkill *rfkill, bool blocked) in msi_rfkill_set_state() argument 776 return rfkill_set_hw_state(rfkill, blocked); in msi_rfkill_set_state() 778 return rfkill_set_sw_state(rfkill, blocked); in msi_rfkill_set_state()
|
| /linux/net/atm/ |
| H A D | pppoatm.c | 65 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() 311 test_and_set_bit(BLOCKED, &pvcc->blocked); in pppoatm_send()
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | tx.c | 488 return q->stopped || q->blocked || 910 void __mt76_set_tx_blocked(struct mt76_dev *dev, bool blocked) in __mt76_set_tx_blocked() 915 if (blocked == q->blocked) in __mt76_set_tx_blocked() 918 q->blocked = blocked; in __mt76_set_tx_blocked() 923 q->blocked = blocked; in __mt76_set_tx_blocked() 928 q->blocked = blocked; 904 __mt76_set_tx_blocked(struct mt76_dev * dev,bool blocked) __mt76_set_tx_blocked() argument [all...] |
| /linux/arch/hexagon/kernel/ |
| H A D | signal.c | 227 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/hv/ |
| H A D | mshv_trace.h | 487 TP_PROTO(u64 partition_id, u32 vp_index, bool kicked_by_hv, bool blocked, 489 TP_ARGS(partition_id, vp_index, kicked_by_hv, blocked, irq_pending), 494 __field(bool, blocked) 501 __entry->blocked = blocked; 508 __entry->blocked,
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| H A D | chan.c | 221 CHAN_TRACE(chan, "block %d", atomic_read(&chan->blocked)); in nvkm_chan_block_locked() 222 if (atomic_inc_return(&chan->blocked) == 1) in nvkm_chan_block_locked() 254 CHAN_TRACE(chan, "allow %d", atomic_read(&chan->blocked)); in nvkm_chan_allow() 255 if (atomic_dec_and_test(&chan->blocked)) in nvkm_chan_allow() 378 atomic_set(&chan->blocked, 1); in nvkm_chan_new_()
|
| /linux/drivers/platform/surface/aggregator/ |
| H A D | ssh_packet_layer.c | 1623 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 D | signal_o32.c | 261 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 D | mac80211_if.c | 424 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() 1734 bool blocked = brcms_c_check_radio_disabled(wl->wlc); in brcms_rfkill_set_hw_state() local 1737 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_rfkill_set_hw_state() 1738 if (blocked) in brcms_rfkill_set_hw_state() [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | rfkill.rst | 13 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/drivers/firewire/ |
| H A D | sbp2.c | 139 bool blocked; member 166 int blocked; /* ditto */ member 705 if (!tgt->dont_block && !lu->blocked && in sbp2_conditionally_block() 707 lu->blocked = true; in sbp2_conditionally_block() 708 if (++tgt->blocked == 1) in sbp2_conditionally_block() 729 if (lu->blocked && lu->generation == card->generation) { in sbp2_conditionally_unblock() 730 lu->blocked = false; in sbp2_conditionally_unblock() 731 unblock = --tgt->blocked == 0; in sbp2_conditionally_unblock() 987 lu->blocked = false; in sbp2_add_logical_unit()
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | phy_common.h | 169 void (*software_rfkill)(struct b43_wldev *dev, bool blocked); 396 void b43_software_rfkill(struct b43_wldev *dev, bool blocked);
|
| /linux/drivers/platform/x86/intel/ |
| H A D | oaktrail.c | 94 static int oaktrail_rfkill_set(void *data, bool blocked) in oaktrail_rfkill_set() argument 102 if (!blocked) in oaktrail_rfkill_set()
|