/linux-6.15/tools/testing/selftests/signal/ |
D | mangle_uc_sigmask.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Test describing a clear distinction between signal states - delivered and 8 * blocked, and their relation with ucontext. 11 * blocked signals; such a signal, when sent to the process by the kernel, 12 * will get blocked by the process and it may later unblock it and take an 21 * The thread's mask of blocked signals can be permanently changed, i.e, not 29 * program is executing inside the handler, will be blocked; they will be 32 * For standard signals (also see real-time signals in the man page), multiple 33 * blocked instances of the same signal are not queued; such a signal will 48 /* Kernel dumps ucontext with USR2 blocked */ in handler_verify_ucontext() [all …]
|
/linux-6.15/Documentation/devicetree/bindings/net/ |
D | rfkill-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/rfkill-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Johannes Berg <johannes@sipsolutions.net> 11 - Philipp Zabel <p.zabel@pengutronix.de> 15 const: rfkill-gpio 20 radio-type: 23 - bluetooth 24 - fm [all …]
|
/linux-6.15/tools/perf/Documentation/ |
D | perf-mem.txt | 1 perf-mem(1) 5 ---- 6 perf-mem - Profile memory accesses 9 -------- 14 ----------- 19 right set of options to display a memory access profile. By default, loads 20 and stores are sampled. Use the -t option to limit to loads or stores. 22 Note that on Intel systems the memory latency reported is the use-latency, 27 and kernel support is required. See linkperf:perf-arm-spe[1] for a setup guide. 32 -------------- [all …]
|
D | perf-report.txt | 1 perf-report(1) 5 ---- 6 perf-report - Read perf.data (created by perf record) and display the profile 9 -------- 11 'perf report' [-i <file> | --input=file] 14 ----------- 19 ------- 20 -i:: 21 --input=:: 22 Input file name. (default: perf.data unless stdin is a fifo) [all …]
|
/linux-6.15/include/linux/ |
D | rfkill.h | 2 * Copyright (C) 2006 - 2007 Ivo van Doorn 44 * struct rfkill_ops - rfkill driver methods 46 * @poll: poll the rfkill block state(s) -- only assign this method 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); 69 * rfkill_alloc - Allocate rfkill structure 70 * @name: name of the struct -- the string is not copied internally 86 * rfkill_register - Register a rfkill structure. 94 * set_block() will be called to initialize the software blocked state [all …]
|
/linux-6.15/include/uapi/linux/ |
D | fsi.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 25 #define SCOM_INTF_ERR_PROTECTION 0x00000002 /* Blocked by secure boot */ 33 __u8 pib_status; /* 3-bit PIB status */ 35 #define SCOM_PIB_BLOCKED 1 /* PIB blocked, pls retry */ 47 #define SCOM_CHECK_PROTECTED 0x00000002 /* Interface blocked by secure boot */ 66 * timeout is 1 seconds (default) and the maximum value of command timeout is 67 * 120 seconds. A command timeout of 0 will reset the value to the default of 76 * timeout is 10 seconds (default) and the maximum value of read timeout is 77 * 120 seconds. A read timeout of 0 will reset the value to the default of
|
/linux-6.15/net/rfkill/ |
D | rfkill-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 31 static int rfkill_gpio_set_power(void *data, bool blocked) in rfkill_gpio_set_power() argument 35 if (!blocked && !IS_ERR(rfkill->clk) && !rfkill->clk_enabled) { in rfkill_gpio_set_power() 36 int ret = clk_enable(rfkill->clk); in rfkill_gpio_set_power() 42 gpiod_set_value_cansleep(rfkill->shutdown_gpio, !blocked); in rfkill_gpio_set_power() 43 gpiod_set_value_cansleep(rfkill->reset_gpio, !blocked); in rfkill_gpio_set_power() 45 if (blocked && !IS_ERR(rfkill->clk) && rfkill->clk_enabled) in rfkill_gpio_set_power() 46 clk_disable(rfkill->clk); in rfkill_gpio_set_power() 48 rfkill->clk_enabled = !blocked; in rfkill_gpio_set_power() 61 { "reset-gpios", &reset_gpios, 1 }, [all …]
|
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2006 - 2007 Ivo van Doorn 96 * rfkill method calls -- which will cause an AB-BA deadlock situation. 98 * To fix that, we need to rework this code here to be mostly lock-free 110 "Default initial state for all radio types, 0 = radio off"); 124 if (!rfkill->registered) in rfkill_led_trigger_event() 127 trigger = &rfkill->led_trigger; in rfkill_led_trigger_event() 129 if (rfkill->state & RFKILL_BLOCK_ANY) in rfkill_led_trigger_event() 139 rfkill = container_of(led->trigger, struct rfkill, led_trigger); in rfkill_led_trigger_activate() 148 return rfkill->led_trigger.name; in rfkill_get_led_trigger_name() [all …]
|
D | input.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * "rfkill-input: remove unused code". 73 default: in __rfkill_handle_global_op() 85 bool blocked; in __rfkill_handle_normal_op() local 87 blocked = rfkill_get_global_sw_state(type); in __rfkill_handle_normal_op() 89 blocked = !blocked; in __rfkill_handle_normal_op() 91 rfkill_switch_all(type, blocked); in __rfkill_handle_normal_op() 113 * handle global ops first -- during unlocked period in rfkill_op_handler() 226 return -ENOMEM; in rfkill_connect() 228 handle->dev = dev; in rfkill_connect() [all …]
|
/linux-6.15/fs/lockd/ |
D | svclock.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Handling of server-side locks, mostly of the blocked variety. 7 * GRANT and CANCEL calls may get stuck, meet in mid-flight, etc. 13 * to a file's list of blocked locks through a semaphore. The global 14 * list of blocked locks is not protected in this fashion however. 16 * call) move blocked locks towards the head of the list *while some other 51 * The list of blocked locks to retry 61 * from lockd, which is single-threaded. in nlmdbg_cookie2a() 67 len--; /* allow for trailing \0 */ in nlmdbg_cookie2a() 70 for (i = 0 ; i < cookie->len ; i++) { in nlmdbg_cookie2a() [all …]
|
/linux-6.15/kernel/ |
D | signal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * 1997-11-02 Modified for POSIX.1b signals by Richard Henderson 9 * 2003-06-02 Jim Houston - Concurrent Computer Corp. 46 #include <linux/posix-timers.h> 62 #include "time/posix-timers.h" 74 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler() 94 if (unlikely(t->signal->flags & SIGNAL_UNKILLABLE) && in sig_task_ignored() 99 if (unlikely((t->flags & PF_KTHREAD) && in sig_task_ignored() 109 * Blocked signals are never ignored, since the in sig_ignored() 113 if (sigismember(&t->blocked, sig) || sigismember(&t->real_blocked, sig)) in sig_ignored() [all …]
|
D | hung_task.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * kernel/hung_task.c - kernel thread for detecting tasks stuck in D state 43 * the RCU grace period. So it needs to be upper-bound. 48 * Zero means infinite timeout - no checking done: 54 * Zero (default value) means use sysctl_hung_task_timeout_secs: 106 lock = READ_ONCE(task->blocker_mutex); in debug_show_blocker() 112 pr_err("INFO: task %s:%d is blocked on a mutex, but the owner is not found.\n", in debug_show_blocker() 113 task->comm, task->pid); in debug_show_blocker() 120 pr_err("INFO: task %s:%d is blocked on a mutex likely owned by task %s:%d.\n", in debug_show_blocker() 121 task->comm, task->pid, t->comm, t->pid); in debug_show_blocker() [all …]
|
D | compat.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2002-2003 Stephen Rothwell, IBM Corporation 22 #include <linux/posix-timers.h> 33 * blocked set of signals to the supplied signal set 35 static inline void compat_sig_setmask(sigset_t *blocked, compat_sigset_word set) in compat_sig_setmask() argument 37 memcpy(blocked->sig, &set, sizeof(set)); in compat_sig_setmask() 47 old_set = current->blocked.sig[0]; in COMPAT_SYSCALL_DEFINE3() 51 return -EFAULT; in COMPAT_SYSCALL_DEFINE3() 54 new_blocked = current->blocked; in COMPAT_SYSCALL_DEFINE3() 66 default: in COMPAT_SYSCALL_DEFINE3() [all …]
|
/linux-6.15/Documentation/admin-guide/ |
D | md.rst | 5 --------------------------------- 49 -1 linear mode 58 (raid-0 and raid-1 only) 78 -------------------------------------- 87 that all auto-detected arrays are assembled as partitionable. 90 ------------------------------------------- 102 mdadm --assemble --force .... 112 md-mod.start_dirty_degraded=1 116 ------------------ 119 Currently, it supports superblock formats ``0.90.0`` and the ``md-1`` format [all …]
|
/linux-6.15/Documentation/driver-api/ |
D | rfkill.rst | 2 rfkill - RF kill switch support 13 transmitter in the system. When a transmitter is blocked, it shall not 25 - hard block 26 read-only radio block that cannot be overridden by software 28 - soft block 34 admin-guide/kernel-parameters.rst. 43 * the deprecated rfkill-input module (an input layer handler, being 49 the system know about hardware-disabled states that may be implemented on 56 When the device is hard-blocked (either by a call to rfkill_set_hw_state() 83 to ensure the driver cannot be built-in when rfkill is modular. The !RFKILL [all …]
|
/linux-6.15/include/scsi/ |
D | scsi_transport_srp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 * enum srp_rport_state - SRP transport layer state 21 * is running and I/O has been blocked. 33 * struct srp_rport - SRP initiator or target port 37 * @port_id: 16-byte port identifier. 38 * @roles: Role of this port - initiator or target. 77 * struct srp_function_template - template for SRP initiator drivers 83 * timer if the device on which it has been queued is blocked. 84 * @reconnect_delay: If not NULL, points to the default reconnect_delay value. 85 * @fast_io_fail_tmo: If not NULL, points to the default fast_io_fail_tmo value. [all …]
|
/linux-6.15/arch/hexagon/kernel/ |
D | signal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2010-2012, The Linux Foundation. All rights reserved. 30 unsigned long sp = sigsp(regs->r29, ksig); in get_sigframe() 32 return (void __user *)((sp - frame_size) & ~(sizeof(long long) - 1)); in get_sigframe() 40 err |= copy_to_user(&sc->sc_regs.r0, ®s->r00, in setup_sigcontext() 43 err |= __put_user(regs->sa0, &sc->sc_regs.sa0); in setup_sigcontext() 44 err |= __put_user(regs->lc0, &sc->sc_regs.lc0); in setup_sigcontext() 45 err |= __put_user(regs->sa1, &sc->sc_regs.sa1); in setup_sigcontext() 46 err |= __put_user(regs->lc1, &sc->sc_regs.lc1); in setup_sigcontext() 47 err |= __put_user(regs->m0, &sc->sc_regs.m0); in setup_sigcontext() [all …]
|
/linux-6.15/net/mac80211/ |
D | ht.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright 2002-2005, Instant802 Networks, Inc. 7 * Copyright 2005-2006, Devicescape Software, Inc. 8 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 10 * Copyright 2007-2010, Intel Corporation 12 * Copyright(c) 2020-2024 Intel Corporation 27 if (ht_capa_mask->cap_info & le_flag) { in __check_htcap_disable() 28 if (!(ht_capa->cap_info & le_flag)) in __check_htcap_disable() 29 ht_cap->cap &= ~flag; in __check_htcap_disable() 40 if ((ht_capa_mask->cap_info & le_flag) && in __check_htcap_enable() [all …]
|
/linux-6.15/kernel/rcu/ |
D | tree_plugin.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Read-Copy Update mechanism for mutual exclusion (tree-based version) 4 * Internal non-public definitions that provide either classic 23 * non-preemptible reads are also safe. NOCB kthreads and in rcu_rdp_is_offloaded() 30 lockdep_is_held(&rdp->nocb_lock) || in rcu_rdp_is_offloaded() 38 return rcu_segcblist_is_offloaded(&rdp->cblist); in rcu_rdp_is_offloaded() 51 pr_info("\tCONFIG_RCU_FANOUT set to non-default value of %d.\n", in rcu_bootup_announce_oddness() 58 pr_info("\tRCU strict (and thus non-scalable) grace periods are enabled.\n"); in rcu_bootup_announce_oddness() 60 pr_info("\tFour(or more)-level hierarchy is enabled.\n"); in rcu_bootup_announce_oddness() 62 pr_info("\tBuild-time adjustment of leaf fanout to %d.\n", in rcu_bootup_announce_oddness() [all …]
|
/linux-6.15/tools/perf/bench/ |
D | futex-requeue.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * futex-requeue: Block a bunch of threads on futex1 and requeue them 9 * requeues without waking up any tasks (in the non-pi case) -- thus 20 #include <subcmd/parse-options.h> 47 * Default to 1 in order to make the kernel work more. 59 OPT_BOOLEAN( 'p', "pi", ¶ms.pi, "Use PI-aware variants of FUTEX_CMP_REQUEUE"), 75 printf("Requeued %d of %d threads in %.4f ms (+-%.2f%%)\n", in print_summary() 87 threads_starting--; in workerfn() 225 /* make sure all threads are already blocked */ in bench_futex_requeue() 234 /* Ok, all threads are patiently blocked, start requeueing */ in bench_futex_requeue() [all …]
|
/linux-6.15/drivers/platform/x86/ |
D | msi-laptop.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /*-*-linux-c-*-*/ 10 * msi-laptop.c - MSI S270 laptop support. This laptop is sold under 15 * This driver exports a few files in /sys/devices/platform/msi-laptop-pf/: 17 * lcd_level - Screen brightness: contains a single integer in the 20 * auto_brightness - Enable automatic brightness control: contains 25 * wlan - WLAN subsystem enabled: contains either 0 or 1. (ro) 27 * bluetooth - Bluetooth subsystem enabled: contains either 0 or 1 33 * available to userspace under /sys/class/backlight/msi-laptop-bl/. 53 #include <linux/input/sparse-keymap.h> [all …]
|
/linux-6.15/tools/testing/selftests/net/forwarding/ |
D | bridge_mdb.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 15 # +----|------------------+ +----|-------------------+ 17 # +----|--------------------------------------------------|-------------------+ 19 # | +--|--------------------------------------------------|-----------------+ | 24 # | +-----------------------------------------------------------------------+ | 25 # +---------------------------------------------------------------------------+ 214 # Check default protocol and replacement. 216 bridge -d mdb get dev br0 $grp_key vid 10 | grep -q "static" 217 check_err $? "$name entry not added with default \"static\" protocol" [all …]
|
/linux-6.15/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.sh | 2 # SPDX-License-Identifier: GPL-2.0 36 port=$((10000 - 1)) 38 if [ $tc_loss -eq 100 ];then 40 elif [ $tc_loss -ge 10 ]; then 42 elif [ $tc_loss -ge 1 ]; then 49 echo "Usage: $0 [ -a ]" 50 echo -e "\t-d: tc/netem delay in milliseconds, e.g. \"-d 10\" (default random)" 51 echo -e "\t-l: tc/netem loss percentage, e.g. \"-l 0.02\" (default random)" 52 …echo -e "\t-r: tc/netem reorder mode, e.g. \"-r 25% 50% gap 5\", use "-r 0" to disable reordering … 53 …echo -e "\t-e: ethtool features to disable, e.g.: \"-e tso -e gso\" (default: randomly disable any… [all …]
|
/linux-6.15/Documentation/power/ |
D | freezing-of-tasks.rst | 11 kernel threads are controlled during hibernation or system-wide suspend (on some 17 There is one per-task flag (PF_NOFREEZE) and three per-task states 23 to system-wide suspend too). 26 freeze_processes() (defined in kernel/power/process.c) is called. A system-wide 27 static key freezer_active (as opposed to a per-task flag or state) is used to 45 signal-handling code, but the freezable kernel threads need to call it 61 oom_reaper_list = tsk->oom_reaper_list; 73 entire system-wide transition will be cancelled. For this reason, freezable 84 ------------------------------------------------------------------------- 87 - freezes only userspace tasks [all …]
|
/linux-6.15/drivers/gpu/drm/xe/ |
D | xe_vm_doc.h | 1 /* SPDX-License-Identifier: MIT */ 15 * Allocate a physical page for root of the page table structure, create default 19 * ------------ 33 * ---------- 35 * DRM_XE_VM_BIND_OP_MAP - Create mapping for a BO 36 * DRM_XE_VM_BIND_OP_UNMAP - Destroy mapping for a BO / userptr 37 * DRM_XE_VM_BIND_OP_MAP_USERPTR - Create mapping for userptr 54 * .. code-block:: 56 * bind BO0 0x0-0x1000 62 * bind BO1 0x201000-0x202000 [all …]
|