| /kernel/linux/linux-6.6/rust/macros/ |
| D | quote.rs | 1 // SPDX-License-Identifier: Apache-2.0 OR MIT 48 quote_spanned!(@proc tokens span $($tt)*); 52 (@proc $v:ident $span:ident) => {}; 53 (@proc $v:ident $span:ident #$id:ident $($tt:tt)*) => { 55 $crate::quote::ToTokens::to_tokens(&$id, &mut ts); 57 quote_spanned!(@proc $v $span $($tt)*); 59 (@proc $v:ident $span:ident #(#$id:ident)* $($tt:tt)*) => { 60 for token in $id { 65 quote_spanned!(@proc $v $span $($tt)*); 67 (@proc $v:ident $span:ident ( $($inner:tt)* ) $($tt:tt)*) => { [all …]
|
| /kernel/linux/linux-6.6/drivers/acpi/ |
| D | tables.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * acpi_tables.c - ACPI Boot-Time Table Parsing 63 switch (header->type) { in acpi_table_print_madt_entry() 70 p->processor_id, p->id, in acpi_table_print_madt_entry() 71 (p->lapic_flags & ACPI_MADT_ENABLED) ? "enabled" : "disabled"); in acpi_table_print_madt_entry() 80 p->local_apic_id, p->uid, in acpi_table_print_madt_entry() 81 (p->lapic_flags & ACPI_MADT_ENABLED) ? "enabled" : "disabled"); in acpi_table_print_madt_entry() 89 pr_debug("IOAPIC (id[0x%02x] address[0x%08x] gsi_base[%d])\n", in acpi_table_print_madt_entry() 90 p->id, p->address, p->global_irq_base); in acpi_table_print_madt_entry() 99 p->bus, p->source_irq, p->global_irq, in acpi_table_print_madt_entry() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | test_current_pid_tgid_new_ns.c | 1 // SPDX-License-Identifier: GPL-2.0 39 if (stat("/proc/self/ns/pid", &st)) { in main() 40 perror("stat failed on /proc/self/ns/pid ns\n"); in main() 50 if (pid == -1) { in main() 65 if (pid == -1) { in main() 76 if (CHECK_NEWNS(mount("none", "/proc", NULL, MS_PRIVATE|MS_REC, NULL), in main() 77 "Unmounting proc", "Cannot umount proc! errno=%d\n", errno)) in main() 80 if (CHECK_NEWNS(mount("proc", "/proc", "proc", MS_NOSUID|MS_NOEXEC|MS_NODEV, NULL), in main() 81 "Mounting proc", "Cannot mount proc! errno=%d\n", errno)) in main() 94 __u64 id; in main() local [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/mm/ |
| D | shrinker_debugfs.rst | 11 unique id: e.g. *kfree_rcu-0* or *sb-xfs:vda1-36*. 18 ------ 26 dquota-cache-16 sb-devpts-28 sb-proc-47 sb-tmpfs-42 27 mm-shadow-18 sb-devtmpfs-5 sb-proc-48 sb-tmpfs-43 28 mm-zspool:zram0-34 sb-hugetlbfs-17 sb-pstore-31 sb-tmpfs-44 29 rcu-kfree-0 sb-hugetlbfs-33 sb-rootfs-2 sb-tmpfs-49 30 sb-aio-20 sb-iomem-12 sb-securityfs-6 sb-tracefs-13 31 sb-anon_inodefs-15 sb-mqueue-21 sb-selinuxfs-22 sb-xfs:vda1-36 32 sb-bdev-3 sb-nsfs-4 sb-sockfs-8 sb-zsmalloc-19 33 sb-bpf-32 sb-pipefs-14 sb-sysfs-26 thp-deferred_split-10 [all …]
|
| /kernel/linux/linux-5.10/arch/um/kernel/skas/ |
| D | mmu.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 13 #include <as-layout.h> 17 static int init_stub_pte(struct mm_struct *mm, unsigned long proc, in init_stub_pte() argument 26 pgd = pgd_offset(mm, proc); in init_stub_pte() 28 p4d = p4d_alloc(mm, pgd, proc); in init_stub_pte() 32 pud = pud_alloc(mm, p4d, proc); in init_stub_pte() 36 pmd = pmd_alloc(mm, pud, proc); in init_stub_pte() 40 pte = pte_alloc_map(mm, pmd, proc); in init_stub_pte() 55 return -ENOMEM; in init_stub_pte() [all …]
|
| /kernel/linux/linux-6.6/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 121 (entry)->name; \ 143 * struct binder_work - work enqueued on a worklist 147 * There are separate work lists for proc, thread, and node (async). 171 * struct binder_node - binder node bookkeeping [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/drivers/acpi/ |
| D | tables.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * acpi_tables.c - ACPI Boot-Time Table Parsing 60 switch (header->type) { in acpi_table_print_madt_entry() 67 p->processor_id, p->id, in acpi_table_print_madt_entry() 68 (p->lapic_flags & ACPI_MADT_ENABLED) ? "enabled" : "disabled"); in acpi_table_print_madt_entry() 77 p->local_apic_id, p->uid, in acpi_table_print_madt_entry() 78 (p->lapic_flags & ACPI_MADT_ENABLED) ? "enabled" : "disabled"); in acpi_table_print_madt_entry() 86 pr_debug("IOAPIC (id[0x%02x] address[0x%08x] gsi_base[%d])\n", in acpi_table_print_madt_entry() 87 p->id, p->address, p->global_irq_base); in acpi_table_print_madt_entry() 96 p->bus, p->source_irq, p->global_irq, in acpi_table_print_madt_entry() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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> 51 * struct scsi_proc_entry - (host template, SCSI proc dir) association 68 ssize_t ret = -ENOMEM; in proc_scsi_host_write() 72 return -EOVERFLOW; in proc_scsi_host_write() 74 if (!shost->hostt->write_info) in proc_scsi_host_write() 75 return -EINVAL; in proc_scsi_host_write() 79 ret = -EFAULT; in proc_scsi_host_write() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/Documentation/arch/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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@foss.st.com> 17 - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> 21 const: st,stm32mp1-ipcc 31 - description: rx channel occupied 32 - description: tx channel free 34 interrupt-names: [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/kmod/ |
| D | kmod.sh | 2 # SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1 28 set -e 38 # TEST_ID: is the test id number 42 # Once these are enabled please leave them as-is. Write your own test, 58 # Kselftest framework requirement - SKIP code is 4. 63 if [ ! -d $DIR ]; then 73 if [ -z $DEFAULT_KMOD_DRIVER ]; then 77 if [ -z $DEFAULT_KMOD_FS ]; then 81 if [ -z $PROC_DIR ]; then 82 PROC_DIR="/proc/sys/kernel/" [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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'] 132 print('testid is {}'.format(caseinfo['id'])) 192 proc = subprocess.Popen(command, 199 (rawout, serr) = proc.communicate(timeout=NAMES['TIMEOUT']) 200 if proc.returncode != 0 and len(serr) > 0: [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|