Searched refs:blocked (Results 1 - 200 of 554) sorted by relevance

123

/linux-4.1.27/drivers/platform/x86/
H A Dxo1-rfkill.c19 static int rfkill_set_block(void *data, bool blocked) rfkill_set_block() argument
24 if (blocked == card_blocked) rfkill_set_block()
27 if (blocked) rfkill_set_block()
34 card_blocked = blocked; rfkill_set_block()
H A Damilo-rfkill.c32 static int amilo_a1655_rfkill_set_block(void *data, bool blocked) amilo_a1655_rfkill_set_block() argument
34 u8 param = blocked ? A1655_WIFI_OFF : A1655_WIFI_ON; amilo_a1655_rfkill_set_block()
58 static int amilo_m7440_rfkill_set_block(void *data, bool blocked) amilo_m7440_rfkill_set_block() argument
60 u8 val1 = blocked ? M7440_RADIO_OFF1 : M7440_RADIO_ON1; amilo_m7440_rfkill_set_block()
61 u8 val2 = blocked ? M7440_RADIO_OFF2 : M7440_RADIO_ON2; amilo_m7440_rfkill_set_block()
H A Dmsi-laptop.c721 static int rfkill_bluetooth_set(void *data, bool blocked) rfkill_bluetooth_set() argument
723 /* Do something with blocked...*/ rfkill_bluetooth_set()
725 * blocked == false is on rfkill_bluetooth_set()
726 * blocked == true is off rfkill_bluetooth_set()
728 int result = set_device_state(blocked ? "0" : "1", 0, rfkill_bluetooth_set()
734 static int rfkill_wlan_set(void *data, bool blocked) rfkill_wlan_set() argument
736 int result = set_device_state(blocked ? "0" : "1", 0, rfkill_wlan_set()
742 static int rfkill_threeg_set(void *data, bool blocked) rfkill_threeg_set() argument
744 int result = set_device_state(blocked ? "0" : "1", 0, rfkill_threeg_set()
780 static bool msi_rfkill_set_state(struct rfkill *rfkill, bool blocked) msi_rfkill_set_state() argument
783 return rfkill_set_hw_state(rfkill, blocked); msi_rfkill_set_state()
785 return rfkill_set_sw_state(rfkill, blocked); msi_rfkill_set_state()
H A Dclassmate-laptop.c912 bool blocked; cmpc_rfkill_query() local
917 blocked = state & 1 ? false : true; cmpc_rfkill_query()
918 rfkill_set_sw_state(rfkill, blocked); cmpc_rfkill_query()
922 static int cmpc_rfkill_block(void *data, bool blocked) cmpc_rfkill_block() argument
935 if (is_blocked != blocked) { cmpc_rfkill_block()
936 state = blocked ? 0 : 1; cmpc_rfkill_block()
H A Dasus-wmi.c597 bool blocked; asus_rfkill_hotplug() local
602 blocked = asus_wlan_rfkill_blocked(asus); asus_rfkill_hotplug()
609 rfkill_set_sw_state(asus->wlan.rfkill, blocked); asus_rfkill_hotplug()
624 if (blocked != absent) { asus_rfkill_hotplug()
627 blocked ? "blocked" : "unblocked", asus_rfkill_hotplug()
634 if (!blocked) { asus_rfkill_hotplug()
800 static int asus_rfkill_set(void *data, bool blocked) asus_rfkill_set() argument
803 u32 ctrl_param = !blocked; asus_rfkill_set()
834 static int asus_rfkill_wlan_set(void *data, bool blocked) asus_rfkill_wlan_set() argument
848 ret = asus_rfkill_set(data, blocked); asus_rfkill_wlan_set()
H A Deeepc-laptop.c572 bool blocked = eeepc_wlan_rfkill_blocked(eeepc); eeepc_rfkill_hotplug() local
577 rfkill_set_sw_state(eeepc->wlan_rfkill, blocked); eeepc_rfkill_hotplug()
605 if (blocked != absent) { eeepc_rfkill_hotplug()
607 blocked ? "blocked" : "unblocked", eeepc_rfkill_hotplug()
613 if (!blocked) { eeepc_rfkill_hotplug()
783 static int eeepc_rfkill_set(void *data, bool blocked) eeepc_rfkill_set() argument
787 return write_acpi_int(handle, NULL, !blocked); eeepc_rfkill_set()
H A Dintel_oaktrail.c108 static int oaktrail_rfkill_set(void *data, bool blocked) oaktrail_rfkill_set() argument
116 if (!blocked) oaktrail_rfkill_set()
H A Dhp-wmi.c331 static int hp_wmi_set_block(void *data, bool blocked) hp_wmi_set_block() argument
334 int query = BIT(r + 8) | ((!blocked) << r); hp_wmi_set_block()
382 static int hp_wmi_rfkill2_set_block(void *data, bool blocked) hp_wmi_rfkill2_set_block() argument
385 char buffer[4] = { 0x01, 0x00, rfkill_id, !blocked }; hp_wmi_rfkill2_set_block()
882 pr_info("device %s blocked by BIOS\n", name); hp_wmi_rfkill2_setup()
H A Ddell-laptop.c443 Bit 17: Wifi is blocked
444 Bit 18: Bluetooth is blocked
445 Bit 19: WWAN is blocked
464 static int dell_rfkill_set(void *data, bool blocked) dell_rfkill_set() argument
466 int disable = blocked ? 1 : 0; dell_rfkill_set()
558 seq_printf(s, "Bit 17: Wifi is blocked: %lu\n", dell_debugfs_show()
560 seq_printf(s, "Bit 18: Bluetooth is blocked: %lu\n", dell_debugfs_show()
562 seq_printf(s, "Bit 19: WWAN is blocked: %lu\n", dell_debugfs_show()
H A Dsamsung-laptop.c584 static int seclinux_rfkill_set(void *data, bool blocked) seclinux_rfkill_set() argument
591 !blocked); seclinux_rfkill_set()
607 static int swsmi_rfkill_set(void *priv, bool blocked) swsmi_rfkill_set() argument
625 data.data[WL_STATUS_WLAN] = !blocked; swsmi_rfkill_set()
627 data.data[WL_STATUS_BT] = !blocked; swsmi_rfkill_set()
963 int blocked) samsung_new_rfkill()
977 if (blocked != -1) samsung_new_rfkill()
978 rfkill_init_sw_state(*rfkill, blocked); samsung_new_rfkill()
959 samsung_new_rfkill(struct samsung_laptop *samsung, struct samsung_rfkill *arfkill, const char *name, enum rfkill_type type, const struct rfkill_ops *ops, int blocked) samsung_new_rfkill() argument
H A Dasus-laptop.c1315 static int asus_gps_rfkill_set(void *data, bool blocked) asus_gps_rfkill_set() argument
1319 return asus_gps_switch(asus, !blocked); asus_gps_rfkill_set()
1326 static int asus_rfkill_set(void *data, bool blocked) asus_rfkill_set() argument
1332 return asus_wlan_set(asus, !blocked); asus_rfkill_set()
1334 return asus_bluetooth_set(asus, !blocked); asus_rfkill_set()
1336 return asus_wimax_set(asus, !blocked); asus_rfkill_set()
1338 return asus_wwan_set(asus, !blocked); asus_rfkill_set()
1442 static int pega_rfkill_set(void *data, bool blocked) pega_rfkill_set() argument
1446 int ret = asus_pega_lucid_set(rfk->asus, rfk->control_id, !blocked); pega_rfkill_set()
H A Dideapad-laptop.c464 static int ideapad_rfk_set(void *data, bool blocked) ideapad_rfk_set() argument
469 return write_ec_cmd(priv->priv->adev->handle, opcode, !blocked); ideapad_rfk_set()
830 * report all radios as hardware-blocked.
H A Dcompal-laptop.c351 static int compal_rfkill_set(void *data, bool blocked) compal_rfkill_set() argument
357 if (!blocked) compal_rfkill_set()
/linux-4.1.27/include/linux/
H A Drfkill.h57 * @set_block: turn the transmitter on (blocked == false) or off
58 * (blocked == true) -- ignore and return 0 when hard blocked.
64 int (*set_block)(void *data, bool blocked);
94 * set_block() will be called to initialize the software blocked state
97 * If the hardware blocked state is not set before registration,
144 * rfkill drivers that get events when the hard-blocked state changes
155 * should be blocked) so that drivers need not keep track of the soft
158 bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked);
165 * rfkill drivers that get events when the soft-blocked state changes
178 * should be 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) rfkill_set_hw_state() argument
251 return blocked; rfkill_set_hw_state()
254 static inline bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) rfkill_set_sw_state() argument
256 return blocked; rfkill_set_sw_state()
259 static inline void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) rfkill_init_sw_state() argument
H A Dmutex.h70 * This is the control structure for tasks blocked on mutex,
71 * which resides on the blocked task's kernel stack:
H A Dpipe_fs_i.h39 * @waiting_writers: number of writers blocked waiting for room
H A Ddynamic_queue_limits.h15 * so queuing new data is blocked.
H A Dinit_task.h235 .blocked = {{0}}, \
H A Dsignal.h337 * SIGKILL and SIGSTOP cannot be caught, blocked, or ignored.
338 * Other signals when not blocked and set to SIG_DFL behaves as follows.
H A Dtracehook.h158 * If it's blocked, it will not be woken.
/linux-4.1.27/lib/
H A Dsyscall.c25 * task_current_syscall - Discover what a blocked task is doing.
33 * If @target is blocked in a system call, returns zero with *@callno
41 * If @target is blocked in the kernel during a fault or exception,
46 * Returns -%EAGAIN if @target does not remain blocked.
/linux-4.1.27/net/rfkill/
H A Drfkill.h16 void rfkill_switch_all(const enum rfkill_type type, bool blocked);
H A Drfkill-gpio.c44 static int rfkill_gpio_set_power(void *data, bool blocked) rfkill_gpio_set_power() argument
48 if (!blocked && !IS_ERR(rfkill->clk) && !rfkill->clk_enabled) rfkill_gpio_set_power()
51 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked); rfkill_gpio_set_power()
52 gpiod_set_value_cansleep(rfkill->reset_gpio, !blocked); rfkill_gpio_set_power()
54 if (blocked && !IS_ERR(rfkill->clk) && rfkill->clk_enabled) rfkill_gpio_set_power()
57 rfkill->clk_enabled = !blocked; rfkill_gpio_set_power()
H A Drfkill-regulator.c30 static int rfkill_regulator_set_block(void *data, bool blocked) rfkill_regulator_set_block() argument
35 pr_debug("%s: blocked: %d\n", __func__, blocked); rfkill_regulator_set_block()
37 if (blocked) { rfkill_regulator_set_block()
H A Dcore.c237 bool blocked, bool *change) __rfkill_set_hw_state()
246 if (blocked) __rfkill_set_hw_state()
250 *change = prev != blocked; __rfkill_set_hw_state()
263 * @blocked: the new software state
268 static void rfkill_set_block(struct rfkill *rfkill, bool blocked) rfkill_set_block() argument
293 if (blocked) rfkill_set_block()
301 err = rfkill->ops->set_block(rfkill->data, blocked); rfkill_set_block()
332 * @blocked: the new state
340 static void __rfkill_switch_all(const enum rfkill_type type, bool blocked) __rfkill_switch_all() argument
344 rfkill_global_states[type].cur = blocked; __rfkill_switch_all()
349 rfkill_set_block(rfkill, blocked); __rfkill_switch_all()
356 * @blocked: the new state
363 void rfkill_switch_all(enum rfkill_type type, bool blocked) rfkill_switch_all() argument
371 __rfkill_switch_all(type, blocked); rfkill_switch_all()
473 bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked) rfkill_set_hw_state() argument
477 ret = __rfkill_set_hw_state(rfkill, blocked, &change); rfkill_set_hw_state()
489 static void __rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) __rfkill_set_sw_state() argument
497 if (blocked) __rfkill_set_sw_state()
503 bool rfkill_set_sw_state(struct rfkill *rfkill, bool blocked) rfkill_set_sw_state() argument
512 __rfkill_set_sw_state(rfkill, blocked); rfkill_set_sw_state()
514 blocked = blocked || hwblock; rfkill_set_sw_state()
518 return blocked; rfkill_set_sw_state()
520 if (prev != blocked && !hwblock) rfkill_set_sw_state()
525 return blocked; rfkill_set_sw_state()
529 void rfkill_init_sw_state(struct rfkill *rfkill, bool blocked) rfkill_init_sw_state() argument
537 __rfkill_set_sw_state(rfkill, blocked); rfkill_init_sw_state()
236 __rfkill_set_hw_state(struct rfkill *rfkill, bool blocked, bool *change) __rfkill_set_hw_state() argument
H A Dinput.c88 bool blocked; __rfkill_handle_normal_op() local
90 blocked = rfkill_get_global_sw_state(type); __rfkill_handle_normal_op()
92 blocked = !blocked; __rfkill_handle_normal_op()
94 rfkill_switch_all(type, blocked); __rfkill_handle_normal_op()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-prim.c135 old = current->blocked; cfs_block_allsigs()
136 sigfillset(&current->blocked); cfs_block_allsigs()
150 old = current->blocked; cfs_block_sigs()
151 sigaddsetmask(&current->blocked, sigs); cfs_block_sigs()
165 old = current->blocked; cfs_block_sigsinv()
166 sigaddsetmask(&current->blocked, ~sigs); cfs_block_sigsinv()
180 current->blocked = old; cfs_restore_sigs()
/linux-4.1.27/arch/arm/mach-pxa/
H A Dtosa-bt.c38 static int tosa_bt_set_block(void *data, bool blocked) tosa_bt_set_block() argument
40 pr_info("BT_RADIO going: %s\n", blocked ? "off" : "on"); tosa_bt_set_block()
42 if (!blocked) { tosa_bt_set_block()
/linux-4.1.27/include/asm-generic/
H A Dsyscall.h27 * @task: task of interest, must be blocked
32 * If @task is not executing a system call, i.e. it's blocked
39 * It's only valid to call this when @task is known to be blocked.
63 * @task: task of interest, must be blocked
75 * @task: task of interest, must be blocked
88 * @task: task of interest, must be blocked
106 * @task: task of interest, must be blocked
/linux-4.1.27/kernel/locking/
H A Drtmutex_common.h40 * This is the control structure for tasks blocked on a rt_mutex,
41 * which is allocated on the kernel stack on of the blocked task.
45 * @task: task reference to the blocked task
H A Drtmutex-debug.c116 printk("\n2) %s/%d is blocked on this lock:\n", debug_rt_mutex_print_deadlock()
123 printk("\n%s/%d's [blocked] stackdump:\n\n", debug_rt_mutex_print_deadlock()
H A Drtmutex.c358 * @next_lock: the mutex on which the owner of @orig_lock was blocked before
378 * @orig_lock if != NULL @top_task is blocked on it
382 * @orig_waiter if != NULL @top_task is blocked on it
469 * [2] Get the waiter on which @task is blocked on. rt_mutex_adjust_prio_chain()
498 * We stored the lock on which @task was blocked in @next_lock, rt_mutex_adjust_prio_chain()
601 * [12] Store whether owner is blocked rt_mutex_adjust_prio_chain()
614 /* If owner is not blocked, end of chain. */ rt_mutex_adjust_prio_chain()
700 * blocked itself. If yes we store a pointer to the lock for rt_mutex_adjust_prio_chain()
928 /* Store the lock on which owner is blocked or NULL */ task_blocks_on_rt_mutex()
934 * blocked itself, we can avoid finding this out in the chain task_blocks_on_rt_mutex()
1037 /* Store the lock on which owner is blocked or NULL */ remove_waiter()
1043 * Don't walk the chain, if the owner task is not blocked remove_waiter()
1545 * 0 - task blocked on lock
H A Dmutex-debug.c56 /* Mark the current thread as blocked on the lock: */ debug_mutex_add_waiter()
H A Drwsem-spinlock.c56 * handle the lock release when processes blocked on it that can now run
/linux-4.1.27/arch/sparc/include/asm/
H A Dpil.h9 * interrupt which is blocked by local_irq_disable().
H A Dprocessor_32.h76 /* Return saved PC of a blocked thread. */
H A Dprocessor_64.h96 /* Return saved PC of a blocked thread. */
/linux-4.1.27/arch/alpha/kernel/
H A Dasm-offsets.c21 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); foo()
H A Dprocess.c355 * Return saved PC of a blocked thread. This assumes the frame
358 * holds provided the thread blocked through a call to schedule() ($15
/linux-4.1.27/tools/perf/bench/
H A Dfutex-requeue.c156 /* make sure all threads are already blocked */ bench_futex_requeue()
165 /* Ok, all threads are patiently blocked, start requeueing */ bench_futex_requeue()
169 * Do not wakeup any tasks blocked on futex1, allowing bench_futex_requeue()
187 /* everybody should be blocked on futex2, wake'em up */ bench_futex_requeue()
H A Dfutex-wake.c156 /* make sure all threads are already blocked */ bench_futex_wake()
165 /* Ok, all threads are patiently blocked, start waking folks up */ bench_futex_wake()
H A Dfutex.h49 * futex_wake() - wake one or more tasks blocked on uaddr
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dflowring.c183 bool blocked) brcmf_flowring_block()
205 if (ring->blocked) { brcmf_flowring_block()
212 ring->blocked = blocked; brcmf_flowring_block()
213 if (currently_blocked == blocked) { brcmf_flowring_block()
221 brcmf_txflowblock_if(ifp, BRCMF_NETIF_STOP_REASON_FLOW, blocked); brcmf_flowring_block()
261 if (!ring->blocked && brcmf_flowring_enqueue()
288 if (ring->blocked && brcmf_flowring_dequeue()
182 brcmf_flowring_block(struct brcmf_flowring *flow, u8 flowid, bool blocked) brcmf_flowring_block() argument
H A Dflowring.h38 bool blocked; member in struct:brcmf_flowring_ring
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dh1940-bluetooth.c57 static int h1940bt_set_block(void *data, bool blocked) h1940bt_set_block() argument
59 h1940bt_enable(!blocked); h1940bt_set_block()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Drfkill.c79 bool blocked; ath5k_tasklet_rfkill_toggle() local
81 blocked = ath5k_is_rfkill_set(ah); ath5k_tasklet_rfkill_toggle()
82 wiphy_rfkill_set_hw_state(ah->hw->wiphy, blocked); ath5k_tasklet_rfkill_toggle()
/linux-4.1.27/fs/coda/
H A Dupcall.c578 *old = current->blocked; coda_block_signals()
580 sigfillset(&current->blocked); coda_block_signals()
581 sigdelset(&current->blocked, SIGKILL); coda_block_signals()
582 sigdelset(&current->blocked, SIGSTOP); coda_block_signals()
583 sigdelset(&current->blocked, SIGINT); coda_block_signals()
592 current->blocked = *old; coda_unblock_signals()
614 int blocked; coda_waitfor_upcall() local
617 blocked = 1; coda_waitfor_upcall()
630 if (blocked && time_after(jiffies, timeout) && coda_waitfor_upcall()
634 blocked = 0; coda_waitfor_upcall()
643 if (blocked) coda_waitfor_upcall()
649 if (blocked) coda_waitfor_upcall()
/linux-4.1.27/arch/c6x/include/asm/
H A Dprocessor.h99 * saved PC of a blocked thread.
104 * saved kernel SP and DP of a blocked thread.
/linux-4.1.27/include/linux/isdn/
H A Dcapilli.h70 int blocked; /* output blocked */ member in struct:capi_ctr
/linux-4.1.27/fs/lockd/
H A Dsvclock.c4 * Handling of server-side locks, mostly of the blocked variety.
12 * to a file's list of blocked locks through a semaphore. The global
13 * list of blocked locks is not protected in this fashion however.
15 * call) move blocked locks towards the head of the list *while some other
51 * The list of blocked locks to retry
86 * Insert a blocked lock into the global list
203 * the blocked lock request. The spec explicitly mentions that the client
492 /* Append to list of blocked */ nlmsvc_lock()
584 * Cancel a previously blocked request.
669 * Unblock a blocked lock request. This is a callback invoked from the
670 * VFS layer when a lock on which we blocked is removed.
672 * This function doesn't grant the blocked lock instantly, but rather moves
718 * Try to claim a lock that was previously blocked.
736 dprintk("lockd: grant blocked lock %p\n", block); nlmsvc_grant_blocked()
767 dprintk("lockd: lock still blocked error %d\n", error); nlmsvc_grant_blocked()
781 dprintk("lockd: GRANTing blocked lock.\n"); nlmsvc_grant_blocked()
804 * better not sleep. Therefore, we put the blocked lock on the nlm_blocked
904 * Retry all blocked locks that have been notified. This is where lockd
H A Dclntlock.c32 * This is the representation of a blocked client lock.
170 * Look up blocked request based on arguments. nlmclnt_grant()
286 /* Now, wake up all processes that sleep on a blocked lock */ reclaimer()
/linux-4.1.27/kernel/
H A Dsignal.c88 if (sigismember(&t->blocked, sig) || sigismember(&t->real_blocked, sig)) sig_ignored()
102 * signals, globally pending signals, and blocked signals.
104 static inline int has_pending_signals(sigset_t *signal, sigset_t *blocked) has_pending_signals() argument
112 ready |= signal->sig[i] &~ blocked->sig[i]; has_pending_signals()
115 case 4: ready = signal->sig[3] &~ blocked->sig[3]; has_pending_signals()
116 ready |= signal->sig[2] &~ blocked->sig[2]; has_pending_signals()
117 ready |= signal->sig[1] &~ blocked->sig[1]; has_pending_signals()
118 ready |= signal->sig[0] &~ blocked->sig[0]; has_pending_signals()
121 case 2: ready = signal->sig[1] &~ blocked->sig[1]; has_pending_signals()
122 ready |= signal->sig[0] &~ blocked->sig[0]; has_pending_signals()
125 case 1: ready = signal->sig[0] &~ blocked->sig[0]; has_pending_signals()
135 PENDING(&t->pending, &t->blocked) || recalc_sigpending_tsk()
136 PENDING(&t->signal->shared_pending, &t->blocked)) { recalc_sigpending_tsk()
516 * then then signal will be blocked. Only one block per process is
518 * can use to determine if the signal should be blocked or not.
688 * goes through ->blocked
910 if (sigismember(&p->blocked, sig)) wants_signal()
1204 * since we do not want to have a signal handler that was blocked
1205 * be invoked when user space had explicitly blocked it.
1214 int ret, blocked, ignored; force_sig_info() local
1220 blocked = sigismember(&t->blocked, sig); force_sig_info()
1221 if (blocked || ignored) { force_sig_info()
1223 if (blocked) { force_sig_info()
1224 sigdelset(&t->blocked, sig); force_sig_info()
1695 * blocked sys_wait4 might now return -ECHILD. do_notify_parent()
2172 /* If the (new) signal is now blocked, requeue it. */ ptrace_signal()
2173 if (sigismember(&current->blocked, signr)) { ptrace_signal()
2251 signr = dequeue_signal(current, &current->blocked, &ksig->info); get_signal()
2373 * delivered. It updates the blocked signals accordingly (@ksig->ka.sa.sa_mask
2374 * is always blocked, and the signal itself is blocked unless %SA_NODEFER
2379 sigset_t blocked; signal_delivered() local
2387 sigorsets(&blocked, &current->blocked, &ksig->ka.sa.sa_mask); signal_delivered()
2389 sigaddset(&blocked, ksig->sig); signal_delivered()
2390 set_current_blocked(&blocked); signal_delivered()
2421 if (!has_pending_signals(&retarget, &t->blocked)) while_each_thread()
2424 sigandsets(&retarget, &retarget, &t->blocked); while_each_thread()
2463 unblocked = tsk->blocked; exit_signals()
2517 /* A set of now blocked but previously unblocked signals. */ __set_task_blocked()
2518 sigandnsets(&newblocked, newset, &current->blocked); __set_task_blocked()
2521 tsk->blocked = *newset; __set_task_blocked()
2526 * set_current_blocked - change current->blocked mask
2529 * It is wrong to change ->blocked directly, this helper should be used
2560 /* Lockless, only current can change ->blocked, never from irq */ sigprocmask()
2562 *oldset = tsk->blocked; sigprocmask()
2566 sigorsets(&newset, &tsk->blocked, set); sigprocmask()
2569 sigandnsets(&newset, &tsk->blocked, set); sigprocmask()
2583 * sys_rt_sigprocmask - change the list of currently blocked signals
2599 old_set = current->blocked; SYSCALL_DEFINE4()
2624 sigset_t old_set = current->blocked; COMPAT_SYSCALL_DEFINE4()
2669 sigandsets(set, &current->blocked, set); do_sigpending()
2675 * while blocked
2838 tsk->real_blocked = tsk->blocked; do_sigtimedwait()
2839 sigandsets(&tsk->blocked, &tsk->blocked, &mask); do_sigtimedwait()
3124 * whether or not it is blocked." do_sigaction()
3129 * be discarded, whether or not it is blocked" do_sigaction()
3295 * sys_sigprocmask - examine and change blocked signals
3310 old_set = current->blocked.sig[0]; SYSCALL_DEFINE3()
3316 new_blocked = current->blocked; SYSCALL_DEFINE3()
3513 return current->blocked.sig[0]; SYSCALL_DEFINE0()
3518 int old = current->blocked.sig[0]; SYSCALL_DEFINE1()
3562 current->saved_sigmask = current->blocked; sigsuspend()
3615 sigset_t blocked; SYSCALL_DEFINE1() local
3616 siginitset(&blocked, mask); SYSCALL_DEFINE1()
3617 return sigsuspend(&blocked); SYSCALL_DEFINE1()
3623 sigset_t blocked; SYSCALL_DEFINE3() local
3624 siginitset(&blocked, mask); SYSCALL_DEFINE3()
3625 return sigsuspend(&blocked); SYSCALL_DEFINE3()
H A Dhung_task.c111 pr_err("INFO: task %s:%d blocked for more than %ld seconds.\n", check_hung_task()
126 panic("hung_task: blocked tasks"); check_hung_task()
H A Dcompat.c394 * blocked set of signals to the supplied signal set
396 static inline void compat_sig_setmask(sigset_t *blocked, compat_sigset_word set) compat_sig_setmask() argument
398 memcpy(blocked->sig, &set, sizeof(set)); compat_sig_setmask()
408 old_set = current->blocked.sig[0]; COMPAT_SYSCALL_DEFINE3()
415 new_blocked = current->blocked; COMPAT_SYSCALL_DEFINE3()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dpte-hash64.h30 #define _PAGE_KERNEL_RW (_PAGE_RW | _PAGE_DIRTY) /* user access blocked by key */
H A Dsmu.h450 * Poll routine to call if blocked with irqs off
672 * a reply. The reader will be blocked or not depending on how the device
/linux-4.1.27/arch/hexagon/kernel/
H A Dsignal.c239 sigset_t blocked; sys_rt_sigreturn() local
247 if (__copy_from_user(&blocked, &frame->uc.uc_sigmask, sizeof(blocked))) sys_rt_sigreturn()
250 set_current_blocked(&blocked); sys_rt_sigreturn()
H A Dprocess.c61 * Return saved PC of a blocked thread
156 * was invoked by a blocked thread.
/linux-4.1.27/arch/alpha/include/asm/
H A Dprocessor.h42 /* Return saved PC of a blocked thread. */
/linux-4.1.27/drivers/acpi/acpica/
H A Dexutils.c114 * 1) Method will be blocked on a Sleep() AML opcode
115 * 2) Method will be blocked on an Acquire() AML opcode
116 * 3) Method will be blocked on a Wait() AML opcode
117 * 4) Method will be blocked to acquire the global lock
118 * 5) Method will be blocked waiting to execute a serialized control
/linux-4.1.27/fs/proc/
H A Darray.c252 sigset_t pending, shpending, blocked, ignored, caught; task_sig() local
259 sigemptyset(&blocked); task_sig()
266 blocked = p->blocked; task_sig()
282 render_sigset_t(m, "SigBlk:\t", &blocked); task_sig()
496 seq_put_decimal_ull(m, ' ', task->blocked.sig[0] & 0x7fffffffUL); do_task_stat()
/linux-4.1.27/net/wimax/
H A Dop-rfkill.c249 static int wimax_rfkill_set_radio_block(void *data, bool blocked) wimax_rfkill_set_radio_block() argument
256 d_fnstart(3, dev, "(wimax_dev %p blocked %u)\n", wimax_dev, blocked); wimax_rfkill_set_radio_block()
258 if (blocked) wimax_rfkill_set_radio_block()
266 d_fnend(3, dev, "(wimax_dev %p blocked %u) = %d\n", wimax_rfkill_set_radio_block()
267 wimax_dev, blocked, result); wimax_rfkill_set_radio_block()
/linux-4.1.27/arch/microblaze/kernel/
H A Dprocess.c121 * Return saved PC of a blocked thread.
128 /* Check whether the thread is blocked in resume() */ thread_saved_pc()
H A Dasm-offsets.c77 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); main()
/linux-4.1.27/fs/ocfs2/dlm/
H A Ddlmthread.c84 list_empty(&res->blocked)) __dlm_lockres_has_locks()
308 goto blocked; dlm_shuffle_lists()
380 blocked: dlm_shuffle_lists()
381 if (list_empty(&res->blocked)) dlm_shuffle_lists()
383 target = list_entry(res->blocked.next, struct dlm_lock, list); dlm_shuffle_lists()
413 /* we can grant the blocked lock (only dlm_shuffle_lists()
577 /* get the highest blocked lock, and reset */ dlm_flush_asts()
590 "blocked %d, node %u\n", dlm_flush_asts()
H A Ddlmapi.h40 DLM_BLOCKED, /* 5: lock request blocked */
41 DLM_BLOCKED_ORPHAN, /* 6: lock request blocked by a orphan lock*/
62 DLM_ABORT, /* 27: blocked lock request cancelled */
H A Ddlmdebug.c127 printk(" blocked queue:\n"); __dlm_print_one_lock_resource()
128 list_for_each_entry(lock, &res->blocked, list) { __dlm_print_one_lock_resource()
190 [DLM_BLOCKED] = "lock request blocked",
191 [DLM_BLOCKED_ORPHAN] = "lock request blocked by a orphan lock",
212 [DLM_ABORT] = "blocked lock request cancelled",
567 /* blocked */ dump_lockres()
568 list_for_each_entry(lock, &res->blocked, list) dump_lockres()
H A Ddlmmaster.c109 int *blocked);
113 int blocked);
516 !list_empty(&res->blocked) || dlm_lockres_release()
527 !list_empty(&res->blocked) ? 'B' : ' ', dlm_lockres_release()
540 BUG_ON(!list_empty(&res->blocked)); dlm_lockres_release()
576 INIT_LIST_HEAD(&res->blocked); dlm_init_lockres()
741 int blocked = 0; dlm_get_lock_resource() local
836 blocked = dlm_find_mle(dlm, &mle, (char *)lockid, namelen); dlm_get_lock_resource()
837 if (blocked) { dlm_get_lock_resource()
952 if (blocked) dlm_get_lock_resource()
977 ret = dlm_wait_for_lock_mastery(dlm, res, mle, &blocked); dlm_get_lock_resource()
981 "request now, blocked=%d\n", dlm->name, res->lockname.len, dlm_get_lock_resource()
982 res->lockname.name, blocked); dlm_get_lock_resource()
985 "dlm_wait_for_lock_mastery, blocked = %d\n", dlm_get_lock_resource()
987 res->lockname.name, blocked); dlm_get_lock_resource()
1026 int *blocked) dlm_wait_for_lock_mastery()
1071 ret = dlm_restart_lock_mastery(dlm, res, mle, *blocked); dlm_wait_for_lock_mastery()
1073 if ((*blocked && !b) || (!*blocked && b)) { dlm_wait_for_lock_mastery()
1076 *blocked, b); dlm_wait_for_lock_mastery()
1077 *blocked = b; dlm_wait_for_lock_mastery()
1103 if (voting_done && !*blocked) { dlm_wait_for_lock_mastery()
1238 int blocked) dlm_restart_lock_mastery()
1265 if (blocked) { dlm_restart_lock_mastery()
1274 " while this node was blocked " dlm_restart_lock_mastery()
1281 "blocked. waiting on %u " dlm_restart_lock_mastery()
1517 * being blocked, or it is actively trying to dlm_master_request_handler()
2833 * drop the unneded state which blocked threads trying to DIRTY dlm_mark_lockres_migrating()
1023 dlm_wait_for_lock_mastery(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_master_list_entry *mle, int *blocked) dlm_wait_for_lock_mastery() argument
1235 dlm_restart_lock_mastery(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_master_list_entry *mle, int blocked) dlm_restart_lock_mastery() argument
H A Ddlmast.c274 mlog(0, "%s: res %.*s, lock %u:%llu, Local BAST, blocked %d\n", dlm_do_local_bast()
381 /* if not on convert, try blocked for ast, granted for bast */
383 head = &res->blocked;
H A Ddlmcommon.h300 * Please keep granted, converting, and blocked in this order,
307 struct list_head blocked; member in struct:dlm_lock_resource
345 u8 list; // 0=granted, 1=converting, 2=blocked
412 return "blocked"; dlm_list_in_text()
426 ret = &res->blocked; dlm_list_idx_to_ptr()
H A Ddlmunlock.c81 * flags & LKM_CANCEL != 0: must be converting or blocked
476 /* scan granted -> converting -> blocked queues */
536 if (dlm_lock_on_list(&res->blocked, lock)) { dlm_get_cancel_actions()
H A Ddlmlock.c178 list_add_tail(&lock->list, &res->blocked); dlmlock_master()
240 list_add_tail(&lock->list, &res->blocked); dlmlock_remote()
H A Ddlmrecovery.c1197 /* Ignore lvb in all locks in the blocked list */ dlm_prepare_lvb_for_migration()
1846 "conv %d, highest blocked %d\n",
1866 "conv %d, highest blocked %d\n",
1922 * If the lock is in the blocked list it can't have a valid lvb,
1973 * 3. order of locks on the blocked queue is
2076 "on %.*s. remove from blocked list and skip.\n", list_for_each_entry_safe()
2097 "on %.*s. remove from blocked list and skip.\n", list_for_each_entry_safe()
2275 list_for_each_entry_safe(lock, next, &res->blocked, list) { dlm_free_dead_locks()
/linux-4.1.27/drivers/video/fbdev/matrox/
H A Dmatroxfb_DAC1064.h43 /* pixel clock allowed to(0)/blocked from(1) driving CRTC1 */
47 /* CRTC2 pixel clock allowed to(0)/blocked from(1) driving CRTC2 */
/linux-4.1.27/include/scsi/
H A Dscsi_transport_srp.h20 * is running and I/O has been blocked.
82 * timer if the device on which it has been queued is blocked.
/linux-4.1.27/fs/ocfs2/dlmfs/
H A Duserdlm.h40 #define USER_LOCK_BLOCKED (0x00000004) /* blocked waiting to
H A Duserdlm.c318 /* It's valid to get here and no longer be blocked - if we get user_dlm_unblock_lock()
453 * here. If the lock is blocked waiting on a downconvert, user_dlm_cluster_lock()
467 /* is the lock is currently blocked on behalf of user_dlm_cluster_lock()
/linux-4.1.27/include/trace/events/
H A Dbcache.h452 __field(unsigned, blocked )
459 __entry->blocked = atomic_read(&ca->set->prio_blocked);
462 TP_printk("alloc fail %d,%d free %u free_inc %u blocked %u",
464 __entry->free_inc, __entry->blocked)
H A Dsched.h361 * Tracepoint for accounting blocked time (time the task is in uninterruptible).
/linux-4.1.27/include/uapi/linux/
H A Dsched.h11 #define CLONE_SIGHAND 0x00000800 /* set if signal handlers and blocked signals shared */
/linux-4.1.27/arch/nios2/include/asm/
H A Dprocessor.h83 /* Return saved PC of a blocked thread. */
/linux-4.1.27/drivers/infiniband/hw/amso1100/
H A Dc2_vq.c51 * 3) wake up the kernel verbs handler blocked awaiting the reply.
61 * kernel verb handler that is blocked awaiting the verb reply.
173 * NOTE: handle_mq() on the interrupt context will wake up threads blocked here.
H A Dc2_mm.c83 * handler blocked awaiting this reply. send_pbl_messages()
/linux-4.1.27/drivers/isdn/hisax/
H A Dhfc_2bds0.c347 debugl1(cs, "send_data %d blocked", bcs->channel); hfc_send_data()
362 debugl1(cs, "rec_data %d blocked", bcs->channel); main_rec_2bds0()
598 debugl1(cs, "rec_dmsg blocked"); receive_dmsg()
819 debugl1(cs, "fill_data %d blocked", bcs->channel); hfc2bds0_interrupt()
826 debugl1(cs, "fill_data %d blocked", bcs->channel); hfc2bds0_interrupt()
843 debugl1(cs, "fill_data %d blocked", bcs->channel); hfc2bds0_interrupt()
850 debugl1(cs, "fill_data %d blocked", bcs->channel); hfc2bds0_interrupt()
871 debugl1(cs, "hfc_fill_dfifo irq blocked"); hfc2bds0_interrupt()
886 debugl1(cs, "hfc_fill_dfifo irq blocked"); hfc2bds0_interrupt()
933 debugl1(cs, "hfc_fill_dfifo blocked"); HFCD_l1hw()
961 debugl1(cs, "hfc_fill_dfifo blocked"); HFCD_l1hw()
H A Dhfc_sx.c456 debugl1(cs, "rec_dmsg blocked"); receive_dmsg()
485 debugl1(cs, "rec_data %d blocked", bcs->channel); main_rec_hfcsx()
659 debugl1(cs, "echo_rec_data blocked"); receive_emsg()
774 debugl1(cs, "fill_data %d blocked", bcs->channel); hfcsx_interrupt()
781 debugl1(cs, "fill_data %d blocked", bcs->channel); hfcsx_interrupt()
798 debugl1(cs, "fill_data %d blocked", bcs->channel); hfcsx_interrupt()
805 debugl1(cs, "fill_data %d blocked", bcs->channel); hfcsx_interrupt()
826 debugl1(cs, "hfcsx_fill_dfifo irq blocked"); hfcsx_interrupt()
841 debugl1(cs, "hfcsx_fill_dfifo irq blocked"); hfcsx_interrupt()
901 debugl1(cs, "hfcsx_fill_dfifo blocked"); HFCSX_l1hw()
929 debugl1(cs, "hfcsx_fill_dfifo blocked"); HFCSX_l1hw()
1013 /* send B-channel data if not blocked */
1024 debugl1(cs, "send_data %d blocked", bcs->channel); hfcsx_send_data()
H A Dhfc_pci.c341 debugl1(cs, "rec_dmsg blocked"); receive_dmsg()
473 debugl1(cs, "rec_data %d blocked", bcs->channel); main_rec_hfcpci()
845 debugl1(cs, "echo_rec_data blocked"); receive_emsg()
1009 debugl1(cs, "fill_data %d blocked", bcs->channel); hfcpci_interrupt()
1016 debugl1(cs, "fill_data %d blocked", bcs->channel); hfcpci_interrupt()
1033 debugl1(cs, "fill_data %d blocked", bcs->channel); hfcpci_interrupt()
1040 debugl1(cs, "fill_data %d blocked", bcs->channel); hfcpci_interrupt()
1061 debugl1(cs, "hfcpci_fill_dfifo irq blocked"); hfcpci_interrupt()
1076 debugl1(cs, "hfcpci_fill_dfifo irq blocked"); hfcpci_interrupt()
1136 debugl1(cs, "hfcpci_fill_dfifo blocked"); HFCPCI_l1hw()
1164 debugl1(cs, "hfcpci_fill_dfifo blocked"); HFCPCI_l1hw()
1250 /* send B-channel data if not blocked */
1261 debugl1(cs, "send_data %d blocked", bcs->channel); hfcpci_send_data()
/linux-4.1.27/net/atm/
H A Dpppoatm.c68 unsigned long blocked; member in struct:pppoatm_vcc
125 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) pppoatm_release_cb()
133 * but we also need to wake up the device if we blocked it
160 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) pppoatm_pop()
257 test_and_set_bit(BLOCKED, &pvcc->blocked); pppoatm_may_send()
263 * remain permanently blocked. Cope with that race by checking pppoatm_may_send()
311 test_and_set_bit(BLOCKED, &pvcc->blocked); pppoatm_send()
/linux-4.1.27/kernel/rcu/
H A Dtree_plugin.h111 * not in a quiescent state. There might be any number of tasks blocked
150 !t->rcu_read_unlock_special.b.blocked) { rcu_preempt_note_context_switch()
157 t->rcu_read_unlock_special.b.blocked = true; rcu_preempt_note_context_switch()
256 * notify RCU core processing or task having blocked during the RCU
299 t->rcu_read_unlock_special.b.blocked, rcu_read_unlock_special()
305 /* Clean up if blocked during RCU read-side critical section. */ rcu_read_unlock_special()
306 if (special.b.blocked) { rcu_read_unlock_special()
307 t->rcu_read_unlock_special.b.blocked = false; rcu_read_unlock_special()
310 * Remove this task from the list it blocked on. The rcu_read_unlock_special()
417 pr_err("\tTasks blocked on level-%d rcu_node (CPUs %d-%d):", rcu_print_task_stall_begin()
439 * Scan the current list of tasks blocked within RCU read-side critical
461 * Check that the list of blocked tasks for the newly completed grace
463 * period that still has RCU readers blocked! This function must be
467 * Also, if there are blocked tasks on the list, they automatically
637 /* No blocked tasks, nothing to do. */ sync_rcu_preempt_exp_init1()
685 * If there are still blocked tasks, set up ->exp_tasks so that sync_rcu_preempt_exp_init2()
694 /* No longer any blocked tasks, so undo bit setting. */ sync_rcu_preempt_exp_init2()
828 t->rcu_read_unlock_special.b.blocked = true; exit_rcu()
863 * Because there is no preemptible RCU, there can be no readers blocked.
872 * tasks blocked within RCU read-side critical sections.
880 * tasks blocked within RCU read-side critical sections.
888 * Because there is no preemptible RCU, there can be no readers blocked,
889 * so there is no need to check for blocked tasks. So check only for
1016 * expedited grace period must boost all blocked tasks, including rcu_boost()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_lock.c295 * is held, then set the contended flag and keep the signal blocked.
299 * signal should be blocked.
328 * by a blocked process. (In the latter case an explicit wait for the hardware lock would cause
/linux-4.1.27/include/net/
H A Dinet_connection_sock.h114 __u8 blocked; /* Delayed ACK was blocked by socket lock */ member in struct:inet_connection_sock::__anon12661
204 icsk->icsk_ack.blocked = icsk->icsk_ack.pending = 0; inet_csk_clear_xmit_timer()
/linux-4.1.27/arch/xtensa/include/asm/
H A Dspinlock.h87 * (i.e., all other readers and writers are blocked from ownership while
/linux-4.1.27/fs/jffs2/
H A Dbackground.c130 signr = dequeue_signal_lock(current, &current->blocked, &info); jffs2_garbage_collect_thread()
/linux-4.1.27/arch/mips/kernel/
H A Dsignal.c359 sigset_t blocked; sys_sigreturn() local
365 if (__copy_from_user(&blocked, &frame->sf_mask, sizeof(blocked))) sys_sigreturn()
368 set_current_blocked(&blocked); sys_sigreturn()
H A Dsignal32.c423 sigset_t blocked; sys32_sigreturn() local
429 if (__copy_conv_sigset_from_user(&blocked, &frame->sf_mask)) sys32_sigreturn()
432 set_current_blocked(&blocked); sys32_sigreturn()
/linux-4.1.27/arch/openrisc/include/asm/
H A Dprocessor.h97 * Return saved PC of a blocked thread. For now, this is the "user" PC
/linux-4.1.27/arch/avr32/include/asm/
H A Dprocessor.h141 /* Return saved PC of a blocked thread */
/linux-4.1.27/arch/blackfin/include/asm/
H A Dprocessor.h86 * Return saved PC of a blocked thread.
/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Dirq.h74 * Make sure the causing IRQ is blocked, then call do_IRQ. After that, unblock
/linux-4.1.27/arch/frv/include/asm/
H A Dprocessor.h107 * Return saved PC of a blocked thread.
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
H A Dmac80211_if.c426 bool blocked; brcms_ops_start() local
437 blocked = brcms_rfkill_set_hw_state(wl); brcms_ops_start()
439 if (!blocked) brcms_ops_start()
447 if (!blocked) brcms_ops_start()
884 bool blocked; brcms_ops_rfkill_poll() local
887 blocked = brcms_c_check_radio_disabled(wl->wlc); brcms_ops_rfkill_poll()
890 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); brcms_ops_rfkill_poll()
1698 bool blocked = brcms_c_check_radio_disabled(wl->wlc); brcms_rfkill_set_hw_state() local
1701 wiphy_rfkill_set_hw_state(wl->pub->ieee_hw->wiphy, blocked); brcms_rfkill_set_hw_state()
1702 if (blocked) brcms_rfkill_set_hw_state()
1705 return blocked; brcms_rfkill_set_hw_state()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_gpio.c323 bool blocked = !!ath_is_rfkill_set(priv); ath9k_htc_rfkill_poll_state() local
325 wiphy_rfkill_set_hw_state(hw->wiphy, blocked); ath9k_htc_rfkill_poll_state()
H A Dgpio.c120 bool blocked = !!ath_is_rfkill_set(sc); ath9k_rfkill_poll_state() local
122 wiphy_rfkill_set_hw_state(hw->wiphy, blocked); ath9k_rfkill_poll_state()
/linux-4.1.27/include/xen/interface/
H A Dvcpu.h96 /* VCPU is blocked (a.k.a. idle). It is therefore not runnable. */
100 * VCPU is not runnable, but it is not blocked.
/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Dirq.h112 /* the asm IRQ handler makes sure the causing IRQ is blocked, then it calls
116 * The reason the IRQ is blocked is to allow an sti() before the handler which
/linux-4.1.27/arch/m68k/kernel/
H A Dprocess.c42 * Return saved PC from a blocked thread
47 /* Check whether the thread is blocked in resume() */ thread_saved_pc()
/linux-4.1.27/drivers/firewire/
H A Dsbp2.c152 bool blocked; member in struct:sbp2_logical_unit
179 int blocked; /* ditto */ member in struct:sbp2_target
717 if (!tgt->dont_block && !lu->blocked && sbp2_conditionally_block()
719 lu->blocked = true; sbp2_conditionally_block()
720 if (++tgt->blocked == 1) sbp2_conditionally_block()
741 if (lu->blocked && lu->generation == card->generation) { sbp2_conditionally_unblock()
742 lu->blocked = false; sbp2_conditionally_unblock()
743 unblock = --tgt->blocked == 0; sbp2_conditionally_unblock()
999 lu->blocked = false; sbp2_add_logical_unit()
/linux-4.1.27/drivers/net/wireless/b43/
H A Dphy_common.c464 void b43_software_rfkill(struct b43_wldev *dev, bool blocked) b43_software_rfkill() argument
469 phy->ops->software_rfkill(dev, blocked); b43_software_rfkill()
470 phy->radio_on = !blocked; b43_software_rfkill()
H A Dphy_a.c484 bool blocked) b43_aphy_op_software_rfkill()
488 if (!blocked) { b43_aphy_op_software_rfkill()
483 b43_aphy_op_software_rfkill(struct b43_wldev *dev, bool blocked) b43_aphy_op_software_rfkill() argument
H A Dphy_common.h175 void (*software_rfkill)(struct b43_wldev *dev, bool blocked);
405 void b43_software_rfkill(struct b43_wldev *dev, bool blocked);
H A Dphy_lcn.c743 bool blocked) b43_phy_lcn_op_software_rfkill()
748 if (blocked) { b43_phy_lcn_op_software_rfkill()
742 b43_phy_lcn_op_software_rfkill(struct b43_wldev *dev, bool blocked) b43_phy_lcn_op_software_rfkill() argument
/linux-4.1.27/fs/pstore/
H A Dplatform.c114 * In case of NMI path, pstore shouldn't be blocked pstore_cannot_block_path()
123 /* Emergency restart shouldn't be blocked by spin lock. */ pstore_cannot_block_path()
287 pr_err("pstore dump routine blocked in %s path, may corrupt error record\n" pstore_dump()
/linux-4.1.27/arch/powerpc/kernel/
H A Dmachine_kexec_64.c37 unsigned long low, high; /* limits of blocked memory range */ default_machine_kexec_prepare()
59 * It is safe if the end is below the start of the blocked default_machine_kexec_prepare()
61 * end of the blocked region (begin >= high). Use the default_machine_kexec_prepare()
/linux-4.1.27/fs/autofs4/
H A Dwaitq.c478 oldset = current->blocked; autofs4_wait()
479 siginitsetinv(&current->blocked, SHUTDOWN_SIGS & ~oldset.sig[0]); autofs4_wait()
486 current->blocked = oldset; autofs4_wait()
/linux-4.1.27/drivers/net/wireless/iwlwifi/
H A Diwl-notif-wait.h82 * the waiter stays blocked. If no function is given, any
/linux-4.1.27/drivers/staging/rtl8712/
H A Dsta_info.h69 uint ieee8021x_blocked; /*0: allowed, 1:blocked */
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dptlrpcd.c49 * during which time ptlrpcd is completely blocked, so e.g. if import
758 * be blocked by some async I/O RPC(s), then will cause other async ptlrpcd_init()
761 * Maybe we should distinguish blocked async RPCs from non-blocked ptlrpcd_init()
/linux-4.1.27/arch/tile/gxio/
H A Ddma_queue.c123 * A separate 'blocked' method for put() so that backtraces and
/linux-4.1.27/arch/tile/include/asm/
H A Dmmu_context.h74 * means we don't have to worry about having TLB shootdowns blocked
H A Dirqflags.h25 * interrupts (aka "non-queued") are not blocked by the mask in any case.
H A Dprocessor.h221 * Return saved (kernel) PC of a blocked thread.
/linux-4.1.27/drivers/block/
H A Dnbd.c148 sigset_t blocked, oldset; sock_xmit() local
160 siginitsetinv(&blocked, sigmask(SIGKILL)); sock_xmit()
161 sigprocmask(SIG_SETMASK, &blocked, &oldset); sock_xmit()
195 dequeue_signal_lock(current, &current->blocked, &info)); sock_xmit()
/linux-4.1.27/arch/microblaze/include/asm/
H A Dprocessor.h135 /* Return saved (kernel) PC of a blocked thread. */
/linux-4.1.27/fs/ncpfs/
H A Dsock.c757 old_set = current->blocked; ncp_do_request()
765 What if we've blocked it ourselves? What about ncp_do_request()
773 siginitsetinv(&current->blocked, mask); ncp_do_request()
780 current->blocked = old_set; ncp_do_request()
/linux-4.1.27/arch/s390/appldata/
H A Dappldata_os.c75 u32 nr_iowait; /* number of blocked threads
/linux-4.1.27/arch/sh/include/asm/
H A Dprocessor_32.h178 * Return saved PC of a blocked thread.
H A Dprocessor_64.h224 * Return saved PC of a blocked thread.
/linux-4.1.27/arch/mn10300/include/asm/
H A Dprocessor.h138 * Return saved PC of a blocked thread.
/linux-4.1.27/arch/mn10300/kernel/
H A Dprocess.c40 * return saved PC of a blocked thread.
/linux-4.1.27/arch/cris/arch-v10/kernel/
H A Dprocess.c79 * Return saved PC of a blocked thread.
/linux-4.1.27/arch/cris/arch-v32/kernel/
H A Dprocess.c85 * Return saved PC of a blocked thread.
/linux-4.1.27/arch/frv/kernel/
H A Dprocess.c200 /* Check whether the thread is blocked in resume() */ thread_saved_pc()
/linux-4.1.27/arch/ia64/include/asm/
H A Dunwind.h113 * Prepare to unwind blocked task t.
H A Dprocessor.h346 /* Return instruction pointer of blocked task TSK. */
353 /* Return stack pointer of blocked task TSK. */
608 * Return saved PC of a blocked thread.
/linux-4.1.27/arch/ia64/kernel/
H A Dprocess.c603 * Note: p may not be a blocked task (it could be current or get_wchan()
605 * trying to determine if p is really blocked, we just assume get_wchan()
606 * it's blocked and rely on the unwind routines to fail get_wchan()
607 * gracefully if the process wasn't really blocked after all. get_wchan()
/linux-4.1.27/arch/m32r/kernel/
H A Dprocess.c40 * Return saved PC of a blocked thread.
/linux-4.1.27/arch/metag/include/asm/
H A Dprocessor.h140 * Return saved PC of a blocked thread.
/linux-4.1.27/fs/fuse/
H A Dfuse_i.h102 * means more writes are blocked */
470 /** Flag indicating if connection is blocked. This will be
473 int blocked; member in struct:fuse_conn
475 /** waitq for blocked connection */
H A Ddev.c142 return !fc->initialized || (for_background && fc->blocked); fuse_block_alloc()
285 if (!fc->blocked) fuse_put_request()
390 fc->blocked = 0;
393 if (!fc->blocked && waitqueue_active(&fc->blocked_waitq))
595 fc->blocked = 1; fuse_request_send_nowait_locked()
2186 fc->blocked = 0; fuse_abort_conn()
2205 fc->blocked = 0; fuse_dev_release()
/linux-4.1.27/net/bridge/
H A Dbr_stp_bpdu.c177 br_notice(br, "BPDU received on blocked port %u(%s)\n", br_stp_rcv()
/linux-4.1.27/scripts/gdb/linux/
H A Dsymbols.py38 # The console input is blocked in this context so that we would
/linux-4.1.27/scripts/rt-tester/
H A Drt-tester.py50 "blocked" : ["M" , "eq" , 2],
/linux-4.1.27/security/integrity/
H A Diint.c178 * It does not perform locking checks to ensure it cannot be blocked.
/linux-4.1.27/tools/perf/util/
H A Dsvghelper.c126 fprintf(svgfile, " rect.blocked { fill:rgb(255, 0, 0); fill-opacity:0.5; stroke-width:0; stroke:rgb( 0, 0, 0); } \n"); open_svg()
227 fprintf(svgfile, "<title>#%d blocked %s</title>\n", cpu, svg_blocked()
231 svg_box(Yslot, start, end, "blocked"); svg_blocked()
648 svg_legenda_box(800, "Blocked on IO", "blocked"); svg_legenda()
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-l2c.h212 * @note If any ways are blocked for all cores and the HW blocks, then
238 * @note If any ways are blocked for all cores and the HW blocks, then
/linux-4.1.27/fs/
H A Deventfd.c151 * -EAGAIN : The operation would have blocked.
180 * -EAGAIN : The operation would have blocked but @no_wait was non-zero.
H A Dlocks.c48 * any processes blocked by the current lock are woken up and allowed to
109 * Sped up posix_locks_deadlock by only considering blocked locks.
623 * the order they blocked. The documentation doesn't require this but
651 * Wake up processes blocked waiting for blocker.
659 * blocked requests are only added to the list under the flc_lock, and locks_wake_up_blocks()
978 * Deadlock detection and insertion into the blocked __posix_lock_file()
1640 * (otherwise our open of this file would have blocked). generic_add_lease()
2489 * Used by lock managers to cancel blocked requests
/linux-4.1.27/drivers/isdn/capi/
H A Dkcapi.c469 if (!ctr->blocked) { capi_ctr_suspend_output()
472 ctr->blocked = 1; capi_ctr_suspend_output()
490 if (ctr->blocked) { capi_ctr_resume_output()
493 ctr->blocked = 0; capi_ctr_resume_output()
532 ctr->blocked = 0; attach_capi_ctr()
793 if (ctr->blocked) capi20_put_message()
/linux-4.1.27/arch/sparc/kernel/
H A Dvisemul.c117 /* 000010000 - convert 8-bit 3-D address to blocked byte address */
120 /* 000010010 - convert 16-bit 3-D address to blocked byte address */
123 /* 000010100 - convert 32-bit 3-D address to blocked byte address */
H A Dsignal_64.c177 err |= __put_user(current->blocked.sig[0], sparc64_get_context()
180 err |= __copy_to_user(&ucp->uc_sigmask, &current->blocked, sparc64_get_context()
/linux-4.1.27/arch/um/os-Linux/skas/
H A Dprocess.c582 * blocked, which can't be done on this stack. start_idle_thread()
583 * Signals must be blocked when jumping back here and restored start_idle_thread()
/linux-4.1.27/drivers/hv/
H A Dhv_fcopy.c290 * the thread blocked on the semaphore and we will use the opened fcopy_read()
409 * user level daemon can gracefully exit if it is blocked fcopy_dev_deinit()
H A Dring_buffer.c93 * when the sender is blocked because of lack of
129 /* If the other end is not blocked on write don't bother. */ hv_need_to_signal_on_read()
/linux-4.1.27/drivers/isdn/pcbit/
H A Dedss1.c103 {0x2e, "Precedence call blocked"},
/linux-4.1.27/drivers/hwmon/
H A Dshtc1.c77 * is blocked for other traffic, thus the call to i2c_master_recv() shtc1_update_values()
/linux-4.1.27/drivers/ide/
H A Dide-pm.c215 /* Mark drive blocked when starting the suspend sequence. */ ide_check_pm_state()
/linux-4.1.27/drivers/misc/mic/host/
H A Dmic_virtio.h74 * @poll_wake - Used for waking up threads blocked in poll.
/linux-4.1.27/drivers/staging/goldfish/
H A Dgoldfish_audio.c240 * if buffers are newly empty, wake up blocked goldfish_audio_interrupt()
/linux-4.1.27/drivers/staging/rtl8723au/include/
H A Dsta_info.h99 uint ieee8021x_blocked; /* 0: allowed, 1:blocked */
/linux-4.1.27/drivers/staging/rtl8188eu/include/
H A Dsta_info.h99 uint ieee8021x_blocked; /* 0: allowed, 1:blocked */
/linux-4.1.27/drivers/parport/
H A Dshare.c789 goto blocked; parport_claim()
792 goto blocked; parport_claim()
801 goto blocked; parport_claim()
848 blocked: parport_claim()
/linux-4.1.27/drivers/gpio/
H A Dgpio-altera.c33 will be blocked until the current one completes.
/linux-4.1.27/arch/x86/include/asm/
H A Dmmu_context.h169 * lazy tlb mode, and here. Irqs are blocked during switch_mm()
/linux-4.1.27/arch/x86/xen/
H A Dspinlock.c176 /* Allow interrupts while blocked */ xen_lock_spinning()
/linux-4.1.27/arch/um/drivers/
H A Dchan_user.c208 * other signals are blocked. winch_thread()
/linux-4.1.27/drivers/tty/serial/
H A Dkgdb_nmi.c164 * line just causes characters that are ignored, on a command line that blocked
/linux-4.1.27/fs/jfs/
H A Djfs_incore.h72 * inode is blocked in txBegin or TxBeginAnon
/linux-4.1.27/drivers/pps/generators/
H A Dpps_gen_parport.c85 * NB: approx time with blocked interrupts = hrtimer_event()
/linux-4.1.27/arch/s390/include/asm/
H A Dprocessor.h173 * Return saved PC of a blocked thread.
/linux-4.1.27/arch/s390/kernel/
H A Dprocess.c40 * Return saved PC of a blocked thread. used in kernel/sched.
/linux-4.1.27/arch/blackfin/kernel/
H A Dasm-offsets.c25 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); main()
/linux-4.1.27/arch/ia64/include/uapi/asm/
H A Dptrace.h19 * When a user process is blocked, its state looks as follows:
/linux-4.1.27/arch/arm/mach-omap2/
H A Dserial.c49 * This also causes that any deeper omap sleep states are blocked.
/linux-4.1.27/fs/gfs2/
H A Dglock.h65 * These special requests should not be blocked due to the recovery like
/linux-4.1.27/net/dccp/
H A Dtimer.c181 icsk->icsk_ack.blocked = 1; dccp_delack_timer()
H A Doutput.c609 /* If delack timer was blocked or is about to expire,
614 if (icsk->icsk_ack.blocked) {
/linux-4.1.27/net/nfc/
H A Dcore.c182 static int nfc_rfkill_set_block(void *data, bool blocked) nfc_rfkill_set_block() argument
186 pr_debug("%s blocked %d", dev_name(&dev->dev), blocked); nfc_rfkill_set_block()
188 if (!blocked) nfc_rfkill_set_block()
/linux-4.1.27/net/wireless/
H A Dcore.c250 static int cfg80211_rfkill_set_block(void *data, bool blocked) cfg80211_rfkill_set_block() argument
254 if (!blocked) cfg80211_rfkill_set_block()
835 void wiphy_rfkill_set_hw_state(struct wiphy *wiphy, bool blocked) wiphy_rfkill_set_hw_state() argument
839 if (rfkill_set_hw_state(rdev->rfkill, blocked)) wiphy_rfkill_set_hw_state()
/linux-4.1.27/sound/core/seq/
H A Dseq_device.c102 static atomic_t snd_seq_in_init = ATOMIC_INIT(1); /* blocked as default */
/linux-4.1.27/include/drm/
H A Ddrm_vma_manager.h101 * are allowed while holding this lock. All other contexts are blocked from VMA
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
H A Dapi-ni.c1729 sigset_t blocked = cfs_block_allsigs(); lnet_ping_target_fini() local
1756 cfs_restore_sigs(blocked); lnet_ping_target_fini()
1777 sigset_t blocked; lnet_ping() local
1832 blocked = cfs_block_allsigs(); lnet_ping()
1837 cfs_restore_sigs(blocked); lnet_ping()
/linux-4.1.27/drivers/scsi/
H A Dscsi_transport_fc.c2062 * rport is in a blocked state, typically due to a temporarily loss of
2070 * the underlying rport. If the rport is blocked, it returns
2074 * If the rport is not blocked, normal error handling continues.
2749 * is in a "blocked" state. fc_remote_port_add()
2934 * disrupting the SCSI device tree attached to it. During the "blocked"
2947 * temporary blocked state. From the LLDD's perspective, the rport no
2949 * exists, but all sdevs on it are blocked from further I/O. The following
3023 /* cap the length the devices can be blocked until they are deleted */ fc_remote_port_delete()
3137 "blocked FC remote port time out: no longer" fc_timeout_deleted_rport()
3149 "blocked FC remote port time out: leaving" fc_timeout_deleted_rport()
3160 "blocked FC remote port time out: removing" fc_timeout_deleted_rport()
3169 "blocked FC remote port time out: removing target and " fc_timeout_deleted_rport()
3289 * fc_block_scsi_eh - Block SCSI eh thread for blocked fc_rport
3295 * necessary to avoid the scsi_eh failing recovery actions for blocked
4132 * Before unregistering the queue empty any requests that are blocked
H A Dscsi_transport_srp.c182 [SRP_RPORT_BLOCKED] = "blocked", show_srp_rport_state()
619 * If a timeout occurs while an rport is in the blocked state, ask the SCSI
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c595 "Adapter removed - register test blocked\n"); ixgbevf_reg_test()
663 "Adapter removed - test blocked\n"); ixgbevf_diag_test()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dfw-api-tx.h404 * This status relates to reasons the tx might have been blocked or aborted
436 * @bt_kill_count: num of times blocked by bluetooth (unused for agg)
H A Drx.c332 * We have tx blocked stations (with CS bit). If we heard frames from iwl_mvm_rx_rx_mpdu()
333 * a blocked station on a new channel we can TX to it again. iwl_mvm_rx_rx_mpdu()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
H A Dlustre_dlm_flags.h43 /** l_flags bits marked as "blocked" bits */
136 * Server told not to wait if blocked. For AGL, OST will not send glimpse
/linux-4.1.27/drivers/platform/goldfish/
H A Dgoldfish_pipe.c125 * communicate with the emulator, and a wake queue for blocked tasks
451 * blocked pipe (i.e. channel). goldfish_pipe_interrupt()
/linux-4.1.27/net/irda/irnet/
H A Dirnet.h476 IRNET_BLOCKED_LINK, /* Link (IrLAP) is blocked for > 3s */
502 wait_queue_head_t rwait; /* processes blocked on read (or poll) */
/linux-4.1.27/kernel/sched/
H A Dwait.c80 * __wake_up - wake up threads blocked on a waitqueue.
116 * __wake_up_sync_key - wake up threads blocked on a waitqueue.
/linux-4.1.27/drivers/scsi/fnic/
H A Dfnic.h116 #define __FNIC_FLAGS_BLOCK_IO BIT(1) /* IOs are blocked */
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_frontbuffer.c168 * delayed if they're blocked by some outstanding asynchronous rendering.
/linux-4.1.27/arch/x86/kernel/
H A Dprocess_32.c62 * Return saved PC of a blocked thread.
/linux-4.1.27/drivers/char/hw_random/
H A Dintel-rng.c369 * Use stop_machine because IPIs can be blocked by disabling mod_init()
/linux-4.1.27/drivers/tty/ipwireless/
H A Dnetwork.c149 printk(KERN_DEBUG IPWIRELESS_PCCARD_NAME ": ppp blocked\n"); ipwireless_ppp_start_xmit()
/linux-4.1.27/drivers/tty/
H A Dtty_ldsem.c172 * handle the lock release when processes blocked on it that can now run
/linux-4.1.27/drivers/video/backlight/
H A Dlms501kf03.c200 * After sleep out sequence, command is blocked for 120ms. lms501kf03_ldi_init()
/linux-4.1.27/drivers/watchdog/
H A Dat32ap700x_wdt.c11 * Errata: WDT Clear is blocked after WDT Reset
/linux-4.1.27/arch/parisc/include/asm/
H A Dpdc_chassis.h176 #define PDC_CHASSIS_ALERT_BLOCKED (3ULL << 36) /* system blocked */
H A Dprocessor.h171 * Return saved PC of a blocked thread. This is used by ps mostly.
/linux-4.1.27/arch/arm64/kernel/
H A Dtraps.c152 * task blocked in __switch_to dump_backtrace()

Completed in 6351 milliseconds

123