Lines Matching refs:proc
27 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
98 % echo "disable=2" >! /proc/mtrr
100 % echo "disable=2" >| /proc/mtrr
130 This program will use an ioctl() on /proc/mtrr to show the current MTRR
131 settings. This is an alternative to reading /proc/mtrr.
160 if ( ( fd = open ("/proc/mtrr", O_RDONLY, 0) ) == -1 )
164 fputs ("/proc/mtrr not found: not supported or you don't have a PPro?\n",
168 fprintf (stderr, "Error opening /proc/mtrr\t%s\n", ERRSTRING);
216 This programme will use an ioctl() on /proc/mtrr to add an entry. The first
217 available mtrr is used. This is an alternative to writing /proc/mtrr.
264 if ( ( fd = open ("/proc/mtrr", O_WRONLY, 0) ) == -1 )
268 fputs ("/proc/mtrr not found: not supported or you don't have a PPro?\n",
272 fprintf (stderr, "Error opening /proc/mtrr\t%s\n", ERRSTRING);
283 fputs ("I've just closed /proc/mtrr so now the new entry should be gone\n",