/linux-4.1.27/drivers/platform/x86/ |
H A D | xo1-rfkill.c | 19 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 D | amilo-rfkill.c | 32 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 D | msi-laptop.c | 721 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 D | classmate-laptop.c | 912 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 D | asus-wmi.c | 597 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 D | eeepc-laptop.c | 572 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 D | intel_oaktrail.c | 108 static int oaktrail_rfkill_set(void *data, bool blocked) oaktrail_rfkill_set() argument 116 if (!blocked) oaktrail_rfkill_set()
|
H A D | hp-wmi.c | 331 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 D | dell-laptop.c | 443 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 D | samsung-laptop.c | 584 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 D | asus-laptop.c | 1315 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 D | ideapad-laptop.c | 464 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 D | compal-laptop.c | 351 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 D | rfkill.h | 57 * @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 D | mutex.h | 70 * This is the control structure for tasks blocked on mutex, 71 * which resides on the blocked task's kernel stack:
|
H A D | pipe_fs_i.h | 39 * @waiting_writers: number of writers blocked waiting for room
|
H A D | dynamic_queue_limits.h | 15 * so queuing new data is blocked.
|
H A D | init_task.h | 235 .blocked = {{0}}, \
|
H A D | signal.h | 337 * 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 D | tracehook.h | 158 * If it's blocked, it will not be woken.
|
/linux-4.1.27/lib/ |
H A D | syscall.c | 25 * 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 D | rfkill.h | 16 void rfkill_switch_all(const enum rfkill_type type, bool blocked);
|
H A D | rfkill-gpio.c | 44 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 D | rfkill-regulator.c | 30 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 D | core.c | 237 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 D | input.c | 88 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 D | linux-prim.c | 135 old = current->blocked; cfs_block_allsigs() 136 sigfillset(¤t->blocked); cfs_block_allsigs() 150 old = current->blocked; cfs_block_sigs() 151 sigaddsetmask(¤t->blocked, sigs); cfs_block_sigs() 165 old = current->blocked; cfs_block_sigsinv() 166 sigaddsetmask(¤t->blocked, ~sigs); cfs_block_sigsinv() 180 current->blocked = old; cfs_restore_sigs()
|
/linux-4.1.27/arch/arm/mach-pxa/ |
H A D | tosa-bt.c | 38 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 D | syscall.h | 27 * @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 D | rtmutex_common.h | 40 * 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 D | rtmutex-debug.c | 116 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 D | rtmutex.c | 358 * @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 D | mutex-debug.c | 56 /* Mark the current thread as blocked on the lock: */ debug_mutex_add_waiter()
|
H A D | rwsem-spinlock.c | 56 * handle the lock release when processes blocked on it that can now run
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | pil.h | 9 * interrupt which is blocked by local_irq_disable().
|
H A D | processor_32.h | 76 /* Return saved PC of a blocked thread. */
|
H A D | processor_64.h | 96 /* Return saved PC of a blocked thread. */
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | asm-offsets.c | 21 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); foo()
|
H A D | process.c | 355 * 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 D | futex-requeue.c | 156 /* 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 D | futex-wake.c | 156 /* 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 D | futex.h | 49 * futex_wake() - wake one or more tasks blocked on uaddr
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | flowring.c | 183 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 D | flowring.h | 38 bool blocked; member in struct:brcmf_flowring_ring
|
/linux-4.1.27/arch/arm/mach-s3c24xx/ |
H A D | h1940-bluetooth.c | 57 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 D | rfkill.c | 79 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 D | upcall.c | 578 *old = current->blocked; coda_block_signals() 580 sigfillset(¤t->blocked); coda_block_signals() 581 sigdelset(¤t->blocked, SIGKILL); coda_block_signals() 582 sigdelset(¤t->blocked, SIGSTOP); coda_block_signals() 583 sigdelset(¤t->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 D | processor.h | 99 * 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 D | capilli.h | 70 int blocked; /* output blocked */ member in struct:capi_ctr
|
/linux-4.1.27/fs/lockd/ |
H A D | svclock.c | 4 * 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 D | clntlock.c | 32 * 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 D | signal.c | 88 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(¤t->blocked, signr)) { ptrace_signal() 2251 signr = dequeue_signal(current, ¤t->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, ¤t->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, ¤t->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, ¤t->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 D | hung_task.c | 111 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 D | compat.c | 394 * 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 D | pte-hash64.h | 30 #define _PAGE_KERNEL_RW (_PAGE_RW | _PAGE_DIRTY) /* user access blocked by key */
|
H A D | smu.h | 450 * 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 D | signal.c | 239 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 D | process.c | 61 * Return saved PC of a blocked thread 156 * was invoked by a blocked thread.
|
/linux-4.1.27/arch/alpha/include/asm/ |
H A D | processor.h | 42 /* Return saved PC of a blocked thread. */
|
/linux-4.1.27/drivers/acpi/acpica/ |
H A D | exutils.c | 114 * 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 D | array.c | 252 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 D | op-rfkill.c | 249 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 D | process.c | 121 * Return saved PC of a blocked thread. 128 /* Check whether the thread is blocked in resume() */ thread_saved_pc()
|
H A D | asm-offsets.c | 77 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); main()
|
/linux-4.1.27/fs/ocfs2/dlm/ |
H A D | dlmthread.c | 84 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 D | dlmapi.h | 40 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 D | dlmdebug.c | 127 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 D | dlmmaster.c | 109 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 D | dlmast.c | 274 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 D | dlmcommon.h | 300 * 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 D | dlmunlock.c | 81 * 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 D | dlmlock.c | 178 list_add_tail(&lock->list, &res->blocked); dlmlock_master() 240 list_add_tail(&lock->list, &res->blocked); dlmlock_remote()
|
H A D | dlmrecovery.c | 1197 /* 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 D | matroxfb_DAC1064.h | 43 /* 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 D | scsi_transport_srp.h | 20 * 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 D | userdlm.h | 40 #define USER_LOCK_BLOCKED (0x00000004) /* blocked waiting to
|
H A D | userdlm.c | 318 /* 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 D | bcache.h | 452 __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 D | sched.h | 361 * Tracepoint for accounting blocked time (time the task is in uninterruptible).
|
/linux-4.1.27/include/uapi/linux/ |
H A D | sched.h | 11 #define CLONE_SIGHAND 0x00000800 /* set if signal handlers and blocked signals shared */
|
/linux-4.1.27/arch/nios2/include/asm/ |
H A D | processor.h | 83 /* Return saved PC of a blocked thread. */
|
/linux-4.1.27/drivers/infiniband/hw/amso1100/ |
H A D | c2_vq.c | 51 * 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 D | c2_mm.c | 83 * handler blocked awaiting this reply. send_pbl_messages()
|
/linux-4.1.27/drivers/isdn/hisax/ |
H A D | hfc_2bds0.c | 347 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 D | hfc_sx.c | 456 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 D | hfc_pci.c | 341 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 D | pppoatm.c | 68 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 D | tree_plugin.h | 111 * 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 D | drm_lock.c | 295 * 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 D | inet_connection_sock.h | 114 __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 D | spinlock.h | 87 * (i.e., all other readers and writers are blocked from ownership while
|
/linux-4.1.27/fs/jffs2/ |
H A D | background.c | 130 signr = dequeue_signal_lock(current, ¤t->blocked, &info); jffs2_garbage_collect_thread()
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | signal.c | 359 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 D | signal32.c | 423 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 D | processor.h | 97 * Return saved PC of a blocked thread. For now, this is the "user" PC
|
/linux-4.1.27/arch/avr32/include/asm/ |
H A D | processor.h | 141 /* Return saved PC of a blocked thread */
|
/linux-4.1.27/arch/blackfin/include/asm/ |
H A D | processor.h | 86 * Return saved PC of a blocked thread.
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
H A D | irq.h | 74 * Make sure the causing IRQ is blocked, then call do_IRQ. After that, unblock
|
/linux-4.1.27/arch/frv/include/asm/ |
H A D | processor.h | 107 * Return saved PC of a blocked thread.
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | mac80211_if.c | 426 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 D | htc_drv_gpio.c | 323 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 D | gpio.c | 120 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 D | vcpu.h | 96 /* 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 D | irq.h | 112 /* 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 D | process.c | 42 * 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 D | sbp2.c | 152 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 D | phy_common.c | 464 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 D | phy_a.c | 484 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 D | phy_common.h | 175 void (*software_rfkill)(struct b43_wldev *dev, bool blocked); 405 void b43_software_rfkill(struct b43_wldev *dev, bool blocked);
|
H A D | phy_lcn.c | 743 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 D | platform.c | 114 * 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 D | machine_kexec_64.c | 37 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 D | waitq.c | 478 oldset = current->blocked; autofs4_wait() 479 siginitsetinv(¤t->blocked, SHUTDOWN_SIGS & ~oldset.sig[0]); autofs4_wait() 486 current->blocked = oldset; autofs4_wait()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/ |
H A D | iwl-notif-wait.h | 82 * the waiter stays blocked. If no function is given, any
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | sta_info.h | 69 uint ieee8021x_blocked; /*0: allowed, 1:blocked */
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | ptlrpcd.c | 49 * 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 D | dma_queue.c | 123 * A separate 'blocked' method for put() so that backtraces and
|
/linux-4.1.27/arch/tile/include/asm/ |
H A D | mmu_context.h | 74 * means we don't have to worry about having TLB shootdowns blocked
|
H A D | irqflags.h | 25 * interrupts (aka "non-queued") are not blocked by the mask in any case.
|
H A D | processor.h | 221 * Return saved (kernel) PC of a blocked thread.
|
/linux-4.1.27/drivers/block/ |
H A D | nbd.c | 148 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, ¤t->blocked, &info)); sock_xmit()
|
/linux-4.1.27/arch/microblaze/include/asm/ |
H A D | processor.h | 135 /* Return saved (kernel) PC of a blocked thread. */
|
/linux-4.1.27/fs/ncpfs/ |
H A D | sock.c | 757 old_set = current->blocked; ncp_do_request() 765 What if we've blocked it ourselves? What about ncp_do_request() 773 siginitsetinv(¤t->blocked, mask); ncp_do_request() 780 current->blocked = old_set; ncp_do_request()
|
/linux-4.1.27/arch/s390/appldata/ |
H A D | appldata_os.c | 75 u32 nr_iowait; /* number of blocked threads
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | processor_32.h | 178 * Return saved PC of a blocked thread.
|
H A D | processor_64.h | 224 * Return saved PC of a blocked thread.
|
/linux-4.1.27/arch/mn10300/include/asm/ |
H A D | processor.h | 138 * Return saved PC of a blocked thread.
|
/linux-4.1.27/arch/mn10300/kernel/ |
H A D | process.c | 40 * return saved PC of a blocked thread.
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
H A D | process.c | 79 * Return saved PC of a blocked thread.
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
H A D | process.c | 85 * Return saved PC of a blocked thread.
|
/linux-4.1.27/arch/frv/kernel/ |
H A D | process.c | 200 /* Check whether the thread is blocked in resume() */ thread_saved_pc()
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | unwind.h | 113 * Prepare to unwind blocked task t.
|
H A D | processor.h | 346 /* 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 D | process.c | 603 * 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 D | process.c | 40 * Return saved PC of a blocked thread.
|
/linux-4.1.27/arch/metag/include/asm/ |
H A D | processor.h | 140 * Return saved PC of a blocked thread.
|
/linux-4.1.27/fs/fuse/ |
H A D | fuse_i.h | 102 * 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 D | dev.c | 142 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 D | br_stp_bpdu.c | 177 br_notice(br, "BPDU received on blocked port %u(%s)\n", br_stp_rcv()
|
/linux-4.1.27/scripts/gdb/linux/ |
H A D | symbols.py | 38 # The console input is blocked in this context so that we would
|
/linux-4.1.27/scripts/rt-tester/ |
H A D | rt-tester.py | 50 "blocked" : ["M" , "eq" , 2],
|
/linux-4.1.27/security/integrity/ |
H A D | iint.c | 178 * It does not perform locking checks to ensure it cannot be blocked.
|
/linux-4.1.27/tools/perf/util/ |
H A D | svghelper.c | 126 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 D | cvmx-l2c.h | 212 * @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 D | eventfd.c | 151 * -EAGAIN : The operation would have blocked. 180 * -EAGAIN : The operation would have blocked but @no_wait was non-zero.
|
H A D | locks.c | 48 * 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 D | kcapi.c | 469 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 D | visemul.c | 117 /* 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 D | signal_64.c | 177 err |= __put_user(current->blocked.sig[0], sparc64_get_context() 180 err |= __copy_to_user(&ucp->uc_sigmask, ¤t->blocked, sparc64_get_context()
|
/linux-4.1.27/arch/um/os-Linux/skas/ |
H A D | process.c | 582 * 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 D | hv_fcopy.c | 290 * 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 D | ring_buffer.c | 93 * 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 D | edss1.c | 103 {0x2e, "Precedence call blocked"},
|
/linux-4.1.27/drivers/hwmon/ |
H A D | shtc1.c | 77 * is blocked for other traffic, thus the call to i2c_master_recv() shtc1_update_values()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-pm.c | 215 /* Mark drive blocked when starting the suspend sequence. */ ide_check_pm_state()
|
/linux-4.1.27/drivers/misc/mic/host/ |
H A D | mic_virtio.h | 74 * @poll_wake - Used for waking up threads blocked in poll.
|
/linux-4.1.27/drivers/staging/goldfish/ |
H A D | goldfish_audio.c | 240 * if buffers are newly empty, wake up blocked goldfish_audio_interrupt()
|
/linux-4.1.27/drivers/staging/rtl8723au/include/ |
H A D | sta_info.h | 99 uint ieee8021x_blocked; /* 0: allowed, 1:blocked */
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
H A D | sta_info.h | 99 uint ieee8021x_blocked; /* 0: allowed, 1:blocked */
|
/linux-4.1.27/drivers/parport/ |
H A D | share.c | 789 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 D | gpio-altera.c | 33 will be blocked until the current one completes.
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | mmu_context.h | 169 * lazy tlb mode, and here. Irqs are blocked during switch_mm()
|
/linux-4.1.27/arch/x86/xen/ |
H A D | spinlock.c | 176 /* Allow interrupts while blocked */ xen_lock_spinning()
|
/linux-4.1.27/arch/um/drivers/ |
H A D | chan_user.c | 208 * other signals are blocked. winch_thread()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | kgdb_nmi.c | 164 * line just causes characters that are ignored, on a command line that blocked
|
/linux-4.1.27/fs/jfs/ |
H A D | jfs_incore.h | 72 * inode is blocked in txBegin or TxBeginAnon
|
/linux-4.1.27/drivers/pps/generators/ |
H A D | pps_gen_parport.c | 85 * NB: approx time with blocked interrupts = hrtimer_event()
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | processor.h | 173 * Return saved PC of a blocked thread.
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | process.c | 40 * Return saved PC of a blocked thread. used in kernel/sched.
|
/linux-4.1.27/arch/blackfin/kernel/ |
H A D | asm-offsets.c | 25 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); main()
|
/linux-4.1.27/arch/ia64/include/uapi/asm/ |
H A D | ptrace.h | 19 * When a user process is blocked, its state looks as follows:
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | serial.c | 49 * This also causes that any deeper omap sleep states are blocked.
|
/linux-4.1.27/fs/gfs2/ |
H A D | glock.h | 65 * These special requests should not be blocked due to the recovery like
|
/linux-4.1.27/net/dccp/ |
H A D | timer.c | 181 icsk->icsk_ack.blocked = 1; dccp_delack_timer()
|
H A D | output.c | 609 /* If delack timer was blocked or is about to expire, 614 if (icsk->icsk_ack.blocked) {
|
/linux-4.1.27/net/nfc/ |
H A D | core.c | 182 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 D | core.c | 250 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 D | seq_device.c | 102 static atomic_t snd_seq_in_init = ATOMIC_INIT(1); /* blocked as default */
|
/linux-4.1.27/include/drm/ |
H A D | drm_vma_manager.h | 101 * are allowed while holding this lock. All other contexts are blocked from VMA
|
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/ |
H A D | api-ni.c | 1729 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 D | scsi_transport_fc.c | 2062 * 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 D | scsi_transport_srp.c | 182 [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 D | ethtool.c | 595 "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 D | fw-api-tx.h | 404 * 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 D | rx.c | 332 * 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 D | lustre_dlm_flags.h | 43 /** 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 D | goldfish_pipe.c | 125 * 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 D | irnet.h | 476 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 D | wait.c | 80 * __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 D | fnic.h | 116 #define __FNIC_FLAGS_BLOCK_IO BIT(1) /* IOs are blocked */
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | intel_frontbuffer.c | 168 * delayed if they're blocked by some outstanding asynchronous rendering.
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | process_32.c | 62 * Return saved PC of a blocked thread.
|
/linux-4.1.27/drivers/char/hw_random/ |
H A D | intel-rng.c | 369 * Use stop_machine because IPIs can be blocked by disabling mod_init()
|
/linux-4.1.27/drivers/tty/ipwireless/ |
H A D | network.c | 149 printk(KERN_DEBUG IPWIRELESS_PCCARD_NAME ": ppp blocked\n"); ipwireless_ppp_start_xmit()
|
/linux-4.1.27/drivers/tty/ |
H A D | tty_ldsem.c | 172 * handle the lock release when processes blocked on it that can now run
|
/linux-4.1.27/drivers/video/backlight/ |
H A D | lms501kf03.c | 200 * After sleep out sequence, command is blocked for 120ms. lms501kf03_ldi_init()
|
/linux-4.1.27/drivers/watchdog/ |
H A D | at32ap700x_wdt.c | 11 * Errata: WDT Clear is blocked after WDT Reset
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | pdc_chassis.h | 176 #define PDC_CHASSIS_ALERT_BLOCKED (3ULL << 36) /* system blocked */
|
H A D | processor.h | 171 * Return saved PC of a blocked thread. This is used by ps mostly.
|
/linux-4.1.27/arch/arm64/kernel/ |
H A D | traps.c | 152 * task blocked in __switch_to dump_backtrace()
|