/Linux-v6.1/fs/proc/ |
D | Makefile | 3 # Makefile for the Linux proc filesystem routines. 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 [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-v6.1/drivers/android/ |
D | binder.c | 15 * 1) proc->outer_lock : protects binder_ref 21 * 3) proc->inner_lock : protects the thread and node lists 22 * (proc->threads, proc->waiting_threads, proc->nodes) 24 * (proc->todo, thread->todo, proc->delivered_death and 37 * foo_ilocked() : requires proc->inner_lock 38 * foo_oilocked(): requires proc->outer_lock and proc->inner_lock 39 * foo_nilocked(): requires node->lock and proc->inner_lock 92 DEFINE_SHOW_ATTRIBUTE(proc); 263 * @proc: struct binder_proc to acquire 265 * Acquires proc->outer_lock. Used to protect binder_ref [all …]
|
D | binder_internal.h | 147 * There are separate work lists for proc, thread, and node (async). 175 * (protected by @proc->inner_lock) 176 * @rb_node: element for proc->nodes tree 177 * (protected by @proc->inner_lock) 180 * @proc: binder_proc that owns this node 186 * (protected by @proc->inner_lock if @proc 189 * (protected by @proc->inner_lock if @proc 192 * (protected by @proc->inner_lock if @proc 195 * (protected by @proc->inner_lock while @proc 197 * if @proc is NULL. During inc/dec and node release [all …]
|
/Linux-v6.1/arch/arm/mm/ |
D | Makefile | 19 obj-$(CONFIG_MODULES) += proc-syms.o 78 obj-$(CONFIG_CPU_ARM7TDMI) += proc-arm7tdmi.o 79 obj-$(CONFIG_CPU_ARM720T) += proc-arm720.o 80 obj-$(CONFIG_CPU_ARM740T) += proc-arm740.o 81 obj-$(CONFIG_CPU_ARM9TDMI) += proc-arm9tdmi.o 82 obj-$(CONFIG_CPU_ARM920T) += proc-arm920.o 83 obj-$(CONFIG_CPU_ARM922T) += proc-arm922.o 84 obj-$(CONFIG_CPU_ARM925T) += proc-arm925.o 85 obj-$(CONFIG_CPU_ARM926T) += proc-arm926.o 86 obj-$(CONFIG_CPU_ARM940T) += proc-arm940.o [all …]
|
/Linux-v6.1/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 …]
|
D | proc-self-map-files-001.c | 16 /* Test readlink /proc/self/map_files/... */ 65 pass("/proc/self/map_files/%lx-%lx", a, b); in main() 66 fail("/proc/self/map_files/ %lx-%lx", a, b); in main() 67 fail("/proc/self/map_files/%lx -%lx", a, b); in main() 68 fail("/proc/self/map_files/%lx- %lx", a, b); in main() 69 fail("/proc/self/map_files/%lx-%lx ", a, b); in main() 70 fail("/proc/self/map_files/0%lx-%lx", a, b); in main() 71 fail("/proc/self/map_files/%lx-0%lx", a, b); in main() 73 fail("/proc/self/map_files/100000000%lx-%lx", a, b); in main() 74 fail("/proc/self/map_files/%lx-100000000%lx", a, b); in main() [all …]
|
D | proc-self-map-files-002.c | 16 /* Test readlink /proc/self/map_files/... with minimum address. */ 77 pass("/proc/self/map_files/%lx-%lx", a, b); in main() 78 fail("/proc/self/map_files/ %lx-%lx", a, b); in main() 79 fail("/proc/self/map_files/%lx -%lx", a, b); in main() 80 fail("/proc/self/map_files/%lx- %lx", a, b); in main() 81 fail("/proc/self/map_files/%lx-%lx ", a, b); in main() 82 fail("/proc/self/map_files/0%lx-%lx", a, b); in main() 83 fail("/proc/self/map_files/%lx-0%lx", a, b); in main() 85 fail("/proc/self/map_files/100000000%lx-%lx", a, b); in main() 86 fail("/proc/self/map_files/%lx-100000000%lx", a, b); in main() [all …]
|
/Linux-v6.1/tools/testing/selftests/timens/ |
D | procfs.c | 39 char path[] = "/proc/self/ns/time_for_children"; in init_namespaces() 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() 75 pr_perror("Unable to open /proc/uptime"); in read_proc_uptime() 79 if (fscanf(proc, "%lu.%02lu", &up_sec, &up_nsec) != 2) { in read_proc_uptime() 84 pr_err("failed to parse /proc/uptime"); 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() [all …]
|
/Linux-v6.1/fs/dlm/ |
D | user.c | 182 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-v6.1/tools/testing/selftests/livepatch/ |
D | test-livepatch.sh | 13 # - load a livepatch that modifies the output from /proc/cmdline and 21 if [[ "$(cat /proc/cmdline)" != "$MOD_LIVEPATCH: this has been live patched" ]] ; then 29 if [[ "$(cat /proc/cmdline)" == "$MOD_LIVEPATCH: this has been live patched" ]] ; then 48 # - load a livepatch that modifies the output from /proc/cmdline and 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 [all …]
|
/Linux-v6.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 …]
|
D | afs.rst | 13 - Proc filesystem. 81 echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 >/proc/fs/afs/cells 103 Additional cells can be added through /proc (see later section). 144 Proc Filesystem 147 The AFS module creates a "/proc/fs/afs/" directory and populates it: 152 [root@andromeda ~]# cat /proc/fs/afs/cells 159 [root@andromeda ~]# cat /proc/fs/afs/cambridge.redhat.com/servers 162 [root@andromeda ~]# cat /proc/fs/afs/cambridge.redhat.com/vlservers 165 [root@andromeda ~]# cat /proc/fs/afs/cambridge.redhat.com/volumes 181 echo add CELLNAME VLADDR[:VLADDR][:VLADDR]... >/proc/fs/afs/cells [all …]
|
/Linux-v6.1/Documentation/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-v6.1/include/uapi/linux/ |
D | sysctl.h | 74 /* /proc/sys/fs/inotify/ */ 228 /* /proc/sys/kernel/random */ 239 /* /proc/sys/kernel/pty */ 246 /* /proc/sys/bus/isa */ 254 /* /proc/sys/net/core */ 281 /* /proc/sys/net/ethernet */ 283 /* /proc/sys/net/802 */ 285 /* /proc/sys/net/unix */ 294 /* /proc/sys/net/netfilter */ 331 /* /proc/sys/net/ipv4 */ [all …]
|
/Linux-v6.1/Documentation/sound/designs/ |
D | oss-emulation.rst | 33 /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-v6.1/net/sunrpc/auth_gss/ |
D | gss_rpc_upcall.c | 42 #define PROC(proc, name) \ argument 43 [GSSX_##proc] = { \ 44 .p_proc = GSSX_##proc, \ 49 .p_statidx = GSSX_##proc, \ 50 .p_name = #proc, \ 54 PROC(INDICATE_MECHS, indicate_mechs), 55 PROC(GET_CALL_CONTEXT, get_call_context), 56 PROC(IMPORT_AND_CANON_NAME, import_and_canon_name), 57 PROC(EXPORT_CRED, export_cred), 58 PROC(IMPORT_CRED, import_cred), [all …]
|
/Linux-v6.1/fs/ksmbd/ |
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-v6.1/Documentation/admin-guide/laptops/ |
D | laptop-mode.rst | 82 Laptop mode is controlled by the knob /proc/sys/vm/laptop_mode. This knob is 95 /proc/sys/vm to about 10 minutes (by default), which means that pages that are 159 the /proc/sys/vm/dirty_ratio sysctl. 165 this nice and low. This corresponds to the /proc/sys/vm/dirty_background_ratio 418 if [ ! -e /proc/sys/vm/laptop_mode ] ; then 423 if [ ! -w /proc/sys/vm/laptop_mode ] ; then 544 if [ -d /proc/sys/vm/pagebuf ] ; then 548 echo $XFS_AGE > /proc/sys/vm/pagebuf/lm_flush_age 549 echo $XFS_AGE > /proc/sys/fs/xfs/lm_sync_interval 550 elif [ -f /proc/sys/fs/xfs/lm_age_buffer ] ; then [all …]
|
/Linux-v6.1/tools/testing/selftests/memfd/ |
D | run_hugetlbfs_test.sh | 14 # Get count of free huge pages from /proc/meminfo 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-v6.1/tools/testing/selftests/vm/ |
D | run_vmtests.sh | 11 #get huge pagesize and freepages from /proc/meminfo 19 done < /proc/meminfo 33 nr_hugepgs=$(cat /proc/sys/vm/nr_hugepages) 38 echo 3 > /proc/sys/vm/drop_caches 39 if ! echo $((lackpgs + nr_hugepgs)) > /proc/sys/vm/nr_hugepages; then 47 done < /proc/meminfo 92 shmmax=$(cat /proc/sys/kernel/shmmax) 93 shmall=$(cat /proc/sys/kernel/shmall) 94 echo 268435456 > /proc/sys/kernel/shmmax 95 echo 4194304 > /proc/sys/kernel/shmall [all …]
|
/Linux-v6.1/Documentation/x86/ |
D | mtrr.rst | 55 The CONFIG_MTRR option creates a /proc/mtrr file which may be used 61 There are two interfaces to /proc/mtrr: one is an ASCII interface 72 % cat /proc/mtrr 78 # echo "base=0xf8000000 size=0x400000 type=write-combining" >! /proc/mtrr 82 # echo "base=0xf8000000 size=0x400000 type=write-combining" >| /proc/mtrr 86 % cat /proc/mtrr 109 in other words the X server will manipulate /proc/mtrr using the 118 %echo "base=0xfb000000 size=0x1000000 type=write-combining" >/proc/mtrr 119 %echo "base=0xfb000000 size=0x1000 type=uncachable" >/proc/mtrr 123 % cat /proc/mtrr [all …]
|
/Linux-v6.1/drivers/firmware/efi/ |
D | cper.c | 144 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 …]
|
/Linux-v6.1/tools/testing/selftests/sched/ |
D | cs_prctl_test.c | 169 void create_processes(int num_processes, int num_threads, struct child_args proc[]) in create_processes() argument 175 proc[i].num_threads = num_threads; in create_processes() 177 if (pipe(proc[i].pfd) == -1) in create_processes() 181 SIGCHLD, &proc[i]); in create_processes() 182 proc[i].cpid = cpid; in create_processes() 183 close(proc[i].pfd[1]); in create_processes() 187 read(proc[i].pfd[0], &proc[i].thr_tids, sizeof(int) * proc[i].num_threads); in create_processes() 188 close(proc[i].pfd[0]); in create_processes() 192 void disp_processes(int num_processes, struct child_args proc[]) in disp_processes() argument 200 printf(" tid=%d, / tgid=%d / pgid=%d: %lx\n", proc[i].cpid, proc[i].cpid, in disp_processes() [all …]
|