/openbmc/linux/include/linux/ |
H A D | rfkill.h | 64 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); 282 bool blocked, in rfkill_set_hw_state_reason() argument 285 return blocked; in rfkill_set_hw_state_reason() 288 static inline bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_hw_state() argument 290 return blocked; in rfkill_set_hw_state() [all …]
|
/openbmc/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" ];
|
/openbmc/linux/drivers/platform/x86/ |
H A D | xo1-rfkill.c | 15 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()
|
H A D | amilo-rfkill.c | 28 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()
|
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()
|
/openbmc/obmc-console/ |
H A D | tty-handler.c | 37 bool blocked; member 69 static void tty_set_blocked(struct tty_handler *th, bool blocked) in tty_set_blocked() argument 73 if (blocked == th->blocked) { in tty_set_blocked() 77 th->blocked = blocked; in tty_set_blocked() 80 if (th->blocked) { in tty_set_blocked() 99 } else if (th->blocked) { in tty_drain_queue()
|
H A D | socket-handler.c | 45 bool blocked; member 111 static void client_set_blocked(struct client *client, bool blocked) in client_set_blocked() argument 115 if (client->blocked == blocked) { in client_set_blocked() 119 client->blocked = blocked; in client_set_blocked() 122 if (client->blocked) { in client_set_blocked() 187 if (!block && client->blocked) { in client_drain_queue() 254 if (client->blocked) { in client_timeout()
|
/openbmc/linux/net/rfkill/ |
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 | core.c | 313 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 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()
|
/openbmc/qemu/scripts/qemugdb/ |
H A D | tcg.py | 36 blocked = ("__lll_lock_wait waiting on %s from %d" % 39 blocked = "not blocked" 42 iothread, replay, blocked))
|
/openbmc/qemu/docs/interop/ |
H A D | qemu-ga.rst | 32 RPCs will be blocked by default, except for the allowed list. 34 If a blocked RPCs list is defined in the configuration, then all 35 RPCs will be allowed by default, except for the blocked list. 37 If both allowed and blocked RPCs lists are defined in the configuration, 38 then all RPCs will be blocked by default, then the allowed list will 39 be applied, followed by the blocked list. 42 of RPCs will blocked, regardless of what the general configuration
|
/openbmc/qemu/block/ |
H A D | io_uring.c | 48 bool blocked; member 261 s->io_q.blocked = (s->io_q.in_queue > 0); in ioq_submit() 313 io_q->blocked = false; in ioq_init() 319 trace_luring_unplug_fn(s, s->io_q.blocked, s->io_q.in_queue, in luring_deferred_fn() 321 if (!s->io_q.blocked && s->io_q.in_queue > 0) { in luring_deferred_fn() 368 trace_luring_do_submit(s, s->io_q.blocked, s->io_q.in_queue, in luring_do_submit() 370 if (!s->io_q.blocked) { in luring_do_submit()
|
/openbmc/linux/kernel/ |
H A D | signal.c | 110 if (sigismember(&t->blocked, sig) || sigismember(&t->real_blocked, sig)) in sig_ignored() 128 static inline bool has_pending_signals(sigset_t *signal, sigset_t *blocked) in has_pending_signals() argument 136 ready |= signal->sig[i] &~ blocked->sig[i]; in has_pending_signals() 139 case 4: ready = signal->sig[3] &~ blocked->sig[3]; in has_pending_signals() 140 ready |= signal->sig[2] &~ blocked->sig[2]; in has_pending_signals() 141 ready |= signal->sig[1] &~ blocked->sig[1]; in has_pending_signals() 142 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals() 145 case 2: ready = signal->sig[1] &~ blocked->sig[1]; in has_pending_signals() 146 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals() 149 case 1: ready = signal->sig[0] &~ blocked->sig[0]; in has_pending_signals() [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()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | flowring.c | 179 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()
|
/openbmc/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()
|
/openbmc/qemu/linux-user/mips/ |
H A D | signal.c | 249 sigset_t blocked; in do_sigreturn() local 262 target_to_host_sigset_internal(&blocked, &target_set); in do_sigreturn() 263 set_sigmask(&blocked); in do_sigreturn() 355 sigset_t blocked; in do_rt_sigreturn() local 363 target_to_host_sigset(&blocked, &frame->rs_uc.tuc_sigmask); in do_rt_sigreturn() 364 set_sigmask(&blocked); in do_rt_sigreturn()
|
/openbmc/qemu/linux-user/sh4/ |
H A D | signal.c | 276 sigset_t blocked; in do_sigreturn() local 291 target_to_host_sigset_internal(&blocked, &target_set); in do_sigreturn() 292 set_sigmask(&blocked); in do_sigreturn() 309 sigset_t blocked; in do_rt_sigreturn() local 317 target_to_host_sigset(&blocked, &frame->uc.tuc_sigmask); in do_rt_sigreturn() 318 set_sigmask(&blocked); in do_rt_sigreturn()
|
/openbmc/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
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | tx.c | 442 return q->stopped || q->blocked || in mt76_txq_stopped() 794 void __mt76_set_tx_blocked(struct mt76_dev *dev, bool blocked) in __mt76_set_tx_blocked() argument 799 if (blocked == q->blocked) in __mt76_set_tx_blocked() 802 q->blocked = blocked; in __mt76_set_tx_blocked() 807 q->blocked = blocked; in __mt76_set_tx_blocked() 812 q->blocked = blocked; in __mt76_set_tx_blocked() 815 if (!blocked) in __mt76_set_tx_blocked() 883 dev->phy.q_tx[0]->blocked) in mt76_token_release()
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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() 308 test_and_set_bit(BLOCKED, &pvcc->blocked); in pppoatm_send()
|
/openbmc/linux/arch/hexagon/kernel/ |
H A D | signal.c | 227 sigset_t blocked; in sys_rt_sigreturn() local 235 if (__copy_from_user(&blocked, &frame->uc.uc_sigmask, sizeof(blocked))) in sys_rt_sigreturn() 238 set_current_blocked(&blocked); in sys_rt_sigreturn()
|