Home
last modified time | relevance | path

Searched refs:proc (Results 1 – 200 of 582) sorted by relevance

123

/linux-4.1.27/fs/proc/
DMakefile5 obj-y += proc.o
7 proc-y := nommu.o task_nommu.o
8 proc-$(CONFIG_MMU) := task_mmu.o
10 proc-y += inode.o root.o base.o generic.o array.o \
12 proc-$(CONFIG_TTY) += proc_tty.o
13 proc-y += cmdline.o
14 proc-y += consoles.o
15 proc-y += cpuinfo.o
16 proc-y += devices.o
17 proc-y += interrupts.o
[all …]
DKconfig2 bool "/proc file system support" if EXPERT
11 It's totally cool; for example, "cat /proc/interrupts" gives
17 information about your system gathered from the /proc file system.
19 Before you can use the /proc file system, it has to be mounted,
21 That location should be /proc. A command such as "mount -t proc proc
22 /proc" or the equivalent line in /etc/fstab does the job.
24 The /proc file system is explained in the file
25 <file:Documentation/filesystems/proc.txt> and on the proc(5) manpage
26 ("man 5 proc").
32 bool "/proc/kcore support" if !ARM
[all …]
/linux-4.1.27/drivers/android/
Dbinder.c79 BINDER_DEBUG_ENTRY(proc);
233 struct binder_proc *proc; member
264 struct binder_proc *proc; member
341 struct binder_proc *proc; member
375 binder_defer_work(struct binder_proc *proc, enum binder_deferred_state defer);
377 static int task_get_unused_fd_flags(struct binder_proc *proc, int flags) in task_get_unused_fd_flags() argument
379 struct files_struct *files = proc->files; in task_get_unused_fd_flags()
386 if (!lock_task_sighand(proc->tsk, &irqs)) in task_get_unused_fd_flags()
389 rlim_cur = task_rlimit(proc->tsk, RLIMIT_NOFILE); in task_get_unused_fd_flags()
390 unlock_task_sighand(proc->tsk, &irqs); in task_get_unused_fd_flags()
[all …]
Dbinder_trace.h271 TP_PROTO(struct binder_proc *proc, bool allocate,
273 TP_ARGS(proc, allocate, start, end),
275 __field(int, proc)
281 __entry->proc = proc->pid;
283 __entry->offset = start - proc->buffer;
287 __entry->proc, __entry->allocate,
/linux-4.1.27/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 …]
Dlock.h59 int dlm_user_purge(struct dlm_ls *ls, struct dlm_user_proc *proc,
62 void dlm_clear_proc_locks(struct dlm_ls *ls, struct dlm_user_proc *proc);
Dlock.c5826 spin_lock(&ua->proc->locks_spin); in dlm_user_request()
5828 list_add_tail(&lkb->lkb_ownqueue, &ua->proc->locks); in dlm_user_request()
5829 spin_unlock(&ua->proc->locks_spin); in dlm_user_request()
5939 ua->proc = ua_tmp->proc; in dlm_user_adopt_orphan()
5953 spin_lock(&ua->proc->locks_spin); in dlm_user_adopt_orphan()
5954 list_add_tail(&lkb->lkb_ownqueue, &ua->proc->locks); in dlm_user_adopt_orphan()
5955 spin_unlock(&ua->proc->locks_spin); in dlm_user_adopt_orphan()
5997 spin_lock(&ua->proc->locks_spin); in dlm_user_unlock()
6000 list_move(&lkb->lkb_ownqueue, &ua->proc->unlocking); in dlm_user_unlock()
6001 spin_unlock(&ua->proc->locks_spin); in dlm_user_unlock()
[all …]
/linux-4.1.27/arch/arm/mm/
DMakefile16 obj-$(CONFIG_MODULES) += proc-syms.o
69 obj-$(CONFIG_CPU_ARM7TDMI) += proc-arm7tdmi.o
70 obj-$(CONFIG_CPU_ARM720T) += proc-arm720.o
71 obj-$(CONFIG_CPU_ARM740T) += proc-arm740.o
72 obj-$(CONFIG_CPU_ARM9TDMI) += proc-arm9tdmi.o
73 obj-$(CONFIG_CPU_ARM920T) += proc-arm920.o
74 obj-$(CONFIG_CPU_ARM922T) += proc-arm922.o
75 obj-$(CONFIG_CPU_ARM925T) += proc-arm925.o
76 obj-$(CONFIG_CPU_ARM926T) += proc-arm926.o
77 obj-$(CONFIG_CPU_ARM940T) += proc-arm940.o
[all …]
Dproc-arm9tdmi.S61 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
Dproc-arm7tdmi.S61 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
Dproc-arm720.S173 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
Dcache-nop.S50 @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
Dproc-arm740.S124 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
Dcache-v4.S149 @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
Dproc-sa110.S191 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
Dproc-arm940.S273 @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
336 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
Dproc-fa526.S182 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
Dproc-arm922.S327 @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
418 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
Dproc-arm1020e.S358 @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
455 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
Dproc-arm1026.S343 @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
434 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
Dproc-arm1022.S349 @ define struct cpu_cache_fns (see <asm/cacheflush.h> and proc-macros.S)
440 @ define struct processor (see <asm/proc-fns.h> and proc-macros.S)
/linux-4.1.27/tools/testing/selftests/vm/
Drun_vmtests17 done < /proc/meminfo
21 nr_hugepgs=`cat /proc/sys/vm/nr_hugepages`
25 echo $(( $lackpgs + $nr_hugepgs )) > /proc/sys/vm/nr_hugepages
50 shmmax=`cat /proc/sys/kernel/shmmax`
51 shmall=`cat /proc/sys/kernel/shmall`
52 echo 268435456 > /proc/sys/kernel/shmmax
53 echo 4194304 > /proc/sys/kernel/shmall
64 echo $shmmax > /proc/sys/kernel/shmmax
65 echo $shmall > /proc/sys/kernel/shmall
92 echo $nr_hugepgs > /proc/sys/vm/nr_hugepages
/linux-4.1.27/drivers/firmware/efi/
Dcper.c140 const struct cper_sec_proc_generic *proc) in cper_print_proc_generic() argument
142 if (proc->validation_bits & CPER_PROC_VALID_TYPE) in cper_print_proc_generic()
143 printk("%s""processor_type: %d, %s\n", pfx, proc->proc_type, in cper_print_proc_generic()
144 proc->proc_type < ARRAY_SIZE(proc_type_strs) ? in cper_print_proc_generic()
145 proc_type_strs[proc->proc_type] : "unknown"); in cper_print_proc_generic()
146 if (proc->validation_bits & CPER_PROC_VALID_ISA) in cper_print_proc_generic()
147 printk("%s""processor_isa: %d, %s\n", pfx, proc->proc_isa, in cper_print_proc_generic()
148 proc->proc_isa < ARRAY_SIZE(proc_isa_strs) ? in cper_print_proc_generic()
149 proc_isa_strs[proc->proc_isa] : "unknown"); in cper_print_proc_generic()
150 if (proc->validation_bits & CPER_PROC_VALID_ERROR_TYPE) { in cper_print_proc_generic()
[all …]
/linux-4.1.27/Documentation/sysctl/
D00-INDEX4 - general information about /proc/sys/ sysctl files.
6 - documentation for /proc/sys/abi/*.
8 - documentation for /proc/sys/fs/*.
10 - documentation for /proc/sys/kernel/*.
12 - documentation for /proc/sys/net/*.
14 - documentation for /proc/sys/sunrpc/*.
16 - documentation for /proc/sys/vm/*.
Dnet.txt1 Documentation for /proc/sys/net/*
12 /proc/sys/net
15 /proc/sys/net. The following table shows all possible subdirectories. You may
19 Table : Subdirectories in /proc/sys/net
32 1. /proc/sys/net/core - Network core options
161 myhost:~# cat /proc/sys/net/core/netdev_rss_key
166 /proc/sys/net/core/netdev_rss_key contains 52 bytes of key,
191 2. /proc/sys/net/unix - Parameters for Unix domain sockets
199 3. /proc/sys/net/ipv4 - IPV4 settings
208 The /proc/sys/net/appletalk directory holds the Appletalk configuration data
[all …]
Dfs.txt1 Documentation for /proc/sys/fs/* kernel version 2.2.10
10 /proc/sys/fs/ and is valid for Linux kernel version 2.2.
18 1. /proc/sys/fs
21 Currently, these files are in /proc/sys/fs:
246 2. /proc/sys/fs/binfmt_misc
249 Documentation for the files in /proc/sys/fs/binfmt_misc is
253 3. /proc/sys/fs/mqueue - POSIX message queues filesystem
264 /proc/sys/fs/mqueue/queues_max is a read/write file for setting/getting the
267 /proc/sys/fs/mqueue/msg_max is a read/write file for setting/getting the
272 /proc/sys/fs/mqueue/msgsize_max is a read/write file for setting/getting the
[all …]
Dabi.txt1 Documentation for /proc/sys/abi/* kernel version 2.6.0.test2
10 personality is defined using values available from /proc/sys/abi.
DREADME1 Documentation for /proc/sys/ kernel version 2.2.10
43 at run-time, and the /proc/sys/ directory is there so that you
52 As a quick 'ls /proc/sys' will show, the directory consists of
68 proc/ <empty>
Dsunrpc.txt1 Documentation for /proc/sys/sunrpc/* kernel version 2.2.10
9 /proc/sys/sunrpc and is valid for Linux kernel version 2.2.
/linux-4.1.27/drivers/staging/unisys/Documentation/
Dproc-entries.txt2 This document describes the proc entries created by the Unisys s-Par modules.
7 /proc/uislib/info: This entry contains debugging information for the
10 /proc/visorchipset/controlvm: This directory contains debugging
13 /proc/uislib/platform: This entry is used to display the platform
17 /proc/visorchipset/chipsetready: This entry is written to by scripts
25 /proc/uislib/vbus: this is a directory containing entries for each
29 /proc/uislib/cycles_before_wait: This entry is used to tune
34 /proc/uislib/smart_wakeup: This entry is used to tune performance, by
37 /proc/virthba/info: This entry contains debugging information for the
40 /proc/virthba/enable_ints: This entry controls interrupt use by the
[all …]
/linux-4.1.27/samples/pktgen/
Dpktgen.conf-2-223 PGDEV=/proc/net/pktgen/kpktgend_0
29 PGDEV=/proc/net/pktgen/kpktgend_1
48 PGDEV=/proc/net/pktgen/eth1
57 PGDEV=/proc/net/pktgen/eth2
67 PGDEV=/proc/net/pktgen/pgctrl
73 cat /proc/net/pktgen/eth1 /proc/net/pktgen/eth2
Dpktgen.conf-1-223 PGDEV=/proc/net/pktgen/kpktgend_0
44 PGDEV=/proc/net/pktgen/eth1
53 PGDEV=/proc/net/pktgen/eth2
63 PGDEV=/proc/net/pktgen/pgctrl
69 cat /proc/net/pktgen/eth1 /proc/net/pktgen/eth2
Dpktgen.conf-2-124 PGDEV=/proc/net/pktgen/kpktgend_0
33 PGDEV=/proc/net/pktgen/kpktgend_1
49 PGDEV=/proc/net/pktgen/eth1
60 PGDEV=/proc/net/pktgen/pgctrl
66 cat /proc/net/pktgen/eth1
Dpktgen.conf-1-123 PGDEV=/proc/net/pktgen/kpktgend_0
42 PGDEV=/proc/net/pktgen/eth1
53 PGDEV=/proc/net/pktgen/pgctrl
59 cat /proc/net/pktgen/eth1
Dpktgen.conf-1-1-ip624 PGDEV=/proc/net/pktgen/kpktgend_0
43 PGDEV=/proc/net/pktgen/eth1
54 PGDEV=/proc/net/pktgen/pgctrl
60 cat /proc/net/pktgen/eth1
Dpktgen.conf-1-1-ip6-rdos24 PGDEV=/proc/net/pktgen/kpktgend_0
45 PGDEV=/proc/net/pktgen/eth1
57 PGDEV=/proc/net/pktgen/pgctrl
63 cat /proc/net/pktgen/eth1
Dpktgen.conf-1-1-rdos23 PGDEV=/proc/net/pktgen/kpktgend_0
44 PGDEV=/proc/net/pktgen/eth1
58 PGDEV=/proc/net/pktgen/pgctrl
64 cat /proc/net/pktgen/eth1
Dpktgen.conf-1-1-flows23 PGDEV=/proc/net/pktgen/kpktgend_0
43 PGDEV=/proc/net/pktgen/eth1
61 PGDEV=/proc/net/pktgen/pgctrl
67 cat /proc/net/pktgen/eth1
/linux-4.1.27/Documentation/s390/
DCommonIO20 An ignored device can be un-ignored later; see the "/proc entries"-section for
44 /proc entries
47 * /proc/cio_ignore
51 You can un-ignore certain or all devices by piping to /proc/cio_ignore.
57 - echo free 0.0.0030-0.0.0032 > /proc/cio_ignore
60 - echo free 0.0.0041 > /proc/cio_ignore will furthermore un-ignore device
62 - echo free all > /proc/cio_ignore will un-ignore all remaining ignored
70 /proc/cio_ignore; "add <device range>, <device range>, ..." will ignore the
79 "echo add 0.0.a000-0.0.accc, 0.0.af00-0.0.afff > /proc/cio_ignore"
84 "echo purge > /proc/cio_ignore"
[all …]
Dzfcpdump.txt29 Since kernel version 3.12 also the /proc/vmcore file can also be used to access
44 reads from /proc/vmcore or zcore/mem and writes the system dump to a SCSI disk.
/linux-4.1.27/Documentation/x86/
Dmtrr.txt27 The CONFIG_MTRR option creates a /proc/mtrr file which may be used
34 There are two interfaces to /proc/mtrr: one is an ASCII interface
43 % cat /proc/mtrr
48 # echo "base=0xf8000000 size=0x400000 type=write-combining" >! /proc/mtrr
50 # echo "base=0xf8000000 size=0x400000 type=write-combining" >| /proc/mtrr
53 % cat /proc/mtrr
76 in other words the X server will manipulate /proc/mtrr using the
82 %echo "base=0xfb000000 size=0x1000000 type=write-combining" >/proc/mtrr
83 %echo "base=0xfb000000 size=0x1000 type=uncachable" >/proc/mtrr
85 And the results: cat /proc/mtrr
[all …]
Dpat.txt52 pci proc | -- | -- | UC- |
55 pci proc | -- | -- | WC |
113 For ioremap and pci access through /sys or /proc - The actual type returned
121 Over time writes to /proc/mtrr will be deprecated in favor of using PAT based
122 interfaces. Users writing to /proc/mtrr are suggested to use above interfaces.
/linux-4.1.27/arch/mips/include/asm/sn/sn0/
Dip27.h42 #define KL_GET_CPUNUM(proc) \ argument
43 dli proc, LOCAL_HUB(0); \
44 ld proc, PI_CPU_NUM(proc)
/linux-4.1.27/Documentation/timers/
Dtimer_stats.txt26 timer_stats adds an entry to /proc: /proc/timer_stats
34 # echo 1 >/proc/timer_stats
37 # echo 0 >/proc/timer_stats
40 # cat /proc/timer_stats
42 While sampling is enabled, each readout from /proc/timer_stats will see
46 Sample output of /proc/timer_stats:
70 Added flag to indicate 'deferrable timer' in /proc/timer_stats. A deferrable
/linux-4.1.27/tools/testing/selftests/ftrace/test.d/ftrace/
Dfgraph-filter-stack.tc19 if [ -e /proc/sys/kernel/stack_tracer_enabled ]; then
20 echo 0 > /proc/sys/kernel/stack_tracer_enabled
54 echo 1 > /proc/sys/kernel/stack_tracer_enabled
73 echo 0 > /proc/sys/kernel/stack_tracer_enabled
/linux-4.1.27/Documentation/filesystems/
Dproc.txt2 T H E /proc F I L E S Y S T E M
4 /proc/sys Terrehon Bowden <terrehon@pacbell.net> October 7 1999
8 move /proc/sys Shen Feng <shen@cn.fujitsu.com> April 1 2009
25 1.3 IDE devices in /proc/ide
26 1.4 Networking info in /proc/net
28 1.6 Parallel port info in /proc/parport
29 1.7 TTY info in /proc/tty
30 1.8 Miscellaneous kernel statistics in /proc/stat
36 3.1 /proc/<pid>/oom_adj & /proc/<pid>/oom_score_adj - Adjust the oom-killer
38 3.2 /proc/<pid>/oom_score - Display current oom-killer score
[all …]
Dafs.txt82 echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 >/proc/fs/afs/cells
104 Additional cells can be added through /proc (see later section).
135 The AFS modules creates a "/proc/fs/afs/" directory and populates it:
140 [root@andromeda ~]# cat /proc/fs/afs/cells
147 [root@andromeda ~]# cat /proc/fs/afs/cambridge.redhat.com/servers
150 [root@andromeda ~]# cat /proc/fs/afs/cambridge.redhat.com/vlservers
153 [root@andromeda ~]# cat /proc/fs/afs/cambridge.redhat.com/volumes
170 echo add CELLNAME VLADDR[:VLADDR][:VLADDR]... >/proc/fs/afs/cells
171 echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 >/proc/fs/afs/cells
195 by cat'ing /proc/keys:
[all …]
/linux-4.1.27/drivers/isdn/hisax/
Dl3_1tr6.c745 struct l3_process *proc; in up1tr6() local
792 if (!(proc = getl3proc(st, cr))) { in up1tr6()
795 if (!(proc = new_l3_process(st, cr))) { in up1tr6()
814 if (!(proc = new_l3_process(st, cr))) { in up1tr6()
826 ((1 << proc->state) & datastln1[i].state)) in up1tr6()
833 proc->state, mt); in up1tr6()
840 proc->state, mt); in up1tr6()
842 datastln1[i].rout(proc, pr, skb); in up1tr6()
851 struct l3_process *proc; in down1tr6() local
861 if (!(proc = new_l3_process(st, cr))) { in down1tr6()
[all …]
Dl3ni1.c86 { struct l3_process *proc; in ni1_new_l3_process() local
88 if (!(proc = new_l3_process(st, cr))) in ni1_new_l3_process()
91 proc->prot.ni1.invoke_id = 0; in ni1_new_l3_process()
92 proc->prot.ni1.remote_operation = 0; in ni1_new_l3_process()
93 proc->prot.ni1.uus1_data[0] = '\0'; in ni1_new_l3_process()
95 return (proc); in ni1_new_l3_process()
113 { struct l3_process *pc = st->l3.proc; /* start of processes */ in l3ni1_search_dummy_proc()
144 ic.parm.ni1_io.proc = pc->prot.ni1.proc; in l3ni1_dummy_return_result()
177 ic.parm.ni1_io.proc = pc->prot.ni1.proc; in l3ni1_dummy_error_return()
211 ic.parm.ni1_io.proc = ident; in l3ni1_dummy_invoke()
[all …]
Dl3dss1.c87 { struct l3_process *proc; in dss1_new_l3_process() local
89 if (!(proc = new_l3_process(st, cr))) in dss1_new_l3_process()
92 proc->prot.dss1.invoke_id = 0; in dss1_new_l3_process()
93 proc->prot.dss1.remote_operation = 0; in dss1_new_l3_process()
94 proc->prot.dss1.uus1_data[0] = '\0'; in dss1_new_l3_process()
96 return (proc); in dss1_new_l3_process()
114 { struct l3_process *pc = st->l3.proc; /* start of processes */ in l3dss1_search_dummy_proc()
145 ic.parm.dss1_io.proc = pc->prot.dss1.proc; in l3dss1_dummy_return_result()
178 ic.parm.dss1_io.proc = pc->prot.dss1.proc; in l3dss1_dummy_error_return()
212 ic.parm.dss1_io.proc = ident; in l3dss1_dummy_invoke()
[all …]
Disdnl3.c238 struct l3_process *p = st->l3.proc; in getl3proc()
257 if (!st->l3.proc) in new_l3_process()
258 st->l3.proc = p; in new_l3_process()
260 np = st->l3.proc; in new_l3_process()
283 np = p->st->l3.proc; in release_l3_process()
289 else if (!(p->st->l3.proc = np->next) && in release_l3_process()
318 struct l3_process *p = st->l3.proc; in l3ml3p()
334 st->l3.proc = NULL; in setstack_l3dc()
389 while (st->l3.proc) in releasestack_isdnl3()
390 release_l3_process(st->l3.proc); in releasestack_isdnl3()
[all …]
Dcallc.c189 if (!chanp->proc) in lli_deliver_cause()
191 if (chanp->proc->para.cause == NO_CAUSE) in lli_deliver_cause()
197 sprintf(ic.parm.num, "E%02X%02X", chanp->proc->para.loc & 0x7f, in lli_deliver_cause()
198 chanp->proc->para.cause & 0x7f); in lli_deliver_cause()
200 sprintf(ic.parm.num, "%02X%02X", chanp->proc->para.loc & 0x7f, in lli_deliver_cause()
201 chanp->proc->para.cause & 0x7f); in lli_deliver_cause()
353 memcpy(&ic.parm.setup, &chanp->proc->para.setup, sizeof(setup_parm)); in lli_deliver_call()
362 chanp->d_st->lli.l4l3(chanp->d_st, CC_ALERTING | REQUEST, chanp->proc); in lli_deliver_call()
368 chanp->d_st->lli.l4l3(chanp->d_st, CC_PROCEED_SEND | REQUEST, chanp->proc); in lli_deliver_call()
371 chanp->d_st->lli.l4l3(chanp->d_st, CC_REDIR | REQUEST, chanp->proc); in lli_deliver_call()
[all …]
Dl3dss1.h113 int proc; /* rememered procedure */ member
Dl3ni1.h125 int proc; /* rememered procedure */ member
/linux-4.1.27/Documentation/sound/alsa/
DOSS-Emulation.txt32 /proc/asound/oss/sndstat. This shows in the same syntax of
34 On ALSA, you can symlink /dev/sndstat to this proc file.
36 Please note that the devices listed in this proc file appear only
120 writing a command to the proc file. There is a proc file for each PCM
121 stream, /proc/asound/cardX/pcmY[cp]/oss, where X is the card number
123 playback and 'c' for capture, respectively. Note that this proc file
154 % echo "quake 0 0 direct" > /proc/asound/card0/pcm0p/oss
159 % echo "quake 0 0 disable" > /proc/asound/card0/pcm0c/oss
161 The permission of proc files depend on the module options of snd.
183 You can check the currently defined configuration by reading the proc
[all …]
DProcfile.txt8 ALSA has its own proc tree, /proc/asound. Many useful information are
59 The card-specific files are found in /proc/asound/card* directories.
60 Some drivers (e.g. cmipci) have their own proc entries for the
61 register dump, etc (e.g. /proc/asound/card*/cmipci shows the register
98 # echo 5 > /proc/asound/card0/pcm0p/xrun_debug
138 written to this proc file. Used for fault injection.
155 # echo 02 9f1f > /proc/asound/card0/codec97#0/ac97#0-0+regs
214 - the name of the driver/card, show in /proc/asound/cards
224 - AC97 proc files, codec97#*/* files
/linux-4.1.27/drivers/ide/
Dide-proc.c653 ide_add_proc_entries(drive->proc, driver->proc_entries(drive), drive); in ide_proc_register_driver()
671 ide_remove_proc_entries(drive->proc, driver->proc_entries(drive)); in ide_proc_unregister_driver()
686 struct proc_dir_entry *parent = hwif->proc; in ide_proc_port_register_devices()
695 drive->proc = proc_mkdir(drive->name, parent); in ide_proc_port_register_devices()
696 if (drive->proc) in ide_proc_port_register_devices()
697 ide_add_proc_entries(drive->proc, generic_drive_entries, drive); in ide_proc_port_register_devices()
706 if (drive->proc) { in ide_proc_unregister_device()
707 ide_remove_proc_entries(drive->proc, generic_drive_entries); in ide_proc_unregister_device()
709 remove_proc_entry(drive->name, drive->hwif->proc); in ide_proc_unregister_device()
710 drive->proc = NULL; in ide_proc_unregister_device()
[all …]
/linux-4.1.27/Documentation/acpi/apei/
Doutput_format.txt32 [processor_type: <integer>, <proc type string>]
33 [processor_isa: <integer>, <proc isa string>]
35 <proc error type strings>]
36 [operation: <integer>, <proc operation string>]
38 <proc flags strings>]
47 <proc type string>* := IA32/X64 | IA64
49 <proc isa string>* := IA32 | IA64 | X64
54 <proc operation string>* := unknown or generic | data read | data write | \
57 <proc flags strings># :=
/linux-4.1.27/Documentation/laptops/
Dlaptop-mode.txt80 Laptop mode is controlled by the knob /proc/sys/vm/laptop_mode. This knob is
93 /proc/sys/vm to about 10 minutes (by default), which means that pages that are
103 gather information by setting the flag /proc/sys/vm/block_dump. When this flag
168 the /proc/sys/vm/dirty_ratio sysctl.
174 this nice and low. This corresponds to the /proc/sys/vm/dirty_background_ratio
427 if [ ! -e /proc/sys/vm/laptop_mode ] ; then
432 if [ ! -w /proc/sys/vm/laptop_mode ] ; then
553 if [ -d /proc/sys/vm/pagebuf ] ; then
557 echo $XFS_AGE > /proc/sys/vm/pagebuf/lm_flush_age
558 echo $XFS_AGE > /proc/sys/fs/xfs/lm_sync_interval
[all …]
Dthinkpad-acpi.txt82 The procfs interface creates the /proc/acpi/ibm directory. There is a
130 procfs: /proc/acpi/ibm/driver
171 procfs: /proc/acpi/ibm/hotkey
221 The following commands can be written to the /proc/acpi/ibm/hotkey file:
223 echo 0xffffffff > /proc/acpi/ibm/hotkey -- enable all hot keys
224 echo 0 > /proc/acpi/ibm/hotkey -- disable all possible hot keys
226 echo reset > /proc/acpi/ibm/hotkey -- restore the recommended mask
231 echo enable > /proc/acpi/ibm/hotkey -- does nothing
232 echo disable > /proc/acpi/ibm/hotkey -- returns an error
577 procfs: /proc/acpi/ibm/bluetooth
[all …]
/linux-4.1.27/Documentation/isdn/
DREADME.avmb176 /proc-Interface
79 /proc/capi:
92 /proc/capi/applications:
102 /proc/capi/applstats:
111 /proc/capi/capi20: statistics of capi.o (/dev/capi20)
124 /proc/capi/capidrv: statistics of capidrv.o (capi messages)
133 /proc/capi/controller:
140 /proc/capi/contrstats:
151 /proc/capi/driver:
159 /proc/capi/ncci:
[all …]
DREADME.hysdn32 3. Entries in the /proc filesystem
34 4. The /proc/net/hysdn/cardconfX file
36 5. The /proc/net/hysdn/cardlogX file
66 If a loaded driver shall be unloaded all open files in the /proc/net/hysdn
78 3. Entries in the /proc filesystem
81 /proc/net tree. This directory contains exactly 2 file entries for each
86 4. The /proc/net/hysdn/cardconfX file
140 5. The /proc/net/hysdn/cardlogX file
155 echo "0x34560078" > /proc/net/hysdn/cardlog0
171 0x00100000 Log all open and close actions to /proc/net/hysdn/card files
[all …]
DREADME.diversion67 logged as ASCII via the proc filesystem (/proc/net/isdn/divert). If proceed
105 "cat /proc/modules" or "ls /proc/net/isdn/divert". The divert file is
112 You also may put a "cat /proc/net/isdn/divert" in the background with the
114 The divert file in the proc system may be opened more than once, so in
121 To unload the module all open files to the device in the proc system must
/linux-4.1.27/Documentation/
DIRQ-affinity.txt7 /proc/irq/IRQ#/smp_affinity and /proc/irq/IRQ#/smp_affinity_list specify
13 /proc/irq/default_smp_affinity specifies default affinity mask that applies
21 [root@moon 44]# cd /proc/irq/44
34 [root@moon 44]# cat /proc/interrupts | grep 'CPU\|44:'
51 [root@moon 44]# cat /proc/interrupts | 'CPU\|44:'
Dcpu-load.txt4 Linux exports various bits of information via `/proc/stat' and
5 `/proc/uptime' that userland tools, such as top(1), use to calculate
20 In most cases the `/proc/stat' information reflects the reality quite
46 `/proc/stat' (since the timer interrupt will always happen when the
51 will lead to quite erratic information inside `/proc/stat'.
107 Documentation/filesystems/proc.txt (1.8)
Diostats.txt11 /proc/partitions. In 2.6, the same information is found in two
12 places: one is in the file /proc/diskstats, and the other is within
16 Both /proc/diskstats and sysfs use the same source for the information
34 On 2.4 you might execute "grep 'hda ' /proc/partitions". On 2.6, you have
35 a choice of "cat /sys/block/hda/stat" or "grep 'hda ' /proc/diskstats".
37 if you are watching a known, small set of disks. /proc/diskstats may
46 /proc/diskstats, the eleven fields will be preceded by the major and
159 In 2.6, all disk statistics were removed from /proc/stat. In 2.4, they
160 appear in both /proc/partitions and /proc/stat, although the ones in
161 /proc/stat take a very different format from those in /proc/partitions
[all …]
Dbinfmt_misc.txt15 mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
19 upon your needs) and echo it to /proc/sys/fs/binfmt_misc/register.
22 - 'name' is an identifier string. A new /proc file will be created with this
23 name below /proc/sys/fs/binfmt_misc; cannot contain slashes '/' for obvious
78 "mount -t binfmt_misc none /proc/sys/fs/binfmt_misc" command, or you can add
79 a line "none /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0" to your
89 A few examples (assumed you are in /proc/sys/fs/binfmt_misc):
105 or 1 (to enable) to /proc/sys/fs/binfmt_misc/status or /proc/.../the_name.
108 You can remove one entry or all entries by echoing -1 to /proc/.../the_name
109 or /proc/sys/fs/binfmt_misc/status.
Disapnp.txt4 Interface /proc/isapnp
9 Interface /proc/bus/isapnp
Dmono.txt37 if [ ! -e /proc/sys/fs/binfmt_misc/register ]; then
45 mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
49 if [ -e /proc/sys/fs/binfmt_misc/register ]; then
53 echo ':CLR:M::MZ::/usr/bin/mono:' > /proc/sys/fs/binfmt_misc/register
Dsysrq.txt13 /proc/sys/kernel/sysrq controls the functions allowed to be invoked via
16 to 1. Here is the list of possible values in /proc/sys/kernel/sysrq:
31 echo "number" >/proc/sys/kernel/sysrq
37 Note that the value of /proc/sys/kernel/sysrq influences only the invocation
38 via a keyboard. Invocation of any operation via /proc/sysrq-trigger is always
62 On all - write a character to /proc/sysrq-trigger. e.g.:
64 echo t > /proc/sysrq-trigger
233 via the dmesg command and to the consumers of /proc/kmsg. As a specific
240 echo 8 > /proc/sysrq-trigger
Dparport.txt67 The probe information is available from files in /proc/sys/dev/parport/.
86 Files in /proc
89 If you have configured the /proc filesystem into your kernel, you will
90 see a new directory entry: /proc/sys/dev/parport. In there will be a
95 The /proc/sys/dev/parport directory tree looks like:
Dinitrd.txt326 If /proc is mounted, the "real" root device can be changed from within
328 file /proc/sys/kernel/real-root-dev, e.g.
330 # echo 0x301 >/proc/sys/kernel/real-root-dev
348 mount -n -t proc proc /proc
349 echo 0x0100 >/proc/sys/kernel/real-root-dev
350 umount -n /proc
/linux-4.1.27/drivers/net/wireless/hostap/
Dhostap_proc.c449 local->proc = NULL; in hostap_init_proc()
457 local->proc = proc_mkdir(local->ddev->name, hostap_proc); in hostap_init_proc()
458 if (local->proc == NULL) { in hostap_init_proc()
465 proc_create_data("debug", 0, local->proc, in hostap_init_proc()
468 proc_create_data("stats", 0, local->proc, in hostap_init_proc()
470 proc_create_data("wds", 0, local->proc, in hostap_init_proc()
472 proc_create_data("pda", 0, local->proc, in hostap_init_proc()
474 proc_create_data("aux_dump", 0, local->proc, in hostap_init_proc()
477 proc_create_data("bss_list", 0, local->proc, in hostap_init_proc()
479 proc_create_data("crypt", 0, local->proc, in hostap_init_proc()
[all …]
Dhostap_ap.h43 struct proc_dir_entry *proc; member
184 struct proc_dir_entry *proc; member
/linux-4.1.27/Documentation/zh_CN/arm64/
Dlegacy_instructions.txt32 模拟模式可通过写 sysctl 节点(/proc/sys/abi)来控制。
57 节点: /proc/sys/abi/swp
62 节点: /proc/sys/abi/cp15_barrier
67 节点: /proc/sys/abi/setend
/linux-4.1.27/arch/um/kernel/skas/
Dmmu.c17 static int init_stub_pte(struct mm_struct *mm, unsigned long proc, in init_stub_pte() argument
25 pgd = pgd_offset(mm, proc); in init_stub_pte()
26 pud = pud_alloc(mm, pgd, proc); in init_stub_pte()
30 pmd = pmd_alloc(mm, pud, proc); in init_stub_pte()
34 pte = pte_alloc_map(mm, NULL, pmd, proc); in init_stub_pte()
Dprocess.c40 init_task.thread.request.u.thread.proc = start_kernel_proc; in start_uml()
/linux-4.1.27/tools/testing/selftests/rcutorture/doc/
Dinitrd.txt29 [ -d /proc ] || mkdir /proc
33 mount -t proc -o nodev,noexec,nosuid proc /proc
35 ln -sf /proc/mounts /etc/mtab
Drcu-test-image.txt26 proc /proc proc defaults 0 0
/linux-4.1.27/Documentation/vm/
Dpagemap.txt6 reading files in /proc.
10 * /proc/pid/pagemap. This file lets a userspace process find out which
13 fs/proc/task_mmu.c, above pagemap_read):
30 Efficient users of this interface will use /proc/pid/maps to
34 * /proc/kpagecount. This file contains a 64-bit count of the number of
37 * /proc/kpageflags. This file contains a 64-bit set of flags for each
40 The flags are (from fs/proc/page.c, above kpageflags_read):
142 1. Read /proc/pid/maps to determine which parts of the memory space are
146 3. Open /proc/pid/pagemap and seek to the pages you would like to examine.
148 5. Open /proc/kpagecount and/or /proc/kpageflags. For each PFN you just
Dhugetlbpage.txt21 The /proc/meminfo file provides information about the total number of
28 The output of "cat /proc/meminfo" will include lines like:
47 the pool above the value in /proc/sys/vm/nr_hugepages. The
49 /proc/sys/vm/nr_overcommit_hugepages.
51 /proc/filesystems should also show a filesystem of type "hugetlbfs" configured
54 /proc/sys/vm/nr_hugepages indicates the current number of "persistent" huge
80 When multiple huge page sizes are supported, /proc/sys/vm/nr_hugepages
85 echo 20 > /proc/sys/vm/nr_hugepages
115 /proc/sys/vm/nr_overcommit_hugepages specifies how large the pool of
116 huge pages can grow, if more huge pages than /proc/sys/vm/nr_hugepages are
[all …]
Dsoft-dirty.txt8 This is done by writing "4" into the /proc/PID/clear_refs file of the
15 This is done by reading from the /proc/PID/pagemap. The bit 55 of the
Dovercommit-accounting33 /proc/meminfo as CommitLimit and Committed_AS respectively.
72 o We report the commit status in /proc
/linux-4.1.27/Documentation/networking/
Dproc_net_tcp.txt1 This document describes the interfaces /proc/net/tcp and /proc/net/tcp6.
4 These /proc interfaces provide information about currently active TCP
9 TCP connections. A typical entry of /proc/net/tcp would look like this (split
Ddecnet.txt57 interface then you won't see any entries in /proc/net/neigh for the local
73 using /proc/sys/net/decnet/conf/<dev>/forwarding. This file can be
77 also be set through the /proc/sys/net/decnet/ files, as can other system
83 /proc/net/decnet_dev). There is a utility available at the above
97 The default device for routing can be set through the /proc filesystem
98 by setting /proc/sys/net/decnet/default_device to the
102 echo -n "eth0" >/proc/sys/net/decnet/default_device
108 There is a list of what the other files under /proc/sys/net/decnet/ do
113 This is either done through the sysctl/proc interface (see the kernel web
138 - Is the node address set (see /proc/sys/net/decnet/node_address)
[all …]
Dip_dynaddr.txt21 # echo 1 > /proc/sys/net/ipv4/ip_dynaddr
23 # echo 2 > /proc/sys/net/ipv4/ip_dynaddr
25 # echo 0 > /proc/sys/net/ipv4/ip_dynaddr
Dpktgen.txt9 Monitoring and controlling is done via /proc. It is easiest to select a
20 /proc/net/pktgen/pgctrl
21 /proc/net/pktgen/kpktgend_X
22 /proc/net/pktgen/ethX
55 /proc/net/pktgen/kpktgend_0
72 /proc/net/pktgen/eth1
95 This is done via the /proc interface, and most easily done via pgset
217 also assign /proc/irq/XX/smp_affinity so that the TX interrupts are bound
Dxfrm_proc.txt1 XFRM proc - /proc/net/xfrm_* files
Dxfrm_sysctl.txt1 /proc/sys/net/core/xfrm_* Variables:
D3c509.txt135 Check /proc/interrupts for excessive interrupt counts. The timer tick
140 receives packets (as reported by /proc/net/dev or 'ifconfig') you likely
141 have an interrupt line problem. Check /proc/interrupts to verify that the
149 Tx Carrier Errors Reported in /proc/net/dev
151 field in /proc/net/dev increments as quickly as the Tx packet count, you
Dmpls-sysctl.txt1 /proc/sys/net/mpls/* Variables:
/linux-4.1.27/Documentation/blockdev/
DREADME.DAC960285 special files created in the /proc/rd/... hierarchy along with the normal
289 controller is always available for controller N in /proc/rd/cN/initial_status,
291 /proc/rd/cN/current_status. In addition, status changes are also logged by the
294 is also available in /proc/rd/cN/current_status, and progress messages are
298 available in /proc/rd/cN/initial_status and /proc/rd/cN/current_status has been
337 /proc/rd/status returns "OK" when all DAC960 controllers in the system are
342 /proc/rd/cN/user_command. A human readable command can be written to this
347 echo "<configuration-command>" > /proc/rd/c0/user_command
348 cat /proc/rd/c0/user_command
423 gwynedd:/u/lnz# cat /proc/rd/c0/current_status
[all …]
Dcciss.txt103 also be directed to dynamically engage the SCSI core via the /proc filesystem
105 /proc/driver/cciss/cciss* at runtime. This is best done via a script.
109 for x in /proc/driver/cciss/cciss[0-9]*
126 have been made. This may be done via the /proc filesystem.
129 echo "rescan" > /proc/scsi/cciss0/1
139 Note that the naming convention of the /proc filesystem entries
/linux-4.1.27/fs/lockd/
Dclntproc.c249 nlmclnt_call(struct rpc_cred *cred, struct nlm_rqst *req, u32 proc) in nlmclnt_call() argument
263 (int)proc, host->h_name); in nlmclnt_call()
272 msg.rpc_proc = &clnt->cl_procinfo[proc]; in nlmclnt_call()
327 static struct rpc_task *__nlm_async_call(struct nlm_rqst *req, u32 proc, struct rpc_message *msg, c… in __nlm_async_call() argument
339 (int)proc, host->h_name); in __nlm_async_call()
345 msg->rpc_proc = &clnt->cl_procinfo[proc]; in __nlm_async_call()
355 static int nlm_do_async_call(struct nlm_rqst *req, u32 proc, struct rpc_message *msg, const struct … in nlm_do_async_call() argument
359 task = __nlm_async_call(req, proc, msg, tk_ops); in nlm_do_async_call()
369 int nlm_async_call(struct nlm_rqst *req, u32 proc, const struct rpc_call_ops *tk_ops) in nlm_async_call() argument
375 return nlm_do_async_call(req, proc, &msg, tk_ops); in nlm_async_call()
[all …]
Dsvc.c530 static inline int is_callback(u32 proc) in is_callback() argument
532 return proc == NLMPROC_GRANTED in is_callback()
533 || proc == NLMPROC_GRANTED_MSG in is_callback()
534 || proc == NLMPROC_TEST_RES in is_callback()
535 || proc == NLMPROC_LOCK_RES in is_callback()
536 || proc == NLMPROC_CANCEL_RES in is_callback()
537 || proc == NLMPROC_UNLOCK_RES in is_callback()
538 || proc == NLMPROC_NSM_NOTIFY; in is_callback()
Dclntxdr.c564 #define PROC(proc, argtype, restype) \ argument
565 [NLMPROC_##proc] = { \
566 .p_proc = NLMPROC_##proc, \
571 .p_statidx = NLMPROC_##proc, \
572 .p_name = #proc, \
Dclnt4xdr.c566 #define PROC(proc, argtype, restype) \ argument
567 [NLMPROC_##proc] = { \
568 .p_proc = NLMPROC_##proc, \
573 .p_statidx = NLMPROC_##proc, \
574 .p_name = #proc, \
Dmon.c42 u32 proc; member
142 static int nsm_mon_unmon(struct nsm_handle *nsm, u32 proc, struct nsm_res *res, in nsm_mon_unmon() argument
150 .proc = NLMPROC_NSM_NOTIFY, in nsm_mon_unmon()
161 msg.rpc_proc = &clnt->cl_procinfo[proc]; in nsm_mon_unmon()
503 *p = cpu_to_be32(argp->proc); in encode_my_id()
/linux-4.1.27/scripts/
Dver_linux63 sed -n -e '/^.*\/libc-\([^/]*\)\.so$/{s//\1/;p;q}' < /proc/self/maps
95 if [ -e /proc/modules ]; then
96 X=`cat /proc/modules | sed -e "s/ .*$//"`
/linux-4.1.27/drivers/pnp/pnpbios/
DKconfig26 bool "Plug and Play BIOS /proc interface"
29 If you say Y here and to "/proc file system support", you will be
35 in the PNPBIOS /proc interface (e.g. "boot" configs).
38 PNPBIOS /proc interface tools (lspnp and setpnp).
DMakefile8 pnp-$(CONFIG_PNPBIOS_PROC_FS) += proc.o
/linux-4.1.27/drivers/net/bonding/
DMakefile9 proc-$(CONFIG_PROC_FS) += bond_procfs.o
10 bonding-objs += $(proc-y)
/linux-4.1.27/Documentation/frv/
Dclock.txt6 extra files will appear in the directory /proc/sys/pm/. Reading these files
30 The current state and the available masks can be found in /proc/cpuinfo. For
33 # cat /proc/cpuinfo
56 The PM-Controls line, if present, will indicate which /proc/sys/pm files can
59 /proc/sys/pm/suspend.
Dfeatures.txt250 the /proc/sys/frv/cache-mode file while the kernel is running. There are
260 # cat /proc/sys/frv/cache-mode
265 # echo wback >/proc/sys/frv/cache-mode
266 # cat /proc/sys/frv/cache-mode
282 The context ID currently in use by a task can be viewed in /proc:
284 # grep CXNR /proc/1/status
294 # echo 17 >/proc/sys/frv/pin-cxnr
298 # cat /proc/sys/frv/pin-cxnr
305 # echo 0 >/proc/sys/frv/pin-cxnr
309 # cat /proc/sys/frv/pin-cxnr
/linux-4.1.27/sound/pci/ac97/
Dac97_proc.c435 if (ac97->bus->proc == NULL) in snd_ac97_proc_init()
439 if ((entry = snd_info_create_card_entry(ac97->bus->card, name, ac97->bus->proc)) != NULL) { in snd_ac97_proc_init()
446 ac97->proc = entry; in snd_ac97_proc_init()
448 if ((entry = snd_info_create_card_entry(ac97->bus->card, name, ac97->bus->proc)) != NULL) { in snd_ac97_proc_init()
466 snd_info_free_entry(ac97->proc); in snd_ac97_proc_done()
467 ac97->proc = NULL; in snd_ac97_proc_done()
483 bus->proc = entry; in snd_ac97_bus_proc_init()
488 snd_info_free_entry(bus->proc); in snd_ac97_bus_proc_done()
489 bus->proc = NULL; in snd_ac97_bus_proc_done()
/linux-4.1.27/Documentation/ABI/obsolete/
Dproc-sys-vm-nr_pdflush_threads1 What: /proc/sys/vm/nr_pdflush_threads
5 exported in /proc/sys/vm/ should be removed.
/linux-4.1.27/arch/unicore32/mm/
DMakefile10 obj-$(CONFIG_MODULES) += proc-syms.o
14 obj-$(CONFIG_CPU_UCV2) += cache-ucv2.o tlb-ucv2.o proc-ucv2.o
/linux-4.1.27/Documentation/arm64/
Dlegacy_instructions.txt8 (/proc/sys/abi). The following explains the different execution
41 Node: /proc/sys/abi/swp
46 Node: /proc/sys/abi/cp15_barrier
51 Node: /proc/sys/abi/setend
/linux-4.1.27/Documentation/ia64/
DIRQ-redir.txt6 By writing to /proc/irq/IRQ#/smp_affinity the interrupt routing can be
23 echo "8" >/proc/irq/41/smp_affinity
27 echo "r 40" >/proc/irq/41/smp_affinity
30 cat /proc/irq/IRQ#/smp_affinity
57 cat /proc/interrupts
Dxen.txt59 # mkdir /mnt/{root,proc,sys,home,tmp}
69 none /proc proc defaults 0 0
/linux-4.1.27/Documentation/power/
Dswsusp-dmcrypt.txt59 none /proc proc defaults,noatime,nodiratime 0 0
71 mount /proc
74 noresume=`grep -c noresume /proc/cmdline`
83 if [ -f /proc/ide/hde/media ]
109 umount /proc
112 mount /proc
114 umount /proc
Dswsusp.txt96 There are three different interfaces you can use, /proc/acpi should
100 echo 1 > /proc/acpi/sleep # for standby
101 echo 2 > /proc/acpi/sleep # for suspend to ram
102 echo 3 > /proc/acpi/sleep # for suspend to ram, but with more power conservative
103 echo 4 > /proc/acpi/sleep # for suspend to disk
104 echo 5 > /proc/acpi/sleep # for shutdown unfriendly the system
107 echo 4b > /proc/acpi/sleep # for suspend to disk via s4bios
223 cat /proc/[0-9]*/maps | grep / | sed 's:.* /:/:' | sort -u | while read file
357 read LOGLEVEL DUMMY < /proc/sys/kernel/printk
361 echo 5 > /proc/sys/kernel/printk
[all …]
/linux-4.1.27/Documentation/usb/
Dproc_usb_info.txt1 /proc/bus/usb filesystem output
7 /proc/bus/usb. It provides the /proc/bus/usb/devices file, as well as
8 the /proc/bus/usb/BBB/DDD files.
16 **NOTE**: If /proc/bus/usb appears empty, and a host controller
20 mount -t usbfs none /proc/bus/usb
24 none /proc/bus/usb usbfs defaults 0 0
27 You can then issue `cat /proc/bus/usb/devices` to extract
44 THE /proc/bus/usb/BBB/DDD FILES:
63 in text form by the /proc/bus/usb/devices file, described later.
66 devices. You would open the /proc/bus/usb/BBB/DDD file read/write,
[all …]
/linux-4.1.27/Documentation/scsi/
Dtmscsim.txt7 4. Configuration via /proc/scsi/tmscsim/?
122 * Information via cat /proc/scsi/tmscsim/?
123 * Dynamically configurable by writing to /proc/scsi/tmscsim/?
129 (Try: echo "scsi add-single-device C B T U" >/proc/scsi/scsi
135 4. Configuration via /proc/scsi/tmscsim/?
137 First of all look at the output of /proc/scsi/tmscsim/? by typing
138 cat /proc/scsi/tmscsim/?
145 garloff@kurt:/home/garloff > cat /proc/scsi/tmscsim/0
189 /proc/scsi/tmscsim/?. Basically you have to imitate the output of driver.
199 echo "MaxLUN=8 seltimeout 200" >/proc/scsi/tmscsim/0
[all …]
/linux-4.1.27/tools/power/cpupower/utils/helpers/
Dcpuid.c49 unsigned int proc, x; in get_cpu_info() local
71 sscanf(value, "processor\t: %u", &proc); in get_cpu_info()
73 if (proc != cpu) in get_cpu_info()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-firmware-ofw15 path directly, but instead should follow /proc/device-tree
19 The /proc/device-tree symlink replaces the devicetree /proc
Dprocfs-diskstats1 What: /proc/diskstats
5 The /proc/diskstats file displays the I/O statistics
Dsysfs-kernel-vmcoreinfo12 space as part of ELF note in /proc/vmcore file. This note
/linux-4.1.27/tools/testing/fault-injection/
Dfailcmd.sh34 set /proc/sys/vm/oom_kill_allocating_task to specified value
114 oom_kill_allocating_task_saved=`cat /proc/sys/vm/oom_kill_allocating_task`
120 > /proc/sys/vm/oom_kill_allocating_task
211 echo $oom_kill_allocating_task > /proc/sys/vm/oom_kill_allocating_task
/linux-4.1.27/tools/perf/util/
Dthread_map.c64 DIR *proc; in thread_map__new_by_uid() local
73 proc = opendir("/proc"); in thread_map__new_by_uid()
74 if (proc == NULL) in thread_map__new_by_uid()
79 while (!readdir_r(proc, &dirent, &next) && next) { in thread_map__new_by_uid()
128 closedir(proc); in thread_map__new_by_uid()
/linux-4.1.27/arch/mn10300/
DMakefile59 core-y += arch/mn10300/proc-$(PROCESSOR)/
87 $(Q)$(MAKE) $(clean)=arch/mn10300/proc-mn103e010
98 KBUILD_CPPFLAGS += -I$(srctree)/arch/mn10300/proc-$(PROCESSOR)/include
/linux-4.1.27/include/linux/
Dutsname.h65 extern void uts_proc_notify(enum uts_proc proc);
67 static inline void uts_proc_notify(enum uts_proc proc) in uts_proc_notify() argument
/linux-4.1.27/tools/power/cpupower/
D.gitignore12 lib/proc.lo
13 lib/proc.o
/linux-4.1.27/net/sunrpc/auth_gss/
Dgss_rpc_upcall.c55 #define PROC(proc, name) \ argument
56 [GSSX_##proc] = { \
57 .p_proc = GSSX_##proc, \
62 .p_statidx = GSSX_##proc, \
63 .p_name = #proc, \
/linux-4.1.27/arch/um/include/asm/
Dprocessor-generic.h37 int (*proc)(void *); member
41 void (*proc)(void *); member
/linux-4.1.27/Documentation/mn10300/
Dcompartmentalisation.txt15 (*) include/asm-mn10300/proc-mn103e010/
53 include/asm-mn10300/proc => include/asm-mn10300/proc-YYYY/
/linux-4.1.27/sound/synth/emux/
Demux_proc.c123 emu->proc = entry; in snd_emux_proc_init()
128 snd_info_free_entry(emu->proc); in snd_emux_proc_free()
129 emu->proc = NULL; in snd_emux_proc_free()
/linux-4.1.27/arch/ia64/include/asm/
Dasmmacro.h12 .proc name; \
17 .proc name; \
/linux-4.1.27/arch/parisc/kernel/
Dpacache.S45 .proc
198 .proc
265 .proc
360 .proc
430 .proc
590 .proc
748 .proc
834 .proc
910 .proc
988 .proc
[all …]
Dhead.S45 .proc
161 .proc
289 .proc
306 .proc
/linux-4.1.27/scripts/selinux/
Dinstall_policy.sh59 mounts=`cat /proc/$$/mounts | egrep "ext2|ext3|xfs|jfs|ext4|ext4dev|gfs2" | awk '{ print $2 '}`
63 dodev=`cat /proc/$$/mounts | grep "/dev "`
/linux-4.1.27/arch/um/kernel/
Dprocess.c123 fn = current->thread.request.u.thread.proc; in new_thread_handler()
173 p->thread.request.u.thread.proc = (int (*)(void *))sp; in copy_thread()
193 void initial_thread_cb(void (*proc)(void *), void *arg) in initial_thread_cb()
198 initial_thread_cb_skas(proc, arg); in initial_thread_cb()
/linux-4.1.27/net/sunrpc/
Dstats.c83 const struct svc_procedure *proc; in svc_seq_show() local
102 if (!(vers = prog->pg_vers[i]) || !(proc = vers->vs_proc)) in svc_seq_show()
105 for (j = 0; j < vers->vs_nproc; j++, proc++) in svc_seq_show()
106 seq_printf(seq, " %u", proc->pc_count); in svc_seq_show()
Drpcb_clnt.c623 …k *rpcb_call_async(struct rpc_clnt *rpcb_clnt, struct rpcbind_args *map, struct rpc_procinfo *proc) in rpcb_call_async() argument
626 .rpc_proc = proc, in rpcb_call_async()
674 struct rpc_procinfo *proc; in rpcb_getport_async() local
721 proc = rpcb_next_version[xprt->bind_index].rpc_proc; in rpcb_getport_async()
725 proc = rpcb_next_version6[xprt->bind_index].rpc_proc; in rpcb_getport_async()
734 if (proc == NULL) { in rpcb_getport_async()
784 child = rpcb_call_async(rpcb_clnt, map, proc); in rpcb_getport_async()
/linux-4.1.27/fs/fscache/
DKconfig19 /proc/fs/fscache/stats
36 /proc/fs/fscache/histogram
61 retrieved through /proc/fs/fscache/objects for debugging purposes
DMakefile15 fscache-$(CONFIG_PROC_FS) += proc.o
/linux-4.1.27/arch/parisc/lib/
Dlusercopy.S71 .proc
104 .proc
/linux-4.1.27/Documentation/locking/
Dlockstat.txt72 # echo 1 >/proc/sys/kernel/lock_stat
76 # echo 0 >/proc/sys/kernel/lock_stat
83 # less /proc/lock_stat
169 # grep : /proc/lock_stat | head
183 # echo 0 > /proc/lock_stat
/linux-4.1.27/fs/nfsd/
Dnfssvc.c653 struct svc_procedure *proc; in nfsd_dispatch() local
660 proc = rqstp->rq_procinfo; in nfsd_dispatch()
666 rqstp->rq_cachetype = proc->pc_cachetype; in nfsd_dispatch()
668 xdr = proc->pc_decode; in nfsd_dispatch()
694 nfserr = proc->pc_func(rqstp, rqstp->rq_argp, rqstp->rq_resp); in nfsd_dispatch()
709 xdr = proc->pc_encode; in nfsd_dispatch()
/linux-4.1.27/Documentation/fb/
Dviafb.txt201 [Configure viafb via /proc]
203 The following files exist in /proc/viafb
213 # cat /proc/viafb/supported_output_devices
223 # cat /proc/viafb/iga1/output_devices
239 # echo +CRT > /proc/viafb/iga1/output_devices
242 # echo -DVP1,LVDS1 > /proc/viafb/iga2/output_devices
245 # echo CRT > /proc/viafb/iga1/output_devices
/linux-4.1.27/kernel/
Dutsname_sysctl.c124 void uts_proc_notify(enum uts_proc proc) in uts_proc_notify() argument
126 struct ctl_table *table = &uts_kern_table[proc]; in uts_proc_notify()
/linux-4.1.27/
DREPORTING-BUGS112 [4.1.] Kernel version (from /proc/version):
121 [8.2.] Processor information (from /proc/cpuinfo):
122 [8.3.] Module information (from /proc/modules):
123 [8.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)
125 [8.6.] SCSI information (from /proc/scsi/scsi)
127 (please look in /proc and include all information that you
/linux-4.1.27/arch/arm/boot/dts/
Dstih418-clock.dtsi172 "clk-proc-stfe",
182 "clk-proc-bdisp-0",
183 "clk-proc-bdisp-1",
207 "clk-proc-mixer",
208 "clk-proc-sc",
/linux-4.1.27/arch/mn10300/proc-mn103e010/
DMakefile4 obj-y := proc-init.o
/linux-4.1.27/arch/mn10300/proc-mn2ws0050/
DMakefile5 obj-y := proc-init.o
/linux-4.1.27/drivers/isdn/divert/
Disdn_divert.c112 u_char proc, char *msn, in cf_command() argument
122 if ((proc & 0x7F) > 2) return (-EINVAL); in cf_command()
123 proc &= 3; in cf_command()
129 *p++ = proc & 0x7F; /* procedure to de/activate/interrogate */ in cf_command()
167 cs->ics.parm.dss1_io.proc = (mode == 1) ? 7 : (mode == 2) ? 11 : 8; /* operation */ in cf_command()
184 proc, in cf_command()
705 switch (cs->ics.parm.dss1_io.proc) { in prot_stat_callback()
720 printk(KERN_WARNING "dss1_divert: unknown proc %d\n", cs->ics.parm.dss1_io.proc); in prot_stat_callback()
/linux-4.1.27/drivers/nubus/
DMakefile7 obj-$(CONFIG_PROC_FS) += proc.o
/linux-4.1.27/drivers/rtc/
Drtc-proc.c104 if (ops->proc) in rtc_proc_show()
105 ops->proc(rtc->dev.parent, seq); in rtc_proc_show()
/linux-4.1.27/arch/ia64/scripts/
Dcheck-text-align.S1 .proc foo
/linux-4.1.27/drivers/pnp/isapnp/
DMakefile7 pnp-$(CONFIG_PROC_FS) += proc.o
/linux-4.1.27/arch/um/os-Linux/
Dhelper.c113 int run_helper_thread(int (*proc)(void *), void *arg, unsigned int flags, in run_helper_thread()
124 pid = clone(proc, (void *) sp, flags, arg); in run_helper_thread()
/linux-4.1.27/tools/testing/selftests/rcutorture/bin/
Dcpus2use.sh25 ncpus=`grep '^processor' /proc/cpuinfo | wc -l`
/linux-4.1.27/arch/s390/kvm/
Dkvm-s390.c540 struct kvm_s390_vm_cpu_processor *proc; in kvm_s390_set_processor() local
548 proc = kzalloc(sizeof(*proc), GFP_KERNEL); in kvm_s390_set_processor()
549 if (!proc) { in kvm_s390_set_processor()
553 if (!copy_from_user(proc, (void __user *)attr->addr, in kvm_s390_set_processor()
554 sizeof(*proc))) { in kvm_s390_set_processor()
555 memcpy(&kvm->arch.model.cpu_id, &proc->cpuid, in kvm_s390_set_processor()
557 kvm->arch.model.ibc = proc->ibc; in kvm_s390_set_processor()
558 memcpy(kvm->arch.model.fac->list, proc->fac_list, in kvm_s390_set_processor()
562 kfree(proc); in kvm_s390_set_processor()
582 struct kvm_s390_vm_cpu_processor *proc; in kvm_s390_get_processor() local
[all …]
/linux-4.1.27/arch/ia64/kernel/
Dmca_drv.h75 #define peidx_check_info(proc, name, n) \ argument
77 sal_log_mod_error_info_t *__info = peidx_mod_error_info(proc, name, n);\
/linux-4.1.27/tools/testing/selftests/ftrace/
Dftracetest90 DEBUGFS_DIR=`grep debugfs /proc/mounts | cut -f2 -d' ' | head -1`
226 (cd $TRACING_DIR; read PID _ < /proc/self/stat ; set -e; set -x; . $1)
/linux-4.1.27/arch/arm/include/asm/
Dprocinfo.h39 struct processor *proc; member
/linux-4.1.27/fs/cachefiles/
DMakefile16 cachefiles-$(CONFIG_CACHEFILES_HISTOGRAM) += proc.o
/linux-4.1.27/sound/firewire/dice/
DMakefile1 snd-dice-objs := dice-transaction.o dice-stream.o dice-proc.o dice-midi.o \
/linux-4.1.27/drivers/staging/unisys/
DMAINTAINERS5 F: Documentation/s-Par/proc-entries.txt
DTODO3 -move /proc entries to /sys
/linux-4.1.27/sound/firewire/oxfw/
DMakefile2 oxfw-proc.o oxfw-midi.o oxfw-hwdep.o oxfw.o
/linux-4.1.27/Documentation/devicetree/bindings/clock/st/
Dst,flexgen.txt91 "clk-proc-stfe",
92 "clk-proc-tp",
/linux-4.1.27/net/can/
DMakefile6 can-y := af_can.o proc.o
/linux-4.1.27/tools/testing/selftests/mount/
DMakefile12 override RUN_TESTS := if [ -f /proc/self/uid_map ] ; then ./unprivileged-remount-test ; fi
/linux-4.1.27/tools/nfsd/
Dinject_fault.sh8 DEBUGFS=`cat /proc/mounts | grep debugfs`
/linux-4.1.27/arch/arm64/mm/
DMakefile4 context.o proc.o pageattr.o
/linux-4.1.27/arch/mips/lasat/
DKconfig6 tristate "PICVUE LCD display driver /proc interface"
/linux-4.1.27/Documentation/devicetree/bindings/watchdog/
Datmel-wdt.txt22 - atmel,reset-type : Should be "proc" or "all".
24 "proc" : assert the processor reset signal
/linux-4.1.27/drivers/staging/comedi/
DMakefile5 comedi-$(CONFIG_PROC_FS) += proc.o
/linux-4.1.27/arch/sh/kernel/cpu/
DMakefile21 obj-y += irq/ init.o clock.o fpu.o pfc.o proc.o
/linux-4.1.27/security/keys/
DMakefile19 obj-$(CONFIG_PROC_FS) += proc.o
/linux-4.1.27/kernel/irq/
DMakefile6 obj-$(CONFIG_PROC_FS) += proc.o
/linux-4.1.27/drivers/zorro/
DMakefile6 obj-$(CONFIG_PROC_FS) += proc.o
DKconfig9 names to make the information in /proc/iomem comprehensible to the
/linux-4.1.27/arch/um/drivers/
Dnet_kern.c750 void (*proc)(unsigned char *, unsigned char *, void *); in uml_inetaddr_event() local
758 proc = NULL; in uml_inetaddr_event()
761 proc = lp->add_address; in uml_inetaddr_event()
764 proc = lp->delete_address; in uml_inetaddr_event()
767 if (proc != NULL) { in uml_inetaddr_event()
770 (*proc)(addr_buf, netmask_buf, &lp->user); in uml_inetaddr_event()
/linux-4.1.27/Documentation/powerpc/
Dfirmware-assisted-dump.txt15 - Unlike phyp dump, fadump exports the memory dump through /proc/vmcore
19 interface while reading /proc/vmcore.
76 -- User-space tools will read /proc/vmcore to obtain the contents
143 Used by second /proc/vmcore
147 Currently the dump will be copied from /proc/vmcore to a
149 /proc/vmcore will be in ELF format. Hence the existing kdump
254 correct data before it gets exported through /proc/vmcore. The current
/linux-4.1.27/drivers/isdn/gigaset/
DMakefile1 gigaset-y := common.o interface.o proc.o ev-layer.o asyncdata.o
/linux-4.1.27/fs/afs/
DMakefile20 proc.o \
/linux-4.1.27/net/atm/
DMakefile11 atm-$(CONFIG_PROC_FS) += proc.o
/linux-4.1.27/arch/arm/kernel/
Dvmlinux.lds.S18 *(.proc.info.init) \
185 .init.proc.info : {
/linux-4.1.27/kernel/sched/
DMakefile14 obj-y += core.o proc.o clock.o cputime.o
/linux-4.1.27/tools/perf/
DMakefile27 …JOBS := $(shell (getconf _NPROCESSORS_ONLN || egrep -c '^processor|^CPU[0-9]' /proc/cpuinfo) 2>/de…
/linux-4.1.27/net/rxrpc/
DMakefile23 af-rxrpc-$(CONFIG_PROC_FS) += ar-proc.o
/linux-4.1.27/drivers/acpi/
DKconfig64 bool "Deprecated power /proc/acpi directories"
68 deprecated power /proc/acpi/ directories to exist, even when
71 /proc/acpi/battery/* (/sys/class/power_supply/*)
72 /proc/acpi/ac_adapter/* (sys/class/power_supply/*)
73 This option has no effect on /proc/acpi/ directories
75 This option, together with the proc directories, will be
78 Say N to delete power /proc/acpi/ directories that have moved to /sys/
118 /proc/acpi/battery. If you have a mobile system with a battery,
/linux-4.1.27/net/sctp/
DMakefile18 sctp-$(CONFIG_PROC_FS) += proc.o
/linux-4.1.27/sound/usb/
DMakefile14 proc.o \
/linux-4.1.27/drivers/staging/i2o/
DREADME20 /proc interface, bug fixes
29 /proc interface to LAN class
DKconfig111 tristate "I2O /proc support"
113 If you say Y here and to "/proc file system support", you will be
115 /proc/i2o.
/linux-4.1.27/arch/powerpc/platforms/
DKconfig238 on-die temperature in /proc/cpuinfo if the cpu supports it.
242 temp is actually what /proc/cpuinfo says it is.
266 bound in /proc/cpuinfo. If the range is large, the temperature is
271 /proc/cpuinfo.
314 minor numbers are available in /proc/devices, /proc/partitions or
/linux-4.1.27/Documentation/arm/
Dmem_alignment27 /proc/cpu/alignment. The number is made up from various bits:
51 echo 1 > /proc/sys/debug/alignment
/linux-4.1.27/arch/um/include/shared/
Dkern_util.h36 extern void initial_thread_cb(void (*proc)(void *), void *arg);
/linux-4.1.27/drivers/block/
Dcpqarray.h100 struct proc_dir_entry *proc; member
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-devices-node57 utilization. Similar to /proc/meminfo, see Documentation/filesystems/proc.txt
/linux-4.1.27/arch/sparc/
DKconfig247 enabled via /proc/<pid>/seccomp, it cannot be disabled
367 by reading /proc/led and its blinking mode can be changed
368 via writes to /proc/led
509 tristate "Openprom tree appears in /proc/openprom"
512 virtual file system, which you can mount to /proc/openprom by "mount
513 -t openpromfs none /proc/openprom".
515 To compile the /proc/openprom support as a module, choose M here: the
/linux-4.1.27/net/ipv4/netfilter/
Dnf_conntrack_l3proto_ipv4_compat.c424 struct proc_dir_entry *proc, *proc_exp, *proc_stat; in ip_conntrack_net_init() local
426 proc = proc_create("ip_conntrack", 0440, net->proc_net, &ct_file_ops); in ip_conntrack_net_init()
427 if (!proc) in ip_conntrack_net_init()
/linux-4.1.27/net/wireless/
DMakefile8 obj-$(CONFIG_WEXT_PROC) += wext-proc.o
/linux-4.1.27/Documentation/scheduler/
Dsched-rt-group.txt87 The system wide settings are configured under the /proc virtual file system:
89 /proc/sys/kernel/sched_rt_period_us:
92 /proc/sys/kernel/sched_rt_runtime_us:
115 period from /proc/sys/kernel/sched_rt_period_us and a run time of 0. If you
/linux-4.1.27/Documentation/ide/
DChangeLog.ide-tape.1995-2002181 * via /proc/ide/hdc/settings
183 * can be changed using /proc/ide/hdx/settings
197 * 1) output "logical_blk_num" via /proc
198 * 2) output "current_operation" via /proc
230 * to /proc/ide/hd?/settings.
255 * Set the minimum /proc/ide/hd?/settings values for "pipeline",
/linux-4.1.27/arch/m68k/lib/
Dmulsi3.S86 .proc
/linux-4.1.27/Documentation/DocBook/
D.filesystems.xml.cmd2 …le.c fs/filesystems.c fs/fs-writeback.c fs/block_dev.c kernel/sysctl.c fs/proc/base.c fs/eventfd.c…

123