/linux-6.12.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-6.12.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 93 DEFINE_SHOW_ATTRIBUTE(proc); 264 * @proc: struct binder_proc to acquire 266 * Acquires proc->outer_lock. Used to protect binder_ref [all …]
|
D | binder_internal.h | 149 * There are separate work lists for proc, thread, and node (async). 180 * (protected by @proc->inner_lock) 181 * @rb_node: element for proc->nodes tree 182 * (protected by @proc->inner_lock) 185 * @proc: binder_proc that owns this node 191 * (protected by @proc->inner_lock if @proc 194 * (protected by @proc->inner_lock if @proc 197 * (protected by @proc->inner_lock if @proc 200 * (protected by @proc->inner_lock while @proc 202 * if @proc is NULL. During inc/dec and node release [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/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 …]
|
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-6.12.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-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/rust/macros/ |
D | quote.rs | 48 quote_spanned!(@proc tokens span $($tt)*); 52 (@proc $v:ident $span:ident) => {}; 53 (@proc $v:ident $span:ident #$id:ident $($tt:tt)*) => { 57 quote_spanned!(@proc $v $span $($tt)*); 59 (@proc $v:ident $span:ident #(#$id:ident)* $($tt:tt)*) => { 65 quote_spanned!(@proc $v $span $($tt)*); 67 (@proc $v:ident $span:ident ( $($inner:tt)* ) $($tt:tt)*) => { 69 quote_spanned!(@proc tokens $span $($inner)*); 74 quote_spanned!(@proc $v $span $($tt)*); 76 (@proc $v:ident $span:ident [ $($inner:tt)* ] $($tt:tt)*) => { [all …]
|
/linux-6.12.1/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.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/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/tools/testing/selftests/livepatch/ |
D | test-livepatch.sh | 15 # - load a livepatch that modifies the output from /proc/cmdline and 23 if [[ "$(cat /proc/cmdline)" != "$MOD_LIVEPATCH1: this has been live patched" ]] ; then 31 if [[ "$(cat /proc/cmdline)" == "$MOD_LIVEPATCH1: this has been live patched" ]] ; then 50 # - load a livepatch that modifies the output from /proc/cmdline and 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 [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 …]
|
/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/mm/ |
D | run_vmtests.sh | 139 # get huge pagesize and freepages from /proc/meminfo 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) [all …]
|
/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() 132 * @proc: array of acpi_subtable_proc struct containing entry id 134 * @proc_num: how big proc is? 137 * For each proc_num find a subtable with proc->id and run proc->handler 146 * On success returns sum of all matching entries for all proc handlers. 153 struct acpi_subtable_proc *proc, in acpi_parse_entries_array() argument [all …]
|
/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/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-6.12.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-6.12.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-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 …]
|