Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 25 of 653) sorted by relevance

12345678910>>...27

/Linux-v4.19/fs/proc/
DMakefile6 obj-y += proc.o
9 proc-y := nommu.o task_nommu.o
10 proc-$(CONFIG_MMU) := task_mmu.o
12 proc-y += inode.o root.o base.o generic.o array.o \
14 proc-$(CONFIG_TTY) += proc_tty.o
15 proc-y += cmdline.o
16 proc-y += consoles.o
17 proc-y += cpuinfo.o
18 proc-y += devices.o
19 proc-y += interrupts.o
[all …]
DKconfig2 bool "/proc file system support" if EXPERT
11 It's totally cool; for example, "cat /proc/interrupts" gives
17 information about your system gathered from the /proc file system.
19 Before you can use the /proc file system, it has to be mounted,
21 That location should be /proc. A command such as "mount -t proc proc
22 /proc" or the equivalent line in /etc/fstab does the job.
24 The /proc file system is explained in the file
25 <file:Documentation/filesystems/proc.txt> and on the proc(5) manpage
26 ("man 5 proc").
32 bool "/proc/kcore support" if !ARM
[all …]
/Linux-v4.19/drivers/android/
Dbinder.c111 BINDER_DEBUG_ENTRY(proc);
370 struct binder_proc *proc; member
454 struct binder_proc *proc; member
597 struct binder_proc *proc; member
647 #define binder_proc_lock(proc) _binder_proc_lock(proc, __LINE__) argument
649 _binder_proc_lock(struct binder_proc *proc, int line) in _binder_proc_lock() argument
653 spin_lock(&proc->outer_lock); in _binder_proc_lock()
664 _binder_proc_unlock(struct binder_proc *proc, int line) in _binder_proc_unlock() argument
668 spin_unlock(&proc->outer_lock); in _binder_proc_unlock()
677 #define binder_inner_proc_lock(proc) _binder_inner_proc_lock(proc, __LINE__) argument
[all …]
/Linux-v4.19/fs/dlm/
Duser.c182 struct dlm_user_proc *proc; in dlm_user_add_ast() local
202 proc = ua->proc; in dlm_user_add_ast()
210 spin_lock(&proc->asts_spin); in dlm_user_add_ast()
214 spin_unlock(&proc->asts_spin); in dlm_user_add_ast()
220 list_add_tail(&lkb->lkb_cb_list, &proc->asts); in dlm_user_add_ast()
221 wake_up_interruptible(&proc->wait); in dlm_user_add_ast()
223 spin_unlock(&proc->asts_spin); in dlm_user_add_ast()
227 spin_lock(&proc->locks_spin); in dlm_user_add_ast()
232 spin_unlock(&proc->locks_spin); in dlm_user_add_ast()
238 static int device_user_lock(struct dlm_user_proc *proc, in device_user_lock() argument
[all …]
/Linux-v4.19/arch/arm/mm/
DMakefile18 obj-$(CONFIG_MODULES) += proc-syms.o
77 obj-$(CONFIG_CPU_ARM7TDMI) += proc-arm7tdmi.o
78 obj-$(CONFIG_CPU_ARM720T) += proc-arm720.o
79 obj-$(CONFIG_CPU_ARM740T) += proc-arm740.o
80 obj-$(CONFIG_CPU_ARM9TDMI) += proc-arm9tdmi.o
81 obj-$(CONFIG_CPU_ARM920T) += proc-arm920.o
82 obj-$(CONFIG_CPU_ARM922T) += proc-arm922.o
83 obj-$(CONFIG_CPU_ARM925T) += proc-arm925.o
84 obj-$(CONFIG_CPU_ARM926T) += proc-arm926.o
85 obj-$(CONFIG_CPU_ARM940T) += proc-arm940.o
[all …]
/Linux-v4.19/tools/testing/selftests/vm/
Drun_vmtests19 done < /proc/meminfo
33 nr_hugepgs=`cat /proc/sys/vm/nr_hugepages`
38 echo 3 > /proc/sys/vm/drop_caches
39 echo $(( $lackpgs + $nr_hugepgs )) > /proc/sys/vm/nr_hugepages
48 done < /proc/meminfo
75 shmmax=`cat /proc/sys/kernel/shmmax`
76 shmall=`cat /proc/sys/kernel/shmall`
77 echo 268435456 > /proc/sys/kernel/shmmax
78 echo 4194304 > /proc/sys/kernel/shmall
89 echo $shmmax > /proc/sys/kernel/shmmax
[all …]
/Linux-v4.19/drivers/firmware/efi/
Dcper.c158 const struct cper_sec_proc_generic *proc) in cper_print_proc_generic() argument
160 if (proc->validation_bits & CPER_PROC_VALID_TYPE) in cper_print_proc_generic()
161 printk("%s""processor_type: %d, %s\n", pfx, proc->proc_type, in cper_print_proc_generic()
162 proc->proc_type < ARRAY_SIZE(proc_type_strs) ? in cper_print_proc_generic()
163 proc_type_strs[proc->proc_type] : "unknown"); in cper_print_proc_generic()
164 if (proc->validation_bits & CPER_PROC_VALID_ISA) in cper_print_proc_generic()
165 printk("%s""processor_isa: %d, %s\n", pfx, proc->proc_isa, in cper_print_proc_generic()
166 proc->proc_isa < ARRAY_SIZE(proc_isa_strs) ? in cper_print_proc_generic()
167 proc_isa_strs[proc->proc_isa] : "unknown"); in cper_print_proc_generic()
168 if (proc->validation_bits & CPER_PROC_VALID_ERROR_TYPE) { in cper_print_proc_generic()
[all …]
Dcper-arm.c251 const struct cper_sec_proc_arm *proc) in cper_print_proc_arm() argument
258 printk("%sMIDR: 0x%016llx\n", pfx, proc->midr); in cper_print_proc_arm()
260 len = proc->section_length - (sizeof(*proc) + in cper_print_proc_arm()
261 proc->err_info_num * (sizeof(*err_info))); in cper_print_proc_arm()
263 printk("%ssection length: %d\n", pfx, proc->section_length); in cper_print_proc_arm()
266 printk("%sERR_INFO_NUM is %d\n", pfx, proc->err_info_num); in cper_print_proc_arm()
270 if (proc->validation_bits & CPER_ARM_VALID_MPIDR) in cper_print_proc_arm()
272 pfx, proc->mpidr); in cper_print_proc_arm()
274 if (proc->validation_bits & CPER_ARM_VALID_AFFINITY_LEVEL) in cper_print_proc_arm()
276 proc->affinity_level); in cper_print_proc_arm()
[all …]
Dcper-x86.c256 void cper_print_proc_ia(const char *pfx, const struct cper_sec_proc_ia *proc) in cper_print_proc_ia() argument
264 if (proc->validation_bits & VALID_LAPIC_ID) in cper_print_proc_ia()
265 printk("%sLocal APIC_ID: 0x%llx\n", pfx, proc->lapic_id); in cper_print_proc_ia()
267 if (proc->validation_bits & VALID_CPUID_INFO) { in cper_print_proc_ia()
269 print_hex_dump(pfx, "", DUMP_PREFIX_OFFSET, 16, 4, proc->cpuid, in cper_print_proc_ia()
270 sizeof(proc->cpuid), 0); in cper_print_proc_ia()
275 err_info = (struct cper_ia_err_info *)(proc + 1); in cper_print_proc_ia()
276 for (i = 0; i < VALID_PROC_ERR_INFO_NUM(proc->validation_bits); i++) { in cper_print_proc_ia()
326 for (i = 0; i < VALID_PROC_CXT_INFO_NUM(proc->validation_bits); i++) { in cper_print_proc_ia()
/Linux-v4.19/tools/testing/selftests/proc/
D.gitignore4 /proc-loadavg-001
5 /proc-self-map-files-001
6 /proc-self-map-files-002
7 /proc-self-syscall
8 /proc-self-wchan
9 /proc-uptime-001
10 /proc-uptime-002
DMakefile8 TEST_GEN_PROGS += proc-loadavg-001
9 TEST_GEN_PROGS += proc-self-map-files-001
10 TEST_GEN_PROGS += proc-self-map-files-002
11 TEST_GEN_PROGS += proc-self-syscall
12 TEST_GEN_PROGS += proc-self-wchan
13 TEST_GEN_PROGS += proc-uptime-001
14 TEST_GEN_PROGS += proc-uptime-002
/Linux-v4.19/Documentation/sysctl/
D00-INDEX4 - general information about /proc/sys/ sysctl files.
6 - documentation for /proc/sys/abi/*.
8 - documentation for /proc/sys/fs/*.
10 - documentation for /proc/sys/kernel/*.
12 - documentation for /proc/sys/net/*.
14 - documentation for /proc/sys/sunrpc/*.
16 - documentation for /proc/sys/vm/*.
/Linux-v4.19/tools/testing/selftests/memfd/
Drun_hugetlbfs_test.sh20 done < /proc/meminfo
26 nr_hugepgs=`cat /proc/sys/vm/nr_hugepages`
34 echo 3 > /proc/sys/vm/drop_caches
35 echo $(( $hpages_needed + $nr_hugepgs )) > /proc/sys/vm/nr_hugepages
40 done < /proc/meminfo
50 echo $nr_hugepgs > /proc/sys/vm/nr_hugepages
67 echo $nr_hugepgs > /proc/sys/vm/nr_hugepages
/Linux-v4.19/Documentation/s390/
DCommonIO20 An ignored device can be un-ignored later; see the "/proc entries"-section for
44 /proc entries
47 * /proc/cio_ignore
51 You can un-ignore certain or all devices by piping to /proc/cio_ignore.
57 - echo free 0.0.0030-0.0.0032 > /proc/cio_ignore
60 - echo free 0.0.0041 > /proc/cio_ignore will furthermore un-ignore device
62 - echo free all > /proc/cio_ignore will un-ignore all remaining ignored
70 /proc/cio_ignore; "add <device range>, <device range>, ..." will ignore the
79 "echo add 0.0.a000-0.0.accc, 0.0.af00-0.0.afff > /proc/cio_ignore"
84 "echo purge > /proc/cio_ignore"
[all …]
/Linux-v4.19/drivers/ide/
Dide-proc.c502 ide_add_proc_entries(drive->proc, driver->proc_entries(drive), drive); in ide_proc_register_driver()
520 ide_remove_proc_entries(drive->proc, driver->proc_entries(drive)); in ide_proc_unregister_driver()
535 struct proc_dir_entry *parent = hwif->proc; in ide_proc_port_register_devices()
544 drive->proc = proc_mkdir(drive->name, parent); in ide_proc_port_register_devices()
545 if (drive->proc) { in ide_proc_port_register_devices()
546 ide_add_proc_entries(drive->proc, generic_drive_entries, drive); in ide_proc_port_register_devices()
548 drive->proc, &ide_settings_proc_fops, in ide_proc_port_register_devices()
559 if (drive->proc) { in ide_proc_unregister_device()
560 remove_proc_entry("settings", drive->proc); in ide_proc_unregister_device()
561 ide_remove_proc_entries(drive->proc, generic_drive_entries); in ide_proc_unregister_device()
[all …]
/Linux-v4.19/Documentation/filesystems/
Dproc.txt2 T H E /proc F I L E S Y S T E M
4 /proc/sys Terrehon Bowden <terrehon@pacbell.net> October 7 1999
8 move /proc/sys Shen Feng <shen@cn.fujitsu.com> April 1 2009
25 1.3 IDE devices in /proc/ide
26 1.4 Networking info in /proc/net
28 1.6 Parallel port info in /proc/parport
29 1.7 TTY info in /proc/tty
30 1.8 Miscellaneous kernel statistics in /proc/stat
36 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer
38 3.2 /proc/<pid>/oom_score - Display current oom-killer score
[all …]
/Linux-v4.19/arch/mips/include/asm/sn/sn0/
Dip27.h42 #define KL_GET_CPUNUM(proc) \ argument
43 dli proc, LOCAL_HUB(0); \
44 ld proc, PI_CPU_NUM(proc)
/Linux-v4.19/tools/testing/selftests/ftrace/test.d/ftrace/
Dfgraph-filter-stack.tc20 if [ -e /proc/sys/kernel/stack_tracer_enabled ]; then
21 echo 0 > /proc/sys/kernel/stack_tracer_enabled
55 echo 1 > /proc/sys/kernel/stack_tracer_enabled
74 echo 0 > /proc/sys/kernel/stack_tracer_enabled
/Linux-v4.19/drivers/isdn/hisax/
Dl3_1tr6.c746 struct l3_process *proc; in up1tr6() local
793 if (!(proc = getl3proc(st, cr))) { in up1tr6()
796 if (!(proc = new_l3_process(st, cr))) { in up1tr6()
815 if (!(proc = new_l3_process(st, cr))) { in up1tr6()
827 ((1 << proc->state) & datastln1[i].state)) in up1tr6()
834 proc->state, mt); in up1tr6()
841 proc->state, mt); in up1tr6()
843 datastln1[i].rout(proc, pr, skb); in up1tr6()
852 struct l3_process *proc; in down1tr6() local
862 if (!(proc = new_l3_process(st, cr))) { in down1tr6()
[all …]
/Linux-v4.19/Documentation/x86/
Dmtrr.txt51 The CONFIG_MTRR option creates a /proc/mtrr file which may be used
58 There are two interfaces to /proc/mtrr: one is an ASCII interface
67 % cat /proc/mtrr
72 # echo "base=0xf8000000 size=0x400000 type=write-combining" >! /proc/mtrr
74 # echo "base=0xf8000000 size=0x400000 type=write-combining" >| /proc/mtrr
77 % cat /proc/mtrr
100 in other words the X server will manipulate /proc/mtrr using the
106 %echo "base=0xfb000000 size=0x1000000 type=write-combining" >/proc/mtrr
107 %echo "base=0xfb000000 size=0x1000 type=uncachable" >/proc/mtrr
109 And the results: cat /proc/mtrr
[all …]
/Linux-v4.19/Documentation/sound/designs/
Doss-emulation.rst33 /proc/asound/oss/sndstat. This shows in the same syntax of
35 On ALSA, you can symlink /dev/sndstat to this proc file.
37 Please note that the devices listed in this proc file appear only
129 writing a command to the proc file. There is a proc file for each PCM
130 stream, ``/proc/asound/cardX/pcmY[cp]/oss``, where X is the card number
132 playback and ``c`` for capture, respectively. Note that this proc file
171 % echo "quake 0 0 direct" > /proc/asound/card0/pcm0p/oss
177 % echo "quake 0 0 disable" > /proc/asound/card0/pcm0c/oss
179 The permission of proc files depend on the module options of snd.
202 You can check the currently defined configuration by reading the proc
[all …]
/Linux-v4.19/drivers/net/wireless/intersil/hostap/
Dhostap_proc.c359 local->proc = NULL; in hostap_init_proc()
367 local->proc = proc_mkdir(local->ddev->name, hostap_proc); in hostap_init_proc()
368 if (local->proc == NULL) { in hostap_init_proc()
375 proc_create_single_data("debug", 0, local->proc, in hostap_init_proc()
378 proc_create_single_data("stats", 0, local->proc, prism2_stats_proc_show, in hostap_init_proc()
380 proc_create_seq_data("wds", 0, local->proc, in hostap_init_proc()
382 proc_create_data("pda", 0, local->proc, in hostap_init_proc()
384 proc_create_data("aux_dump", 0, local->proc, in hostap_init_proc()
387 proc_create_seq_data("bss_list", 0, local->proc, in hostap_init_proc()
389 proc_create_single_data("crypt", 0, local->proc, prism2_crypt_proc_show, in hostap_init_proc()
[all …]
/Linux-v4.19/tools/testing/selftests/pstore/
Dpstore_crash_test16 echo 1 > /proc/sys/kernel/sysrq
18 echo 3 > /proc/sys/kernel/panic
30 echo c > /proc/sysrq-trigger
/Linux-v4.19/tools/testing/selftests/tc-testing/plugin-lib/
DnsPlugin.py118 proc = subprocess.Popen(command,
123 (rawout, serr) = proc.communicate()
125 if proc.returncode != 0 and len(serr) > 0:
130 proc.stdout.close()
131 proc.stderr.close()
132 return proc, foutput
/Linux-v4.19/include/ras/
Dras_event.h173 TP_PROTO(const struct cper_sec_proc_arm *proc),
175 TP_ARGS(proc),
186 if (proc->validation_bits & CPER_ARM_VALID_AFFINITY_LEVEL)
187 __entry->affinity = proc->affinity_level;
190 if (proc->validation_bits & CPER_ARM_VALID_MPIDR)
191 __entry->mpidr = proc->mpidr;
194 __entry->midr = proc->midr;
195 if (proc->validation_bits & CPER_ARM_VALID_RUNNING_STATE) {
196 __entry->running_state = proc->running_state;
197 __entry->psci_state = proc->psci_state;

12345678910>>...27