Home
last modified time | relevance | path

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

12345678910>>...31

/kernel/linux/linux-5.10/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 …]
DKconfig3 bool "/proc file system support" if EXPERT
12 It's totally cool; for example, "cat /proc/interrupts" gives
18 information about your system gathered from the /proc file system.
20 Before you can use the /proc file system, it has to be mounted,
22 That location should be /proc. A command such as "mount -t proc proc
23 /proc" or the equivalent line in /etc/fstab does the job.
25 The /proc file system is explained in the file
26 <file:Documentation/filesystems/proc.rst> and on the proc(5) manpage
27 ("man 5 proc").
33 bool "/proc/kcore support" if !ARM
[all …]
/kernel/linux/linux-5.10/drivers/android/
Dbinder.c98 DEFINE_SHOW_ATTRIBUTE(proc);
328 struct binder_proc *proc; member
413 struct binder_proc *proc; member
556 struct binder_proc *proc; member
657 #define binder_proc_lock(proc) _binder_proc_lock(proc, __LINE__) argument
659 _binder_proc_lock(struct binder_proc *proc, int line) in _binder_proc_lock() argument
660 __acquires(&proc->outer_lock) in _binder_proc_lock()
664 spin_lock(&proc->outer_lock); in _binder_proc_lock()
675 _binder_proc_unlock(struct binder_proc *proc, int line) in _binder_proc_unlock() argument
676 __releases(&proc->outer_lock) in _binder_proc_unlock()
[all …]
/kernel/linux/linux-5.10/fs/dlm/
Duser.c180 struct dlm_user_proc *proc; in dlm_user_add_ast() local
200 proc = ua->proc; in dlm_user_add_ast()
208 spin_lock(&proc->asts_spin); in dlm_user_add_ast()
212 spin_unlock(&proc->asts_spin); in dlm_user_add_ast()
218 list_add_tail(&lkb->lkb_cb_list, &proc->asts); in dlm_user_add_ast()
219 wake_up_interruptible(&proc->wait); in dlm_user_add_ast()
221 spin_unlock(&proc->asts_spin); in dlm_user_add_ast()
225 spin_lock(&proc->locks_spin); in dlm_user_add_ast()
230 spin_unlock(&proc->locks_spin); in dlm_user_add_ast()
236 static int device_user_lock(struct dlm_user_proc *proc, in device_user_lock() argument
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/livepatch/
Dtest-livepatch.sh58 grep 'live patched' /proc/cmdline > /dev/kmsg
59 grep 'live patched' /proc/meminfo > /dev/kmsg
63 grep 'live patched' /proc/cmdline > /dev/kmsg
64 grep 'live patched' /proc/meminfo > /dev/kmsg
69 grep 'live patched' /proc/cmdline > /dev/kmsg
70 grep 'live patched' /proc/meminfo > /dev/kmsg
75 grep 'live patched' /proc/cmdline > /dev/kmsg
76 grep 'live patched' /proc/meminfo > /dev/kmsg
119 grep 'live patched' /proc/cmdline > /dev/kmsg
120 grep 'live patched' /proc/meminfo > /dev/kmsg
[all …]
/kernel/linux/linux-5.10/arch/arm/mm/
DMakefile19 obj-$(CONFIG_MODULES) += proc-syms.o
79 obj-$(CONFIG_CPU_ARM7TDMI) += proc-arm7tdmi.o
80 obj-$(CONFIG_CPU_ARM720T) += proc-arm720.o
81 obj-$(CONFIG_CPU_ARM740T) += proc-arm740.o
82 obj-$(CONFIG_CPU_ARM9TDMI) += proc-arm9tdmi.o
83 obj-$(CONFIG_CPU_ARM920T) += proc-arm920.o
84 obj-$(CONFIG_CPU_ARM922T) += proc-arm922.o
85 obj-$(CONFIG_CPU_ARM925T) += proc-arm925.o
86 obj-$(CONFIG_CPU_ARM926T) += proc-arm926.o
87 obj-$(CONFIG_CPU_ARM940T) += proc-arm940.o
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/proc/
D.gitignore5 /proc-fsconfig-hidepid
6 /proc-loadavg-001
7 /proc-multiple-procfs
8 /proc-pid-vm
9 /proc-self-map-files-001
10 /proc-self-map-files-002
11 /proc-self-syscall
12 /proc-self-wchan
13 /proc-uptime-001
14 /proc-uptime-002
DMakefile9 TEST_GEN_PROGS += proc-loadavg-001
10 TEST_GEN_PROGS += proc-pid-vm
11 TEST_GEN_PROGS += proc-self-map-files-001
12 TEST_GEN_PROGS += proc-self-map-files-002
13 TEST_GEN_PROGS += proc-self-syscall
14 TEST_GEN_PROGS += proc-self-wchan
15 TEST_GEN_PROGS += proc-uptime-001
16 TEST_GEN_PROGS += proc-uptime-002
22 TEST_GEN_PROGS += proc-multiple-procfs
23 TEST_GEN_PROGS += proc-fsconfig-hidepid
/kernel/linux/linux-5.10/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
83 shmmax=`cat /proc/sys/kernel/shmmax`
84 shmall=`cat /proc/sys/kernel/shmall`
85 echo 268435456 > /proc/sys/kernel/shmmax
86 echo 4194304 > /proc/sys/kernel/shmall
97 echo $shmmax > /proc/sys/kernel/shmmax
[all …]
/kernel/linux/linux-5.10/drivers/firmware/efi/
Dcper-arm.c239 const struct cper_sec_proc_arm *proc) in cper_print_proc_arm() argument
246 printk("%sMIDR: 0x%016llx\n", pfx, proc->midr); in cper_print_proc_arm()
248 len = proc->section_length - (sizeof(*proc) + in cper_print_proc_arm()
249 proc->err_info_num * (sizeof(*err_info))); in cper_print_proc_arm()
251 printk("%ssection length: %d\n", pfx, proc->section_length); in cper_print_proc_arm()
254 printk("%sERR_INFO_NUM is %d\n", pfx, proc->err_info_num); in cper_print_proc_arm()
258 if (proc->validation_bits & CPER_ARM_VALID_MPIDR) in cper_print_proc_arm()
260 pfx, proc->mpidr); in cper_print_proc_arm()
262 if (proc->validation_bits & CPER_ARM_VALID_AFFINITY_LEVEL) in cper_print_proc_arm()
264 proc->affinity_level); in cper_print_proc_arm()
[all …]
Dcper.c144 const struct cper_sec_proc_generic *proc) in cper_print_proc_generic() argument
146 if (proc->validation_bits & CPER_PROC_VALID_TYPE) in cper_print_proc_generic()
147 printk("%s""processor_type: %d, %s\n", pfx, proc->proc_type, in cper_print_proc_generic()
148 proc->proc_type < ARRAY_SIZE(proc_type_strs) ? in cper_print_proc_generic()
149 proc_type_strs[proc->proc_type] : "unknown"); in cper_print_proc_generic()
150 if (proc->validation_bits & CPER_PROC_VALID_ISA) in cper_print_proc_generic()
151 printk("%s""processor_isa: %d, %s\n", pfx, proc->proc_isa, in cper_print_proc_generic()
152 proc->proc_isa < ARRAY_SIZE(proc_isa_strs) ? in cper_print_proc_generic()
153 proc_isa_strs[proc->proc_isa] : "unknown"); in cper_print_proc_generic()
154 if (proc->validation_bits & CPER_PROC_VALID_ERROR_TYPE) { in cper_print_proc_generic()
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/build/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/
Dmem_debug02.sh27 … zcat /proc/config.gz | grep CONFIG_DEBUG_FS=y || tst_res TCONF "CONFIG_DEBUG_FS=y not satisfied!"
32 …local code_low_add=$( cat /proc/iomem | grep Kernel | awk '$4=="code"{print $1}' | awk 'BEGIN{FS="…
33 …local code_high_add=$( cat /proc/iomem | grep Kernel | awk '$4=="code"{print $1}' | awk 'BEGIN{FS=…
36 …local data_low_add=$( cat /proc/iomem | grep Kernel | awk '$4=="data"{print $1}' | awk 'BEGIN{FS="…
37 …local data_high_add=$( cat /proc/iomem | grep Kernel | awk '$4=="data"{print $1}' | awk 'BEGIN{FS=…
43 local memtotal=$(cat /proc/meminfo | awk '$1=="MemTotal:"{print $2}')
Dmem_debug07.sh27 zcat /proc/config.gz | grep CONFIG_LOWMEM=y || tst_res TCONF "CONFIG_LOWMEM=y not satisfied!"
28 … zcat /proc/config.gz | grep CONFIG_LMKD_DBG=y || tst_res TCONF "CONFIG_LMKD_DBG=y not satisfied!"
35 …lmkd_oom_score_adj_def=$(cat /proc/lmkd_dbg_trigger | awk 'BEGIN{FS=":"} $1=="lmkd_oom_score_adj"{…
36 echo 1 > /proc/lmkd_dbg_trigger
38 …local lmkd_oom_score_adj=$(cat /proc/lmkd_dbg_trigger | awk 'BEGIN{FS=":"} $1=="lmkd_oom_score_adj…
62 echo $lmkd_oom_score_adj_def > /proc/lmkd_dbg_trigger
Dmem_debug04.sh27 …zcat /proc/config.gz | grep CONFIG_PAGE_TRACING=y || tst_res TCONF "ONFIG_PAGE_TRACING=y not satis…
48 local old_vmallocused=$(cat /proc/meminfo | awk '$1=="VmallocUsed:"{print $2}')
49 local old_zspageused=$(cat /proc/meminfo | awk '$1=="ZspageUsed:"{print $2}')
50 local old_gltrack=$(cat /proc/meminfo | awk '$1=="GLTrack:"{print $2}')
59 local new_vmallocused=$(cat /proc/meminfo | awk '$1=="VmallocUsed:"{print $2}')
60 local new_zspageused=$(cat /proc/meminfo | awk '$1=="ZspageUsed:"{print $2}')
61 local new_gltrack=$(cat /proc/meminfo | awk '$1=="GLTrack:"{print $2}')
Dmem_debug06.sh27 …zcat /proc/config.gz | grep CONFIG_LOWMEM=y || tst_res TCONF "CONFIG_LOWMEM=y & CONFIG_LMKD_DBG=y …
28 …zcat /proc/config.gz | grep CONFIG_LMKD_DBG=y || tst_res TCONF "CONFIG_LOWMEM=y & CONFIG_LMKD_DBG=…
33 …local lmkd_oom_score_adj=$(cat /proc/lmkd_dbg_trigger | awk 'BEGIN{FS=":"} $1=="lmkd_oom_score_adj…
34 …local lmkd_no_cma_cnt=$(cat /proc/lmkd_dbg_trigger | awk 'BEGIN{FS=":"} $1=="lmkd_no_cma_cnt"{prin…
/kernel/linux/build/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/
Dsched_rtg06.sh91 echo $((RANDOM % 19 + 2)) > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
93 echo 0 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
106 echo ${i} > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
108 echo 0 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
113 echo 2 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
115 echo 0 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
129 echo $_rtg_id > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
131 echo 0 > /proc/$(sed -n ${i}p taskpid.txt)/sched_group_id
Dsched_rtg03.sh36 local sched_group_id=/proc/$PID/sched_group_id
55 local _sched_group_id=/proc/$_pid/sched_group_id
56 local _sched_rtg_debug=/proc/sched_rtg_debug
61 if [ $(cat /proc/$_pid/sched_group_id) -eq $_expect_rtgid ]; then
70 …local _rtg_id=$(cat /proc/sched_rtg_debug | grep RTG_ID | grep -v grep | awk '{print $3}' | head -…
71 local _rtg_pid=$(cat /proc/sched_rtg_debug | grep $PID | grep -v grep | awk '{print $3}')
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/plugin-lib/
DbuildebpfPlugin.py53 proc = subprocess.Popen(command,
58 (rawout, serr) = proc.communicate()
60 if proc.returncode != 0 and len(serr) > 0:
65 proc.stdout.close()
66 proc.stderr.close()
67 return proc, foutput
/kernel/linux/linux-5.10/Documentation/filesystems/
Dproc.rst4 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
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
37 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer
39 3.2 /proc/<pid>/oom_score - Display current oom-killer score
[all …]
/kernel/linux/linux-5.10/Documentation/s390/
Dcommon_io.rst24 An ignored device can be un-ignored later; see the "/proc entries"-section for
54 /proc entries
57 * /proc/cio_ignore
61 You can un-ignore certain or all devices by piping to /proc/cio_ignore.
68 - echo free 0.0.0030-0.0.0032 > /proc/cio_ignore
71 - echo free 0.0.0041 > /proc/cio_ignore will furthermore un-ignore device
73 - echo free all > /proc/cio_ignore will un-ignore all remaining ignored
81 /proc/cio_ignore; "add <device range>, <device range>, ..." will ignore the
91 "echo add 0.0.a000-0.0.accc, 0.0.af00-0.0.afff > /proc/cio_ignore"
98 "echo purge > /proc/cio_ignore"
[all …]
/kernel/linux/linux-5.10/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_ops, 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 …]
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/admin-guide/
Dcpu-load.rst5 Linux通过``/proc/stat``和``/proc/uptime``导出各种信息,用户空间工具
20 大多数情况下``/proc/stat``的信息几乎真实反映了系统信息,然而,由于内
40 在上面的情况下,根据``/proc/stat``的信息(由于当系统处于空闲状态时,
43 大家能够想象内核的这种行为会发生在许多情况下,这将导致``/proc/stat``
99 - Documentation/filesystems/proc.rst (1.8)
/kernel/linux/linux-5.10/tools/testing/selftests/splice/
Dshort_splice_read.sh118 expect_failure "proc_single_open(), seq_read() splice" test_splice /proc/$$/limits
119 expect_failure "special open(), seq_read() splice" test_splice /proc/$$/comm
122 expect_success "proc_handler: proc_dointvec_minmax() splice" test_splice /proc/sys/fs/nr_open
123 expect_success "proc_handler: proc_dostring() splice" test_splice /proc/sys/kernel/modprobe
124 expect_success "proc_handler: special read splice" test_splice /proc/sys/kernel/version
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_stack_tracer.tc9 echo 1 > /proc/sys/kernel/stack_tracer_enabled
19 echo 0 > /proc/sys/kernel/stack_tracer_enabled
25 echo 1 > /proc/sys/kernel/stack_tracer_enabled
35 echo 0 > /proc/sys/kernel/stack_tracer_enabled

12345678910>>...31