Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Drfkill.h64 int (*set_block)(void *data, bool blocked);
158 bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked);
180 bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked);
196 void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked);
249 static inline bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_hw_state() argument
251 return blocked; in rfkill_set_hw_state()
254 static inline bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) in rfkill_set_sw_state() argument
256 return blocked; in rfkill_set_sw_state()
259 static inline void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) in rfkill_init_sw_state() argument
Dinit_task.h235 .blocked = {{0}}, \
Dsched.h1279 bool blocked; member
1487 sigset_t blocked, real_blocked; member
2418 sigset_t *res = &current->blocked; in sigmask_to_save()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-prim.c135 old = current->blocked; in cfs_block_allsigs()
136 sigfillset(&current->blocked); in cfs_block_allsigs()
150 old = current->blocked; in cfs_block_sigs()
151 sigaddsetmask(&current->blocked, sigs); in cfs_block_sigs()
165 old = current->blocked; in cfs_block_sigsinv()
166 sigaddsetmask(&current->blocked, ~sigs); in cfs_block_sigsinv()
180 current->blocked = old; in cfs_restore_sigs()
/linux-4.1.27/Documentation/scsi/scsi_transport_srp/
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-4.1.27/drivers/platform/x86/
Dxo1-rfkill.c19 static int rfkill_set_block(void *data, bool blocked) in rfkill_set_block() argument
24 if (blocked == card_blocked) in rfkill_set_block()
27 if (blocked) in rfkill_set_block()
34 card_blocked = blocked; in rfkill_set_block()
Damilo-rfkill.c32 static int amilo_a1655_rfkill_set_block(void *data, bool blocked) in amilo_a1655_rfkill_set_block() argument
34 u8 param = blocked ? A1655_WIFI_OFF : A1655_WIFI_ON; in amilo_a1655_rfkill_set_block()
58 static int amilo_m7440_rfkill_set_block(void *data, bool blocked) in amilo_m7440_rfkill_set_block() argument
60 u8 val1 = blocked ? M7440_RADIO_OFF1 : M7440_RADIO_ON1; in amilo_m7440_rfkill_set_block()
61 u8 val2 = blocked ? M7440_RADIO_OFF2 : M7440_RADIO_ON2; in amilo_m7440_rfkill_set_block()
Dmsi-laptop.c721 static int rfkill_bluetooth_set(void *data, bool blocked) in rfkill_bluetooth_set() argument
728 int result = set_device_state(blocked ? "0" : "1", 0, in rfkill_bluetooth_set()
734 static int rfkill_wlan_set(void *data, bool blocked) in rfkill_wlan_set() argument
736 int result = set_device_state(blocked ? "0" : "1", 0, in rfkill_wlan_set()
742 static int rfkill_threeg_set(void *data, bool blocked) in rfkill_threeg_set() argument
744 int result = set_device_state(blocked ? "0" : "1", 0, in rfkill_threeg_set()
780 static bool msi_rfkill_set_state(struct rfkill *rfkill, bool blocked) in msi_rfkill_set_state() argument
783 return rfkill_set_hw_state(rfkill, blocked); in msi_rfkill_set_state()
785 return rfkill_set_sw_state(rfkill, blocked); in msi_rfkill_set_state()
Dintel_oaktrail.c108 static int oaktrail_rfkill_set(void *data, bool blocked) in oaktrail_rfkill_set() argument
116 if (!blocked) in oaktrail_rfkill_set()
Dasus-wmi.c597 bool blocked; in asus_rfkill_hotplug() local
602 blocked = asus_wlan_rfkill_blocked(asus); in asus_rfkill_hotplug()
609 rfkill_set_sw_state(asus->wlan.rfkill, blocked); in asus_rfkill_hotplug()
624 if (blocked != absent) { in asus_rfkill_hotplug()
627 blocked ? "blocked" : "unblocked", in asus_rfkill_hotplug()
634 if (!blocked) { in asus_rfkill_hotplug()
800 static int asus_rfkill_set(void *data, bool blocked) in asus_rfkill_set() argument
803 u32 ctrl_param = !blocked; in asus_rfkill_set()
834 static int asus_rfkill_wlan_set(void *data, bool blocked) in asus_rfkill_wlan_set() argument
848 ret = asus_rfkill_set(data, blocked); in asus_rfkill_wlan_set()
Deeepc-laptop.c572 bool blocked = eeepc_wlan_rfkill_blocked(eeepc); in eeepc_rfkill_hotplug() local
577 rfkill_set_sw_state(eeepc->wlan_rfkill, blocked); in eeepc_rfkill_hotplug()
605 if (blocked != absent) { in eeepc_rfkill_hotplug()
607 blocked ? "blocked" : "unblocked", in eeepc_rfkill_hotplug()
613 if (!blocked) { in eeepc_rfkill_hotplug()
783 static int eeepc_rfkill_set(void *data, bool blocked) in eeepc_rfkill_set() argument
787 return write_acpi_int(handle, NULL, !blocked); in eeepc_rfkill_set()
Dclassmate-laptop.c912 bool blocked; in cmpc_rfkill_query() local
917 blocked = state & 1 ? false : true; in cmpc_rfkill_query()
918 rfkill_set_sw_state(rfkill, blocked); in cmpc_rfkill_query()
922 static int cmpc_rfkill_block(void *data, bool blocked) in cmpc_rfkill_block() argument
935 if (is_blocked != blocked) { in cmpc_rfkill_block()
936 state = blocked ? 0 : 1; in cmpc_rfkill_block()
Dasus-laptop.c1315 static int asus_gps_rfkill_set(void *data, bool blocked) in asus_gps_rfkill_set() argument
1319 return asus_gps_switch(asus, !blocked); in asus_gps_rfkill_set()
1326 static int asus_rfkill_set(void *data, bool blocked) in asus_rfkill_set() argument
1332 return asus_wlan_set(asus, !blocked); in asus_rfkill_set()
1334 return asus_bluetooth_set(asus, !blocked); in asus_rfkill_set()
1336 return asus_wimax_set(asus, !blocked); in asus_rfkill_set()
1338 return asus_wwan_set(asus, !blocked); in asus_rfkill_set()
1442 static int pega_rfkill_set(void *data, bool blocked) in pega_rfkill_set() argument
1446 int ret = asus_pega_lucid_set(rfk->asus, rfk->control_id, !blocked); in pega_rfkill_set()
Dsamsung-laptop.c584 static int seclinux_rfkill_set(void *data, bool blocked) in seclinux_rfkill_set() argument
591 !blocked); in seclinux_rfkill_set()
607 static int swsmi_rfkill_set(void *priv, bool blocked) in swsmi_rfkill_set() argument
625 data.data[WL_STATUS_WLAN] = !blocked; in swsmi_rfkill_set()
627 data.data[WL_STATUS_BT] = !blocked; in swsmi_rfkill_set()
963 int blocked) in samsung_new_rfkill() argument
977 if (blocked != -1) in samsung_new_rfkill()
978 rfkill_init_sw_state(*rfkill, blocked); in samsung_new_rfkill()
Dhp-wmi.c331 static int hp_wmi_set_block(void *data, bool blocked) in hp_wmi_set_block() argument
334 int query = BIT(r + 8) | ((!blocked) << r); in hp_wmi_set_block()
382 static int hp_wmi_rfkill2_set_block(void *data, bool blocked) in hp_wmi_rfkill2_set_block() argument
385 char buffer[4] = { 0x01, 0x00, rfkill_id, !blocked }; in hp_wmi_rfkill2_set_block()
Dcompal-laptop.c351 static int compal_rfkill_set(void *data, bool blocked) in compal_rfkill_set() argument
357 if (!blocked) in compal_rfkill_set()
Dideapad-laptop.c464 static int ideapad_rfk_set(void *data, bool blocked) in ideapad_rfk_set() argument
469 return write_ec_cmd(priv->priv->adev->handle, opcode, !blocked); in ideapad_rfk_set()
Ddell-laptop.c464 static int dell_rfkill_set(void *data, bool blocked) in dell_rfkill_set() argument
466 int disable = blocked ? 1 : 0; in dell_rfkill_set()
Dacer-wmi.c1538 static int acer_rfkill_set(void *data, bool blocked) in acer_rfkill_set() argument
1544 status = set_u32(!blocked, cap); in acer_rfkill_set()
Dthinkpad_acpi.c1183 static void tpacpi_rfk_update_hwblock_state(bool blocked) in tpacpi_rfk_update_hwblock_state() argument
1192 blocked)) { in tpacpi_rfk_update_hwblock_state()
1218 static int tpacpi_rfk_hook_set_block(void *data, bool blocked) in tpacpi_rfk_hook_set_block() argument
1225 blocked ? "blocked" : "unblocked"); in tpacpi_rfk_hook_set_block()
1228 res = (tp_rfk->ops->set_status)(blocked ? in tpacpi_rfk_hook_set_block()
Dtoshiba_acpi.c1244 static int bt_rfkill_set_block(void *data, bool blocked) in bt_rfkill_set_block() argument
1252 value = (blocked == false); in bt_rfkill_set_block()
Dsony-laptop.c1605 static int sony_nc_rfkill_set(void *data, bool blocked) in sony_nc_rfkill_set() argument
1610 if (!blocked) in sony_nc_rfkill_set()
/linux-4.1.27/net/rfkill/
Drfkill-gpio.c44 static int rfkill_gpio_set_power(void *data, bool blocked) in rfkill_gpio_set_power() argument
48 if (!blocked && !IS_ERR(rfkill->clk) && !rfkill->clk_enabled) in rfkill_gpio_set_power()
51 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked); in rfkill_gpio_set_power()
52 gpiod_set_value_cansleep(rfkill->reset_gpio, !blocked); in rfkill_gpio_set_power()
54 if (blocked && !IS_ERR(rfkill->clk) && rfkill->clk_enabled) in rfkill_gpio_set_power()
57 rfkill->clk_enabled = !blocked; in rfkill_gpio_set_power()
Dcore.c237 bool blocked, bool *change) in __rfkill_set_hw_state() argument
246 if (blocked) in __rfkill_set_hw_state()
250 *change = prev != blocked; in __rfkill_set_hw_state()
268 static void rfkill_set_block(struct rfkill *rfkill, bool blocked) in rfkill_set_block() argument
293 if (blocked) in rfkill_set_block()
301 err = rfkill->ops->set_block(rfkill->data, blocked); in rfkill_set_block()
340 static void __rfkill_switch_all(const enum rfkill_type type, bool blocked) in __rfkill_switch_all() argument
344 rfkill_global_states[type].cur = blocked; in __rfkill_switch_all()
349 rfkill_set_block(rfkill, blocked); in __rfkill_switch_all()
363 void rfkill_switch_all(enum rfkill_type type, bool blocked) in rfkill_switch_all() argument
[all …]
Dinput.c88 bool blocked; in __rfkill_handle_normal_op() local
90 blocked = rfkill_get_global_sw_state(type); in __rfkill_handle_normal_op()
92 blocked = !blocked; in __rfkill_handle_normal_op()
94 rfkill_switch_all(type, blocked); in __rfkill_handle_normal_op()
Drfkill-regulator.c30 static int rfkill_regulator_set_block(void *data, bool blocked) in rfkill_regulator_set_block() argument
35 pr_debug("%s: blocked: %d\n", __func__, blocked); in rfkill_regulator_set_block()
37 if (blocked) { in rfkill_regulator_set_block()
Drfkill.h16 void rfkill_switch_all(const enum rfkill_type type, bool blocked);
/linux-4.1.27/scripts/rt-tester/
Dt5-l4-pi-boost-deboost-setsched.tst37 # blocked lock nr (0-7)
48 # 5 threads 4 lock PI - modify priority of blocked threads
70 W: blocked: 1: 0
79 W: blocked: 2: 1
89 W: blocked: 3: 2
96 W: blocked: 4: 3
Dt5-l4-pi-boost-deboost.tst37 # blocked lock nr (0-7)
70 W: blocked: 1: 0
79 W: blocked: 2: 1
89 W: blocked: 3: 2
96 W: blocked: 4: 3
Dt3-l1-pi-steal.tst37 # blocked lock nr (0-7)
64 W: blocked: 1: 0
79 # T2 must have the lock and T1 must be blocked
81 W: blocked: 1: 0
Dt3-l1-pi-signal.tst37 # blocked lock nr (0-7)
62 W: blocked: 1: 0
68 W: blocked: 2: 0
79 T: blocked: 1: 0
Dt4-l2-pi-deboost.tst37 # blocked lock nr (0-7)
69 W: blocked: 3: 0
74 W: blocked: 0: 1
89 W: blocked: 2: 1
Dt3-l1-pi-1rt.tst37 # blocked lock nr (0-7)
64 W: blocked: 1: 0
69 W: blocked: 2: 0
Dt2-l2-2rt-deadlock.tst37 # blocked lock nr (0-7)
67 W: blocked: 0: 1
71 W: blocked: 1: 0
Dt3-l1-pi-3rt.tst37 # blocked lock nr (0-7)
64 W: blocked: 1: 0
69 W: blocked: 2: 0
Dt3-l2-pi.tst37 # blocked lock nr (0-7)
64 W: blocked: 1: 0
69 W: blocked: 2: 0
Dt2-l1-2rt-sameprio.tst37 # blocked lock nr (0-7)
61 W: blocked: 1: 0
80 W: blocked: 0: 0
Dt3-l1-pi-2rt.tst37 # blocked lock nr (0-7)
64 W: blocked: 1: 0
69 W: blocked: 2: 0
Dt2-l1-signal.tst37 # blocked lock nr (0-7)
63 W: blocked: 1: 0
Dt2-l1-pi.tst37 # blocked lock nr (0-7)
63 W: blocked: 1: 0
/linux-4.1.27/kernel/
Dsignal.c88 if (sigismember(&t->blocked, sig) || sigismember(&t->real_blocked, sig)) in sig_ignored()
104 static inline int has_pending_signals(sigset_t *signal, sigset_t *blocked) in has_pending_signals() argument
112 ready |= signal->sig[i] &~ blocked->sig[i]; in has_pending_signals()
115 case 4: ready = signal->sig[3] &~ blocked->sig[3]; in has_pending_signals()
116 ready |= signal->sig[2] &~ blocked->sig[2]; in has_pending_signals()
117 ready |= signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
118 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
121 case 2: ready = signal->sig[1] &~ blocked->sig[1]; in has_pending_signals()
122 ready |= signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
125 case 1: ready = signal->sig[0] &~ blocked->sig[0]; in has_pending_signals()
[all …]
Dcompat.c396 static inline void compat_sig_setmask(sigset_t *blocked, compat_sigset_word set) in compat_sig_setmask() argument
398 memcpy(blocked->sig, &set, sizeof(set)); in compat_sig_setmask()
408 old_set = current->blocked.sig[0]; in COMPAT_SYSCALL_DEFINE3()
415 new_blocked = current->blocked; in COMPAT_SYSCALL_DEFINE3()
Dptrace.c873 if (copy_to_user(datavp, &child->blocked, sizeof(sigset_t))) in ptrace_request()
901 child->blocked = new_set; in ptrace_request()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
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-4.1.27/arch/arm/mach-pxa/
Dtosa-bt.c38 static int tosa_bt_set_block(void *data, bool blocked) in tosa_bt_set_block() argument
40 pr_info("BT_RADIO going: %s\n", blocked ? "off" : "on"); in tosa_bt_set_block()
42 if (!blocked) { in tosa_bt_set_block()
/linux-4.1.27/Documentation/accounting/
Dcgroupstats.txt18 about tasks blocked on I/O. If CONFIG_TASK_DELAY_ACCT is disabled, this
25 sleeping 1, blocked 0, running 1, stopped 0, uninterruptible 0
27 sleeping 155, blocked 0, running 1, stopped 0, uninterruptible 2
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dflowring.c183 bool blocked) in brcmf_flowring_block() argument
205 if (ring->blocked) { in brcmf_flowring_block()
212 ring->blocked = blocked; in brcmf_flowring_block()
213 if (currently_blocked == blocked) { in brcmf_flowring_block()
221 brcmf_txflowblock_if(ifp, BRCMF_NETIF_STOP_REASON_FLOW, blocked); in brcmf_flowring_block()
261 if (!ring->blocked && in brcmf_flowring_enqueue()
288 if (ring->blocked && in brcmf_flowring_dequeue()
Dflowring.h38 bool blocked; member
/linux-4.1.27/fs/coda/
Dupcall.c578 *old = current->blocked; in coda_block_signals()
580 sigfillset(&current->blocked); in coda_block_signals()
581 sigdelset(&current->blocked, SIGKILL); in coda_block_signals()
582 sigdelset(&current->blocked, SIGSTOP); in coda_block_signals()
583 sigdelset(&current->blocked, SIGINT); in coda_block_signals()
592 current->blocked = *old; in coda_unblock_signals()
614 int blocked; in coda_waitfor_upcall() local
617 blocked = 1; in coda_waitfor_upcall()
630 if (blocked && time_after(jiffies, timeout) && in coda_waitfor_upcall()
634 blocked = 0; in coda_waitfor_upcall()
[all …]
/linux-4.1.27/net/wimax/
Dop-rfkill.c249 static int wimax_rfkill_set_radio_block(void *data, bool blocked) in wimax_rfkill_set_radio_block() argument
256 d_fnstart(3, dev, "(wimax_dev %p blocked %u)\n", wimax_dev, blocked); in wimax_rfkill_set_radio_block()
258 if (blocked) in wimax_rfkill_set_radio_block()
267 wimax_dev, blocked, result); in wimax_rfkill_set_radio_block()
/linux-4.1.27/net/atm/
Dpppoatm.c68 unsigned long blocked; member
125 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) in pppoatm_release_cb()
160 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) in pppoatm_pop()
257 test_and_set_bit(BLOCKED, &pvcc->blocked); in pppoatm_may_send()
311 test_and_set_bit(BLOCKED, &pvcc->blocked); in pppoatm_send()
/linux-4.1.27/Documentation/locking/
Drt-mutex-design.txt80 blocked on one of its locks. This is described in more detail
95 waiter - A waiter is a struct that is stored on the stack of a blocked
97 a process being blocked on the mutex, it is fine to allocate
100 the task is blocked on. It also has the plist node structures to
107 waiters - A list of processes that are blocked on a mutex.
123 would never diverge, since a process can't be blocked on more than one
132 B blocked on L1
134 C blocked on L2
136 D blocked on L3
138 E blocked on L4
[all …]
Drt-mutex.txt21 boosting to the owner of the other rt_mutex it gets blocked on. The
/linux-4.1.27/arch/hexagon/kernel/
Dsignal.c239 sigset_t blocked; in sys_rt_sigreturn() local
247 if (__copy_from_user(&blocked, &frame->uc.uc_sigmask, sizeof(blocked))) in sys_rt_sigreturn()
250 set_current_blocked(&blocked); in sys_rt_sigreturn()
/linux-4.1.27/arch/arm/mach-s3c24xx/
Dh1940-bluetooth.c57 static int h1940bt_set_block(void *data, bool blocked) in h1940bt_set_block() argument
59 h1940bt_enable(!blocked); in h1940bt_set_block()
/linux-4.1.27/Documentation/filesystems/
Ddirectory-locking63 renames will be blocked on filesystem lock and we don't start changing
72 Now consider the minimal deadlock. Each process is blocked on
75 not contended, since any process blocked on it is not holding any locks.
76 Thus all processes are blocked on ->i_mutex.
84 blocked on source and it means that it doesn't hold any locks.
89 is blocked on belongs to child of that object due to (1).
Ddnotify.txt36 is often blocked, so it is better to use (at least) SIGRTMIN + 1.
Dproc.txt144 symbol the task is blocked in - or "0" if not blocked.
244 SigBlk bitmap of blocked signals
310 blocked bitmap of blocked signals
1309 The "procs_blocked" line gives the number of processes currently blocked,
Dcoda.txt299 the calling thread in P is blocked in upcall. A pointer in the
1655 explicitly blocked.
Dxfs-delayed-logging-design.txt56 progresses, ensuring that current operation never gets blocked by itself if the
/linux-4.1.27/fs/proc/
Darray.c252 sigset_t pending, shpending, blocked, ignored, caught; in task_sig() local
259 sigemptyset(&blocked); in task_sig()
266 blocked = p->blocked; in task_sig()
282 render_sigset_t(m, "SigBlk:\t", &blocked); in task_sig()
496 seq_put_decimal_ull(m, ' ', task->blocked.sig[0] & 0x7fffffffUL); in do_task_stat()
/linux-4.1.27/fs/ocfs2/dlm/
Ddlmmaster.c109 int *blocked);
113 int blocked);
516 !list_empty(&res->blocked) || in dlm_lockres_release()
527 !list_empty(&res->blocked) ? 'B' : ' ', in dlm_lockres_release()
540 BUG_ON(!list_empty(&res->blocked)); in dlm_lockres_release()
576 INIT_LIST_HEAD(&res->blocked); in dlm_init_lockres()
741 int blocked = 0; in dlm_get_lock_resource() local
836 blocked = dlm_find_mle(dlm, &mle, (char *)lockid, namelen); in dlm_get_lock_resource()
837 if (blocked) { in dlm_get_lock_resource()
952 if (blocked) in dlm_get_lock_resource()
[all …]
Ddlmthread.c84 list_empty(&res->blocked)) in __dlm_lockres_has_locks()
308 goto blocked; in dlm_shuffle_lists()
380 blocked: in dlm_shuffle_lists()
381 if (list_empty(&res->blocked)) in dlm_shuffle_lists()
383 target = list_entry(res->blocked.next, struct dlm_lock, list); in dlm_shuffle_lists()
Ddlmlock.c178 list_add_tail(&lock->list, &res->blocked); in dlmlock_master()
240 list_add_tail(&lock->list, &res->blocked); in dlmlock_remote()
Ddlmcommon.h307 struct list_head blocked; member
426 ret = &res->blocked; in dlm_list_idx_to_ptr()
Ddlmdebug.c128 list_for_each_entry(lock, &res->blocked, list) { in __dlm_print_one_lock_resource()
568 list_for_each_entry(lock, &res->blocked, list) in dump_lockres()
Ddlmast.c383 head = &res->blocked; in dlm_proxy_ast_handler()
Ddlmunlock.c536 if (dlm_lock_on_list(&res->blocked, lock)) { in dlm_get_cancel_actions()
Ddlmrecovery.c2275 list_for_each_entry_safe(lock, next, &res->blocked, list) { in dlm_free_dead_locks()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
Dmac80211_if.c426 bool blocked; in brcms_ops_start() local
437 blocked = brcms_rfkill_set_hw_state(wl); in brcms_ops_start()
439 if (!blocked) in brcms_ops_start()
447 if (!blocked) in brcms_ops_start()
884 bool blocked; in brcms_ops_rfkill_poll() local
887 blocked = brcms_c_check_radio_disabled(wl->wlc); in brcms_ops_rfkill_poll()
890 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_ops_rfkill_poll()
1698 bool blocked = brcms_c_check_radio_disabled(wl->wlc); in brcms_rfkill_set_hw_state() local
1701 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); in brcms_rfkill_set_hw_state()
1702 if (blocked) in brcms_rfkill_set_hw_state()
[all …]
/linux-4.1.27/drivers/net/wireless/b43/
Dphy_common.h175 void (*software_rfkill)(struct b43_wldev *dev, bool blocked);
405 void b43_software_rfkill(struct b43_wldev *dev, bool blocked);
Dphy_common.c464 void b43_software_rfkill(struct b43_wldev *dev, bool blocked) in b43_software_rfkill() argument
469 phy->ops->software_rfkill(dev, blocked); in b43_software_rfkill()
470 phy->radio_on = !blocked; in b43_software_rfkill()
Dphy_a.c484 bool blocked) in b43_aphy_op_software_rfkill() argument
488 if (!blocked) { in b43_aphy_op_software_rfkill()
Dphy_lcn.c743 bool blocked) in b43_phy_lcn_op_software_rfkill() argument
748 if (blocked) { in b43_phy_lcn_op_software_rfkill()
Dphy_ht.c1036 bool blocked) in b43_phy_ht_op_software_rfkill() argument
1041 if (blocked) { in b43_phy_ht_op_software_rfkill()
Dphy_g.c2594 bool blocked) in b43_gphy_op_software_rfkill() argument
2602 if (!blocked) { in b43_gphy_op_software_rfkill()
Dphy_lp.c1430 bool blocked) in b43_lpphy_op_software_rfkill() argument
1433 if (blocked) { in b43_lpphy_op_software_rfkill()
Dphy_n.c6610 bool blocked) in b43_nphy_op_software_rfkill() argument
6617 if (blocked) { in b43_nphy_op_software_rfkill()
/linux-4.1.27/Documentation/RCU/
Dtrace.txt366 of the blocked-tasks lists. A "G" preceding the ">"
367 indicates that at least one task blocked in an RCU
370 at least one task blocked in an RCU read-side critical
373 least one task is blocked within an RCU read-side
378 are blocked. In contrast, "GE>T" indicates maximal
379 inconvenience from blocked tasks. CONFIG_TREE_RCU
460 "T" This indicates that there are some tasks that blocked
464 "N" This indicates that some of the blocked tasks are preventing
468 "E" This indicates that some of the blocked tasks are preventing
471 "B" This indicates that some of the blocked tasks are in
[all …]
DwhatisRCU.txt965 (thus read-holding rcu_gp_mutex), task B blocked
967 task C blocked in rcu_read_lock() attempting to
974 cannot be blocked by tasks executing synchronize_rcu().
/linux-4.1.27/drivers/firewire/
Dsbp2.c152 bool blocked; member
179 int blocked; /* ditto */ member
717 if (!tgt->dont_block && !lu->blocked && in sbp2_conditionally_block()
719 lu->blocked = true; in sbp2_conditionally_block()
720 if (++tgt->blocked == 1) in sbp2_conditionally_block()
741 if (lu->blocked && lu->generation == card->generation) { in sbp2_conditionally_unblock()
742 lu->blocked = false; in sbp2_conditionally_unblock()
743 unblock = --tgt->blocked == 0; in sbp2_conditionally_unblock()
999 lu->blocked = false; in sbp2_add_logical_unit()
/linux-4.1.27/arch/alpha/kernel/
Dasm-offsets.c21 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); in foo()
/linux-4.1.27/drivers/isdn/capi/
Dkcapi.c469 if (!ctr->blocked) { in capi_ctr_suspend_output()
472 ctr->blocked = 1; in capi_ctr_suspend_output()
490 if (ctr->blocked) { in capi_ctr_resume_output()
493 ctr->blocked = 0; in capi_ctr_resume_output()
532 ctr->blocked = 0; in attach_capi_ctr()
793 if (ctr->blocked) in capi20_put_message()
/linux-4.1.27/arch/mips/kernel/
Dsignal.c359 sigset_t blocked; in sys_sigreturn() local
365 if (__copy_from_user(&blocked, &frame->sf_mask, sizeof(blocked))) in sys_sigreturn()
368 set_current_blocked(&blocked); in sys_sigreturn()
Dsignal32.c423 sigset_t blocked; in sys32_sigreturn() local
429 if (__copy_conv_sigset_from_user(&blocked, &frame->sf_mask)) in sys32_sigreturn()
432 set_current_blocked(&blocked); in sys32_sigreturn()
/linux-4.1.27/Documentation/
Drfkill.txt13 transmitter in the system. When a transmitter is blocked, it shall not
49 When the device is hard-blocked (either by a call to rfkill_set_hw_state()
82 rfkill drivers that control devices that can be hard-blocked unless they also
Dmd.txt294 clean, but writes are blocked waiting for 'active' to be written.
369 blocked - device has failed, and the failure hasn't been
372 it were not faulty are blocked.
390 Writing "blocked" sets the "blocked" flag.
391 Writing "-blocked" clears the "blocked" flags and allows writes
405 or 'blocked' causes an event.
576 within the array where IO will be blocked. This is currently
Dsysrq.txt118 'w' - Dumps tasks that are in uninterruptable (blocked) state.
Dparport-lowlevel.txt563 the caller still owns the port and the call blocked.
Dkprobes.txt249 When an optimized kprobe is unregistered, disabled, or blocked by
Dkernel-parameters.txt3277 etc. communication is blocked by default.
3283 blocked and the previous configuration.
3285 blocked and everything unblocked.
/linux-4.1.27/include/net/
Dinet_connection_sock.h114 __u8 blocked; /* Delayed ACK was blocked by socket lock */ member
204 icsk->icsk_ack.blocked = icsk->icsk_ack.pending = 0; in inet_csk_clear_xmit_timer()
Dcfg80211.h4257 void wiphy_rfkill_set_hw_state(struct wiphy *wiphy, bool blocked);
/linux-4.1.27/drivers/parport/
Dshare.c789 goto blocked; in parport_claim()
792 goto blocked; in parport_claim()
801 goto blocked; in parport_claim()
848 blocked: in parport_claim()
/linux-4.1.27/include/linux/isdn/
Dcapilli.h70 int blocked; /* output blocked */ member
/linux-4.1.27/fs/autofs4/
Dwaitq.c478 oldset = current->blocked; in autofs4_wait()
479 siginitsetinv(&current->blocked, SHUTDOWN_SIGS & ~oldset.sig[0]); in autofs4_wait()
486 current->blocked = oldset; in autofs4_wait()
/linux-4.1.27/Documentation/ia64/
Dmca.txt64 running or not. That is, whether it is on a cpu or is blocked. The
67 INIT event are no longer running, they have been converted to blocked
154 does not bother making the user space process look like a blocked task,
171 exactly like any other blocked task, i.e. it now appears to be
180 If the previous task has been verified and converted to a blocked
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dhtc_drv_gpio.c323 bool blocked = !!ath_is_rfkill_set(priv); in ath9k_htc_rfkill_poll_state() local
325 wiphy_rfkill_set_hw_state(hw->wiphy, blocked); in ath9k_htc_rfkill_poll_state()
Dgpio.c120 bool blocked = !!ath_is_rfkill_set(sc); in ath9k_rfkill_poll_state() local
122 wiphy_rfkill_set_hw_state(hw->wiphy, blocked); in ath9k_rfkill_poll_state()
/linux-4.1.27/include/trace/events/
Dbcache.h452 __field(unsigned, blocked )
459 __entry->blocked = atomic_read(&ca->set->prio_blocked);
464 __entry->free_inc, __entry->blocked)
/linux-4.1.27/fs/jffs2/
Dbackground.c130 signr = dequeue_signal_lock(current, &current->blocked, &info); in jffs2_garbage_collect_thread()
/linux-4.1.27/drivers/block/
Dnbd.c148 sigset_t blocked, oldset; in sock_xmit() local
160 siginitsetinv(&blocked, sigmask(SIGKILL)); in sock_xmit()
161 sigprocmask(SIG_SETMASK, &blocked, &oldset); in sock_xmit()
195 dequeue_signal_lock(current, &current->blocked, &info)); in sock_xmit()
/linux-4.1.27/Documentation/blockdev/drbd/
Ddrbd-connection-state-overview.dot39 label="new application (WRITE?) requests blocked\lwhile bitmap is exchanged"
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-class-rfkill38 Description: Whether the soft blocked state is initialised from non-volatile
Dsysfs-transport-srp53 "blocked" if a transport layer error has been encountered but
/linux-4.1.27/net/wireless/
Dcore.c250 static int cfg80211_rfkill_set_block(void *data, bool blocked) in cfg80211_rfkill_set_block() argument
254 if (!blocked) in cfg80211_rfkill_set_block()
835 void wiphy_rfkill_set_hw_state(struct wiphy *wiphy, bool blocked) in wiphy_rfkill_set_hw_state() argument
839 if (rfkill_set_hw_state(rdev->rfkill, blocked)) in wiphy_rfkill_set_hw_state()
/linux-4.1.27/net/dccp/
Dtimer.c181 icsk->icsk_ack.blocked = 1; in dccp_delack_timer()
Doutput.c614 if (icsk->icsk_ack.blocked) {
/linux-4.1.27/kernel/rcu/
Dtree_plugin.h150 !t->rcu_read_unlock_special.b.blocked) { in rcu_preempt_note_context_switch()
157 t->rcu_read_unlock_special.b.blocked = true; in rcu_preempt_note_context_switch()
299 t->rcu_read_unlock_special.b.blocked, in rcu_read_unlock_special()
306 if (special.b.blocked) { in rcu_read_unlock_special()
307 t->rcu_read_unlock_special.b.blocked = false; in rcu_read_unlock_special()
828 t->rcu_read_unlock_special.b.blocked = true; in exit_rcu()
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
Dapi-ni.c1729 sigset_t blocked = cfs_block_allsigs(); in lnet_ping_target_fini() local
1756 cfs_restore_sigs(blocked); in lnet_ping_target_fini()
1777 sigset_t blocked; in lnet_ping() local
1832 blocked = cfs_block_allsigs(); in lnet_ping()
1837 cfs_restore_sigs(blocked); in lnet_ping()
/linux-4.1.27/fs/fuse/
Ddev.c142 return !fc->initialized || (for_background && fc->blocked); in fuse_block_alloc()
285 if (!fc->blocked) in fuse_put_request()
390 fc->blocked = 0; in request_end()
393 if (!fc->blocked && waitqueue_active(&fc->blocked_waitq)) in request_end()
595 fc->blocked = 1; in fuse_request_send_nowait_locked()
2186 fc->blocked = 0; in fuse_abort_conn()
2205 fc->blocked = 0; in fuse_dev_release()
Dfuse_i.h473 int blocked; member
Dinode.c592 fc->blocked = 0; in fuse_conn_init()
/linux-4.1.27/net/nfc/
Dcore.c182 static int nfc_rfkill_set_block(void *data, bool blocked) in nfc_rfkill_set_block() argument
186 pr_debug("%s blocked %d", dev_name(&dev->dev), blocked); in nfc_rfkill_set_block()
188 if (!blocked) in nfc_rfkill_set_block()
/linux-4.1.27/fs/ncpfs/
Dsock.c757 old_set = current->blocked; in ncp_do_request()
773 siginitsetinv(&current->blocked, mask); in ncp_do_request()
780 current->blocked = old_set; in ncp_do_request()
/linux-4.1.27/arch/microblaze/kernel/
Dasm-offsets.c77 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); in main()
/linux-4.1.27/arch/sparc/kernel/
Dsignal_64.c177 err |= __put_user(current->blocked.sig[0], in sparc64_get_context()
180 err |= __copy_to_user(&ucp->uc_sigmask, &current->blocked, in sparc64_get_context()
/linux-4.1.27/drivers/isdn/gigaset/
Dcommon.c413 if (drv->blocked) in alloc_cs()
1088 drv->blocked = 0; in gigaset_initdriver()
1128 drv->blocked = 1; in gigaset_blockdriver()
Dgigaset.h515 int blocked; member
/linux-4.1.27/Documentation/power/
Dfreezing-of-tasks.txt170 and B is frozen in the meantime, then A will be blocked until B is thawed, which
216 to acquire the lock, then that task would get blocked in TASK_UNINTERRUPTIBLE
222 "frozen enough" as it is blocked on 'pm_mutex', which will be released
Dpci.txt529 returned. Otherwise, the device's wakeup signaling mechanisms are blocked and
982 The runtime PM of PCI devices is disabled by default. It is also blocked by
/linux-4.1.27/arch/blackfin/kernel/
Dasm-offsets.c25 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); in main()
/linux-4.1.27/Documentation/isdn/
DREADME.audio17 larger values is blocked.
DREADME.gigaset125 character device node; access from the ISDN subsystem is blocked.
/linux-4.1.27/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c180 unsigned int blocked; member
2589 while (qpair->blocked > 0) { in qp_wakeup_cb()
2590 qpair->blocked--; in qp_wakeup_cb()
2608 qpair->blocked++; in qp_wait_for_ready_queue()
2821 my_qpair->blocked = 0; in vmci_qpair_alloc()
/linux-4.1.27/Documentation/s390/
DCommonIO94 A write request to this file is blocked until all queued cio actions are
/linux-4.1.27/Documentation/cgroups/
Dfreezer-subsystem.txt22 blocked, or ignored it can be seen by waiting or ptracing parent tasks.
/linux-4.1.27/Documentation/PCI/
Dpci-error-recovery.txt89 pci_channel_io_frozen, /* I/O to channel is blocked */
118 is isolated, in that all I/O is blocked: all reads return 0xffffffff,
202 >>> such an error might cause IOs to be re-blocked for the whole
/linux-4.1.27/arch/ia64/kernel/
Dasm-offsets.c50 DEFINE(IA64_TASK_BLOCKED_OFFSET,offsetof (struct task_struct, blocked)); in foo()
/linux-4.1.27/Documentation/x86/
Dearlyprintk.txt126 …isters(P) show-all-timers(Q) unRaw Sync show-task-states(T) Unmount show-blocked-tasks(W) dump-ftr…
/linux-4.1.27/net/ipv4/
Dtcp_timer.c274 inet_csk(sk)->icsk_ack.blocked = 1; in tcp_delack_timer()
Dinet_connection_sock.c382 icsk->icsk_pending = icsk->icsk_ack.pending = icsk->icsk_ack.blocked = 0; in inet_csk_clear_xmit_timers()
Dtcp.c1372 if (icsk->icsk_ack.blocked || in tcp_cleanup_rbuf()
Dtcp_output.c3320 if (icsk->icsk_ack.blocked || in tcp_send_delayed_ack()
/linux-4.1.27/fs/
Deventpoll.c2023 sigsaved = current->blocked; in SYSCALL_DEFINE6()
2068 sigsaved = current->blocked; in COMPAT_SYSCALL_DEFINE6()
Dbinfmt_elf_fdpic.c1331 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus()
Dbinfmt_elf.c1398 prstatus->pr_sighold = p->blocked.sig[0]; in fill_prstatus()
/linux-4.1.27/Documentation/hid/
Dhid-transport.txt157 payload may be blocked by the underlying transport driver if the
162 INPUT reports as payload might be blocked by the underlying transport driver
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dcl_lock.c926 sigset_t blocked; in cl_lock_state_wait() local
940 blocked = cfs_block_sigsinv(LUSTRE_FATAL_SIGS); in cl_lock_state_wait()
963 cfs_restore_sigs(blocked); in cl_lock_state_wait()
/linux-4.1.27/drivers/net/wireless/rtlwifi/
Dbase.c503 bool blocked; in rtl_init_rfkill() local
518 blocked = (rtlpriv->rfkill.rfkill_state == 1) ? 0 : 1; in rtl_init_rfkill()
519 wiphy_rfkill_set_hw_state(hw->wiphy, blocked); in rtl_init_rfkill()
Dcore.c1683 bool blocked; in rtl_op_rfkill_poll() local
1702 blocked = (rtlpriv->rfkill.rfkill_state == 1) ? 0 : 1; in rtl_op_rfkill_poll()
1703 wiphy_rfkill_set_hw_state(hw->wiphy, blocked); in rtl_op_rfkill_poll()
/linux-4.1.27/arch/arm/mach-omap2/
Dsleep34xx.S553 tst r5, #0x100 @ is part access blocked
/linux-4.1.27/fs/ocfs2/
Dsuper.c2630 sigset_t blocked; in ocfs2_block_signals() local
2632 sigfillset(&blocked); in ocfs2_block_signals()
2633 rc = sigprocmask(SIG_BLOCK, &blocked, oldset); in ocfs2_block_signals()
/linux-4.1.27/drivers/net/ethernet/ti/
Dcpsw_ale.c94 DEFINE_ALE_FIELD(blocked, 65, 1)
/linux-4.1.27/arch/powerpc/kernel/
Dsignal_64.c624 &current->blocked, sizeof(sigset_t))) in sys_swapcontext()
Dsignal_32.c1196 || put_sigset_t(&old_ctx->uc_sigmask, &current->blocked) in sys_swapcontext()
/linux-4.1.27/drivers/isdn/mISDN/
Dstack.c210 sigfillset(&current->blocked); in mISDNStackd()
/linux-4.1.27/net/bluetooth/
Dhci_core.c2029 static int hci_rfkill_set_block(void *data, bool blocked) in hci_rfkill_set_block() argument
2033 BT_DBG("%p name %s blocked %d", hdev, hdev->name, blocked); in hci_rfkill_set_block()
2038 if (blocked) { in hci_rfkill_set_block()
/linux-4.1.27/Documentation/development-process/
D6.Followthrough95 be hopelessly blocked. Appealing to Andrew should not be done lightly,
/linux-4.1.27/drivers/net/usb/
Dhso.c2453 static int hso_rfkill_set_block(void *data, bool blocked) in hso_rfkill_set_block() argument
2456 int enabled = !blocked; in hso_rfkill_set_block()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dich8lan.c1917 bool blocked = false; in e1000_check_reset_block_ich8lan() local
1920 while ((blocked = !(er32(FWSM) & E1000_ICH_FWSM_RSPCIPHY)) && in e1000_check_reset_block_ich8lan()
1923 return blocked ? E1000_BLK_PHY_RESET : 0; in e1000_check_reset_block_ich8lan()
/linux-4.1.27/Documentation/scsi/
Dscsi_eh.txt187 (*QUESTION* why is it needed? All operations will be blocked
DChangeLog.megaraid_sas466 3. SYNCHRONIZE_CACHE is not supported by FW and thus blocked by driver.
DChangeLog.lpfc356 the small window while the device was blocked to be errored w/
565 * Have rmmod path cleanup blocked devices before scsi_remove_host.
644 * Added a blocked member to the lpfc_target structure for
/linux-4.1.27/Documentation/powerpc/
Dpci_iov_resource_on_powernv.txt25 return all 1's value. MSIs are also blocked. There's a bit more state that
/linux-4.1.27/drivers/tty/
Dn_tty.c1789 return (sigismember(&current->blocked, sig) || in is_ignored()
/linux-4.1.27/Documentation/filesystems/cifs/
DCHANGES574 blocked users thread so it does not seem hung (in some cases was blocked
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_els.c7925 int blocked; in lpfc_block_fabric_iocbs() local
7927 blocked = test_and_set_bit(FABRIC_COMANDS_BLOCKED, &phba->bit_flags); in lpfc_block_fabric_iocbs()
7929 if (!blocked) in lpfc_block_fabric_iocbs()
/linux-4.1.27/drivers/usb/gadget/function/
Df_mass_storage.c2363 dequeue_signal_lock(current, &current->blocked, &info); in handle_exception()
/linux-4.1.27/Documentation/virtual/kvm/
Dapi.txt540 Defines which signals are blocked during execution of KVM_RUN. This
545 Note the signal will only be delivered if not blocked by the original
2114 Returns: >0 on delivery, 0 if guest blocked the MSI, and -1 on error
/linux-4.1.27/security/selinux/
Dhooks.c2458 sigemptyset(&current->blocked); in selinux_bprm_committed_creds()
/linux-4.1.27/Documentation/sound/alsa/
DALSA-Configuration.txt91 opening a busy OSS PCM device won't be blocked but return
/linux-4.1.27/Documentation/networking/
Dbonding.txt648 peers will not be blocked by the switch.