/Linux-v5.15/drivers/android/ |
D | binder_internal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 26 * struct binder_device - information about a binder device node 43 * binderfs_mount_opts - mount options for binderfs 53 * binderfs_info - information about a binderfs mount 56 * binder-control device. 63 * @proc_log_dir: Pointer to the directory dentry containing process-specific 165 * struct binder_work - work enqueued on a worklist 169 * There are separate work lists for proc, thread, and node (async). 192 * struct binder_node - binder node bookkeeping 193 * @debug_id: unique ID for debugging [all …]
|
/Linux-v5.15/drivers/scsi/ |
D | scsi_proc.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * the PROC file system and the SCSI device drivers 10 * (c) 1995 Michael Neuffer neuffer@goofy.zdv.uni-mainz.de 14 * Andreas Heilwagen <crashcar@informatik.uni-koblenz.de> 46 /* Protect sht->present and sht->proc_dir */ 53 ssize_t ret = -ENOMEM; in proc_scsi_host_write() 57 return -EOVERFLOW; in proc_scsi_host_write() 59 if (!shost->hostt->write_info) in proc_scsi_host_write() 60 return -EINVAL; in proc_scsi_host_write() 64 ret = -EFAULT; in proc_scsi_host_write() [all …]
|
/Linux-v5.15/drivers/acpi/ |
D | tables.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * acpi_tables.c - ACPI Boot-Time Table Parsing 62 switch (header->type) { in acpi_table_print_madt_entry() 69 p->processor_id, p->id, in acpi_table_print_madt_entry() 70 (p->lapic_flags & ACPI_MADT_ENABLED) ? "enabled" : "disabled"); in acpi_table_print_madt_entry() 79 p->local_apic_id, p->uid, in acpi_table_print_madt_entry() 80 (p->lapic_flags & ACPI_MADT_ENABLED) ? "enabled" : "disabled"); in acpi_table_print_madt_entry() 88 pr_debug("IOAPIC (id[0x%02x] address[0x%08x] gsi_base[%d])\n", in acpi_table_print_madt_entry() 89 p->id, p->address, p->global_irq_base); in acpi_table_print_madt_entry() 98 p->bus, p->source_irq, p->global_irq, in acpi_table_print_madt_entry() [all …]
|
/Linux-v5.15/Documentation/firmware-guide/acpi/apei/ |
D | output_format.rst | 1 .. SPDX-License-Identifier: GPL-2.0 35 [processor_type: <integer>, <proc type string>] 36 [processor_isa: <integer>, <proc isa string>] 38 <proc error type strings>] 39 [operation: <integer>, <proc operation string>] 41 <proc flags strings>] 50 <proc type string>* := IA32/X64 | IA64 52 <proc isa string>* := IA32 | IA64 | X64 55 [cache error][, TLB error][, bus error][, micro-architectural error] 57 <proc operation string>* := unknown or generic | data read | data write | \ [all …]
|
/Linux-v5.15/Documentation/s390/ |
D | common_io.rst | 2 S/390 common I/O-Layer 9 ----------------------- 17 device := {all | [!]ipldev | [!]condev | [!]<devno> | [!]<devno>-<devno>} 19 The given devices will be ignored by the common I/O-layer; no detection 24 An ignored device can be un-ignored later; see the "/proc entries"-section for 34 operator). The '!' operator will cause the I/O-layer to _not_ ignore a device. 40 cio_ignore=0.0.0023-0.0.0042,0.0.4711 47 cio_ignore=all,!0.0.4711,!0.0.fd00-0.0.fd02 54 /proc entries 55 ------------- [all …]
|
/Linux-v5.15/Documentation/filesystems/ |
D | proc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 The /proc Filesystem 8 /proc/sys Terrehon Bowden <terrehon@pacbell.net>, October 7 1999 11 move /proc/sys Shen Feng <shen@cn.fujitsu.com> April 1 2009 24 1.1 Process-Specific Subdirectories 26 1.3 IDE devices in /proc/ide 27 1.4 Networking info in /proc/net 29 1.6 Parallel port info in /proc/parport 30 1.7 TTY info in /proc/tty 31 1.8 Miscellaneous kernel statistics in /proc/stat [all …]
|
/Linux-v5.15/tools/testing/selftests/tc-testing/ |
D | tdc.py | 2 # SPDX-License-Identifier: GPL-2.0 5 tdc.py - Linux tc (Traffic Control) unit test driver 54 mn = fn[0:-3] 60 pgname = pgname[0:-3] 64 self.plugin_instances[-1].check_args(self.args, None) 89 pgd = ['plugin-lib', 'plugin-lib-custom'] 133 print('testid is {}'.format(caseinfo['id'])) 193 proc = subprocess.Popen(command, 200 (rawout, serr) = proc.communicate(timeout=NAMES['TIMEOUT']) 201 if proc.returncode != 0 and len(serr) > 0: [all …]
|
/Linux-v5.15/arch/alpha/kernel/ |
D | srm_env.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * srm_env.c - Access to SRM environment 6 * (C) 2001,2002,2006 by Jan-Benedict Glaw <jbglaw@lug-owl.de> 8 * This driver is a modified version of Erik Mouw's example proc 25 #define BASE_DIR "srm_environment" /* Subdir in /proc/ */ 31 MODULE_AUTHOR("Jan-Benedict Glaw <jbglaw@lug-owl.de>"); 37 unsigned long id; member 66 unsigned long id = (unsigned long)m->private; in srm_env_proc_show() local 71 return -ENOMEM; in srm_env_proc_show() 73 ret = callback_getenv(id, page, PAGE_SIZE); in srm_env_proc_show() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/mailbox/ |
D | st,stm32-ipcc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/mailbox/st,stm32-ipcc.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 16 - Fabien Dessenne <fabien.dessenne@st.com> 17 - Arnaud Pouliquen <arnaud.pouliquen@st.com> 21 const: st,stm32mp1-ipcc 31 - description: rx channel occupied 32 - description: tx channel free 33 - description: wakeup source [all …]
|
/Linux-v5.15/drivers/nubus/ |
D | proc.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* drivers/nubus/proc.c: Proc FS interface for NuBus. 4 By David Huggins-Daines <dhd@debian.org> 6 Much code and many ideas from drivers/pci/proc.c: 11 structure in /proc analogous to the structure of the NuBus ROM 16 resources are empty files, since every resource ID requires a special 17 case (e.g. if the resource ID implies a directory or block, then its 33 * /proc/bus/nubus/devices stuff 43 fres->board->slot, fres->category, fres->type, in nubus_devices_proc_show() 44 fres->dr_sw, fres->dr_hw, fres->board->slot_addr); in nubus_devices_proc_show() [all …]
|
/Linux-v5.15/tools/testing/selftests/kmod/ |
D | kmod.sh | 13 # under the terms of copyleft-next (version 0.3.1 or later) as published 14 # at http://copyleft-next.org/. 39 set -e 49 # TEST_ID: is the test id number 53 # Once these are enabled please leave them as-is. Write your own test, 69 # Kselftest framework requirement - SKIP code is 4. 74 if [ ! -d $DIR ]; then 84 if [ -z $DEFAULT_KMOD_DRIVER ]; then 88 if [ -z $DEFAULT_KMOD_FS ]; then 92 if [ -z $PROC_DIR ]; then [all …]
|
/Linux-v5.15/Documentation/ABI/stable/ |
D | procfs-audit_loginuid | 2 Date: 2005-02-01 3 KernelVersion: 2.6.11-rc2 1e2d1492e178 ("[PATCH] audit: handle loginuid through proc") 4 Contact: linux-audit@redhat.com 7 The /proc/$pid/loginuid pseudofile is written to set and 17 What: Audit Login Session ID 18 Date: 2008-03-13 19 KernelVersion: 2.6.25-rc7 1e0bd7550ea9 ("[PATCH] export sessionid alongside the loginuid in procfs") 20 Contact: linux-audit@redhat.com 23 The /proc/$pid/sessionid pseudofile is read to get the 24 audit login session ID of process $pid as a decimal
|
/Linux-v5.15/Documentation/sound/designs/ |
D | procfile.rst | 2 Proc Files of ALSA Drivers 10 ALSA has its own proc tree, /proc/asound. Many useful information are 15 card-specific files are stored in the ``card*`` subdirectories. 23 index, the id string, short and long descriptions. 40 ``<card>-<device>: <name>`` 44 ``<card>-<device>: <id>: <name> : <sub-streams>`` 61 The card-specific files are found in ``/proc/asound/card*`` directories. 62 Some drivers (e.g. cmipci) have their own proc entries for the 63 register dump, etc (e.g. ``/proc/asound/card*/cmipci`` shows the register 81 mapping by writing to this device. Read OSS-Emulation.txt for [all …]
|
/Linux-v5.15/sound/pci/ac97/ |
D | ac97_proc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 * proc interface 46 snd_iprintf(buffer, "%-17s: %3d.%d dBV %c %2d/fs %s\n", in snd_ac97_proc_read_functions() 48 (info & 0x8000 ? -1 : 1) * ((info & 0x7000) >> 12) * 3 / 2, in snd_ac97_proc_read_functions() 50 info & 0x0400 ? 'X' : '-', in snd_ac97_proc_read_functions() 101 snd_ac97_get_name(NULL, ac97->id, name, 0); in snd_ac97_proc_read_main() 102 snd_iprintf(buffer, "%d-%d/%d: %s\n\n", ac97->addr, ac97->num, subidx, name); in snd_ac97_proc_read_main() 104 if ((ac97->scaps & AC97_SCAP_AUDIO) == 0) in snd_ac97_proc_read_main() 108 ac97->subsystem_vendor); in snd_ac97_proc_read_main() 110 ac97->subsystem_device); in snd_ac97_proc_read_main() [all …]
|
/Linux-v5.15/Documentation/sound/hd-audio/ |
D | notes.rst | 2 More Notes on HD-Audio Driver 11 HD-audio is the new standard on-board audio component on modern PCs 12 after AC97. Although Linux has been supporting HD-audio since long 15 This document explains the brief trouble-shooting and debugging 16 methods for the HD-audio hardware. 18 The HD-audio component consists of two parts: the controller chip and 19 the codec chips on the HD-audio bus. Linux provides a single driver 20 for all controllers, snd-hda-intel. Although the driver name contains 21 a word of a well-known hardware vendor, it's not specific to it but for 22 all controller chips by other companies. Since the HD-audio [all …]
|
/Linux-v5.15/arch/arm/mm/ |
D | proc-v6.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/mm/proc-v6.S 14 #include <asm/asm-offsets.h> 16 #include <asm/pgtable-hwdef.h> 18 #include "proc-macros.S" 52 * - loc - location to jump to for soft reset 75 mcr p15, 0, r1, c7, c10, 4 @ DWB - WFI may enter a low-power mode 91 * - pgd_phys - physical address of new TTB 94 * - we are not using split page tables 99 mmid r1, r1 @ get mm->context.id [all …]
|
/Linux-v5.15/drivers/rtc/ |
D | proc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * RTC subsystem, proc interface 5 * Copyright (C) 2005-06 Tower Technologies 16 #include "rtc-core.h" 26 size = snprintf(name, NAME_SIZE, "rtc%d", rtc->id); in is_rtc_hctosys() 35 return (rtc->id == 0); in is_rtc_hctosys() 42 struct rtc_device *rtc = seq->private; in rtc_proc_show() 43 const struct rtc_class_ops *ops = rtc->ops; in rtc_proc_show() 64 (rtc->uie_rtctimer.enabled) ? "yes" : "no"); in rtc_proc_show() 66 (rtc->pie_enabled) ? "yes" : "no"); in rtc_proc_show() [all …]
|
/Linux-v5.15/Documentation/bpf/ |
D | s390.rst | 12 2. One-time setup 27 --variant=minbase \ 28 --include=sudo \ 30 ./s390-toolchain 31 sudo mount --rbind /dev ./s390-toolchain/dev 32 sudo mount --rbind /proc ./s390-toolchain/proc 33 sudo mount --rbind /sys ./s390-toolchain/sys 34 sudo chroot ./s390-toolchain 38 sudo dpkg --add-architecture s390x 39 sudo apt-get update [all …]
|
/Linux-v5.15/tools/testing/selftests/sysctl/ |
D | sysctl.sh | 12 # under the terms of copyleft-next (version 0.3.1 or later) as published 13 # at http://copyleft-next.org/. 15 # This performs a series tests against the proc sysctl interface. 17 # Kselftest framework requirement - SKIP code is 4. 29 # TEST_ID: is the test id number 34 # Once these are enabled please leave them as-is. Write your own test, 46 if [ -z $DIR ]; then 49 if [ -z $DEFAULT_NUM_TESTS ]; then 52 if [ -z $SYSCTL ]; then 53 SYSCTL="/proc/sys/debug/test_sysctl" [all …]
|
/Linux-v5.15/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process.c | 30 #include <linux/amd-iommu.h> 59 /* Ordered, single-threaded workqueue for restoring evicted 62 * their BOs and result in a live-lock situation where processes 113 pdd = workarea->pdd; in kfd_sdma_activity_worker() 116 dqm = pdd->dev->dqm; in kfd_sdma_activity_worker() 117 qpd = &pdd->qpd; in kfd_sdma_activity_worker() 124 * we loop over all SDMA queues and get their counts from user-space. in kfd_sdma_activity_worker() 130 * 1. Create a temporary list of SDMA queue nodes from the qpd->queues_list, in kfd_sdma_activity_worker() 136 * from the qpd->queues_list. in kfd_sdma_activity_worker() 137 * 3. Do a second pass over qpd->queues_list to check if any nodes got deleted. in kfd_sdma_activity_worker() [all …]
|
/Linux-v5.15/tools/perf/util/ |
D | namespaces.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 const char *perf_ns__name(unsigned int id) in perf_ns__name() argument 35 if (id >= ARRAY_SIZE(perf_ns__names)) in perf_ns__name() 37 return perf_ns__names[id]; in perf_ns__name() 43 u64 link_info_size = ((event ? event->nr_namespaces : NR_NAMESPACES) * in namespaces__new() 50 namespaces->end_time = -1; in namespaces__new() 53 memcpy(namespaces->link_info, event->link_info, link_info_size); in namespaces__new() 74 int rv = -1; in nsinfo__init() 76 if (snprintf(oldns, PATH_MAX, "/proc/self/ns/mnt") >= PATH_MAX) in nsinfo__init() 79 if (asprintf(&newns, "/proc/%d/ns/mnt", nsi->pid) == -1) in nsinfo__init() [all …]
|
/Linux-v5.15/arch/ia64/kernel/ |
D | salinfo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Creates entries in /proc/sal for various system features. 8 * Copyright (c) 2003 Hewlett-Packard Co 17 * Cache the record across multi-block reads from user space. 36 * Replace the counting semaphore with a mutex and a test if the cpumask is non-empty. 55 MODULE_DESCRIPTION("/proc interface to IA-64 SAL features"); 59 const char *name; /* name of the proc entry */ 65 * List {name,feature} pairs for every entry in /proc/sal/<feature> 85 ARRAY_SIZE(salinfo_entries) + /* /proc/sal/bus_lock */ 86 ARRAY_SIZE(salinfo_log_name) + /* /proc/sal/{mca,...} */ [all …]
|
/Linux-v5.15/tools/perf/ |
D | perf-with-kcore.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 3 # perf-with-kcore: use perf with a copy of kcore 7 set -e 11 …echo "Usage: perf-with-kcore <perf sub-command> <perf.data directory> [<sub-command options> [ -- … 12 echo " <perf sub-command> can be record, script, report or inject" >&2 13 echo " or: perf-with-kcore fix_buildid_cache_permissions" >&2 19 if [ -n "$PERF" ] ; then 23 if [ -z "$PERF" ] ; then 27 if [ ! -x "$PERF" ] ; then 39 if [ $EUID -eq 0 ] ; then [all …]
|
/Linux-v5.15/drivers/macintosh/ |
D | mac_hid.c | 1 // SPDX-License-Identifier: GPL-2.0-only 37 return -ENOMEM; in mac_hid_create_emumouse() 39 lockdep_set_class(&mac_hid_emumouse_dev->event_lock, in mac_hid_create_emumouse() 41 lockdep_set_class(&mac_hid_emumouse_dev->mutex, in mac_hid_create_emumouse() 44 mac_hid_emumouse_dev->name = "Macintosh mouse button emulation"; in mac_hid_create_emumouse() 45 mac_hid_emumouse_dev->id.bustype = BUS_ADB; in mac_hid_create_emumouse() 46 mac_hid_emumouse_dev->id.vendor = 0x0001; in mac_hid_create_emumouse() 47 mac_hid_emumouse_dev->id.product = 0x0001; in mac_hid_create_emumouse() 48 mac_hid_emumouse_dev->id.version = 0x0100; in mac_hid_create_emumouse() 50 mac_hid_emumouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in mac_hid_create_emumouse() [all …]
|
/Linux-v5.15/sound/core/ |
D | info.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 78 if (!entry || !entry->p) in alloc_info_private() 79 return -ENODEV; in alloc_info_private() 80 if (!try_module_get(entry->module)) in alloc_info_private() 81 return -EFAULT; in alloc_info_private() 84 module_put(entry->module); in alloc_info_private() 85 return -ENOMEM; in alloc_info_private() 87 data->entry = entry; in alloc_info_private() 102 * file ops for binary proc files 108 loff_t ret = -EINVAL, size; in snd_info_entry_llseek() [all …]
|