/linux-6.6.21/fs/proc/ |
D | Makefile | 6 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 …]
|
D | Kconfig | 3 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 …]
|
/linux-6.6.21/drivers/android/ |
D | binder.c | 93 DEFINE_SHOW_ATTRIBUTE(proc); 269 #define binder_proc_lock(proc) _binder_proc_lock(proc, __LINE__) argument 271 _binder_proc_lock(struct binder_proc *proc, int line) in _binder_proc_lock() argument 272 __acquires(&proc->outer_lock) in _binder_proc_lock() 276 spin_lock(&proc->outer_lock); in _binder_proc_lock() 285 #define binder_proc_unlock(proc) _binder_proc_unlock(proc, __LINE__) argument 287 _binder_proc_unlock(struct binder_proc *proc, int line) in _binder_proc_unlock() argument 288 __releases(&proc->outer_lock) in _binder_proc_unlock() 292 spin_unlock(&proc->outer_lock); in _binder_proc_unlock() 301 #define binder_inner_proc_lock(proc) _binder_inner_proc_lock(proc, __LINE__) argument [all …]
|
/linux-6.6.21/tools/testing/selftests/proc/ |
D | .gitignore | 5 /proc-fsconfig-hidepid 6 /proc-loadavg-001 7 /proc-multiple-procfs 8 /proc-empty-vm 9 /proc-pid-vm 10 /proc-self-map-files-001 11 /proc-self-map-files-002 12 /proc-self-syscall 13 /proc-self-wchan 14 /proc-subset-pid [all …]
|
D | Makefile | 10 TEST_GEN_PROGS += proc-loadavg-001 11 TEST_GEN_PROGS += proc-empty-vm 12 TEST_GEN_PROGS += proc-pid-vm 13 TEST_GEN_PROGS += proc-self-map-files-001 14 TEST_GEN_PROGS += proc-self-map-files-002 15 TEST_GEN_PROGS += proc-self-syscall 16 TEST_GEN_PROGS += proc-self-wchan 17 TEST_GEN_PROGS += proc-subset-pid 18 TEST_GEN_PROGS += proc-tid0 19 TEST_GEN_PROGS += proc-uptime-001 [all …]
|
/linux-6.6.21/fs/dlm/ |
D | user.c | 201 struct dlm_user_proc *proc; in dlm_user_add_ast() local 223 proc = ua->proc; in dlm_user_add_ast() 231 spin_lock(&proc->asts_spin); in dlm_user_add_ast() 236 spin_unlock(&proc->asts_spin); in dlm_user_add_ast() 241 list_add_tail(&lkb->lkb_cb_list, &proc->asts); in dlm_user_add_ast() 242 wake_up_interruptible(&proc->wait); in dlm_user_add_ast() 250 spin_unlock(&proc->asts_spin); in dlm_user_add_ast() 254 spin_lock(&proc->locks_spin); in dlm_user_add_ast() 259 spin_unlock(&proc->locks_spin); in dlm_user_add_ast() 265 static int device_user_lock(struct dlm_user_proc *proc, in device_user_lock() argument [all …]
|
/linux-6.6.21/Documentation/devicetree/bindings/remoteproc/ |
D | qcom,rpm-proc.yaml | 4 $id: http://devicetree.org/schemas/remoteproc/qcom,rpm-proc.yaml# 18 | RPM subsystem (qcom,rpm-proc) | 69 - qcom,apq8084-rpm-proc 70 - qcom,ipq6018-rpm-proc 71 - qcom,ipq9574-rpm-proc 72 - qcom,mdm9607-rpm-proc 73 - qcom,msm8226-rpm-proc 74 - qcom,msm8610-rpm-proc 75 - qcom,msm8909-rpm-proc 76 - qcom,msm8916-rpm-proc [all …]
|
/linux-6.6.21/arch/arm/mm/ |
D | Makefile | 19 obj-$(CONFIG_MODULES) += proc-syms.o 66 obj-$(CONFIG_CPU_ARM7TDMI) += proc-arm7tdmi.o 67 obj-$(CONFIG_CPU_ARM720T) += proc-arm720.o 68 obj-$(CONFIG_CPU_ARM740T) += proc-arm740.o 69 obj-$(CONFIG_CPU_ARM9TDMI) += proc-arm9tdmi.o 70 obj-$(CONFIG_CPU_ARM920T) += proc-arm920.o 71 obj-$(CONFIG_CPU_ARM922T) += proc-arm922.o 72 obj-$(CONFIG_CPU_ARM925T) += proc-arm925.o 73 obj-$(CONFIG_CPU_ARM926T) += proc-arm926.o 74 obj-$(CONFIG_CPU_ARM940T) += proc-arm940.o [all …]
|
/linux-6.6.21/tools/testing/selftests/livepatch/ |
D | test-livepatch.sh | 58 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 …]
|
/linux-6.6.21/drivers/staging/media/sunxi/sun6i-isp/ |
D | sun6i_isp_proc.c | 24 *width = isp_dev->proc.mbus_format.width; in sun6i_isp_proc_dimensions() 26 *height = isp_dev->proc.mbus_format.height; in sun6i_isp_proc_dimensions() 112 struct sun6i_isp_proc *proc = &isp_dev->proc; in sun6i_isp_proc_enable() local 118 if (source == &proc->source_csi0) in sun6i_isp_proc_enable() 142 struct v4l2_mbus_framefmt *mbus_format = &isp_dev->proc.mbus_format; in sun6i_isp_proc_configure() 170 struct sun6i_isp_proc *proc = &isp_dev->proc; in sun6i_isp_proc_s_stream() local 171 struct media_pad *local_pad = &proc->pads[SUN6I_ISP_PROC_PAD_SINK_CSI]; in sun6i_isp_proc_s_stream() 189 if (source_subdev == proc->source_csi0.subdev) in sun6i_isp_proc_s_stream() 190 source = &proc->source_csi0; in sun6i_isp_proc_s_stream() 192 source = &proc->source_csi1; in sun6i_isp_proc_s_stream() [all …]
|
/linux-6.6.21/tools/testing/selftests/timens/ |
D | procfs.c | 71 FILE *proc; in read_proc_uptime() local 73 proc = fopen("/proc/uptime", "r"); in read_proc_uptime() 74 if (proc == NULL) { in read_proc_uptime() 79 if (fscanf(proc, "%lu.%02lu", &up_sec, &up_nsec) != 2) { in read_proc_uptime() 87 fclose(proc); in read_proc_uptime() 96 FILE *proc; in read_proc_stat_btime() local 99 proc = fopen("/proc/stat", "r"); in read_proc_stat_btime() 100 if (proc == NULL) { in read_proc_stat_btime() 105 while (fgets(line_buf, 2048, proc)) { in read_proc_stat_btime() 108 fclose(proc); in read_proc_stat_btime() [all …]
|
/linux-6.6.21/drivers/firmware/efi/ |
D | cper-arm.c | 238 const struct cper_sec_proc_arm *proc) in cper_print_proc_arm() argument 245 printk("%sMIDR: 0x%016llx\n", pfx, proc->midr); in cper_print_proc_arm() 247 len = proc->section_length - (sizeof(*proc) + in cper_print_proc_arm() 248 proc->err_info_num * (sizeof(*err_info))); in cper_print_proc_arm() 250 printk("%ssection length: %d\n", pfx, proc->section_length); in cper_print_proc_arm() 253 printk("%sERR_INFO_NUM is %d\n", pfx, proc->err_info_num); in cper_print_proc_arm() 257 if (proc->validation_bits & CPER_ARM_VALID_MPIDR) in cper_print_proc_arm() 259 pfx, proc->mpidr); in cper_print_proc_arm() 261 if (proc->validation_bits & CPER_ARM_VALID_AFFINITY_LEVEL) in cper_print_proc_arm() 263 proc->affinity_level); in cper_print_proc_arm() [all …]
|
D | cper.c | 145 const struct cper_sec_proc_generic *proc) in cper_print_proc_generic() argument 147 if (proc->validation_bits & CPER_PROC_VALID_TYPE) in cper_print_proc_generic() 148 printk("%s""processor_type: %d, %s\n", pfx, proc->proc_type, in cper_print_proc_generic() 149 proc->proc_type < ARRAY_SIZE(proc_type_strs) ? in cper_print_proc_generic() 150 proc_type_strs[proc->proc_type] : "unknown"); in cper_print_proc_generic() 151 if (proc->validation_bits & CPER_PROC_VALID_ISA) in cper_print_proc_generic() 152 printk("%s""processor_isa: %d, %s\n", pfx, proc->proc_isa, in cper_print_proc_generic() 153 proc->proc_isa < ARRAY_SIZE(proc_isa_strs) ? in cper_print_proc_generic() 154 proc_isa_strs[proc->proc_isa] : "unknown"); in cper_print_proc_generic() 155 if (proc->validation_bits & CPER_PROC_VALID_ERROR_TYPE) { in cper_print_proc_generic() [all …]
|
/linux-6.6.21/fs/smb/server/ |
D | smb2ops.c | 172 [SMB2_NEGOTIATE_HE] = { .proc = smb2_negotiate_request, }, 173 [SMB2_SESSION_SETUP_HE] = { .proc = smb2_sess_setup, }, 174 [SMB2_TREE_CONNECT_HE] = { .proc = smb2_tree_connect,}, 175 [SMB2_TREE_DISCONNECT_HE] = { .proc = smb2_tree_disconnect,}, 176 [SMB2_LOGOFF_HE] = { .proc = smb2_session_logoff,}, 177 [SMB2_CREATE_HE] = { .proc = smb2_open}, 178 [SMB2_QUERY_INFO_HE] = { .proc = smb2_query_info}, 179 [SMB2_QUERY_DIRECTORY_HE] = { .proc = smb2_query_dir}, 180 [SMB2_CLOSE_HE] = { .proc = smb2_close}, 181 [SMB2_ECHO_HE] = { .proc = smb2_echo}, [all …]
|
/linux-6.6.21/tools/testing/selftests/sched/ |
D | cs_prctl_test.c | 175 void create_processes(int num_processes, int num_threads, struct child_args proc[]) in create_processes() argument 181 proc[i].num_threads = num_threads; in create_processes() 183 if (pipe(proc[i].pfd) == -1) in create_processes() 187 SIGCHLD, &proc[i]); in create_processes() 188 proc[i].cpid = cpid; in create_processes() 189 close(proc[i].pfd[1]); in create_processes() 193 ret = read(proc[i].pfd[0], &proc[i].thr_tids, sizeof(int) * proc[i].num_threads); in create_processes() 197 close(proc[i].pfd[0]); in create_processes() 201 void disp_processes(int num_processes, struct child_args proc[]) in disp_processes() argument 209 printf(" tid=%d, / tgid=%d / pgid=%d: %lx\n", proc[i].cpid, proc[i].cpid, in disp_processes() [all …]
|
/linux-6.6.21/tools/testing/selftests/memfd/ |
D | run_hugetlbfs_test.sh | 20 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-6.6.21/tools/testing/selftests/mm/ |
D | run_vmtests.sh | 136 done < /proc/meminfo 150 nr_hugepgs=$(cat /proc/sys/vm/nr_hugepages) 155 echo 3 > /proc/sys/vm/drop_caches 156 if ! echo $((lackpgs + nr_hugepgs)) > /proc/sys/vm/nr_hugepages; then 164 done < /proc/meminfo 211 shmmax=$(cat /proc/sys/kernel/shmmax) 212 shmall=$(cat /proc/sys/kernel/shmall) 213 echo 268435456 > /proc/sys/kernel/shmmax 214 echo 4194304 > /proc/sys/kernel/shmall 216 echo "$shmmax" > /proc/sys/kernel/shmmax [all …]
|
/linux-6.6.21/tools/testing/selftests/tc-testing/plugin-lib/ |
D | buildebpfPlugin.py | 53 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
|
/linux-6.6.21/Documentation/arch/s390/ |
D | common_io.rst | 24 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 …]
|
/linux-6.6.21/Documentation/filesystems/ |
D | proc.rst | 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 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 …]
|
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/ |
D | cpu-load.rst | 5 Linux通过``/proc/stat``和``/proc/uptime``导出各种信息,用户空间工具 20 大多数情况下``/proc/stat``的信息几乎真实反映了系统信息,然而,由于内 40 在上面的情况下,根据``/proc/stat``的信息(由于当系统处于空闲状态时, 43 大家能够想象内核的这种行为会发生在许多情况下,这将导致``/proc/stat`` 99 - Documentation/filesystems/proc.rst (1.8)
|
D | sysrq.rst | 30 当运行一个编译进 sysrq 功能的内核时,/proc/sys/kernel/sysrq 控制着被 32 配置符号设定,文件本身默认设置为 1。以下是 /proc/sys/kernel/sysrq 中可能的 50 echo "number" >/proc/sys/kernel/sysrq 55 注意,``/proc/sys/kernel/sysrq`` 的值只影响通过键盘触发 SySRq 的调用,对于 56 通过 ``/proc/sysrq-trigger`` 的任何操作调用都是允许的 86 写一个字符到 /proc/sysrq-trigger 文件,例如:: 88 echo t > /proc/sysrq-trigger 258 的控制台上,即使它会出现在 dmesg 缓存中,也可以通过 dmesg 命令和 ``/proc/kmsg`` 264 echo 8 > /proc/sysrq-trigger
|
/linux-6.6.21/Documentation/translations/zh_CN/accounting/ |
D | psi.rst | 37 压力信息可通过/proc/pressure/ --cpu、memory、io文件分别获取。 74 示例:向/proc/pressure/memory写入"some 150000 1000000"将新增触发器,将在 75 1秒内至少一个任务阻塞于内存的总时间超过150ms时触发。向/proc/pressure/io写入 112 fds.fd = open("/proc/pressure/memory", O_RDWR | O_NONBLOCK); 114 printf("/proc/pressure/memory open error: %s\n", 121 printf("/proc/pressure/memory write error: %s\n", 153 内容格式与/proc/pressure/下的文件相同。
|
/linux-6.6.21/Documentation/translations/zh_TW/admin-guide/ |
D | cpu-load.rst | 11 Linux通過``/proc/stat``和``/proc/uptime``導出各種信息,用戶空間工具 26 大多數情況下``/proc/stat``的信息幾乎真實反映了系統信息,然而,由於內 46 在上面的情況下,根據``/proc/stat``的信息(由於當系統處於空閒狀態時, 49 大家能夠想像內核的這種行爲會發生在許多情況下,這將導致``/proc/stat`` 105 - Documentation/filesystems/proc.rst (1.8)
|
/linux-6.6.21/tools/testing/selftests/splice/ |
D | short_splice_read.sh | 118 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
|