/linux-6.12.1/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.12.1/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.12.1/tools/testing/selftests/proc/ |
D | .gitignore | 5 /proc-2-is-kthread 6 /proc-fsconfig-hidepid 7 /proc-loadavg-001 8 /proc-multiple-procfs 9 /proc-empty-vm 10 /proc-pid-vm 11 /proc-self-map-files-001 12 /proc-self-map-files-002 13 /proc-self-isnt-kthread 14 /proc-self-syscall [all …]
|
D | Makefile | 10 TEST_GEN_PROGS += proc-2-is-kthread 11 TEST_GEN_PROGS += proc-loadavg-001 12 TEST_GEN_PROGS += proc-empty-vm 13 TEST_GEN_PROGS += proc-pid-vm 14 TEST_GEN_PROGS += proc-self-map-files-001 15 TEST_GEN_PROGS += proc-self-map-files-002 16 TEST_GEN_PROGS += proc-self-isnt-kthread 17 TEST_GEN_PROGS += proc-self-syscall 18 TEST_GEN_PROGS += proc-self-wchan 19 TEST_GEN_PROGS += proc-subset-pid [all …]
|
/linux-6.12.1/arch/arm/mm/ |
D | Makefile | 19 obj-$(CONFIG_MODULES) += proc-syms.o 67 obj-$(CONFIG_CPU_ARM7TDMI) += proc-arm7tdmi.o 68 obj-$(CONFIG_CPU_ARM720T) += proc-arm720.o 69 obj-$(CONFIG_CPU_ARM740T) += proc-arm740.o 70 obj-$(CONFIG_CPU_ARM9TDMI) += proc-arm9tdmi.o 71 obj-$(CONFIG_CPU_ARM920T) += proc-arm920.o 72 obj-$(CONFIG_CPU_ARM922T) += proc-arm922.o 73 obj-$(CONFIG_CPU_ARM925T) += proc-arm925.o 74 obj-$(CONFIG_CPU_ARM926T) += proc-arm926.o 75 obj-$(CONFIG_CPU_ARM940T) += proc-arm940.o [all …]
|
/linux-6.12.1/fs/dlm/ |
D | user.c | 183 struct dlm_user_proc *proc; in dlm_user_add_ast() local 206 proc = ua->proc; in dlm_user_add_ast() 214 spin_lock_bh(&proc->asts_spin); in dlm_user_add_ast() 229 list_add_tail(&cb->list, &proc->asts); in dlm_user_add_ast() 230 wake_up_interruptible(&proc->wait); in dlm_user_add_ast() 233 spin_unlock_bh(&proc->asts_spin); in dlm_user_add_ast() 237 spin_lock_bh(&proc->locks_spin); in dlm_user_add_ast() 242 spin_unlock_bh(&proc->locks_spin); in dlm_user_add_ast() 248 static int device_user_lock(struct dlm_user_proc *proc, in device_user_lock() argument 256 ls = dlm_find_lockspace_local(proc->lockspace); in device_user_lock() [all …]
|
/linux-6.12.1/tools/testing/selftests/damon/ |
D | damon_nr_regions.py | 18 proc = subprocess.Popen(['./access_memory_even', '%d' % real_nr_regions, 28 targets=[_damon_sysfs.DamonTarget(pid=proc.pid)], 36 proc.terminate() 41 while proc.poll() is None: 45 proc.terminate() 51 proc.terminate() 57 proc.terminate() 63 proc.terminate() 86 proc = subprocess.Popen(['./access_memory_even', '14', '%d' % sz_region]) 94 targets=[_damon_sysfs.DamonTarget(pid=proc.pid)], [all …]
|
D | damos_tried_regions.py | 12 proc = subprocess.Popen(['./access_memory_even', '14', '%d' % sz_region]) 18 targets=[_damon_sysfs.DamonTarget(pid=proc.pid)], 26 proc.terminate() 31 while proc.poll() is None: 35 proc.terminate() 41 proc.terminate() 47 proc.terminate() 53 proc.terminate()
|
/linux-6.12.1/tools/testing/selftests/livepatch/ |
D | test-livepatch.sh | 60 grep 'live patched' /proc/cmdline > /dev/kmsg 61 grep 'live patched' /proc/meminfo > /dev/kmsg 65 grep 'live patched' /proc/cmdline > /dev/kmsg 66 grep 'live patched' /proc/meminfo > /dev/kmsg 71 grep 'live patched' /proc/cmdline > /dev/kmsg 72 grep 'live patched' /proc/meminfo > /dev/kmsg 77 grep 'live patched' /proc/cmdline > /dev/kmsg 78 grep 'live patched' /proc/meminfo > /dev/kmsg 124 grep 'live patched' /proc/cmdline > /dev/kmsg 125 grep 'live patched' /proc/meminfo > /dev/kmsg [all …]
|
/linux-6.12.1/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.12.1/tools/testing/selftests/mm/ |
D | run_vmtests.sh | 147 done < /proc/meminfo 165 nr_hugepgs=$(cat /proc/sys/vm/nr_hugepages) 170 echo 3 > /proc/sys/vm/drop_caches 171 if ! echo $((lackpgs + nr_hugepgs)) > /proc/sys/vm/nr_hugepages; then 179 done < /proc/meminfo 220 echo 3 > /proc/sys/vm/drop_caches 222 echo 1 > /proc/sys/vm/compact_memory 256 shmmax=$(cat /proc/sys/kernel/shmmax) 257 shmall=$(cat /proc/sys/kernel/shmall) 258 echo 268435456 > /proc/sys/kernel/shmmax [all …]
|
/linux-6.12.1/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.12.1/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.12.1/Documentation/userspace-api/ |
D | lsm.rst | 19 The proc filesystem provides this value in ``/proc/self/attr/current``. 21 Smack also provides this value in ``/proc/self/attr/smack/current``. 22 AppArmor also provides this value in ``/proc/self/attr/apparmor/current``. 26 The proc filesystem provides this value in ``/proc/self/attr/exec``. 28 AppArmor also provides this value in ``/proc/self/attr/apparmor/exec``. 32 The proc filesystem provides this value in ``/proc/self/attr/fscreate``. 37 The proc filesystem provides this value in ``/proc/self/attr/keycreate``. 42 The proc filesystem provides this value in ``/proc/self/attr/prev``. 44 AppArmor also provides this value in ``/proc/self/attr/apparmor/prev``. 48 The proc filesystem provides this value in ``/proc/self/attr/sockcreate``.
|
/linux-6.12.1/lib/ |
D | fw_table.c | 114 static __init_or_fwtbl_lib int call_handler(struct acpi_subtable_proc *proc, in call_handler() argument 118 if (proc->handler) in call_handler() 119 return proc->handler(hdr, end); in call_handler() 120 if (proc->handler_arg) in call_handler() 121 return proc->handler_arg(hdr, proc->arg, end); in call_handler() 153 struct acpi_subtable_proc *proc, in acpi_parse_entries_array() argument 177 if (acpi_get_entry_type(&entry) != proc[i].id) in acpi_parse_entries_array() 181 if (call_handler(&proc[i], entry.hdr, table_end)) in acpi_parse_entries_array() 184 proc[i].count++; in acpi_parse_entries_array() 195 pr_err("[%4.4s:0x%02x] Invalid zero length\n", id, proc->id); in acpi_parse_entries_array() [all …]
|
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/tools/testing/selftests/net/lib/py/ |
D | utils.py | 27 self.proc = host.cmd(comm) 29 self.proc = subprocess.Popen(comm, shell=shell, stdout=subprocess.PIPE, 39 self.proc.terminate() 40 stdout, stderr = self.proc.communicate(timeout) 43 self.proc.stdout.close() 44 self.proc.stderr.close() 45 self.ret = self.proc.returncode 47 if self.proc.returncode != 0 and fail: 51 (self.proc.args, stdout, stderr))
|
/linux-6.12.1/Documentation/translations/zh_TW/admin-guide/ |
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.12.1/Documentation/translations/zh_CN/admin-guide/ |
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
|