Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
linux-headers-4.4.0-119 /
include /
linux /
Delete
Unzip
Name
Size
Permission
Date
Action
amba
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
bcma
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
byteorder
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
can
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
ceph
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
clk
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
crush
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
decompress
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
dma
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
extcon
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
fpga
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
fsl
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
gpio
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
hsi
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
i2c
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
iio
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
input
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
irqchip
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
isdn
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
lockd
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
mfd
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
mlx4
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
mlx5
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
mmc
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
mtd
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
netfilter
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
netfilter_arp
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
netfilter_bridge
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
netfilter_ipv4
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
netfilter_ipv6
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
perf
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
phy
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
pinctrl
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
platform_data
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
power
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
qed
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
raid
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
regulator
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
reset
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
rtc
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
sched
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
soc
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
spi
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
ssb
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
sunrpc
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
ulpi
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
unaligned
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
usb
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
uwb
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
wimax
[ DIR ]
drwxr-xr-x
2018-04-05 07:11
8250_pci.h
999
B
-rw-r--r--
2016-01-11 00:01
a.out.h
315
B
-rw-r--r--
2016-01-11 00:01
acct.h
2.51
KB
-rw-r--r--
2016-01-11 00:01
acpi.h
28.37
KB
-rw-r--r--
2018-04-02 18:07
acpi_dma.h
3.22
KB
-rw-r--r--
2016-01-11 00:01
acpi_pmtmr.h
635
B
-rw-r--r--
2016-01-11 00:01
adb.h
1.75
KB
-rw-r--r--
2016-01-11 00:01
adfs_fs.h
535
B
-rw-r--r--
2016-01-11 00:01
aer.h
1.66
KB
-rw-r--r--
2016-01-11 00:01
agp_backend.h
3.45
KB
-rw-r--r--
2016-01-11 00:01
agpgart.h
3.82
KB
-rw-r--r--
2016-01-11 00:01
ahci_platform.h
1.49
KB
-rw-r--r--
2016-01-11 00:01
aio.h
879
B
-rw-r--r--
2016-01-11 00:01
alarmtimer.h
1.64
KB
-rw-r--r--
2016-01-11 00:01
altera_jtaguart.h
340
B
-rw-r--r--
2016-01-11 00:01
altera_uart.h
358
B
-rw-r--r--
2016-01-11 00:01
amd-iommu.h
5.93
KB
-rw-r--r--
2016-01-11 00:01
amifd.h
1.95
KB
-rw-r--r--
2016-01-11 00:01
amifdreg.h
2.61
KB
-rw-r--r--
2016-01-11 00:01
amigaffs.h
2.86
KB
-rw-r--r--
2016-01-11 00:01
anon_inodes.h
455
B
-rw-r--r--
2016-01-11 00:01
apm-emulation.h
1.54
KB
-rw-r--r--
2016-01-11 00:01
apm_bios.h
2.68
KB
-rw-r--r--
2016-01-11 00:01
apple_bl.h
459
B
-rw-r--r--
2016-01-11 00:01
arm-cci.h
2.01
KB
-rw-r--r--
2016-01-11 00:01
asn1.h
1.99
KB
-rw-r--r--
2016-01-11 00:01
asn1_ber_bytecode.h
2.72
KB
-rw-r--r--
2016-01-11 00:01
asn1_decoder.h
675
B
-rw-r--r--
2016-01-11 00:01
assoc_array.h
3.07
KB
-rw-r--r--
2016-01-11 00:01
assoc_array_priv.h
5.49
KB
-rw-r--r--
2016-01-11 00:01
async.h
1.65
KB
-rw-r--r--
2016-01-11 00:01
async_tx.h
6.76
KB
-rw-r--r--
2016-01-11 00:01
ata.h
29.47
KB
-rw-r--r--
2018-04-02 18:07
ata_platform.h
690
B
-rw-r--r--
2016-01-11 00:01
atalk.h
4.28
KB
-rw-r--r--
2016-01-11 00:01
ath9k_platform.h
1.36
KB
-rw-r--r--
2016-01-11 00:01
atm.h
248
B
-rw-r--r--
2016-01-11 00:01
atm_suni.h
253
B
-rw-r--r--
2016-01-11 00:01
atm_tcp.h
472
B
-rw-r--r--
2016-01-11 00:01
atmdev.h
9.52
KB
-rw-r--r--
2016-01-11 00:01
atmel-mci.h
1.31
KB
-rw-r--r--
2016-01-11 00:01
atmel-ssc.h
9.68
KB
-rw-r--r--
2016-01-11 00:01
atmel_pdc.h
1.47
KB
-rw-r--r--
2016-01-11 00:01
atmel_serial.h
7.66
KB
-rw-r--r--
2016-01-11 00:01
atmel_tc.h
11.33
KB
-rw-r--r--
2016-01-11 00:01
atomic.h
14.97
KB
-rw-r--r--
2018-04-02 18:07
attribute_container.h
2.47
KB
-rw-r--r--
2016-01-11 00:01
audit.h
17
KB
-rw-r--r--
2018-04-02 18:07
auto_dev-ioctl.h
5.06
KB
-rw-r--r--
2016-01-11 00:01
auto_fs.h
657
B
-rw-r--r--
2016-01-11 00:01
auxvec.h
265
B
-rw-r--r--
2016-01-11 00:01
average.h
1.48
KB
-rw-r--r--
2016-01-11 00:01
b1pcmcia.h
666
B
-rw-r--r--
2016-01-11 00:01
backing-dev-defs.h
7.54
KB
-rw-r--r--
2018-04-02 18:07
backing-dev.h
14.04
KB
-rw-r--r--
2018-04-02 18:07
backlight.h
5.14
KB
-rw-r--r--
2016-01-11 00:01
balloon_compaction.h
6.91
KB
-rw-r--r--
2016-01-11 00:01
basic_mmio_gpio.h
2.23
KB
-rw-r--r--
2016-01-11 00:01
bcd.h
520
B
-rw-r--r--
2016-01-11 00:01
bch.h
2.6
KB
-rw-r--r--
2016-01-11 00:01
bcm47xx_nvram.h
1.19
KB
-rw-r--r--
2016-01-11 00:01
bcm47xx_wdt.h
617
B
-rw-r--r--
2016-01-11 00:01
bfin_mac.h
559
B
-rw-r--r--
2016-01-11 00:01
binfmts.h
3.96
KB
-rw-r--r--
2016-01-11 00:01
bio.h
21.4
KB
-rw-r--r--
2018-04-02 18:07
bit_spinlock.h
2.27
KB
-rw-r--r--
2016-01-11 00:01
bitmap.h
12.57
KB
-rw-r--r--
2018-04-02 18:07
bitops.h
5.97
KB
-rw-r--r--
2016-01-11 00:01
bitrev.h
1.96
KB
-rw-r--r--
2016-01-11 00:01
blk-cgroup.h
21.95
KB
-rw-r--r--
2016-01-11 00:01
blk-iopoll.h
1.13
KB
-rw-r--r--
2016-01-11 00:01
blk-mq.h
7.56
KB
-rw-r--r--
2018-04-02 18:07
blk_types.h
8.43
KB
-rw-r--r--
2016-01-11 00:01
blkdev.h
48.73
KB
-rw-r--r--
2018-04-02 18:07
blkpg.h
397
B
-rw-r--r--
2016-01-11 00:01
blktrace_api.h
3.31
KB
-rw-r--r--
2016-01-11 00:01
blockgroup_lock.h
1.14
KB
-rw-r--r--
2016-01-11 00:01
bma150.h
1.89
KB
-rw-r--r--
2016-01-11 00:01
bootmem.h
10.61
KB
-rw-r--r--
2016-01-11 00:01
bottom_half.h
764
B
-rw-r--r--
2016-01-11 00:01
bpf.h
6.96
KB
-rw-r--r--
2018-04-02 18:07
brcmphy.h
8.66
KB
-rw-r--r--
2016-01-11 00:01
bsearch.h
236
B
-rw-r--r--
2016-01-11 00:01
bsg-lib.h
1.98
KB
-rw-r--r--
2016-01-11 00:01
bsg.h
734
B
-rw-r--r--
2016-01-11 00:01
btree-128.h
2.63
KB
-rw-r--r--
2016-01-11 00:01
btree-type.h
3.86
KB
-rw-r--r--
2016-01-11 00:01
btree.h
6.8
KB
-rw-r--r--
2016-01-11 00:01
btrfs.h
106
B
-rw-r--r--
2016-01-11 00:01
buffer_head.h
12.73
KB
-rw-r--r--
2018-04-02 18:07
bug.h
3.56
KB
-rw-r--r--
2016-01-11 00:01
c2port.h
1.59
KB
-rw-r--r--
2016-01-11 00:01
cache.h
1.59
KB
-rw-r--r--
2016-01-11 00:01
cacheinfo.h
3.04
KB
-rw-r--r--
2018-04-02 18:07
capability.h
7.59
KB
-rw-r--r--
2018-04-02 18:07
cb710.h
5.69
KB
-rw-r--r--
2016-01-11 00:01
cciss_ioctl.h
1014
B
-rw-r--r--
2016-01-11 00:01
ccp.h
15.37
KB
-rw-r--r--
2016-01-11 00:01
cdev.h
579
B
-rw-r--r--
2016-01-11 00:01
cdrom.h
8.66
KB
-rw-r--r--
2016-01-11 00:01
cfag12864b.h
2.1
KB
-rw-r--r--
2016-01-11 00:01
cgroup-defs.h
16.01
KB
-rw-r--r--
2018-04-02 18:07
cgroup.h
20.48
KB
-rw-r--r--
2018-04-02 18:07
cgroup_subsys.h
1.39
KB
-rw-r--r--
2016-01-11 00:01
circ_buf.h
1.05
KB
-rw-r--r--
2016-01-11 00:01
cleancache.h
3.86
KB
-rw-r--r--
2016-01-11 00:01
clk-provider.h
27.54
KB
-rw-r--r--
2018-04-02 18:07
clk.h
13.74
KB
-rw-r--r--
2016-01-11 00:01
clkdev.h
1.32
KB
-rw-r--r--
2016-01-11 00:01
clksrc-dbx500-prcmu.h
455
B
-rw-r--r--
2016-01-11 00:01
clock_cooling.h
2.06
KB
-rw-r--r--
2016-01-11 00:01
clockchips.h
7.3
KB
-rw-r--r--
2016-01-11 00:01
clocksource.h
7.59
KB
-rw-r--r--
2016-01-11 00:01
cm4000_cs.h
160
B
-rw-r--r--
2016-01-11 00:01
cma.h
920
B
-rw-r--r--
2016-01-11 00:01
cmdline-parser.h
1.17
KB
-rw-r--r--
2016-01-11 00:01
cn_proc.h
1.85
KB
-rw-r--r--
2016-01-11 00:01
cnt32_to_63.h
3.6
KB
-rw-r--r--
2016-01-11 00:01
coda.h
2.19
KB
-rw-r--r--
2016-01-11 00:01
coda_psdev.h
2.62
KB
-rw-r--r--
2016-01-11 00:01
compaction.h
5.74
KB
-rw-r--r--
2018-04-02 18:07
compat.h
25.58
KB
-rw-r--r--
2016-01-11 00:01
compiler-clang.h
320
B
-rw-r--r--
2016-01-11 00:01
compiler-gcc.h
9.59
KB
-rw-r--r--
2018-04-02 18:07
compiler-intel.h
1.13
KB
-rw-r--r--
2016-01-11 00:01
compiler.h
15.76
KB
-rw-r--r--
2018-04-02 18:07
completion.h
3.47
KB
-rw-r--r--
2016-01-11 00:01
component.h
1.14
KB
-rw-r--r--
2016-01-11 00:01
concap.h
3.69
KB
-rw-r--r--
2016-01-11 00:01
configfs.h
6.88
KB
-rw-r--r--
2016-01-11 00:01
connector.h
2.43
KB
-rw-r--r--
2016-01-11 00:01
console.h
6.08
KB
-rw-r--r--
2018-04-02 18:07
console_struct.h
5.13
KB
-rw-r--r--
2016-01-11 00:01
consolemap.h
1
KB
-rw-r--r--
2016-01-11 00:01
container.h
668
B
-rw-r--r--
2016-01-11 00:01
context_tracking.h
3.15
KB
-rw-r--r--
2016-01-11 00:01
context_tracking_state.h
1.34
KB
-rw-r--r--
2016-01-11 00:01
cordic.h
1.75
KB
-rw-r--r--
2016-01-11 00:01
coredump.h
744
B
-rw-r--r--
2018-04-02 18:07
coresight.h
8.7
KB
-rw-r--r--
2016-01-11 00:01
count_zeros.h
1.62
KB
-rw-r--r--
2016-01-11 00:01
cper.h
12.57
KB
-rw-r--r--
2016-01-11 00:01
cpu.h
9.04
KB
-rw-r--r--
2018-04-02 18:07
cpu_cooling.h
3.88
KB
-rw-r--r--
2016-01-11 00:01
cpu_pm.h
2.78
KB
-rw-r--r--
2016-01-11 00:01
cpu_rmap.h
1.86
KB
-rw-r--r--
2016-01-11 00:01
cpufeature.h
1.84
KB
-rw-r--r--
2016-01-11 00:01
cpufreq-dt.h
569
B
-rw-r--r--
2016-01-11 00:01
cpufreq.h
19.34
KB
-rw-r--r--
2016-01-11 00:01
cpuidle.h
7.89
KB
-rw-r--r--
2016-01-11 00:01
cpumask.h
23.16
KB
-rw-r--r--
2018-04-02 18:07
cpuset.h
6.11
KB
-rw-r--r--
2018-04-02 18:07
cputime.h
334
B
-rw-r--r--
2016-01-11 00:01
crash_dump.h
2.82
KB
-rw-r--r--
2016-01-11 00:01
crc-ccitt.h
330
B
-rw-r--r--
2016-01-11 00:01
crc-itu-t.h
613
B
-rw-r--r--
2016-01-11 00:01
crc-t10dif.h
376
B
-rw-r--r--
2016-01-11 00:01
crc16.h
622
B
-rw-r--r--
2016-01-11 00:01
crc32.h
2.83
KB
-rw-r--r--
2016-01-11 00:01
crc32c.h
254
B
-rw-r--r--
2016-01-11 00:01
crc7.h
277
B
-rw-r--r--
2016-01-11 00:01
crc8.h
3.65
KB
-rw-r--r--
2016-01-11 00:01
cred.h
12.15
KB
-rw-r--r--
2018-04-02 18:07
crypto.h
62.56
KB
-rw-r--r--
2016-01-11 00:01
cryptohash.h
448
B
-rw-r--r--
2016-01-11 00:01
cs5535.h
6.28
KB
-rw-r--r--
2016-01-11 00:01
ctype.h
1.69
KB
-rw-r--r--
2016-01-11 00:01
cuda.h
462
B
-rw-r--r--
2016-01-11 00:01
cyclades.h
10.26
KB
-rw-r--r--
2016-01-11 00:01
davinci_emac.h
1.12
KB
-rw-r--r--
2016-01-11 00:01
dax.h
1.45
KB
-rw-r--r--
2016-01-11 00:01
dca.h
2.62
KB
-rw-r--r--
2016-01-11 00:01
dcache.h
18.84
KB
-rw-r--r--
2018-04-02 18:07
dccp.h
10.69
KB
-rw-r--r--
2018-04-02 18:07
dcookies.h
1.25
KB
-rw-r--r--
2016-01-11 00:01
debug_locks.h
1.48
KB
-rw-r--r--
2016-01-11 00:01
debugfs.h
8.5
KB
-rw-r--r--
2018-04-02 18:07
debugobjects.h
3.65
KB
-rw-r--r--
2016-01-11 00:01
delay.h
1.39
KB
-rw-r--r--
2016-01-11 00:01
delayacct.h
4
KB
-rw-r--r--
2016-01-11 00:01
dell-led.h
133
B
-rw-r--r--
2016-01-11 00:01
devcoredump.h
986
B
-rw-r--r--
2016-01-11 00:01
devfreq-event.h
5.64
KB
-rw-r--r--
2018-04-02 18:07
devfreq.h
10.5
KB
-rw-r--r--
2016-01-11 00:01
devfreq_cooling.h
2.54
KB
-rw-r--r--
2016-01-11 00:01
device-mapper.h
16.32
KB
-rw-r--r--
2018-04-02 18:07
device.h
46.96
KB
-rw-r--r--
2018-04-02 18:07
device_cgroup.h
597
B
-rw-r--r--
2016-01-11 00:01
devpts_fs.h
1.1
KB
-rw-r--r--
2018-04-02 18:07
digsig.h
1.35
KB
-rw-r--r--
2016-01-11 00:01
dio.h
10.93
KB
-rw-r--r--
2016-01-11 00:01
dirent.h
177
B
-rw-r--r--
2016-01-11 00:01
dlm.h
6.01
KB
-rw-r--r--
2016-01-11 00:01
dlm_plock.h
678
B
-rw-r--r--
2016-01-11 00:01
dm-dirty-log.h
3.94
KB
-rw-r--r--
2016-01-11 00:01
dm-io.h
1.91
KB
-rw-r--r--
2016-01-11 00:01
dm-kcopyd.h
2.85
KB
-rw-r--r--
2016-01-11 00:01
dm-region-hash.h
3.11
KB
-rw-r--r--
2016-01-11 00:01
dm9000.h
1.11
KB
-rw-r--r--
2016-01-11 00:01
dma-attrs.h
1.87
KB
-rw-r--r--
2018-04-02 18:07
dma-buf.h
8.85
KB
-rw-r--r--
2016-01-11 00:01
dma-contiguous.h
4.45
KB
-rw-r--r--
2016-01-11 00:01
dma-debug.h
5.09
KB
-rw-r--r--
2016-01-11 00:01
dma-direction.h
299
B
-rw-r--r--
2016-01-11 00:01
dma-iommu.h
2.71
KB
-rw-r--r--
2016-01-11 00:01
dma-mapping.h
9.41
KB
-rw-r--r--
2016-01-11 00:01
dma_remapping.h
1.38
KB
-rw-r--r--
2016-01-11 00:01
dmaengine.h
39.76
KB
-rw-r--r--
2016-01-11 00:01
dmapool.h
1.09
KB
-rw-r--r--
2016-01-11 00:01
dmar.h
7.82
KB
-rw-r--r--
2016-01-11 00:01
dmi.h
4.01
KB
-rw-r--r--
2016-01-11 00:01
dnotify.h
1008
B
-rw-r--r--
2016-01-11 00:01
dns_resolver.h
1.31
KB
-rw-r--r--
2016-01-11 00:01
dqblk_qtree.h
2.06
KB
-rw-r--r--
2016-01-11 00:01
dqblk_v1.h
288
B
-rw-r--r--
2016-01-11 00:01
dqblk_v2.h
367
B
-rw-r--r--
2016-01-11 00:01
drbd.h
10.26
KB
-rw-r--r--
2016-01-11 00:01
drbd_genl.h
15.8
KB
-rw-r--r--
2016-01-11 00:01
drbd_genl_api.h
1.73
KB
-rw-r--r--
2016-01-11 00:01
drbd_limits.h
7.09
KB
-rw-r--r--
2016-01-11 00:01
ds1286.h
1.19
KB
-rw-r--r--
2016-01-11 00:01
ds17287rtc.h
2.61
KB
-rw-r--r--
2016-01-11 00:01
ds2782_battery.h
119
B
-rw-r--r--
2016-01-11 00:01
dtlk.h
3.46
KB
-rw-r--r--
2016-01-11 00:01
dw_apb_timer.h
1.71
KB
-rw-r--r--
2016-01-11 00:01
dynamic_debug.h
3.91
KB
-rw-r--r--
2016-01-11 00:01
dynamic_queue_limits.h
3.66
KB
-rw-r--r--
2016-01-11 00:01
earlycpio.h
320
B
-rw-r--r--
2016-01-11 00:01
ecryptfs.h
3.79
KB
-rw-r--r--
2016-01-11 00:01
edac.h
24.42
KB
-rw-r--r--
2018-04-02 18:07
edd.h
1.43
KB
-rw-r--r--
2016-01-11 00:01
edma.h
807
B
-rw-r--r--
2016-01-11 00:01
eeprom_93cx6.h
2.94
KB
-rw-r--r--
2016-01-11 00:01
eeprom_93xx46.h
422
B
-rw-r--r--
2016-01-11 00:01
efi-bgrt.h
427
B
-rw-r--r--
2016-01-11 00:01
efi.h
37.02
KB
-rw-r--r--
2018-04-02 18:07
efs_vh.h
1.51
KB
-rw-r--r--
2016-01-11 00:01
eisa.h
2.92
KB
-rw-r--r--
2016-01-11 00:01
elevator.h
6.94
KB
-rw-r--r--
2016-01-11 00:01
elf-fdpic.h
2.18
KB
-rw-r--r--
2016-01-11 00:01
elf-randomize.h
544
B
-rw-r--r--
2016-01-11 00:01
elf.h
1.44
KB
-rw-r--r--
2016-01-11 00:01
elfcore-compat.h
1.2
KB
-rw-r--r--
2016-01-11 00:01
elfcore.h
2.04
KB
-rw-r--r--
2016-01-11 00:01
elfnote.h
3.5
KB
-rw-r--r--
2016-01-11 00:01
enclosure.h
4.6
KB
-rw-r--r--
2016-01-11 00:01
err.h
1.48
KB
-rw-r--r--
2016-01-11 00:01
errno.h
1.24
KB
-rw-r--r--
2016-01-11 00:01
errqueue.h
450
B
-rw-r--r--
2016-01-11 00:01
etherdevice.h
13.77
KB
-rw-r--r--
2018-04-02 18:07
ethtool.h
15.11
KB
-rw-r--r--
2018-04-02 18:07
eventfd.h
2.05
KB
-rw-r--r--
2016-01-11 00:01
eventpoll.h
2.01
KB
-rw-r--r--
2016-01-11 00:01
evm.h
2.48
KB
-rw-r--r--
2016-01-11 00:01
export.h
2.73
KB
-rw-r--r--
2016-01-11 00:01
exportfs.h
7.78
KB
-rw-r--r--
2016-01-11 00:01
ext2_fs.h
928
B
-rw-r--r--
2016-01-11 00:01
extcon.h
11.03
KB
-rw-r--r--
2016-01-11 00:01
f2fs_fs.h
16.48
KB
-rw-r--r--
2018-04-02 18:07
f75375s.h
541
B
-rw-r--r--
2016-01-11 00:01
falloc.h
719
B
-rw-r--r--
2016-01-11 00:01
fanotify.h
206
B
-rw-r--r--
2016-01-11 00:01
fault-inject.h
1.84
KB
-rw-r--r--
2016-01-11 00:01
fb.h
28.74
KB
-rw-r--r--
2016-01-11 00:01
fcdevice.h
988
B
-rw-r--r--
2016-01-11 00:01
fcntl.h
1.23
KB
-rw-r--r--
2018-04-02 18:07
fd.h
451
B
-rw-r--r--
2016-01-11 00:01
fddidevice.h
1.08
KB
-rw-r--r--
2016-01-11 00:01
fdtable.h
3.13
KB
-rw-r--r--
2018-04-02 18:07
fec.h
609
B
-rw-r--r--
2016-01-11 00:01
fence.h
12.72
KB
-rw-r--r--
2016-01-11 00:01
file.h
1.79
KB
-rw-r--r--
2018-04-02 18:07
filter.h
16.17
KB
-rw-r--r--
2018-04-02 18:07
fips.h
128
B
-rw-r--r--
2016-01-11 00:01
firewire.h
13.36
KB
-rw-r--r--
2016-01-11 00:01
firmware-map.h
1.32
KB
-rw-r--r--
2016-01-11 00:01
firmware.h
2.01
KB
-rw-r--r--
2016-01-11 00:01
fixp-arith.h
4.41
KB
-rw-r--r--
2016-01-11 00:01
flat.h
1.58
KB
-rw-r--r--
2016-01-11 00:01
flex_array.h
2.43
KB
-rw-r--r--
2016-01-11 00:01
flex_proportions.h
2.78
KB
-rw-r--r--
2016-01-11 00:01
fmc-sdb.h
1.25
KB
-rw-r--r--
2016-01-11 00:01
fmc.h
8.34
KB
-rw-r--r--
2016-01-11 00:01
font.h
1.25
KB
-rw-r--r--
2016-01-11 00:01
freezer.h
8.65
KB
-rw-r--r--
2016-01-11 00:01
frontswap.h
2.69
KB
-rw-r--r--
2016-01-11 00:01
fs.h
101.01
KB
-rw-r--r--
2018-04-02 18:07
fs_enet_pd.h
3.38
KB
-rw-r--r--
2016-01-11 00:01
fs_pin.h
580
B
-rw-r--r--
2016-01-11 00:01
fs_stack.h
772
B
-rw-r--r--
2016-01-11 00:01
fs_struct.h
999
B
-rw-r--r--
2016-01-11 00:01
fs_uart_pd.h
1.49
KB
-rw-r--r--
2016-01-11 00:01
fscache-cache.h
18.41
KB
-rw-r--r--
2018-04-02 18:07
fscache.h
27.87
KB
-rw-r--r--
2018-04-02 18:07
fsl-diu-fb.h
4.08
KB
-rw-r--r--
2016-01-11 00:01
fsl_devices.h
4.28
KB
-rw-r--r--
2016-01-11 00:01
fsl_hypervisor.h
2.76
KB
-rw-r--r--
2016-01-11 00:01
fsl_ifc.h
24.76
KB
-rw-r--r--
2016-01-11 00:01
fsldma.h
398
B
-rw-r--r--
2016-01-11 00:01
fsnotify.h
7.68
KB
-rw-r--r--
2018-04-02 18:07
fsnotify_backend.h
16.77
KB
-rw-r--r--
2018-04-02 18:07
ftrace.h
28.95
KB
-rw-r--r--
2016-01-11 00:01
ftrace_irq.h
298
B
-rw-r--r--
2016-01-11 00:01
futex.h
1.84
KB
-rw-r--r--
2016-01-11 00:01
fwnode.h
630
B
-rw-r--r--
2016-01-11 00:01
gameport.h
5.56
KB
-rw-r--r--
2016-01-11 00:01
gcd.h
154
B
-rw-r--r--
2016-01-11 00:01
genalloc.h
4.84
KB
-rw-r--r--
2018-04-02 18:07
genetlink.h
1.35
KB
-rw-r--r--
2016-01-11 00:01
genhd.h
22.72
KB
-rw-r--r--
2018-04-02 18:07
genl_magic_func.h
11.91
KB
-rw-r--r--
2016-01-11 00:01
genl_magic_struct.h
7.43
KB
-rw-r--r--
2016-01-11 00:01
getcpu.h
602
B
-rw-r--r--
2016-01-11 00:01
gfp.h
20.75
KB
-rw-r--r--
2018-04-02 18:07
glob.h
217
B
-rw-r--r--
2016-01-11 00:01
goldfish.h
566
B
-rw-r--r--
2016-01-11 00:01
gpio-fan.h
802
B
-rw-r--r--
2016-01-11 00:01
gpio-pxa.h
532
B
-rw-r--r--
2016-01-11 00:01
gpio.h
5.63
KB
-rw-r--r--
2016-01-11 00:01
gpio_keys.h
1.66
KB
-rw-r--r--
2016-01-11 00:01
gpio_mouse.h
1.46
KB
-rw-r--r--
2016-01-11 00:01
hardirq.h
1.7
KB
-rw-r--r--
2016-01-11 00:01
hash.h
2.67
KB
-rw-r--r--
2018-04-02 18:07
hashtable.h
6.46
KB
-rw-r--r--
2016-01-11 00:01
hdlc.h
3.43
KB
-rw-r--r--
2016-01-11 00:01
hdlcdrv.h
6.28
KB
-rw-r--r--
2016-01-11 00:01
hdmi.h
9.27
KB
-rw-r--r--
2016-01-11 00:01
hid-debug.h
2.02
KB
-rw-r--r--
2016-01-11 00:01
hid-roccat.h
688
B
-rw-r--r--
2016-01-11 00:01
hid-sensor-hub.h
8.67
KB
-rw-r--r--
2016-01-11 00:01
hid-sensor-ids.h
6.66
KB
-rw-r--r--
2016-01-11 00:01
hid.h
34.3
KB
-rw-r--r--
2016-01-11 00:01
hiddev.h
1.88
KB
-rw-r--r--
2016-01-11 00:01
hidraw.h
1.49
KB
-rw-r--r--
2016-01-11 00:01
highmem.h
5.8
KB
-rw-r--r--
2016-01-11 00:01
highuid.h
3.08
KB
-rw-r--r--
2016-01-11 00:01
hil.h
18.42
KB
-rw-r--r--
2016-01-11 00:01
hil_mlc.h
5.13
KB
-rw-r--r--
2016-01-11 00:01
hippidevice.h
1.29
KB
-rw-r--r--
2016-01-11 00:01
host1x.h
7.72
KB
-rw-r--r--
2016-01-11 00:01
hp_sdc.h
14.02
KB
-rw-r--r--
2016-01-11 00:01
hpet.h
2.52
KB
-rw-r--r--
2016-01-11 00:01
hrtimer.h
14.22
KB
-rw-r--r--
2018-04-02 18:07
htcpld.h
578
B
-rw-r--r--
2016-01-11 00:01
htirq.h
1.04
KB
-rw-r--r--
2016-01-11 00:01
huge_mm.h
6.97
KB
-rw-r--r--
2016-01-11 00:01
hugetlb.h
14.95
KB
-rw-r--r--
2016-01-11 00:01
hugetlb_cgroup.h
2.97
KB
-rw-r--r--
2016-01-11 00:01
hugetlb_inline.h
329
B
-rw-r--r--
2016-01-11 00:01
hw_breakpoint.h
3.81
KB
-rw-r--r--
2016-01-11 00:01
hw_random.h
2.11
KB
-rw-r--r--
2016-01-11 00:01
hwmon-sysfs.h
1.98
KB
-rw-r--r--
2016-01-11 00:01
hwmon-vid.h
1.48
KB
-rw-r--r--
2016-01-11 00:01
hwmon.h
1.01
KB
-rw-r--r--
2016-01-11 00:01
hwspinlock.h
11.06
KB
-rw-r--r--
2016-01-11 00:01
hyperv.h
42.12
KB
-rw-r--r--
2018-04-02 18:07
i2c-algo-bit.h
2.24
KB
-rw-r--r--
2016-01-11 00:01
i2c-algo-pca.h
2.5
KB
-rw-r--r--
2016-01-11 00:01
i2c-algo-pcf.h
1.88
KB
-rw-r--r--
2016-01-11 00:01
i2c-dev.h
1.03
KB
-rw-r--r--
2016-01-11 00:01
i2c-gpio.h
1.31
KB
-rw-r--r--
2016-01-11 00:01
i2c-mux-gpio.h
1.35
KB
-rw-r--r--
2016-01-11 00:01
i2c-mux-pinctrl.h
1.44
KB
-rw-r--r--
2016-01-11 00:01
i2c-mux.h
1.64
KB
-rw-r--r--
2016-01-11 00:01
i2c-ocores.h
757
B
-rw-r--r--
2016-01-11 00:01
i2c-omap.h
1.17
KB
-rw-r--r--
2016-01-11 00:01
i2c-pca-platform.h
402
B
-rw-r--r--
2016-01-11 00:01
i2c-pnx.h
923
B
-rw-r--r--
2016-01-11 00:01
i2c-pxa.h
399
B
-rw-r--r--
2016-01-11 00:01
i2c-smbus.h
1.72
KB
-rw-r--r--
2016-01-11 00:01
i2c-xiic.h
1.41
KB
-rw-r--r--
2016-01-11 00:01
i2c.h
24.57
KB
-rw-r--r--
2016-01-11 00:01
i7300_idle.h
1.91
KB
-rw-r--r--
2016-01-11 00:01
i8042.h
2.14
KB
-rw-r--r--
2018-04-02 18:07
i8253.h
764
B
-rw-r--r--
2016-01-11 00:01
icmp.h
863
B
-rw-r--r--
2016-01-11 00:01
icmpv6.h
1.11
KB
-rw-r--r--
2016-01-11 00:01
ide.h
45.48
KB
-rw-r--r--
2016-01-11 00:01
idr.h
5.49
KB
-rw-r--r--
2016-01-11 00:01
ieee80211.h
74.39
KB
-rw-r--r--
2016-01-11 00:01
ieee802154.h
9.65
KB
-rw-r--r--
2016-01-11 00:01
if_arp.h
1.52
KB
-rw-r--r--
2016-01-11 00:01
if_bridge.h
1.98
KB
-rw-r--r--
2018-04-02 18:07
if_eql.h
1.07
KB
-rw-r--r--
2016-01-11 00:01
if_ether.h
1.15
KB
-rw-r--r--
2016-01-11 00:01
if_fddi.h
3.44
KB
-rw-r--r--
2016-01-11 00:01
if_frad.h
2.88
KB
-rw-r--r--
2016-01-11 00:01
if_link.h
495
B
-rw-r--r--
2016-01-11 00:01
if_ltalk.h
149
B
-rw-r--r--
2016-01-11 00:01
if_macvlan.h
2.83
KB
-rw-r--r--
2016-01-11 00:01
if_phonet.h
274
B
-rw-r--r--
2016-01-11 00:01
if_pppol2tp.h
727
B
-rw-r--r--
2016-01-11 00:01
if_pppox.h
2.97
KB
-rw-r--r--
2016-01-11 00:01
if_team.h
7.52
KB
-rw-r--r--
2016-01-11 00:01
if_tun.h
1011
B
-rw-r--r--
2016-01-11 00:01
if_tunnel.h
370
B
-rw-r--r--
2016-01-11 00:01
if_vlan.h
17.17
KB
-rw-r--r--
2018-04-02 18:07
igmp.h
4.24
KB
-rw-r--r--
2016-01-11 00:01
ihex.h
1.92
KB
-rw-r--r--
2016-01-11 00:01
ima.h
1.95
KB
-rw-r--r--
2016-01-11 00:01
in.h
2.43
KB
-rw-r--r--
2016-01-11 00:01
in6.h
1.85
KB
-rw-r--r--
2016-01-11 00:01
inet.h
2.61
KB
-rw-r--r--
2016-01-11 00:01
inet_diag.h
1.44
KB
-rw-r--r--
2016-01-11 00:01
inet_lro.h
3.58
KB
-rw-r--r--
2016-01-11 00:01
inetdevice.h
7.72
KB
-rw-r--r--
2016-01-11 00:01
init.h
9.37
KB
-rw-r--r--
2016-01-11 00:01
init_ohci1394_dma.h
157
B
-rw-r--r--
2016-01-11 00:01
init_task.h
7.25
KB
-rw-r--r--
2016-01-11 00:01
initrd.h
583
B
-rw-r--r--
2016-01-11 00:01
inotify.h
657
B
-rw-r--r--
2016-01-11 00:01
input-polldev.h
2.17
KB
-rw-r--r--
2016-01-11 00:01
input.h
18.43
KB
-rw-r--r--
2016-01-11 00:01
integrity.h
1.02
KB
-rw-r--r--
2016-01-11 00:01
intel-iommu.h
16.74
KB
-rw-r--r--
2018-04-02 18:07
intel-svm.h
4.33
KB
-rw-r--r--
2016-01-11 00:01
intel_pmic_gpio.h
372
B
-rw-r--r--
2016-01-11 00:01
interrupt.h
19.76
KB
-rw-r--r--
2016-01-11 00:01
interval_tree.h
757
B
-rw-r--r--
2016-01-11 00:01
interval_tree_generic.h
6.96
KB
-rw-r--r--
2016-01-11 00:01
io-64-nonatomic-hi-lo.h
610
B
-rw-r--r--
2016-01-11 00:01
io-64-nonatomic-lo-hi.h
610
B
-rw-r--r--
2016-01-11 00:01
io-mapping.h
3.71
KB
-rw-r--r--
2016-01-11 00:01
io.h
4.59
KB
-rw-r--r--
2016-01-11 00:01
ioc3.h
3.14
KB
-rw-r--r--
2016-01-11 00:01
ioc4.h
5.78
KB
-rw-r--r--
2016-01-11 00:01
iocontext.h
4.7
KB
-rw-r--r--
2016-01-11 00:01
iommu-common.h
1.37
KB
-rw-r--r--
2016-01-11 00:01
iommu-helper.h
911
B
-rw-r--r--
2016-01-11 00:01
iommu.h
16.8
KB
-rw-r--r--
2016-01-11 00:01
iopoll.h
5.52
KB
-rw-r--r--
2016-01-11 00:01
ioport.h
9.52
KB
-rw-r--r--
2016-01-11 00:01
ioprio.h
1.95
KB
-rw-r--r--
2016-01-11 00:01
iova.h
2.59
KB
-rw-r--r--
2016-01-11 00:01
ip.h
1.07
KB
-rw-r--r--
2016-01-11 00:01
ipack.h
8.85
KB
-rw-r--r--
2016-01-11 00:01
ipc.h
477
B
-rw-r--r--
2016-01-11 00:01
ipc_namespace.h
4.33
KB
-rw-r--r--
2016-01-11 00:01
ipmi-fru.h
3.64
KB
-rw-r--r--
2016-01-11 00:01
ipmi.h
11.42
KB
-rw-r--r--
2016-01-11 00:01
ipmi_smi.h
9
KB
-rw-r--r--
2016-01-11 00:01
ipv6.h
7.4
KB
-rw-r--r--
2018-04-02 18:07
ipv6_route.h
594
B
-rw-r--r--
2016-01-11 00:01
irq.h
29.93
KB
-rw-r--r--
2018-04-02 18:07
irq_cpustat.h
910
B
-rw-r--r--
2016-01-11 00:01
irq_work.h
1.29
KB
-rw-r--r--
2016-01-11 00:01
irqbypass.h
3.57
KB
-rw-r--r--
2016-01-11 00:01
irqchip.h
1.54
KB
-rw-r--r--
2016-01-11 00:01
irqdesc.h
7.28
KB
-rw-r--r--
2016-01-11 00:01
irqdomain.h
15.21
KB
-rw-r--r--
2018-04-02 18:07
irqflags.h
4.72
KB
-rw-r--r--
2016-01-11 00:01
irqhandler.h
323
B
-rw-r--r--
2016-01-11 00:01
irqnr.h
817
B
-rw-r--r--
2016-01-11 00:01
irqreturn.h
464
B
-rw-r--r--
2016-01-11 00:01
isa.h
894
B
-rw-r--r--
2016-01-11 00:01
isapnp.h
3.8
KB
-rw-r--r--
2016-01-11 00:01
iscsi_boot_sysfs.h
3.67
KB
-rw-r--r--
2016-01-11 00:01
iscsi_ibft.h
1.28
KB
-rw-r--r--
2016-01-11 00:01
isdn.h
22.96
KB
-rw-r--r--
2016-01-11 00:01
isdn_divertif.h
1.27
KB
-rw-r--r--
2016-01-11 00:01
isdn_ppp.h
6.64
KB
-rw-r--r--
2016-01-11 00:01
isdnif.h
19.26
KB
-rw-r--r--
2016-01-11 00:01
isicom.h
1.45
KB
-rw-r--r--
2016-01-11 00:01
jbd2.h
46.36
KB
-rw-r--r--
2016-01-11 00:01
jhash.h
4.46
KB
-rw-r--r--
2016-01-11 00:01
jiffies.h
15.2
KB
-rw-r--r--
2016-01-11 00:01
journal-head.h
2.83
KB
-rw-r--r--
2016-01-11 00:01
joystick.h
1.28
KB
-rw-r--r--
2016-01-11 00:01
jump_label.h
11.09
KB
-rw-r--r--
2018-04-02 18:07
jump_label_ratelimit.h
1.07
KB
-rw-r--r--
2018-04-02 18:07
jz4740-adc.h
984
B
-rw-r--r--
2016-01-11 00:01
jz4780-nemc.h
1.16
KB
-rw-r--r--
2016-01-11 00:01
kaiser.h
1.17
KB
-rw-r--r--
2018-04-02 18:07
kallsyms.h
3.41
KB
-rw-r--r--
2016-01-11 00:01
kasan.h
3.01
KB
-rw-r--r--
2016-01-11 00:01
kbd_diacr.h
159
B
-rw-r--r--
2016-01-11 00:01
kbd_kern.h
3.8
KB
-rw-r--r--
2016-01-11 00:01
kbuild.h
309
B
-rw-r--r--
2016-01-11 00:01
kconfig.h
1.9
KB
-rw-r--r--
2018-04-02 18:07
kcore.h
612
B
-rw-r--r--
2016-01-11 00:01
kd.h
172
B
-rw-r--r--
2016-01-11 00:01
kdb.h
7.32
KB
-rw-r--r--
2016-01-11 00:01
kdebug.h
448
B
-rw-r--r--
2016-01-11 00:01
kdev_t.h
1.72
KB
-rw-r--r--
2016-01-11 00:01
kern_levels.h
1.53
KB
-rw-r--r--
2016-01-11 00:01
kernel-page-flags.h
466
B
-rw-r--r--
2016-01-11 00:01
kernel.h
27.72
KB
-rw-r--r--
2018-04-02 18:07
kernel_stat.h
2.44
KB
-rw-r--r--
2016-01-11 00:01
kernelcapi.h
4.41
KB
-rw-r--r--
2016-01-11 00:01
kernfs.h
14.87
KB
-rw-r--r--
2018-04-02 18:07
kexec.h
10.41
KB
-rw-r--r--
2016-01-11 00:01
key-type.h
6.14
KB
-rw-r--r--
2016-01-11 00:01
key.h
11.41
KB
-rw-r--r--
2018-04-02 18:07
keyboard.h
626
B
-rw-r--r--
2016-01-11 00:01
kfifo.h
24.81
KB
-rw-r--r--
2016-01-11 00:01
kgdb.h
10.7
KB
-rw-r--r--
2016-01-11 00:01
khugepaged.h
1.98
KB
-rw-r--r--
2016-01-11 00:01
klist.h
1.88
KB
-rw-r--r--
2016-01-11 00:01
kmemcheck.h
4.24
KB
-rw-r--r--
2016-01-11 00:01
kmemleak.h
3.05
KB
-rw-r--r--
2016-01-11 00:01
kmod.h
3.21
KB
-rw-r--r--
2016-01-11 00:01
kmsg_dump.h
2.85
KB
-rw-r--r--
2016-01-11 00:01
kobj_map.h
506
B
-rw-r--r--
2016-01-11 00:01
kobject.h
6.88
KB
-rw-r--r--
2018-04-02 18:07
kobject_ns.h
1.9
KB
-rw-r--r--
2016-01-11 00:01
kprobes.h
14.03
KB
-rw-r--r--
2018-04-02 18:07
kref.h
4.35
KB
-rw-r--r--
2016-01-11 00:01
ks0108.h
1.57
KB
-rw-r--r--
2016-01-11 00:01
ks8842.h
1.19
KB
-rw-r--r--
2016-01-11 00:01
ks8851_mll.h
1.04
KB
-rw-r--r--
2016-01-11 00:01
ksm.h
2.84
KB
-rw-r--r--
2016-01-11 00:01
kthread.h
4.05
KB
-rw-r--r--
2016-01-11 00:01
ktime.h
7.58
KB
-rw-r--r--
2018-04-02 18:07
kvm_host.h
33.75
KB
-rw-r--r--
2018-04-02 18:07
kvm_irqfd.h
2.39
KB
-rw-r--r--
2016-01-11 00:01
kvm_para.h
260
B
-rw-r--r--
2016-01-11 00:01
kvm_types.h
1.58
KB
-rw-r--r--
2016-01-11 00:01
l2tp.h
222
B
-rw-r--r--
2016-01-11 00:01
lapb.h
1.67
KB
-rw-r--r--
2016-01-11 00:01
latencytop.h
1.02
KB
-rw-r--r--
2016-01-11 00:01
lcd.h
4.15
KB
-rw-r--r--
2016-01-11 00:01
lcm.h
236
B
-rw-r--r--
2016-01-11 00:01
led-class-flash.h
5.42
KB
-rw-r--r--
2016-01-11 00:01
led-lm3530.h
3.7
KB
-rw-r--r--
2016-01-11 00:01
leds-bd2802.h
642
B
-rw-r--r--
2016-01-11 00:01
leds-lp3944.h
1.07
KB
-rw-r--r--
2016-01-11 00:01
leds-pca9532.h
1.02
KB
-rw-r--r--
2016-01-11 00:01
leds-regulator.h
1.29
KB
-rw-r--r--
2016-01-11 00:01
leds-tca6507.h
1.02
KB
-rw-r--r--
2016-01-11 00:01
leds.h
11.58
KB
-rw-r--r--
2016-01-11 00:01
leds_pwm.h
368
B
-rw-r--r--
2016-01-11 00:01
lglock.h
2.52
KB
-rw-r--r--
2016-01-11 00:01
lguest.h
2.22
KB
-rw-r--r--
2016-01-11 00:01
lguest_launcher.h
1.45
KB
-rw-r--r--
2016-01-11 00:01
libata.h
63.54
KB
-rw-r--r--
2018-04-02 18:07
libfdt.h
205
B
-rw-r--r--
2016-01-11 00:01
libfdt_env.h
357
B
-rw-r--r--
2016-01-11 00:01
libnvdimm.h
5.35
KB
-rw-r--r--
2018-04-02 18:07
libps2.h
1.75
KB
-rw-r--r--
2016-01-11 00:01
license.h
374
B
-rw-r--r--
2016-01-11 00:01
lightnvm.h
12.67
KB
-rw-r--r--
2018-04-02 18:07
linkage.h
2.6
KB
-rw-r--r--
2016-01-11 00:01
linux_logo.h
2.02
KB
-rw-r--r--
2016-01-11 00:01
lis3lv02d.h
4.97
KB
-rw-r--r--
2016-01-11 00:01
list.h
21.31
KB
-rw-r--r--
2016-01-11 00:01
list_bl.h
4.14
KB
-rw-r--r--
2016-01-11 00:01
list_lru.h
6.18
KB
-rw-r--r--
2018-04-02 18:07
list_nulls.h
3.21
KB
-rw-r--r--
2016-01-11 00:01
list_sort.h
238
B
-rw-r--r--
2016-01-11 00:01
livepatch.h
4
KB
-rw-r--r--
2018-04-02 18:07
llc.h
749
B
-rw-r--r--
2016-01-11 00:01
llist.h
7.14
KB
-rw-r--r--
2016-01-11 00:01
lockdep.h
16.32
KB
-rw-r--r--
2016-01-11 00:01
lockref.h
1.42
KB
-rw-r--r--
2016-01-11 00:01
log2.h
5.25
KB
-rw-r--r--
2018-04-02 18:07
lp.h
2.72
KB
-rw-r--r--
2016-01-11 00:01
lru_cache.h
12.43
KB
-rw-r--r--
2016-01-11 00:01
lsm_audit.h
2.33
KB
-rw-r--r--
2016-01-11 00:01
lsm_hooks.h
81.55
KB
-rw-r--r--
2016-01-11 00:01
lz4.h
3.13
KB
-rw-r--r--
2016-01-11 00:01
lzo.h
1.33
KB
-rw-r--r--
2016-01-11 00:01
m48t86.h
465
B
-rw-r--r--
2016-01-11 00:01
mISDNdsp.h
1.15
KB
-rw-r--r--
2016-01-11 00:01
mISDNhw.h
5.78
KB
-rw-r--r--
2016-01-11 00:01
mISDNif.h
14.93
KB
-rw-r--r--
2016-01-11 00:01
mailbox_client.h
1.79
KB
-rw-r--r--
2016-01-11 00:01
mailbox_controller.h
5.37
KB
-rw-r--r--
2016-01-11 00:01
maple.h
2.67
KB
-rw-r--r--
2016-01-11 00:01
marvell_phy.h
886
B
-rw-r--r--
2016-01-11 00:01
math64.h
5.17
KB
-rw-r--r--
2016-01-11 00:01
max17040_battery.h
474
B
-rw-r--r--
2016-01-11 00:01
mbcache.h
1.57
KB
-rw-r--r--
2018-04-02 18:07
mbus.h
2.31
KB
-rw-r--r--
2018-04-02 18:07
mc146818rtc.h
4.29
KB
-rw-r--r--
2016-01-11 00:01
mc6821.h
1.14
KB
-rw-r--r--
2016-01-11 00:01
mcb.h
3.58
KB
-rw-r--r--
2016-01-11 00:01
mdio-bitbang.h
1.14
KB
-rw-r--r--
2016-01-11 00:01
mdio-mux.h
551
B
-rw-r--r--
2016-01-11 00:01
mdio.h
5.21
KB
-rw-r--r--
2016-01-11 00:01
mei_cl_bus.h
2.87
KB
-rw-r--r--
2016-01-11 00:01
memblock.h
13.73
KB
-rw-r--r--
2018-04-02 18:07
memcontrol.h
21.79
KB
-rw-r--r--
2018-04-02 18:07
memory.h
4.96
KB
-rw-r--r--
2018-04-02 18:07
memory_hotplug.h
8.4
KB
-rw-r--r--
2018-04-02 18:07
mempolicy.h
7.1
KB
-rw-r--r--
2016-01-11 00:01
mempool.h
2.32
KB
-rw-r--r--
2016-01-11 00:01
memstick.h
9.73
KB
-rw-r--r--
2016-01-11 00:01
mg_disk.h
1.03
KB
-rw-r--r--
2016-01-11 00:01
mic_bus.h
3.19
KB
-rw-r--r--
2016-01-11 00:01
micrel_phy.h
1.31
KB
-rw-r--r--
2016-01-11 00:01
microchipphy.h
2.84
KB
-rw-r--r--
2016-01-11 00:01
migrate.h
2.99
KB
-rw-r--r--
2016-01-11 00:01
migrate_mode.h
436
B
-rw-r--r--
2016-01-11 00:01
mii.h
8.49
KB
-rw-r--r--
2016-01-11 00:01
miscdevice.h
2.13
KB
-rw-r--r--
2016-01-11 00:01
mm-arch-hooks.h
679
B
-rw-r--r--
2016-01-11 00:01
mm.h
72.56
KB
-rw-r--r--
2018-04-02 18:07
mm_inline.h
2.68
KB
-rw-r--r--
2016-01-11 00:01
mm_types.h
16.87
KB
-rw-r--r--
2018-04-02 18:07
mman.h
2.29
KB
-rw-r--r--
2018-04-02 18:07
mmdebug.h
1.6
KB
-rw-r--r--
2016-01-11 00:01
mmiotrace.h
3.01
KB
-rw-r--r--
2016-01-11 00:01
mmu_context.h
339
B
-rw-r--r--
2018-04-02 18:07
mmu_notifier.h
15.6
KB
-rw-r--r--
2018-04-02 18:07
mmzone.h
37.16
KB
-rw-r--r--
2018-04-02 18:07
mnt_namespace.h
508
B
-rw-r--r--
2016-01-11 00:01
mod_devicetable.h
17.42
KB
-rw-r--r--
2018-04-02 18:07
module.h
22.29
KB
-rw-r--r--
2018-04-02 18:07
moduleloader.h
2.68
KB
-rw-r--r--
2016-01-11 00:01
moduleparam.h
17
KB
-rw-r--r--
2016-01-11 00:01
mount.h
3.23
KB
-rw-r--r--
2018-04-02 18:07
mpage.h
722
B
-rw-r--r--
2016-01-11 00:01
mpi.h
5.25
KB
-rw-r--r--
2016-01-11 00:01
mpls.h
103
B
-rw-r--r--
2016-01-11 00:01
mpls_iptunnel.h
139
B
-rw-r--r--
2016-01-11 00:01
mroute.h
2.61
KB
-rw-r--r--
2018-04-02 18:07
mroute6.h
3.22
KB
-rw-r--r--
2018-04-02 18:07
msdos_fs.h
234
B
-rw-r--r--
2016-01-11 00:01
msg.h
1.26
KB
-rw-r--r--
2016-01-11 00:01
msi.h
10.22
KB
-rw-r--r--
2018-04-02 18:07
mutex-debug.h
473
B
-rw-r--r--
2016-01-11 00:01
mutex.h
5.55
KB
-rw-r--r--
2016-01-11 00:01
mv643xx.h
52.4
KB
-rw-r--r--
2016-01-11 00:01
mv643xx_eth.h
1.92
KB
-rw-r--r--
2016-01-11 00:01
mv643xx_i2c.h
545
B
-rw-r--r--
2016-01-11 00:01
mvebu-pmsu.h
520
B
-rw-r--r--
2016-01-11 00:01
mxm-wmi.h
1.05
KB
-rw-r--r--
2016-01-11 00:01
n_r3964.h
4.06
KB
-rw-r--r--
2016-01-11 00:01
namei.h
3.19
KB
-rw-r--r--
2016-01-11 00:01
nd.h
4.66
KB
-rw-r--r--
2016-01-11 00:01
net.h
10.24
KB
-rw-r--r--
2018-04-02 18:07
netdev_features.h
7.92
KB
-rw-r--r--
2018-04-02 18:07
netdevice.h
127.88
KB
-rw-r--r--
2018-04-02 18:07
netfilter.h
12.17
KB
-rw-r--r--
2016-01-11 00:01
netfilter_bridge.h
1.78
KB
-rw-r--r--
2016-01-11 00:01
netfilter_defs.h
200
B
-rw-r--r--
2016-01-11 00:01
netfilter_ingress.h
1.09
KB
-rw-r--r--
2016-01-11 00:01
netfilter_ipv4.h
424
B
-rw-r--r--
2016-01-11 00:01
netfilter_ipv6.h
1.43
KB
-rw-r--r--
2016-01-11 00:01
netlink.h
5.87
KB
-rw-r--r--
2018-04-02 18:07
netpoll.h
2.61
KB
-rw-r--r--
2016-01-11 00:01
nfs.h
1.27
KB
-rw-r--r--
2016-01-11 00:01
nfs3.h
221
B
-rw-r--r--
2016-01-11 00:01
nfs4.h
15.85
KB
-rw-r--r--
2018-04-02 18:07
nfs_fs.h
16.14
KB
-rw-r--r--
2018-04-02 18:07
nfs_fs_i.h
269
B
-rw-r--r--
2016-01-11 00:01
nfs_fs_sb.h
8.47
KB
-rw-r--r--
2016-01-11 00:01
nfs_iostat.h
4.15
KB
-rw-r--r--
2016-01-11 00:01
nfs_page.h
5.75
KB
-rw-r--r--
2016-01-11 00:01
nfs_xdr.h
37.18
KB
-rw-r--r--
2016-01-11 00:01
nfsacl.h
1.11
KB
-rw-r--r--
2016-01-11 00:01
nilfs2_fs.h
24.93
KB
-rw-r--r--
2016-01-11 00:01
nl802154.h
4.21
KB
-rw-r--r--
2016-01-11 00:01
nls.h
3.04
KB
-rw-r--r--
2016-01-11 00:01
nmi.h
2.69
KB
-rw-r--r--
2016-01-11 00:01
node.h
2.18
KB
-rw-r--r--
2016-01-11 00:01
nodemask.h
16.33
KB
-rw-r--r--
2016-01-11 00:01
notifier.h
7.65
KB
-rw-r--r--
2016-01-11 00:01
ns_common.h
196
B
-rw-r--r--
2016-01-11 00:01
nsc_gpio.h
1.39
KB
-rw-r--r--
2016-01-11 00:01
nsproxy.h
2.44
KB
-rw-r--r--
2018-04-02 18:07
ntb.h
30.24
KB
-rw-r--r--
2016-01-11 00:01
ntb_transport.h
3.8
KB
-rw-r--r--
2016-01-11 00:01
nubus.h
4.1
KB
-rw-r--r--
2016-01-11 00:01
numa.h
253
B
-rw-r--r--
2016-01-11 00:01
nvme.h
21.63
KB
-rw-r--r--
2018-04-02 18:07
nvmem-consumer.h
4.11
KB
-rw-r--r--
2018-04-02 18:07
nvmem-provider.h
1.06
KB
-rw-r--r--
2016-01-11 00:01
nvram.h
456
B
-rw-r--r--
2016-01-11 00:01
nwpserial.h
551
B
-rw-r--r--
2016-01-11 00:01
of.h
31.84
KB
-rw-r--r--
2018-04-02 18:07
of_address.h
4.45
KB
-rw-r--r--
2016-01-11 00:01
of_device.h
2.79
KB
-rw-r--r--
2016-01-11 00:01
of_dma.h
2.45
KB
-rw-r--r--
2016-01-11 00:01
of_fdt.h
3.89
KB
-rw-r--r--
2018-04-02 18:07
of_gpio.h
4.37
KB
-rw-r--r--
2016-01-11 00:01
of_graph.h
2.75
KB
-rw-r--r--
2016-01-11 00:01
of_iommu.h
1.15
KB
-rw-r--r--
2016-01-11 00:01
of_irq.h
3.57
KB
-rw-r--r--
2016-01-11 00:01
of_mdio.h
2.22
KB
-rw-r--r--
2016-01-11 00:01
of_mtd.h
1.01
KB
-rw-r--r--
2016-01-11 00:01
of_net.h
708
B
-rw-r--r--
2016-01-11 00:01
of_pci.h
2.03
KB
-rw-r--r--
2016-01-11 00:01
of_pdt.h
1.4
KB
-rw-r--r--
2016-01-11 00:01
of_platform.h
3.63
KB
-rw-r--r--
2016-01-11 00:01
of_reserved_mem.h
1.34
KB
-rw-r--r--
2016-01-11 00:01
oid_registry.h
3.87
KB
-rw-r--r--
2016-01-11 00:01
olpc-ec.h
1.04
KB
-rw-r--r--
2016-01-11 00:01
omap-dma.h
9.94
KB
-rw-r--r--
2016-01-11 00:01
omap-dmaengine.h
583
B
-rw-r--r--
2016-01-11 00:01
omap-gpmc.h
6.55
KB
-rw-r--r--
2018-04-02 18:07
omap-iommu.h
520
B
-rw-r--r--
2016-01-11 00:01
omap-mailbox.h
878
B
-rw-r--r--
2016-01-11 00:01
omapfb.h
1.22
KB
-rw-r--r--
2016-01-11 00:01
once.h
1.65
KB
-rw-r--r--
2016-01-11 00:01
oom.h
3.17
KB
-rw-r--r--
2016-01-11 00:01
openvswitch.h
844
B
-rw-r--r--
2016-01-11 00:01
oprofile.h
6.1
KB
-rw-r--r--
2016-01-11 00:01
osq_lock.h
1
KB
-rw-r--r--
2016-01-11 00:01
oxu210hp.h
158
B
-rw-r--r--
2016-01-11 00:01
padata.h
6.34
KB
-rw-r--r--
2016-01-11 00:01
page-flags-layout.h
2.95
KB
-rw-r--r--
2018-04-02 18:07
page-flags.h
18.34
KB
-rw-r--r--
2016-01-11 00:01
page-isolation.h
1.94
KB
-rw-r--r--
2016-01-11 00:01
page_counter.h
1.43
KB
-rw-r--r--
2016-01-11 00:01
page_ext.h
1.92
KB
-rw-r--r--
2016-01-11 00:01
page_idle.h
2.58
KB
-rw-r--r--
2018-04-02 18:07
page_owner.h
1.16
KB
-rw-r--r--
2016-01-11 00:01
pageblock-flags.h
3.08
KB
-rw-r--r--
2016-01-11 00:01
pagemap.h
19.79
KB
-rw-r--r--
2018-04-02 18:07
pagevec.h
1.7
KB
-rw-r--r--
2016-01-11 00:01
parport.h
17.82
KB
-rw-r--r--
2016-01-11 00:01
parport_pc.h
6.52
KB
-rw-r--r--
2016-01-11 00:01
parser.h
982
B
-rw-r--r--
2016-01-11 00:01
pata_arasan_cf_data.h
1.22
KB
-rw-r--r--
2016-01-11 00:01
patchkey.h
718
B
-rw-r--r--
2016-01-11 00:01
path.h
412
B
-rw-r--r--
2016-01-11 00:01
pch_dma.h
999
B
-rw-r--r--
2016-01-11 00:01
pci-acpi.h
3.26
KB
-rw-r--r--
2016-01-11 00:01
pci-aspm.h
1.67
KB
-rw-r--r--
2016-01-11 00:01
pci-ats.h
1.11
KB
-rw-r--r--
2016-01-11 00:01
pci-dma.h
415
B
-rw-r--r--
2016-01-11 00:01
pci.h
69.94
KB
-rw-r--r--
2018-04-02 18:07
pci_hotplug.h
6.79
KB
-rw-r--r--
2016-01-11 00:01
pci_ids.h
116.72
KB
-rw-r--r--
2018-04-02 18:07
pcieport_if.h
2.16
KB
-rw-r--r--
2016-01-11 00:01
pda_power.h
1.12
KB
-rw-r--r--
2016-01-11 00:01
pe.h
15.48
KB
-rw-r--r--
2016-01-11 00:01
percpu-defs.h
18.81
KB
-rw-r--r--
2018-04-02 18:07
percpu-refcount.h
9.92
KB
-rw-r--r--
2018-04-02 18:07
percpu-rwsem.h
1.47
KB
-rw-r--r--
2016-01-11 00:01
percpu.h
4.37
KB
-rw-r--r--
2016-01-11 00:01
percpu_counter.h
4.21
KB
-rw-r--r--
2016-01-11 00:01
percpu_ida.h
2.28
KB
-rw-r--r--
2016-01-11 00:01
perf_event.h
33.54
KB
-rw-r--r--
2018-04-02 18:07
perf_regs.h
969
B
-rw-r--r--
2016-01-11 00:01
personality.h
354
B
-rw-r--r--
2016-01-11 00:01
pfn.h
385
B
-rw-r--r--
2018-04-02 18:07
phonet.h
1.12
KB
-rw-r--r--
2016-01-11 00:01
phy.h
26.59
KB
-rw-r--r--
2018-04-02 18:07
phy_fixed.h
1.58
KB
-rw-r--r--
2016-01-11 00:01
pid.h
5.83
KB
-rw-r--r--
2018-04-02 18:07
pid_namespace.h
2.35
KB
-rw-r--r--
2016-01-11 00:01
pim.h
518
B
-rw-r--r--
2016-01-11 00:01
pipe_fs_i.h
5.06
KB
-rw-r--r--
2018-04-02 18:07
pktcdvd.h
5.87
KB
-rw-r--r--
2016-01-11 00:01
pl320-ipc.h
758
B
-rw-r--r--
2016-01-11 00:01
platform_device.h
12.37
KB
-rw-r--r--
2018-04-02 18:07
plist.h
8.69
KB
-rw-r--r--
2016-01-11 00:01
pm-trace.h
728
B
-rw-r--r--
2016-01-11 00:01
pm.h
32.04
KB
-rw-r--r--
2016-01-11 00:01
pm2301_charger.h
1.68
KB
-rw-r--r--
2016-01-11 00:01
pm_clock.h
2.12
KB
-rw-r--r--
2016-01-11 00:01
pm_domain.h
7.35
KB
-rw-r--r--
2016-01-11 00:01
pm_opp.h
4.09
KB
-rw-r--r--
2016-01-11 00:01
pm_qos.h
8.28
KB
-rw-r--r--
2016-01-11 00:01
pm_runtime.h
8.28
KB
-rw-r--r--
2018-04-02 18:07
pm_wakeirq.h
1.31
KB
-rw-r--r--
2016-01-11 00:01
pm_wakeup.h
6.18
KB
-rw-r--r--
2016-01-11 00:01
pmem.h
5.02
KB
-rw-r--r--
2016-01-11 00:01
pmu.h
2.3
KB
-rw-r--r--
2016-01-11 00:01
pnfs_osd_xdr.h
9.27
KB
-rw-r--r--
2016-01-11 00:01
pnp.h
15.28
KB
-rw-r--r--
2016-01-11 00:01
poison.h
2.37
KB
-rw-r--r--
2016-01-11 00:01
poll.h
4.47
KB
-rw-r--r--
2016-01-11 00:01
posix-clock.h
5.29
KB
-rw-r--r--
2016-01-11 00:01
posix-timers.h
4.28
KB
-rw-r--r--
2016-01-11 00:01
posix_acl.h
3.58
KB
-rw-r--r--
2018-04-02 18:07
posix_acl_xattr.h
2.2
KB
-rw-r--r--
2018-04-02 18:07
power_supply.h
12.09
KB
-rw-r--r--
2016-01-11 00:01
powercap.h
12.58
KB
-rw-r--r--
2016-01-11 00:01
ppp-comp.h
3.1
KB
-rw-r--r--
2016-01-11 00:01
ppp_channel.h
3.07
KB
-rw-r--r--
2016-01-11 00:01
ppp_defs.h
454
B
-rw-r--r--
2016-01-11 00:01
pps-gpio.h
1015
B
-rw-r--r--
2016-01-11 00:01
pps_kernel.h
3.56
KB
-rw-r--r--
2018-04-02 18:07
pr.h
527
B
-rw-r--r--
2016-01-11 00:01
preempt.h
8.61
KB
-rw-r--r--
2018-04-02 18:07
prefetch.h
1.5
KB
-rw-r--r--
2016-01-11 00:01
printk.h
13.2
KB
-rw-r--r--
2016-01-11 00:01
proc_fs.h
3.19
KB
-rw-r--r--
2018-04-02 18:07
proc_ns.h
2.18
KB
-rw-r--r--
2018-04-02 18:07
profile.h
2.64
KB
-rw-r--r--
2016-01-11 00:01
projid.h
2.18
KB
-rw-r--r--
2016-01-11 00:01
property.h
7.54
KB
-rw-r--r--
2018-04-02 18:07
proportions.h
3.19
KB
-rw-r--r--
2016-01-11 00:01
psci.h
1.59
KB
-rw-r--r--
2016-01-11 00:01
pstore.h
2.54
KB
-rw-r--r--
2016-01-11 00:01
pstore_ram.h
2.7
KB
-rw-r--r--
2018-04-02 18:07
pti.h
1.53
KB
-rw-r--r--
2016-01-11 00:01
ptp_classify.h
2.89
KB
-rw-r--r--
2016-01-11 00:01
ptp_clock_kernel.h
6.52
KB
-rw-r--r--
2018-04-02 18:07
ptrace.h
14.87
KB
-rw-r--r--
2018-04-02 18:07
pvclock_gtod.h
509
B
-rw-r--r--
2016-01-11 00:01
pwm.h
8.58
KB
-rw-r--r--
2018-04-02 18:07
pwm_backlight.h
701
B
-rw-r--r--
2016-01-11 00:01
pxa168_eth.h
689
B
-rw-r--r--
2016-01-11 00:01
pxa2xx_ssp.h
9.75
KB
-rw-r--r--
2016-01-11 00:01
qcom_scm.h
1.25
KB
-rw-r--r--
2016-01-11 00:01
qnx6_fs.h
3.23
KB
-rw-r--r--
2016-01-11 00:01
quicklist.h
2.1
KB
-rw-r--r--
2016-01-11 00:01
quota.h
18.11
KB
-rw-r--r--
2018-04-02 18:07
quotaops.h
10
KB
-rw-r--r--
2016-01-11 00:01
radix-tree.h
17.91
KB
-rw-r--r--
2018-04-02 18:07
raid_class.h
2.08
KB
-rw-r--r--
2016-01-11 00:01
ramfs.h
723
B
-rw-r--r--
2016-01-11 00:01
random.h
3.39
KB
-rw-r--r--
2018-04-02 18:07
range.h
612
B
-rw-r--r--
2016-01-11 00:01
ras.h
352
B
-rw-r--r--
2016-01-11 00:01
ratelimit.h
1.89
KB
-rw-r--r--
2016-01-11 00:01
rational.h
600
B
-rw-r--r--
2016-01-11 00:01
rbtree.h
4.38
KB
-rw-r--r--
2016-01-11 00:01
rbtree_augmented.h
7.5
KB
-rw-r--r--
2016-01-11 00:01
rbtree_latch.h
6.58
KB
-rw-r--r--
2016-01-11 00:01
rcu_sync.h
2.51
KB
-rw-r--r--
2016-01-11 00:01
rculist.h
18.85
KB
-rw-r--r--
2016-01-11 00:01
rculist_bl.h
4.32
KB
-rw-r--r--
2016-01-11 00:01
rculist_nulls.h
4.26
KB
-rw-r--r--
2016-01-11 00:01
rcupdate.h
40.25
KB
-rw-r--r--
2016-01-11 00:01
rcutiny.h
4.31
KB
-rw-r--r--
2016-01-11 00:01
rcutree.h
3.64
KB
-rw-r--r--
2016-01-11 00:01
reboot.h
1.91
KB
-rw-r--r--
2016-01-11 00:01
reciprocal_div.h
993
B
-rw-r--r--
2016-01-11 00:01
regmap.h
35.16
KB
-rw-r--r--
2016-01-11 00:01
regset.h
13
KB
-rw-r--r--
2016-01-11 00:01
relay.h
8.61
KB
-rw-r--r--
2016-01-11 00:01
remoteproc.h
17.47
KB
-rw-r--r--
2016-01-11 00:01
reservation.h
4.41
KB
-rw-r--r--
2016-01-11 00:01
reset-controller.h
1.86
KB
-rw-r--r--
2016-01-11 00:01
reset.h
2.38
KB
-rw-r--r--
2016-01-11 00:01
resource.h
306
B
-rw-r--r--
2016-01-11 00:01
resource_ext.h
2.22
KB
-rw-r--r--
2016-01-11 00:01
rfkill-gpio.h
1.13
KB
-rw-r--r--
2016-01-11 00:01
rfkill-regulator.h
1.38
KB
-rw-r--r--
2016-01-11 00:01
rfkill.h
9.49
KB
-rw-r--r--
2016-01-11 00:01
rhashtable.h
24.9
KB
-rw-r--r--
2016-01-11 00:01
ring_buffer.h
6.63
KB
-rw-r--r--
2016-01-11 00:01
rio.h
16.47
KB
-rw-r--r--
2016-01-11 00:01
rio_drv.h
14.01
KB
-rw-r--r--
2016-01-11 00:01
rio_ids.h
1.22
KB
-rw-r--r--
2016-01-11 00:01
rio_regs.h
14.73
KB
-rw-r--r--
2016-01-11 00:01
rmap.h
8.04
KB
-rw-r--r--
2018-04-02 18:07
rndis.h
16.83
KB
-rw-r--r--
2016-01-11 00:01
root_dev.h
540
B
-rw-r--r--
2016-01-11 00:01
rotary_encoder.h
362
B
-rw-r--r--
2016-01-11 00:01
rpmsg.h
11.41
KB
-rw-r--r--
2016-01-11 00:01
rslib.h
2.99
KB
-rw-r--r--
2016-01-11 00:01
rtc-ds2404.h
467
B
-rw-r--r--
2016-01-11 00:01
rtc-v3020.h
1.03
KB
-rw-r--r--
2016-01-11 00:01
rtc.h
6.9
KB
-rw-r--r--
2016-01-11 00:01
rtmutex.h
2.82
KB
-rw-r--r--
2016-01-11 00:01
rtnetlink.h
3.9
KB
-rw-r--r--
2016-01-11 00:01
rwlock.h
4.29
KB
-rw-r--r--
2016-01-11 00:01
rwlock_api_smp.h
7.63
KB
-rw-r--r--
2016-01-11 00:01
rwlock_types.h
1.18
KB
-rw-r--r--
2016-01-11 00:01
rwsem-spinlock.h
1.47
KB
-rw-r--r--
2016-01-11 00:01
rwsem.h
5.12
KB
-rw-r--r--
2016-01-11 00:01
rxrpc.h
2.33
KB
-rw-r--r--
2016-01-11 00:01
s3c_adc_battery.h
932
B
-rw-r--r--
2016-01-11 00:01
sa11x0-dma.h
572
B
-rw-r--r--
2016-01-11 00:01
scatterlist.h
11.58
KB
-rw-r--r--
2016-01-11 00:01
scc.h
2.8
KB
-rw-r--r--
2016-01-11 00:01
sched.h
91.89
KB
-rw-r--r--
2018-04-02 18:07
sched_clock.h
559
B
-rw-r--r--
2016-01-11 00:01
scif.h
58.85
KB
-rw-r--r--
2016-01-11 00:01
scpi_protocol.h
2.36
KB
-rw-r--r--
2016-01-11 00:01
screen_info.h
152
B
-rw-r--r--
2016-01-11 00:01
sctp.h
21.93
KB
-rw-r--r--
2016-01-11 00:01
scx200.h
1.78
KB
-rw-r--r--
2016-01-11 00:01
scx200_gpio.h
2.34
KB
-rw-r--r--
2016-01-11 00:01
sdb.h
4.13
KB
-rw-r--r--
2016-01-11 00:01
sdla.h
6.9
KB
-rw-r--r--
2016-01-11 00:01
seccomp.h
2.66
KB
-rw-r--r--
2018-04-02 18:07
securebits.h
200
B
-rw-r--r--
2016-01-11 00:01
security.h
44.23
KB
-rw-r--r--
2018-04-02 18:07
selection.h
1.32
KB
-rw-r--r--
2016-01-11 00:01
selinux.h
910
B
-rw-r--r--
2016-01-11 00:01
sem.h
1.3
KB
-rw-r--r--
2018-04-02 18:07
semaphore.h
1.36
KB
-rw-r--r--
2016-01-11 00:01
seq_buf.h
3.12
KB
-rw-r--r--
2016-01-11 00:01
seq_file.h
6.63
KB
-rw-r--r--
2018-04-02 18:07
seq_file_net.h
674
B
-rw-r--r--
2016-01-11 00:01
seqlock.h
15.86
KB
-rw-r--r--
2016-01-11 00:01
seqno-fence.h
3.91
KB
-rw-r--r--
2016-01-11 00:01
serial.h
630
B
-rw-r--r--
2016-01-11 00:01
serial_8250.h
5.35
KB
-rw-r--r--
2016-01-11 00:01
serial_bcm63xx.h
4.69
KB
-rw-r--r--
2016-01-11 00:01
serial_core.h
15.25
KB
-rw-r--r--
2018-04-02 18:07
serial_max3100.h
1.39
KB
-rw-r--r--
2016-01-11 00:01
serial_pnx8xxx.h
2.61
KB
-rw-r--r--
2016-01-11 00:01
serial_s3c.h
9.24
KB
-rw-r--r--
2016-01-11 00:01
serial_sci.h
1.78
KB
-rw-r--r--
2016-01-11 00:01
serio.h
4.38
KB
-rw-r--r--
2018-04-02 18:07
sfi.h
5.73
KB
-rw-r--r--
2016-01-11 00:01
sfi_acpi.h
3.39
KB
-rw-r--r--
2016-01-11 00:01
sh_clk.h
6.09
KB
-rw-r--r--
2016-01-11 00:01
sh_dma.h
3.61
KB
-rw-r--r--
2016-01-11 00:01
sh_eth.h
396
B
-rw-r--r--
2018-04-02 18:07
sh_intc.h
3.39
KB
-rw-r--r--
2016-01-11 00:01
sh_timer.h
133
B
-rw-r--r--
2016-01-11 00:01
shdma-base.h
4.41
KB
-rw-r--r--
2016-01-11 00:01
shm.h
2.06
KB
-rw-r--r--
2016-01-11 00:01
shmem_fs.h
2.81
KB
-rw-r--r--
2018-04-02 18:07
shrinker.h
2.4
KB
-rw-r--r--
2016-01-11 00:01
signal.h
12.36
KB
-rw-r--r--
2018-04-02 18:07
signalfd.h
747
B
-rw-r--r--
2016-01-11 00:01
sirfsoc_dma.h
123
B
-rw-r--r--
2016-01-11 00:01
sizes.h
1.19
KB
-rw-r--r--
2016-01-11 00:01
skbuff.h
103.49
KB
-rw-r--r--
2018-04-02 18:07
slab.h
18.77
KB
-rw-r--r--
2018-04-02 18:07
slab_def.h
1.85
KB
-rw-r--r--
2016-01-11 00:01
slub_def.h
4.22
KB
-rw-r--r--
2016-01-11 00:01
sm501-regs.h
11.76
KB
-rw-r--r--
2016-01-11 00:01
sm501.h
4.63
KB
-rw-r--r--
2016-01-11 00:01
smc911x.h
255
B
-rw-r--r--
2016-01-11 00:01
smc91x.h
1.46
KB
-rw-r--r--
2018-04-02 18:07
smp.h
6.81
KB
-rw-r--r--
2018-04-02 18:07
smpboot.h
2.12
KB
-rw-r--r--
2016-01-11 00:01
smsc911x.h
2.29
KB
-rw-r--r--
2016-01-11 00:01
smscphy.h
1.21
KB
-rw-r--r--
2016-01-11 00:01
sock_diag.h
1.97
KB
-rw-r--r--
2018-04-02 18:07
socket.h
10.87
KB
-rw-r--r--
2016-01-11 00:01
sonet.h
430
B
-rw-r--r--
2016-01-11 00:01
sony-laptop.h
1.24
KB
-rw-r--r--
2016-01-11 00:01
sonypi.h
2.35
KB
-rw-r--r--
2016-01-11 00:01
sort.h
208
B
-rw-r--r--
2016-01-11 00:01
sound.h
768
B
-rw-r--r--
2016-01-11 00:01
soundcard.h
1.59
KB
-rw-r--r--
2016-01-11 00:01
spinlock.h
11.33
KB
-rw-r--r--
2016-01-11 00:01
spinlock_api_smp.h
5.5
KB
-rw-r--r--
2016-01-11 00:01
spinlock_api_up.h
3.38
KB
-rw-r--r--
2016-01-11 00:01
spinlock_types.h
2.05
KB
-rw-r--r--
2016-01-11 00:01
spinlock_types_up.h
726
B
-rw-r--r--
2016-01-11 00:01
spinlock_up.h
2.47
KB
-rw-r--r--
2016-01-11 00:01
splice.h
2.86
KB
-rw-r--r--
2018-04-02 18:07
spmi.h
5.95
KB
-rw-r--r--
2016-01-11 00:01
srcu.h
8.67
KB
-rw-r--r--
2016-01-11 00:01
ssbi.h
1.11
KB
-rw-r--r--
2016-01-11 00:01
stackprotector.h
285
B
-rw-r--r--
2016-01-11 00:01
stacktrace.h
1.18
KB
-rw-r--r--
2016-01-11 00:01
start_kernel.h
295
B
-rw-r--r--
2016-01-11 00:01
stat.h
745
B
-rw-r--r--
2016-01-11 00:01
statfs.h
1.28
KB
-rw-r--r--
2016-01-11 00:01
static_key.h
30
B
-rw-r--r--
2016-01-11 00:01
stddef.h
581
B
-rw-r--r--
2016-01-11 00:01
ste_modem_shm.h
1.59
KB
-rw-r--r--
2016-01-11 00:01
stm.h
4.13
KB
-rw-r--r--
2016-01-11 00:01
stmmac.h
4.02
KB
-rw-r--r--
2016-01-11 00:01
stmp3xxx_rtc_wdt.h
332
B
-rw-r--r--
2016-01-11 00:01
stmp_device.h
619
B
-rw-r--r--
2016-01-11 00:01
stop_machine.h
3.97
KB
-rw-r--r--
2016-01-11 00:01
string.h
4.68
KB
-rw-r--r--
2018-04-02 18:07
string_helpers.h
1.95
KB
-rw-r--r--
2016-01-11 00:01
stringify.h
341
B
-rw-r--r--
2016-01-11 00:01
sudmac.h
1.24
KB
-rw-r--r--
2016-01-11 00:01
sungem_phy.h
3.9
KB
-rw-r--r--
2016-01-11 00:01
sunserialcore.h
1.04
KB
-rw-r--r--
2016-01-11 00:01
sunxi-rsb.h
2.89
KB
-rw-r--r--
2016-01-11 00:01
superhyway.h
2.8
KB
-rw-r--r--
2016-01-11 00:01
suspend.h
18.2
KB
-rw-r--r--
2016-01-11 00:01
svga.h
3.71
KB
-rw-r--r--
2016-01-11 00:01
sw842.h
289
B
-rw-r--r--
2016-01-11 00:01
swab.h
509
B
-rw-r--r--
2016-01-11 00:01
swap.h
17.71
KB
-rw-r--r--
2018-04-02 18:07
swap_cgroup.h
876
B
-rw-r--r--
2016-01-11 00:01
swapfile.h
417
B
-rw-r--r--
2016-01-11 00:01
swapops.h
5.9
KB
-rw-r--r--
2016-01-11 00:01
swiotlb.h
3.52
KB
-rw-r--r--
2016-01-11 00:01
sxgbe_platform.h
1.34
KB
-rw-r--r--
2016-01-11 00:01
synclink.h
989
B
-rw-r--r--
2016-01-11 00:01
sys.h
921
B
-rw-r--r--
2016-01-11 00:01
sys_soc.h
952
B
-rw-r--r--
2016-01-11 00:01
syscalls.h
38.21
KB
-rw-r--r--
2016-01-11 00:01
syscore_ops.h
635
B
-rw-r--r--
2016-01-11 00:01
sysctl.h
6.8
KB
-rw-r--r--
2018-04-02 18:07
sysfs.h
14.66
KB
-rw-r--r--
2018-04-02 18:07
syslog.h
2.05
KB
-rw-r--r--
2016-01-11 00:01
sysrq.h
1.75
KB
-rw-r--r--
2016-01-11 00:01
sysv_fs.h
9
KB
-rw-r--r--
2016-01-11 00:01
t10-pi.h
518
B
-rw-r--r--
2016-01-11 00:01
task_io_accounting.h
1.09
KB
-rw-r--r--
2016-01-11 00:01
task_io_accounting_ops.h
2.51
KB
-rw-r--r--
2016-01-11 00:01
task_work.h
578
B
-rw-r--r--
2016-01-11 00:01
taskstats_kern.h
911
B
-rw-r--r--
2016-01-11 00:01
tboot.h
3.99
KB
-rw-r--r--
2016-01-11 00:01
tc.h
3.41
KB
-rw-r--r--
2016-01-11 00:01
tca6416_keypad.h
847
B
-rw-r--r--
2016-01-11 00:01
tcp.h
13.12
KB
-rw-r--r--
2018-04-02 18:07
textsearch.h
4.69
KB
-rw-r--r--
2016-01-11 00:01
textsearch_fsm.h
1.15
KB
-rw-r--r--
2016-01-11 00:01
tfrc.h
1.89
KB
-rw-r--r--
2016-01-11 00:01
thermal.h
17.25
KB
-rw-r--r--
2018-04-02 18:07
thinkpad_acpi.h
281
B
-rw-r--r--
2016-01-11 00:01
thread_info.h
3.94
KB
-rw-r--r--
2016-01-11 00:01
threads.h
1.24
KB
-rw-r--r--
2016-01-11 00:01
ti_wilink_st.h
14.07
KB
-rw-r--r--
2016-01-11 00:01
tick.h
5.48
KB
-rw-r--r--
2016-01-11 00:01
tifm.h
4.8
KB
-rw-r--r--
2016-01-11 00:01
timb_dma.h
1.74
KB
-rw-r--r--
2016-01-11 00:01
timb_gpio.h
1.28
KB
-rw-r--r--
2016-01-11 00:01
time.h
7.34
KB
-rw-r--r--
2018-04-02 18:07
time64.h
5.69
KB
-rw-r--r--
2016-01-11 00:01
timecounter.h
4.61
KB
-rw-r--r--
2016-01-11 00:01
timekeeper_internal.h
5.07
KB
-rw-r--r--
2018-04-02 18:07
timekeeping.h
7.53
KB
-rw-r--r--
2018-04-02 18:07
timer.h
7.75
KB
-rw-r--r--
2016-01-11 00:01
timerfd.h
999
B
-rw-r--r--
2016-01-11 00:01
timeriomem-rng.h
408
B
-rw-r--r--
2016-01-11 00:01
timerqueue.h
1.08
KB
-rw-r--r--
2016-01-11 00:01
timex.h
6.35
KB
-rw-r--r--
2016-01-11 00:01
topology.h
4.88
KB
-rw-r--r--
2016-01-11 00:01
torture.h
3.31
KB
-rw-r--r--
2016-01-11 00:01
toshiba.h
904
B
-rw-r--r--
2016-01-11 00:01
tpm.h
2.68
KB
-rw-r--r--
2016-01-11 00:01
tpm_command.h
808
B
-rw-r--r--
2016-01-11 00:01
trace_clock.h
628
B
-rw-r--r--
2016-01-11 00:01
trace_events.h
19.21
KB
-rw-r--r--
2018-04-02 18:07
trace_seq.h
3.72
KB
-rw-r--r--
2016-01-11 00:01
tracefs.h
1.19
KB
-rw-r--r--
2016-01-11 00:01
tracehook.h
7.08
KB
-rw-r--r--
2016-01-11 00:01
tracepoint.h
16.18
KB
-rw-r--r--
2018-04-02 18:07
transport_class.h
2.5
KB
-rw-r--r--
2016-01-11 00:01
tsacct_kern.h
1.16
KB
-rw-r--r--
2016-01-11 00:01
tty.h
23.87
KB
-rw-r--r--
2018-04-02 18:07
tty_driver.h
15.27
KB
-rw-r--r--
2016-01-11 00:01
tty_flip.h
1.52
KB
-rw-r--r--
2018-04-02 18:07
tty_ldisc.h
8.08
KB
-rw-r--r--
2016-01-11 00:01
typecheck.h
585
B
-rw-r--r--
2016-01-11 00:01
types.h
5.64
KB
-rw-r--r--
2016-01-11 00:01
u64_stats_sync.h
4.33
KB
-rw-r--r--
2016-01-11 00:01
uaccess.h
3.27
KB
-rw-r--r--
2016-01-11 00:01
ucb1400.h
4.26
KB
-rw-r--r--
2016-01-11 00:01
ucs2_string.h
623
B
-rw-r--r--
2018-04-02 18:07
udp.h
3.24
KB
-rw-r--r--
2016-01-11 00:01
uidgid.h
4.23
KB
-rw-r--r--
2018-04-02 18:07
uinput.h
2.18
KB
-rw-r--r--
2016-01-11 00:01
uio.h
5.17
KB
-rw-r--r--
2018-04-02 18:07
uio_driver.h
3.89
KB
-rw-r--r--
2016-01-11 00:01
uprobes.h
6.26
KB
-rw-r--r--
2016-01-11 00:01
usb.h
72.93
KB
-rw-r--r--
2018-04-02 18:07
usb_usual.h
3.3
KB
-rw-r--r--
2018-04-02 18:07
usbdevice_fs.h
2.15
KB
-rw-r--r--
2016-01-11 00:01
user-return-notifier.h
1.14
KB
-rw-r--r--
2016-01-11 00:01
user.h
22
B
-rw-r--r--
2016-01-11 00:01
user_namespace.h
2.79
KB
-rw-r--r--
2018-04-02 18:07
userfaultfd_k.h
2.1
KB
-rw-r--r--
2016-01-11 00:01
util_macros.h
1.13
KB
-rw-r--r--
2016-01-11 00:01
uts.h
349
B
-rw-r--r--
2016-01-11 00:01
utsname.h
1.64
KB
-rw-r--r--
2016-01-11 00:01
uuid.h
1.12
KB
-rw-r--r--
2016-01-11 00:01
uwb.h
25.22
KB
-rw-r--r--
2016-01-11 00:01
verify_pefile.h
701
B
-rw-r--r--
2016-01-11 00:01
vermagic.h
963
B
-rw-r--r--
2018-04-02 18:07
vexpress.h
1.44
KB
-rw-r--r--
2016-01-11 00:01
vfio.h
4.28
KB
-rw-r--r--
2018-04-02 18:07
vfs.h
77
B
-rw-r--r--
2016-01-11 00:01
vga_switcheroo.h
7.04
KB
-rw-r--r--
2016-01-11 00:01
vgaarb.h
9.15
KB
-rw-r--r--
2016-01-11 00:01
via-core.h
7.27
KB
-rw-r--r--
2016-01-11 00:01
via-gpio.h
334
B
-rw-r--r--
2016-01-11 00:01
via.h
893
B
-rw-r--r--
2016-01-11 00:01
via_i2c.h
1.48
KB
-rw-r--r--
2016-01-11 00:01
videodev2.h
2.68
KB
-rw-r--r--
2016-01-11 00:01
virtio.h
5.73
KB
-rw-r--r--
2016-01-11 00:01
virtio_byteorder.h
1.42
KB
-rw-r--r--
2016-01-11 00:01
virtio_caif.h
492
B
-rw-r--r--
2016-01-11 00:01
virtio_config.h
11.52
KB
-rw-r--r--
2016-01-11 00:01
virtio_console.h
1.93
KB
-rw-r--r--
2016-01-11 00:01
virtio_mmio.h
4.48
KB
-rw-r--r--
2016-01-11 00:01
virtio_ring.h
1.68
KB
-rw-r--r--
2016-01-11 00:01
vlynq.h
3.88
KB
-rw-r--r--
2016-01-11 00:01
vm_event_item.h
2.47
KB
-rw-r--r--
2018-04-02 18:07
vm_sockets.h
703
B
-rw-r--r--
2016-01-11 00:01
vmacache.h
1.01
KB
-rw-r--r--
2016-01-11 00:01
vmalloc.h
5.66
KB
-rw-r--r--
2016-01-11 00:01
vme.h
5.15
KB
-rw-r--r--
2016-01-11 00:01
vmpressure.h
1.58
KB
-rw-r--r--
2016-01-11 00:01
vmstat.h
7.08
KB
-rw-r--r--
2016-01-11 00:01
vmw_vmci_api.h
3.19
KB
-rw-r--r--
2016-01-11 00:01
vmw_vmci_defs.h
26.51
KB
-rw-r--r--
2016-01-11 00:01
vringh.h
7.76
KB
-rw-r--r--
2016-01-11 00:01
vt.h
572
B
-rw-r--r--
2016-01-11 00:01
vt_buffer.h
1.25
KB
-rw-r--r--
2016-01-11 00:01
vt_kern.h
6.13
KB
-rw-r--r--
2018-04-02 18:07
vtime.h
3.66
KB
-rw-r--r--
2016-01-11 00:01
w1-gpio.h
729
B
-rw-r--r--
2016-01-11 00:01
wait.h
39.35
KB
-rw-r--r--
2016-01-11 00:01
wanrouter.h
171
B
-rw-r--r--
2016-01-11 00:01
watchdog.h
5.3
KB
-rw-r--r--
2016-01-11 00:01
wireless.h
1.36
KB
-rw-r--r--
2016-01-11 00:01
wl12xx.h
1.39
KB
-rw-r--r--
2016-01-11 00:01
wm97xx.h
10.57
KB
-rw-r--r--
2016-01-11 00:01
workqueue.h
20.22
KB
-rw-r--r--
2018-04-02 18:07
writeback.h
12.32
KB
-rw-r--r--
2018-04-02 18:07
ww_mutex.h
12.8
KB
-rw-r--r--
2016-01-11 00:01
xattr.h
3.21
KB
-rw-r--r--
2016-01-11 00:01
xz.h
11.16
KB
-rw-r--r--
2016-01-11 00:01
yam.h
2.82
KB
-rw-r--r--
2016-01-11 00:01
z2_battery.h
279
B
-rw-r--r--
2016-01-11 00:01
zbud.h
701
B
-rw-r--r--
2016-01-11 00:01
zconf.h
1.73
KB
-rw-r--r--
2016-01-11 00:01
zlib.h
27.97
KB
-rw-r--r--
2016-01-11 00:01
zorro.h
3.94
KB
-rw-r--r--
2016-01-11 00:01
zpool.h
2.95
KB
-rw-r--r--
2016-01-11 00:01
zsmalloc.h
1.64
KB
-rw-r--r--
2016-01-11 00:01
zutil.h
2.73
KB
-rw-r--r--
2016-01-11 00:01
Save
Rename
#ifndef _LINUX_MM_H #define _LINUX_MM_H #include <linux/errno.h> #ifdef __KERNEL__ #include <linux/mmdebug.h> #include <linux/gfp.h> #include <linux/bug.h> #include <linux/list.h> #include <linux/mmzone.h> #include <linux/rbtree.h> #include <linux/atomic.h> #include <linux/debug_locks.h> #include <linux/mm_types.h> #include <linux/range.h> #include <linux/pfn.h> #include <linux/bit_spinlock.h> #include <linux/shrinker.h> #include <linux/resource.h> #include <linux/page_ext.h> #include <linux/err.h> struct mempolicy; struct anon_vma; struct anon_vma_chain; struct file_ra_state; struct user_struct; struct writeback_control; struct bdi_writeback; #ifndef CONFIG_NEED_MULTIPLE_NODES /* Don't use mapnrs, do it properly */ extern unsigned long max_mapnr; static inline void set_max_mapnr(unsigned long limit) { max_mapnr = limit; } #else static inline void set_max_mapnr(unsigned long limit) { } #endif extern unsigned long totalram_pages; extern void * high_memory; extern int page_cluster; #ifdef CONFIG_SYSCTL extern int sysctl_legacy_va_layout; #else #define sysctl_legacy_va_layout 0 #endif #include <asm/page.h> #include <asm/pgtable.h> #include <asm/processor.h> #ifndef __pa_symbol #define __pa_symbol(x) __pa(RELOC_HIDE((unsigned long)(x), 0)) #endif /* * To prevent common memory management code establishing * a zero page mapping on a read fault. * This macro should be defined within <asm/pgtable.h>. * s390 does this to prevent multiplexing of hardware bits * related to the physical page in case of virtualization. */ #ifndef mm_forbids_zeropage #define mm_forbids_zeropage(X) (0) #endif extern unsigned long sysctl_user_reserve_kbytes; extern unsigned long sysctl_admin_reserve_kbytes; extern int sysctl_overcommit_memory; extern int sysctl_overcommit_ratio; extern unsigned long sysctl_overcommit_kbytes; extern int overcommit_ratio_handler(struct ctl_table *, int, void __user *, size_t *, loff_t *); extern int overcommit_kbytes_handler(struct ctl_table *, int, void __user *, size_t *, loff_t *); #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n)) /* to align the pointer to the (next) page boundary */ #define PAGE_ALIGN(addr) ALIGN(addr, PAGE_SIZE) /* test whether an address (unsigned long or pointer) is aligned to PAGE_SIZE */ #define PAGE_ALIGNED(addr) IS_ALIGNED((unsigned long)addr, PAGE_SIZE) /* * Linux kernel virtual memory manager primitives. * The idea being to have a "virtual" mm in the same way * we have a virtual fs - giving a cleaner interface to the * mm details, and allowing different kinds of memory mappings * (from shared memory to executable loading to arbitrary * mmap() functions). */ extern struct kmem_cache *vm_area_cachep; #ifndef CONFIG_MMU extern struct rb_root nommu_region_tree; extern struct rw_semaphore nommu_region_sem; extern unsigned int kobjsize(const void *objp); #endif /* * vm_flags in vm_area_struct, see mm_types.h. */ #define VM_NONE 0x00000000 #define VM_READ 0x00000001 /* currently active flags */ #define VM_WRITE 0x00000002 #define VM_EXEC 0x00000004 #define VM_SHARED 0x00000008 /* mprotect() hardcodes VM_MAYREAD >> 4 == VM_READ, and so for r/w/x bits. */ #define VM_MAYREAD 0x00000010 /* limits for mprotect() etc */ #define VM_MAYWRITE 0x00000020 #define VM_MAYEXEC 0x00000040 #define VM_MAYSHARE 0x00000080 #define VM_GROWSDOWN 0x00000100 /* general info on the segment */ #define VM_UFFD_MISSING 0x00000200 /* missing pages tracking */ #define VM_PFNMAP 0x00000400 /* Page-ranges managed without "struct page", just pure PFN */ #define VM_DENYWRITE 0x00000800 /* ETXTBSY on write attempts.. */ #define VM_UFFD_WP 0x00001000 /* wrprotect pages tracking */ #define VM_LOCKED 0x00002000 #define VM_IO 0x00004000 /* Memory mapped I/O or similar */ /* Used by sys_madvise() */ #define VM_SEQ_READ 0x00008000 /* App will access data sequentially */ #define VM_RAND_READ 0x00010000 /* App will not benefit from clustered reads */ #define VM_DONTCOPY 0x00020000 /* Do not copy this vma on fork */ #define VM_DONTEXPAND 0x00040000 /* Cannot expand with mremap() */ #define VM_LOCKONFAULT 0x00080000 /* Lock the pages covered when they are faulted in */ #define VM_ACCOUNT 0x00100000 /* Is a VM accounted object */ #define VM_NORESERVE 0x00200000 /* should the VM suppress accounting */ #define VM_HUGETLB 0x00400000 /* Huge TLB Page VM */ #define VM_ARCH_1 0x01000000 /* Architecture-specific flag */ #define VM_ARCH_2 0x02000000 #define VM_DONTDUMP 0x04000000 /* Do not include in the core dump */ #ifdef CONFIG_MEM_SOFT_DIRTY # define VM_SOFTDIRTY 0x08000000 /* Not soft dirty clean area */ #else # define VM_SOFTDIRTY 0 #endif #define VM_MIXEDMAP 0x10000000 /* Can contain "struct page" and pure PFN pages */ #define VM_HUGEPAGE 0x20000000 /* MADV_HUGEPAGE marked this vma */ #define VM_NOHUGEPAGE 0x40000000 /* MADV_NOHUGEPAGE marked this vma */ #define VM_MERGEABLE 0x80000000 /* KSM may merge identical pages */ #if defined(CONFIG_X86) # define VM_PAT VM_ARCH_1 /* PAT reserves whole VMA at once (x86) */ #elif defined(CONFIG_PPC) # define VM_SAO VM_ARCH_1 /* Strong Access Ordering (powerpc) */ #elif defined(CONFIG_PARISC) # define VM_GROWSUP VM_ARCH_1 #elif defined(CONFIG_METAG) # define VM_GROWSUP VM_ARCH_1 #elif defined(CONFIG_IA64) # define VM_GROWSUP VM_ARCH_1 #elif !defined(CONFIG_MMU) # define VM_MAPPED_COPY VM_ARCH_1 /* T if mapped copy of data (nommu mmap) */ #endif #if defined(CONFIG_X86) /* MPX specific bounds table or bounds directory */ # define VM_MPX VM_ARCH_2 #endif #ifndef VM_GROWSUP # define VM_GROWSUP VM_NONE #endif /* Bits set in the VMA until the stack is in its final location */ #define VM_STACK_INCOMPLETE_SETUP (VM_RAND_READ | VM_SEQ_READ) #ifndef VM_STACK_DEFAULT_FLAGS /* arch can override this */ #define VM_STACK_DEFAULT_FLAGS VM_DATA_DEFAULT_FLAGS #endif #ifdef CONFIG_STACK_GROWSUP #define VM_STACK_FLAGS (VM_GROWSUP | VM_STACK_DEFAULT_FLAGS | VM_ACCOUNT) #else #define VM_STACK_FLAGS (VM_GROWSDOWN | VM_STACK_DEFAULT_FLAGS | VM_ACCOUNT) #endif /* * Special vmas that are non-mergable, non-mlock()able. * Note: mm/huge_memory.c VM_NO_THP depends on this definition. */ #define VM_SPECIAL (VM_IO | VM_DONTEXPAND | VM_PFNMAP | VM_MIXEDMAP) /* This mask defines which mm->def_flags a process can inherit its parent */ #define VM_INIT_DEF_MASK VM_NOHUGEPAGE /* This mask is used to clear all the VMA flags used by mlock */ #define VM_LOCKED_CLEAR_MASK (~(VM_LOCKED | VM_LOCKONFAULT)) /* * mapping from the currently active vm_flags protection bits (the * low four bits) to a page protection mask.. */ extern pgprot_t protection_map[16]; #define FAULT_FLAG_WRITE 0x01 /* Fault was a write access */ #define FAULT_FLAG_MKWRITE 0x02 /* Fault was mkwrite of existing pte */ #define FAULT_FLAG_ALLOW_RETRY 0x04 /* Retry fault if blocking */ #define FAULT_FLAG_RETRY_NOWAIT 0x08 /* Don't drop mmap_sem and wait when retrying */ #define FAULT_FLAG_KILLABLE 0x10 /* The fault task is in SIGKILL killable region */ #define FAULT_FLAG_TRIED 0x20 /* Second try */ #define FAULT_FLAG_USER 0x40 /* The fault originated in userspace */ /* * vm_fault is filled by the the pagefault handler and passed to the vma's * ->fault function. The vma's ->fault is responsible for returning a bitmask * of VM_FAULT_xxx flags that give details about how the fault was handled. * * pgoff should be used in favour of virtual_address, if possible. */ struct vm_fault { unsigned int flags; /* FAULT_FLAG_xxx flags */ pgoff_t pgoff; /* Logical page offset based on vma */ void __user *virtual_address; /* Faulting virtual address */ struct page *cow_page; /* Handler may choose to COW */ struct page *page; /* ->fault handlers should return a * page here, unless VM_FAULT_NOPAGE * is set (which is also implied by * VM_FAULT_ERROR). */ /* for ->map_pages() only */ pgoff_t max_pgoff; /* map pages for offset from pgoff till * max_pgoff inclusive */ pte_t *pte; /* pte entry associated with ->pgoff */ }; /* * These are the virtual MM functions - opening of an area, closing and * unmapping it (needed to keep files on disk up-to-date etc), pointer * to the functions called when a no-page or a wp-page exception occurs. */ struct vm_operations_struct { void (*open)(struct vm_area_struct * area); void (*close)(struct vm_area_struct * area); int (*mremap)(struct vm_area_struct * area); int (*fault)(struct vm_area_struct *vma, struct vm_fault *vmf); int (*pmd_fault)(struct vm_area_struct *, unsigned long address, pmd_t *, unsigned int flags); void (*map_pages)(struct vm_area_struct *vma, struct vm_fault *vmf); /* notification that a previously read-only page is about to become * writable, if an error is returned it will cause a SIGBUS */ int (*page_mkwrite)(struct vm_area_struct *vma, struct vm_fault *vmf); /* same as page_mkwrite when using VM_PFNMAP|VM_MIXEDMAP */ int (*pfn_mkwrite)(struct vm_area_struct *vma, struct vm_fault *vmf); /* called by access_process_vm when get_user_pages() fails, typically * for use by special VMAs that can switch between memory and hardware */ int (*access)(struct vm_area_struct *vma, unsigned long addr, void *buf, int len, int write); /* Called by the /proc/PID/maps code to ask the vma whether it * has a special name. Returning non-NULL will also cause this * vma to be dumped unconditionally. */ const char *(*name)(struct vm_area_struct *vma); #ifdef CONFIG_NUMA /* * set_policy() op must add a reference to any non-NULL @new mempolicy * to hold the policy upon return. Caller should pass NULL @new to * remove a policy and fall back to surrounding context--i.e. do not * install a MPOL_DEFAULT policy, nor the task or system default * mempolicy. */ int (*set_policy)(struct vm_area_struct *vma, struct mempolicy *new); /* * get_policy() op must add reference [mpol_get()] to any policy at * (vma,addr) marked as MPOL_SHARED. The shared policy infrastructure * in mm/mempolicy.c will do this automatically. * get_policy() must NOT add a ref if the policy at (vma,addr) is not * marked as MPOL_SHARED. vma policies are protected by the mmap_sem. * If no [shared/vma] mempolicy exists at the addr, get_policy() op * must return NULL--i.e., do not "fallback" to task or system default * policy. */ struct mempolicy *(*get_policy)(struct vm_area_struct *vma, unsigned long addr); #endif /* * Called by vm_normal_page() for special PTEs to find the * page for @addr. This is useful if the default behavior * (using pte_page()) would not find the correct page. */ struct page *(*find_special_page)(struct vm_area_struct *vma, unsigned long addr); }; struct mmu_gather; struct inode; #define page_private(page) ((page)->private) #define set_page_private(page, v) ((page)->private = (v)) /* * FIXME: take this include out, include page-flags.h in * files which need it (119 of them) */ #include <linux/page-flags.h> #include <linux/huge_mm.h> /* * Methods to modify the page usage count. * * What counts for a page usage: * - cache mapping (page->mapping) * - private data (page->private) * - page mapped in a task's page tables, each mapping * is counted separately * * Also, many kernel routines increase the page count before a critical * routine so they can be sure the page doesn't go away from under them. */ /* * Drop a ref, return true if the refcount fell to zero (the page has no users) */ static inline int put_page_testzero(struct page *page) { VM_BUG_ON_PAGE(atomic_read(&page->_count) == 0, page); return atomic_dec_and_test(&page->_count); } /* * Try to grab a ref unless the page has a refcount of zero, return false if * that is the case. * This can be called when MMU is off so it must not access * any of the virtual mappings. */ static inline int get_page_unless_zero(struct page *page) { return atomic_inc_not_zero(&page->_count); } extern int page_is_ram(unsigned long pfn); enum { REGION_INTERSECTS, REGION_DISJOINT, REGION_MIXED, }; int region_intersects(resource_size_t offset, size_t size, const char *type); /* Support for virtually mapped pages */ struct page *vmalloc_to_page(const void *addr); unsigned long vmalloc_to_pfn(const void *addr); /* * Determine if an address is within the vmalloc range * * On nommu, vmalloc/vfree wrap through kmalloc/kfree directly, so there * is no special casing required. */ static inline int is_vmalloc_addr(const void *x) { #ifdef CONFIG_MMU unsigned long addr = (unsigned long)x; return addr >= VMALLOC_START && addr < VMALLOC_END; #else return 0; #endif } #ifdef CONFIG_MMU extern int is_vmalloc_or_module_addr(const void *x); #else static inline int is_vmalloc_or_module_addr(const void *x) { return 0; } #endif extern void kvfree(const void *addr); static inline void compound_lock(struct page *page) { #ifdef CONFIG_TRANSPARENT_HUGEPAGE VM_BUG_ON_PAGE(PageSlab(page), page); bit_spin_lock(PG_compound_lock, &page->flags); #endif } static inline void compound_unlock(struct page *page) { #ifdef CONFIG_TRANSPARENT_HUGEPAGE VM_BUG_ON_PAGE(PageSlab(page), page); bit_spin_unlock(PG_compound_lock, &page->flags); #endif } static inline unsigned long compound_lock_irqsave(struct page *page) { unsigned long uninitialized_var(flags); #ifdef CONFIG_TRANSPARENT_HUGEPAGE local_irq_save(flags); compound_lock(page); #endif return flags; } static inline void compound_unlock_irqrestore(struct page *page, unsigned long flags) { #ifdef CONFIG_TRANSPARENT_HUGEPAGE compound_unlock(page); local_irq_restore(flags); #endif } /* * The atomic page->_mapcount, starts from -1: so that transitions * both from it and to it can be tracked, using atomic_inc_and_test * and atomic_add_negative(-1). */ static inline void page_mapcount_reset(struct page *page) { atomic_set(&(page)->_mapcount, -1); } static inline int page_mapcount(struct page *page) { VM_BUG_ON_PAGE(PageSlab(page), page); return atomic_read(&page->_mapcount) + 1; } static inline int page_count(struct page *page) { return atomic_read(&compound_head(page)->_count); } static inline bool __compound_tail_refcounted(struct page *page) { return PageAnon(page) && !PageSlab(page) && !PageHeadHuge(page); } /* * This takes a head page as parameter and tells if the * tail page reference counting can be skipped. * * For this to be safe, PageSlab and PageHeadHuge must remain true on * any given page where they return true here, until all tail pins * have been released. */ static inline bool compound_tail_refcounted(struct page *page) { VM_BUG_ON_PAGE(!PageHead(page), page); return __compound_tail_refcounted(page); } static inline void get_huge_page_tail(struct page *page) { /* * __split_huge_page_refcount() cannot run from under us. */ VM_BUG_ON_PAGE(!PageTail(page), page); VM_BUG_ON_PAGE(page_mapcount(page) < 0, page); VM_BUG_ON_PAGE(atomic_read(&page->_count) != 0, page); if (compound_tail_refcounted(compound_head(page))) atomic_inc(&page->_mapcount); } extern bool __get_page_tail(struct page *page); static inline void get_page(struct page *page) { if (unlikely(PageTail(page))) if (likely(__get_page_tail(page))) return; /* * Getting a normal page or the head of a compound page * requires to already have an elevated page->_count. */ VM_BUG_ON_PAGE(atomic_read(&page->_count) <= 0, page); atomic_inc(&page->_count); } static inline struct page *virt_to_head_page(const void *x) { struct page *page = virt_to_page(x); return compound_head(page); } /* * Setup the page count before being freed into the page allocator for * the first time (boot or memory hotplug) */ static inline void init_page_count(struct page *page) { atomic_set(&page->_count, 1); } void put_page(struct page *page); void put_pages_list(struct list_head *pages); void split_page(struct page *page, unsigned int order); int split_free_page(struct page *page); /* * Compound pages have a destructor function. Provide a * prototype for that function and accessor functions. * These are _only_ valid on the head of a compound page. */ typedef void compound_page_dtor(struct page *); /* Keep the enum in sync with compound_page_dtors array in mm/page_alloc.c */ enum compound_dtor_id { NULL_COMPOUND_DTOR, COMPOUND_PAGE_DTOR, #ifdef CONFIG_HUGETLB_PAGE HUGETLB_PAGE_DTOR, #endif NR_COMPOUND_DTORS, }; extern compound_page_dtor * const compound_page_dtors[]; static inline void set_compound_page_dtor(struct page *page, enum compound_dtor_id compound_dtor) { VM_BUG_ON_PAGE(compound_dtor >= NR_COMPOUND_DTORS, page); page[1].compound_dtor = compound_dtor; } static inline compound_page_dtor *get_compound_page_dtor(struct page *page) { VM_BUG_ON_PAGE(page[1].compound_dtor >= NR_COMPOUND_DTORS, page); return compound_page_dtors[page[1].compound_dtor]; } static inline unsigned int compound_order(struct page *page) { if (!PageHead(page)) return 0; return page[1].compound_order; } static inline void set_compound_order(struct page *page, unsigned int order) { page[1].compound_order = order; } #ifdef CONFIG_MMU /* * Do pte_mkwrite, but only if the vma says VM_WRITE. We do this when * servicing faults for write access. In the normal case, do always want * pte_mkwrite. But get_user_pages can cause write faults for mappings * that do not have writing enabled, when used by access_process_vm. */ static inline pte_t maybe_mkwrite(pte_t pte, struct vm_area_struct *vma) { if (likely(vma->vm_flags & VM_WRITE)) pte = pte_mkwrite(pte); return pte; } void do_set_pte(struct vm_area_struct *vma, unsigned long address, struct page *page, pte_t *pte, bool write, bool anon); #endif /* * Multiple processes may "see" the same page. E.g. for untouched * mappings of /dev/null, all processes see the same page full of * zeroes, and text pages of executables and shared libraries have * only one copy in memory, at most, normally. * * For the non-reserved pages, page_count(page) denotes a reference count. * page_count() == 0 means the page is free. page->lru is then used for * freelist management in the buddy allocator. * page_count() > 0 means the page has been allocated. * * Pages are allocated by the slab allocator in order to provide memory * to kmalloc and kmem_cache_alloc. In this case, the management of the * page, and the fields in 'struct page' are the responsibility of mm/slab.c * unless a particular usage is carefully commented. (the responsibility of * freeing the kmalloc memory is the caller's, of course). * * A page may be used by anyone else who does a __get_free_page(). * In this case, page_count still tracks the references, and should only * be used through the normal accessor functions. The top bits of page->flags * and page->virtual store page management information, but all other fields * are unused and could be used privately, carefully. The management of this * page is the responsibility of the one who allocated it, and those who have * subsequently been given references to it. * * The other pages (we may call them "pagecache pages") are completely * managed by the Linux memory manager: I/O, buffers, swapping etc. * The following discussion applies only to them. * * A pagecache page contains an opaque `private' member, which belongs to the * page's address_space. Usually, this is the address of a circular list of * the page's disk buffers. PG_private must be set to tell the VM to call * into the filesystem to release these pages. * * A page may belong to an inode's memory mapping. In this case, page->mapping * is the pointer to the inode, and page->index is the file offset of the page, * in units of PAGE_CACHE_SIZE. * * If pagecache pages are not associated with an inode, they are said to be * anonymous pages. These may become associated with the swapcache, and in that * case PG_swapcache is set, and page->private is an offset into the swapcache. * * In either case (swapcache or inode backed), the pagecache itself holds one * reference to the page. Setting PG_private should also increment the * refcount. The each user mapping also has a reference to the page. * * The pagecache pages are stored in a per-mapping radix tree, which is * rooted at mapping->page_tree, and indexed by offset. * Where 2.4 and early 2.6 kernels kept dirty/clean pages in per-address_space * lists, we instead now tag pages as dirty/writeback in the radix tree. * * All pagecache pages may be subject to I/O: * - inode pages may need to be read from disk, * - inode pages which have been modified and are MAP_SHARED may need * to be written back to the inode on disk, * - anonymous pages (including MAP_PRIVATE file mappings) which have been * modified may need to be swapped out to swap space and (later) to be read * back into memory. */ /* * The zone field is never updated after free_area_init_core() * sets it, so none of the operations on it need to be atomic. */ /* Page flags: | [SECTION] | [NODE] | ZONE | [LAST_CPUPID] | ... | FLAGS | */ #define SECTIONS_PGOFF ((sizeof(unsigned long)*8) - SECTIONS_WIDTH) #define NODES_PGOFF (SECTIONS_PGOFF - NODES_WIDTH) #define ZONES_PGOFF (NODES_PGOFF - ZONES_WIDTH) #define LAST_CPUPID_PGOFF (ZONES_PGOFF - LAST_CPUPID_WIDTH) /* * Define the bit shifts to access each section. For non-existent * sections we define the shift as 0; that plus a 0 mask ensures * the compiler will optimise away reference to them. */ #define SECTIONS_PGSHIFT (SECTIONS_PGOFF * (SECTIONS_WIDTH != 0)) #define NODES_PGSHIFT (NODES_PGOFF * (NODES_WIDTH != 0)) #define ZONES_PGSHIFT (ZONES_PGOFF * (ZONES_WIDTH != 0)) #define LAST_CPUPID_PGSHIFT (LAST_CPUPID_PGOFF * (LAST_CPUPID_WIDTH != 0)) /* NODE:ZONE or SECTION:ZONE is used to ID a zone for the buddy allocator */ #ifdef NODE_NOT_IN_PAGE_FLAGS #define ZONEID_SHIFT (SECTIONS_SHIFT + ZONES_SHIFT) #define ZONEID_PGOFF ((SECTIONS_PGOFF < ZONES_PGOFF)? \ SECTIONS_PGOFF : ZONES_PGOFF) #else #define ZONEID_SHIFT (NODES_SHIFT + ZONES_SHIFT) #define ZONEID_PGOFF ((NODES_PGOFF < ZONES_PGOFF)? \ NODES_PGOFF : ZONES_PGOFF) #endif #define ZONEID_PGSHIFT (ZONEID_PGOFF * (ZONEID_SHIFT != 0)) #if SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS #endif #define ZONES_MASK ((1UL << ZONES_WIDTH) - 1) #define NODES_MASK ((1UL << NODES_WIDTH) - 1) #define SECTIONS_MASK ((1UL << SECTIONS_WIDTH) - 1) #define LAST_CPUPID_MASK ((1UL << LAST_CPUPID_SHIFT) - 1) #define ZONEID_MASK ((1UL << ZONEID_SHIFT) - 1) static inline enum zone_type page_zonenum(const struct page *page) { return (page->flags >> ZONES_PGSHIFT) & ZONES_MASK; } #if defined(CONFIG_SPARSEMEM) && !defined(CONFIG_SPARSEMEM_VMEMMAP) #define SECTION_IN_PAGE_FLAGS #endif /* * The identification function is mainly used by the buddy allocator for * determining if two pages could be buddies. We are not really identifying * the zone since we could be using the section number id if we do not have * node id available in page flags. * We only guarantee that it will return the same value for two combinable * pages in a zone. */ static inline int page_zone_id(struct page *page) { return (page->flags >> ZONEID_PGSHIFT) & ZONEID_MASK; } static inline int zone_to_nid(struct zone *zone) { #ifdef CONFIG_NUMA return zone->node; #else return 0; #endif } #ifdef NODE_NOT_IN_PAGE_FLAGS extern int page_to_nid(const struct page *page); #else static inline int page_to_nid(const struct page *page) { return (page->flags >> NODES_PGSHIFT) & NODES_MASK; } #endif #ifdef CONFIG_NUMA_BALANCING static inline int cpu_pid_to_cpupid(int cpu, int pid) { return ((cpu & LAST__CPU_MASK) << LAST__PID_SHIFT) | (pid & LAST__PID_MASK); } static inline int cpupid_to_pid(int cpupid) { return cpupid & LAST__PID_MASK; } static inline int cpupid_to_cpu(int cpupid) { return (cpupid >> LAST__PID_SHIFT) & LAST__CPU_MASK; } static inline int cpupid_to_nid(int cpupid) { return cpu_to_node(cpupid_to_cpu(cpupid)); } static inline bool cpupid_pid_unset(int cpupid) { return cpupid_to_pid(cpupid) == (-1 & LAST__PID_MASK); } static inline bool cpupid_cpu_unset(int cpupid) { return cpupid_to_cpu(cpupid) == (-1 & LAST__CPU_MASK); } static inline bool __cpupid_match_pid(pid_t task_pid, int cpupid) { return (task_pid & LAST__PID_MASK) == cpupid_to_pid(cpupid); } #define cpupid_match_pid(task, cpupid) __cpupid_match_pid(task->pid, cpupid) #ifdef LAST_CPUPID_NOT_IN_PAGE_FLAGS static inline int page_cpupid_xchg_last(struct page *page, int cpupid) { return xchg(&page->_last_cpupid, cpupid & LAST_CPUPID_MASK); } static inline int page_cpupid_last(struct page *page) { return page->_last_cpupid; } static inline void page_cpupid_reset_last(struct page *page) { page->_last_cpupid = -1 & LAST_CPUPID_MASK; } #else static inline int page_cpupid_last(struct page *page) { return (page->flags >> LAST_CPUPID_PGSHIFT) & LAST_CPUPID_MASK; } extern int page_cpupid_xchg_last(struct page *page, int cpupid); static inline void page_cpupid_reset_last(struct page *page) { int cpupid = (1 << LAST_CPUPID_SHIFT) - 1; page->flags &= ~(LAST_CPUPID_MASK << LAST_CPUPID_PGSHIFT); page->flags |= (cpupid & LAST_CPUPID_MASK) << LAST_CPUPID_PGSHIFT; } #endif /* LAST_CPUPID_NOT_IN_PAGE_FLAGS */ #else /* !CONFIG_NUMA_BALANCING */ static inline int page_cpupid_xchg_last(struct page *page, int cpupid) { return page_to_nid(page); /* XXX */ } static inline int page_cpupid_last(struct page *page) { return page_to_nid(page); /* XXX */ } static inline int cpupid_to_nid(int cpupid) { return -1; } static inline int cpupid_to_pid(int cpupid) { return -1; } static inline int cpupid_to_cpu(int cpupid) { return -1; } static inline int cpu_pid_to_cpupid(int nid, int pid) { return -1; } static inline bool cpupid_pid_unset(int cpupid) { return 1; } static inline void page_cpupid_reset_last(struct page *page) { } static inline bool cpupid_match_pid(struct task_struct *task, int cpupid) { return false; } #endif /* CONFIG_NUMA_BALANCING */ static inline struct zone *page_zone(const struct page *page) { return &NODE_DATA(page_to_nid(page))->node_zones[page_zonenum(page)]; } #ifdef SECTION_IN_PAGE_FLAGS static inline void set_page_section(struct page *page, unsigned long section) { page->flags &= ~(SECTIONS_MASK << SECTIONS_PGSHIFT); page->flags |= (section & SECTIONS_MASK) << SECTIONS_PGSHIFT; } static inline unsigned long page_to_section(const struct page *page) { return (page->flags >> SECTIONS_PGSHIFT) & SECTIONS_MASK; } #endif static inline void set_page_zone(struct page *page, enum zone_type zone) { page->flags &= ~(ZONES_MASK << ZONES_PGSHIFT); page->flags |= (zone & ZONES_MASK) << ZONES_PGSHIFT; } static inline void set_page_node(struct page *page, unsigned long node) { page->flags &= ~(NODES_MASK << NODES_PGSHIFT); page->flags |= (node & NODES_MASK) << NODES_PGSHIFT; } static inline void set_page_links(struct page *page, enum zone_type zone, unsigned long node, unsigned long pfn) { set_page_zone(page, zone); set_page_node(page, node); #ifdef SECTION_IN_PAGE_FLAGS set_page_section(page, pfn_to_section_nr(pfn)); #endif } #ifdef CONFIG_MEMCG static inline struct mem_cgroup *page_memcg(struct page *page) { return page->mem_cgroup; } static inline void set_page_memcg(struct page *page, struct mem_cgroup *memcg) { page->mem_cgroup = memcg; } #else static inline struct mem_cgroup *page_memcg(struct page *page) { return NULL; } static inline void set_page_memcg(struct page *page, struct mem_cgroup *memcg) { } #endif /* * Some inline functions in vmstat.h depend on page_zone() */ #include <linux/vmstat.h> static __always_inline void *lowmem_page_address(const struct page *page) { return __va(PFN_PHYS(page_to_pfn(page))); } #if defined(CONFIG_HIGHMEM) && !defined(WANT_PAGE_VIRTUAL) #define HASHED_PAGE_VIRTUAL #endif #if defined(WANT_PAGE_VIRTUAL) static inline void *page_address(const struct page *page) { return page->virtual; } static inline void set_page_address(struct page *page, void *address) { page->virtual = address; } #define page_address_init() do { } while(0) #endif #if defined(HASHED_PAGE_VIRTUAL) void *page_address(const struct page *page); void set_page_address(struct page *page, void *virtual); void page_address_init(void); #endif #if !defined(HASHED_PAGE_VIRTUAL) && !defined(WANT_PAGE_VIRTUAL) #define page_address(page) lowmem_page_address(page) #define set_page_address(page, address) do { } while(0) #define page_address_init() do { } while(0) #endif extern void *page_rmapping(struct page *page); extern struct anon_vma *page_anon_vma(struct page *page); extern struct address_space *page_mapping(struct page *page); extern struct address_space *__page_file_mapping(struct page *); static inline struct address_space *page_file_mapping(struct page *page) { if (unlikely(PageSwapCache(page))) return __page_file_mapping(page); return page->mapping; } /* * Return the pagecache index of the passed page. Regular pagecache pages * use ->index whereas swapcache pages use ->private */ static inline pgoff_t page_index(struct page *page) { if (unlikely(PageSwapCache(page))) return page_private(page); return page->index; } extern pgoff_t __page_file_index(struct page *page); /* * Return the file index of the page. Regular pagecache pages use ->index * whereas swapcache pages use swp_offset(->private) */ static inline pgoff_t page_file_index(struct page *page) { if (unlikely(PageSwapCache(page))) return __page_file_index(page); return page->index; } /* * Return true if this page is mapped into pagetables. */ static inline int page_mapped(struct page *page) { return atomic_read(&(page)->_mapcount) >= 0; } /* * Return true only if the page has been allocated with * ALLOC_NO_WATERMARKS and the low watermark was not * met implying that the system is under some pressure. */ static inline bool page_is_pfmemalloc(struct page *page) { /* * Page index cannot be this large so this must be * a pfmemalloc page. */ return page->index == -1UL; } /* * Only to be called by the page allocator on a freshly allocated * page. */ static inline void set_page_pfmemalloc(struct page *page) { page->index = -1UL; } static inline void clear_page_pfmemalloc(struct page *page) { page->index = 0; } /* * Different kinds of faults, as returned by handle_mm_fault(). * Used to decide whether a process gets delivered SIGBUS or * just gets major/minor fault counters bumped up. */ #define VM_FAULT_MINOR 0 /* For backwards compat. Remove me quickly. */ #define VM_FAULT_OOM 0x0001 #define VM_FAULT_SIGBUS 0x0002 #define VM_FAULT_MAJOR 0x0004 #define VM_FAULT_WRITE 0x0008 /* Special case for get_user_pages */ #define VM_FAULT_HWPOISON 0x0010 /* Hit poisoned small page */ #define VM_FAULT_HWPOISON_LARGE 0x0020 /* Hit poisoned large page. Index encoded in upper bits */ #define VM_FAULT_SIGSEGV 0x0040 #define VM_FAULT_NOPAGE 0x0100 /* ->fault installed the pte, not return page */ #define VM_FAULT_LOCKED 0x0200 /* ->fault locked the returned page */ #define VM_FAULT_RETRY 0x0400 /* ->fault blocked, must retry */ #define VM_FAULT_FALLBACK 0x0800 /* huge page fault failed, fall back to small */ #define VM_FAULT_HWPOISON_LARGE_MASK 0xf000 /* encodes hpage index for large hwpoison */ #define VM_FAULT_ERROR (VM_FAULT_OOM | VM_FAULT_SIGBUS | VM_FAULT_SIGSEGV | \ VM_FAULT_HWPOISON | VM_FAULT_HWPOISON_LARGE | \ VM_FAULT_FALLBACK) /* Encode hstate index for a hwpoisoned large page */ #define VM_FAULT_SET_HINDEX(x) ((x) << 12) #define VM_FAULT_GET_HINDEX(x) (((x) >> 12) & 0xf) /* * Can be called by the pagefault handler when it gets a VM_FAULT_OOM. */ extern void pagefault_out_of_memory(void); #define offset_in_page(p) ((unsigned long)(p) & ~PAGE_MASK) /* * Flags passed to show_mem() and show_free_areas() to suppress output in * various contexts. */ #define SHOW_MEM_FILTER_NODES (0x0001u) /* disallowed nodes */ extern void show_free_areas(unsigned int flags); extern bool skip_free_areas_node(unsigned int flags, int nid); int shmem_zero_setup(struct vm_area_struct *); #ifdef CONFIG_SHMEM bool shmem_mapping(struct address_space *mapping); #else static inline bool shmem_mapping(struct address_space *mapping) { return false; } #endif extern int can_do_mlock(void); extern int user_shm_lock(size_t, struct user_struct *); extern void user_shm_unlock(size_t, struct user_struct *); /* * Parameter block passed down to zap_pte_range in exceptional cases. */ struct zap_details { struct address_space *check_mapping; /* Check page->mapping if set */ pgoff_t first_index; /* Lowest page->index to unmap */ pgoff_t last_index; /* Highest page->index to unmap */ }; struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr, pte_t pte); struct page *vm_normal_page_pmd(struct vm_area_struct *vma, unsigned long addr, pmd_t pmd); int zap_vma_ptes(struct vm_area_struct *vma, unsigned long address, unsigned long size); void zap_page_range(struct vm_area_struct *vma, unsigned long address, unsigned long size, struct zap_details *); void unmap_vmas(struct mmu_gather *tlb, struct vm_area_struct *start_vma, unsigned long start, unsigned long end); /** * mm_walk - callbacks for walk_page_range * @pmd_entry: if set, called for each non-empty PMD (3rd-level) entry * this handler is required to be able to handle * pmd_trans_huge() pmds. They may simply choose to * split_huge_page() instead of handling it explicitly. * @pte_entry: if set, called for each non-empty PTE (4th-level) entry * @pte_hole: if set, called for each hole at all levels * @hugetlb_entry: if set, called for each hugetlb entry * @test_walk: caller specific callback function to determine whether * we walk over the current vma or not. A positive returned * value means "do page table walk over the current vma," * and a negative one means "abort current page table walk * right now." 0 means "skip the current vma." * @mm: mm_struct representing the target process of page table walk * @vma: vma currently walked (NULL if walking outside vmas) * @private: private data for callbacks' usage * * (see the comment on walk_page_range() for more details) */ struct mm_walk { int (*pmd_entry)(pmd_t *pmd, unsigned long addr, unsigned long next, struct mm_walk *walk); int (*pte_entry)(pte_t *pte, unsigned long addr, unsigned long next, struct mm_walk *walk); int (*pte_hole)(unsigned long addr, unsigned long next, struct mm_walk *walk); int (*hugetlb_entry)(pte_t *pte, unsigned long hmask, unsigned long addr, unsigned long next, struct mm_walk *walk); int (*test_walk)(unsigned long addr, unsigned long next, struct mm_walk *walk); struct mm_struct *mm; struct vm_area_struct *vma; void *private; }; int walk_page_range(unsigned long addr, unsigned long end, struct mm_walk *walk); int walk_page_vma(struct vm_area_struct *vma, struct mm_walk *walk); void free_pgd_range(struct mmu_gather *tlb, unsigned long addr, unsigned long end, unsigned long floor, unsigned long ceiling); int copy_page_range(struct mm_struct *dst, struct mm_struct *src, struct vm_area_struct *vma); void unmap_mapping_range(struct address_space *mapping, loff_t const holebegin, loff_t const holelen, int even_cows); int follow_pfn(struct vm_area_struct *vma, unsigned long address, unsigned long *pfn); int follow_phys(struct vm_area_struct *vma, unsigned long address, unsigned int flags, unsigned long *prot, resource_size_t *phys); int generic_access_phys(struct vm_area_struct *vma, unsigned long addr, void *buf, int len, int write); static inline void unmap_shared_mapping_range(struct address_space *mapping, loff_t const holebegin, loff_t const holelen) { unmap_mapping_range(mapping, holebegin, holelen, 0); } extern void truncate_pagecache(struct inode *inode, loff_t new); extern void truncate_setsize(struct inode *inode, loff_t newsize); void pagecache_isize_extended(struct inode *inode, loff_t from, loff_t to); void truncate_pagecache_range(struct inode *inode, loff_t offset, loff_t end); int truncate_inode_page(struct address_space *mapping, struct page *page); int generic_error_remove_page(struct address_space *mapping, struct page *page); int invalidate_inode_page(struct page *page); #ifdef CONFIG_MMU extern int handle_mm_fault(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long address, unsigned int flags); extern int fixup_user_fault(struct task_struct *tsk, struct mm_struct *mm, unsigned long address, unsigned int fault_flags); #else static inline int handle_mm_fault(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long address, unsigned int flags) { /* should never happen if there's no MMU */ BUG(); return VM_FAULT_SIGBUS; } static inline int fixup_user_fault(struct task_struct *tsk, struct mm_struct *mm, unsigned long address, unsigned int fault_flags) { /* should never happen if there's no MMU */ BUG(); return -EFAULT; } #endif extern void vma_do_file_update_time(struct vm_area_struct *, const char[], int); extern struct file *vma_do_pr_or_file(struct vm_area_struct *, const char[], int); extern void vma_do_get_file(struct vm_area_struct *, const char[], int); extern void vma_do_fput(struct vm_area_struct *, const char[], int); #define vma_file_update_time(vma) vma_do_file_update_time(vma, __func__, \ __LINE__) #define vma_pr_or_file(vma) vma_do_pr_or_file(vma, __func__, \ __LINE__) #define vma_get_file(vma) vma_do_get_file(vma, __func__, __LINE__) #define vma_fput(vma) vma_do_fput(vma, __func__, __LINE__) #ifndef CONFIG_MMU extern struct file *vmr_do_pr_or_file(struct vm_region *, const char[], int); extern void vmr_do_fput(struct vm_region *, const char[], int); #define vmr_pr_or_file(region) vmr_do_pr_or_file(region, __func__, \ __LINE__) #define vmr_fput(region) vmr_do_fput(region, __func__, __LINE__) #endif /* !CONFIG_MMU */ extern int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write); extern int access_remote_vm(struct mm_struct *mm, unsigned long addr, void *buf, int len, int write); long __get_user_pages(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, unsigned long nr_pages, unsigned int foll_flags, struct page **pages, struct vm_area_struct **vmas, int *nonblocking); long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, unsigned long nr_pages, int write, int force, struct page **pages, struct vm_area_struct **vmas); long get_user_pages_locked(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, unsigned long nr_pages, int write, int force, struct page **pages, int *locked); long __get_user_pages_unlocked(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, unsigned long nr_pages, int write, int force, struct page **pages, unsigned int gup_flags); long get_user_pages_unlocked(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, unsigned long nr_pages, int write, int force, struct page **pages); int get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages); /* Container for pinned pfns / pages */ struct frame_vector { unsigned int nr_allocated; /* Number of frames we have space for */ unsigned int nr_frames; /* Number of frames stored in ptrs array */ bool got_ref; /* Did we pin pages by getting page ref? */ bool is_pfns; /* Does array contain pages or pfns? */ void *ptrs[0]; /* Array of pinned pfns / pages. Use * pfns_vector_pages() or pfns_vector_pfns() * for access */ }; struct frame_vector *frame_vector_create(unsigned int nr_frames); void frame_vector_destroy(struct frame_vector *vec); int get_vaddr_frames(unsigned long start, unsigned int nr_pfns, bool write, bool force, struct frame_vector *vec); void put_vaddr_frames(struct frame_vector *vec); int frame_vector_to_pages(struct frame_vector *vec); void frame_vector_to_pfns(struct frame_vector *vec); static inline unsigned int frame_vector_count(struct frame_vector *vec) { return vec->nr_frames; } static inline struct page **frame_vector_pages(struct frame_vector *vec) { if (vec->is_pfns) { int err = frame_vector_to_pages(vec); if (err) return ERR_PTR(err); } return (struct page **)(vec->ptrs); } static inline unsigned long *frame_vector_pfns(struct frame_vector *vec) { if (!vec->is_pfns) frame_vector_to_pfns(vec); return (unsigned long *)(vec->ptrs); } struct kvec; int get_kernel_pages(const struct kvec *iov, int nr_pages, int write, struct page **pages); int get_kernel_page(unsigned long start, int write, struct page **pages); struct page *get_dump_page(unsigned long addr); extern int try_to_release_page(struct page * page, gfp_t gfp_mask); extern void do_invalidatepage(struct page *page, unsigned int offset, unsigned int length); int __set_page_dirty_nobuffers(struct page *page); int __set_page_dirty_no_writeback(struct page *page); int redirty_page_for_writepage(struct writeback_control *wbc, struct page *page); void account_page_dirtied(struct page *page, struct address_space *mapping, struct mem_cgroup *memcg); void account_page_cleaned(struct page *page, struct address_space *mapping, struct mem_cgroup *memcg, struct bdi_writeback *wb); int set_page_dirty(struct page *page); int set_page_dirty_lock(struct page *page); void cancel_dirty_page(struct page *page); int clear_page_dirty_for_io(struct page *page); int get_cmdline(struct task_struct *task, char *buffer, int buflen); static inline bool vma_is_anonymous(struct vm_area_struct *vma) { return !vma->vm_ops; } int vma_is_stack_for_task(struct vm_area_struct *vma, struct task_struct *t); extern unsigned long move_page_tables(struct vm_area_struct *vma, unsigned long old_addr, struct vm_area_struct *new_vma, unsigned long new_addr, unsigned long len, bool need_rmap_locks); extern unsigned long change_protection(struct vm_area_struct *vma, unsigned long start, unsigned long end, pgprot_t newprot, int dirty_accountable, int prot_numa); extern int mprotect_fixup(struct vm_area_struct *vma, struct vm_area_struct **pprev, unsigned long start, unsigned long end, unsigned long newflags); /* * doesn't attempt to fault and will return short. */ int __get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages); /* * per-process(per-mm_struct) statistics. */ static inline unsigned long get_mm_counter(struct mm_struct *mm, int member) { long val = atomic_long_read(&mm->rss_stat.count[member]); #ifdef SPLIT_RSS_COUNTING /* * counter is updated in asynchronous manner and may go to minus. * But it's never be expected number for users. */ if (val < 0) val = 0; #endif return (unsigned long)val; } static inline void add_mm_counter(struct mm_struct *mm, int member, long value) { atomic_long_add(value, &mm->rss_stat.count[member]); } static inline void inc_mm_counter(struct mm_struct *mm, int member) { atomic_long_inc(&mm->rss_stat.count[member]); } static inline void dec_mm_counter(struct mm_struct *mm, int member) { atomic_long_dec(&mm->rss_stat.count[member]); } static inline unsigned long get_mm_rss(struct mm_struct *mm) { return get_mm_counter(mm, MM_FILEPAGES) + get_mm_counter(mm, MM_ANONPAGES); } static inline unsigned long get_mm_hiwater_rss(struct mm_struct *mm) { return max(mm->hiwater_rss, get_mm_rss(mm)); } static inline unsigned long get_mm_hiwater_vm(struct mm_struct *mm) { return max(mm->hiwater_vm, mm->total_vm); } static inline void update_hiwater_rss(struct mm_struct *mm) { unsigned long _rss = get_mm_rss(mm); if ((mm)->hiwater_rss < _rss) (mm)->hiwater_rss = _rss; } static inline void update_hiwater_vm(struct mm_struct *mm) { if (mm->hiwater_vm < mm->total_vm) mm->hiwater_vm = mm->total_vm; } static inline void reset_mm_hiwater_rss(struct mm_struct *mm) { mm->hiwater_rss = get_mm_rss(mm); } static inline void setmax_mm_hiwater_rss(unsigned long *maxrss, struct mm_struct *mm) { unsigned long hiwater_rss = get_mm_hiwater_rss(mm); if (*maxrss < hiwater_rss) *maxrss = hiwater_rss; } #if defined(SPLIT_RSS_COUNTING) void sync_mm_rss(struct mm_struct *mm); #else static inline void sync_mm_rss(struct mm_struct *mm) { } #endif int vma_wants_writenotify(struct vm_area_struct *vma); extern pte_t *__get_locked_pte(struct mm_struct *mm, unsigned long addr, spinlock_t **ptl); static inline pte_t *get_locked_pte(struct mm_struct *mm, unsigned long addr, spinlock_t **ptl) { pte_t *ptep; __cond_lock(*ptl, ptep = __get_locked_pte(mm, addr, ptl)); return ptep; } #ifdef __PAGETABLE_PUD_FOLDED static inline int __pud_alloc(struct mm_struct *mm, pgd_t *pgd, unsigned long address) { return 0; } #else int __pud_alloc(struct mm_struct *mm, pgd_t *pgd, unsigned long address); #endif #if defined(__PAGETABLE_PMD_FOLDED) || !defined(CONFIG_MMU) static inline int __pmd_alloc(struct mm_struct *mm, pud_t *pud, unsigned long address) { return 0; } static inline void mm_nr_pmds_init(struct mm_struct *mm) {} static inline unsigned long mm_nr_pmds(struct mm_struct *mm) { return 0; } static inline void mm_inc_nr_pmds(struct mm_struct *mm) {} static inline void mm_dec_nr_pmds(struct mm_struct *mm) {} #else int __pmd_alloc(struct mm_struct *mm, pud_t *pud, unsigned long address); static inline void mm_nr_pmds_init(struct mm_struct *mm) { atomic_long_set(&mm->nr_pmds, 0); } static inline unsigned long mm_nr_pmds(struct mm_struct *mm) { return atomic_long_read(&mm->nr_pmds); } static inline void mm_inc_nr_pmds(struct mm_struct *mm) { atomic_long_inc(&mm->nr_pmds); } static inline void mm_dec_nr_pmds(struct mm_struct *mm) { atomic_long_dec(&mm->nr_pmds); } #endif int __pte_alloc(struct mm_struct *mm, struct vm_area_struct *vma, pmd_t *pmd, unsigned long address); int __pte_alloc_kernel(pmd_t *pmd, unsigned long address); /* * The following ifdef needed to get the 4level-fixup.h header to work. * Remove it when 4level-fixup.h has been removed. */ #if defined(CONFIG_MMU) && !defined(__ARCH_HAS_4LEVEL_HACK) static inline pud_t *pud_alloc(struct mm_struct *mm, pgd_t *pgd, unsigned long address) { return (unlikely(pgd_none(*pgd)) && __pud_alloc(mm, pgd, address))? NULL: pud_offset(pgd, address); } static inline pmd_t *pmd_alloc(struct mm_struct *mm, pud_t *pud, unsigned long address) { return (unlikely(pud_none(*pud)) && __pmd_alloc(mm, pud, address))? NULL: pmd_offset(pud, address); } #endif /* CONFIG_MMU && !__ARCH_HAS_4LEVEL_HACK */ #if USE_SPLIT_PTE_PTLOCKS #if ALLOC_SPLIT_PTLOCKS void __init ptlock_cache_init(void); extern bool ptlock_alloc(struct page *page); extern void ptlock_free(struct page *page); static inline spinlock_t *ptlock_ptr(struct page *page) { return page->ptl; } #else /* ALLOC_SPLIT_PTLOCKS */ static inline void ptlock_cache_init(void) { } static inline bool ptlock_alloc(struct page *page) { return true; } static inline void ptlock_free(struct page *page) { } static inline spinlock_t *ptlock_ptr(struct page *page) { return &page->ptl; } #endif /* ALLOC_SPLIT_PTLOCKS */ static inline spinlock_t *pte_lockptr(struct mm_struct *mm, pmd_t *pmd) { return ptlock_ptr(pmd_page(*pmd)); } static inline bool ptlock_init(struct page *page) { /* * prep_new_page() initialize page->private (and therefore page->ptl) * with 0. Make sure nobody took it in use in between. * * It can happen if arch try to use slab for page table allocation: * slab code uses page->slab_cache, which share storage with page->ptl. */ VM_BUG_ON_PAGE(*(unsigned long *)&page->ptl, page); if (!ptlock_alloc(page)) return false; spin_lock_init(ptlock_ptr(page)); return true; } /* Reset page->mapping so free_pages_check won't complain. */ static inline void pte_lock_deinit(struct page *page) { page->mapping = NULL; ptlock_free(page); } #else /* !USE_SPLIT_PTE_PTLOCKS */ /* * We use mm->page_table_lock to guard all pagetable pages of the mm. */ static inline spinlock_t *pte_lockptr(struct mm_struct *mm, pmd_t *pmd) { return &mm->page_table_lock; } static inline void ptlock_cache_init(void) {} static inline bool ptlock_init(struct page *page) { return true; } static inline void pte_lock_deinit(struct page *page) {} #endif /* USE_SPLIT_PTE_PTLOCKS */ static inline void pgtable_init(void) { ptlock_cache_init(); pgtable_cache_init(); } static inline bool pgtable_page_ctor(struct page *page) { if (!ptlock_init(page)) return false; inc_zone_page_state(page, NR_PAGETABLE); return true; } static inline void pgtable_page_dtor(struct page *page) { pte_lock_deinit(page); dec_zone_page_state(page, NR_PAGETABLE); } #define pte_offset_map_lock(mm, pmd, address, ptlp) \ ({ \ spinlock_t *__ptl = pte_lockptr(mm, pmd); \ pte_t *__pte = pte_offset_map(pmd, address); \ *(ptlp) = __ptl; \ spin_lock(__ptl); \ __pte; \ }) #define pte_unmap_unlock(pte, ptl) do { \ spin_unlock(ptl); \ pte_unmap(pte); \ } while (0) #define pte_alloc_map(mm, vma, pmd, address) \ ((unlikely(pmd_none(*(pmd))) && __pte_alloc(mm, vma, \ pmd, address))? \ NULL: pte_offset_map(pmd, address)) #define pte_alloc_map_lock(mm, pmd, address, ptlp) \ ((unlikely(pmd_none(*(pmd))) && __pte_alloc(mm, NULL, \ pmd, address))? \ NULL: pte_offset_map_lock(mm, pmd, address, ptlp)) #define pte_alloc_kernel(pmd, address) \ ((unlikely(pmd_none(*(pmd))) && __pte_alloc_kernel(pmd, address))? \ NULL: pte_offset_kernel(pmd, address)) #if USE_SPLIT_PMD_PTLOCKS static struct page *pmd_to_page(pmd_t *pmd) { unsigned long mask = ~(PTRS_PER_PMD * sizeof(pmd_t) - 1); return virt_to_page((void *)((unsigned long) pmd & mask)); } static inline spinlock_t *pmd_lockptr(struct mm_struct *mm, pmd_t *pmd) { return ptlock_ptr(pmd_to_page(pmd)); } static inline bool pgtable_pmd_page_ctor(struct page *page) { #ifdef CONFIG_TRANSPARENT_HUGEPAGE page->pmd_huge_pte = NULL; #endif return ptlock_init(page); } static inline void pgtable_pmd_page_dtor(struct page *page) { #ifdef CONFIG_TRANSPARENT_HUGEPAGE VM_BUG_ON_PAGE(page->pmd_huge_pte, page); #endif ptlock_free(page); } #define pmd_huge_pte(mm, pmd) (pmd_to_page(pmd)->pmd_huge_pte) #else static inline spinlock_t *pmd_lockptr(struct mm_struct *mm, pmd_t *pmd) { return &mm->page_table_lock; } static inline bool pgtable_pmd_page_ctor(struct page *page) { return true; } static inline void pgtable_pmd_page_dtor(struct page *page) {} #define pmd_huge_pte(mm, pmd) ((mm)->pmd_huge_pte) #endif static inline spinlock_t *pmd_lock(struct mm_struct *mm, pmd_t *pmd) { spinlock_t *ptl = pmd_lockptr(mm, pmd); spin_lock(ptl); return ptl; } extern void free_area_init(unsigned long * zones_size); extern void free_area_init_node(int nid, unsigned long * zones_size, unsigned long zone_start_pfn, unsigned long *zholes_size); extern void free_initmem(void); /* * Free reserved pages within range [PAGE_ALIGN(start), end & PAGE_MASK) * into the buddy system. The freed pages will be poisoned with pattern * "poison" if it's within range [0, UCHAR_MAX]. * Return pages freed into the buddy system. */ extern unsigned long free_reserved_area(void *start, void *end, int poison, char *s); #ifdef CONFIG_HIGHMEM /* * Free a highmem page into the buddy system, adjusting totalhigh_pages * and totalram_pages. */ extern void free_highmem_page(struct page *page); #endif extern void adjust_managed_page_count(struct page *page, long count); extern void mem_init_print_info(const char *str); extern void reserve_bootmem_region(phys_addr_t start, phys_addr_t end); /* Free the reserved page into the buddy system, so it gets managed. */ static inline void __free_reserved_page(struct page *page) { ClearPageReserved(page); init_page_count(page); __free_page(page); } static inline void free_reserved_page(struct page *page) { __free_reserved_page(page); adjust_managed_page_count(page, 1); } static inline void mark_page_reserved(struct page *page) { SetPageReserved(page); adjust_managed_page_count(page, -1); } /* * Default method to free all the __init memory into the buddy system. * The freed pages will be poisoned with pattern "poison" if it's within * range [0, UCHAR_MAX]. * Return pages freed into the buddy system. */ static inline unsigned long free_initmem_default(int poison) { extern char __init_begin[], __init_end[]; return free_reserved_area(&__init_begin, &__init_end, poison, "unused kernel"); } static inline unsigned long get_num_physpages(void) { int nid; unsigned long phys_pages = 0; for_each_online_node(nid) phys_pages += node_present_pages(nid); return phys_pages; } #ifdef CONFIG_HAVE_MEMBLOCK_NODE_MAP /* * With CONFIG_HAVE_MEMBLOCK_NODE_MAP set, an architecture may initialise its * zones, allocate the backing mem_map and account for memory holes in a more * architecture independent manner. This is a substitute for creating the * zone_sizes[] and zholes_size[] arrays and passing them to * free_area_init_node() * * An architecture is expected to register range of page frames backed by * physical memory with memblock_add[_node]() before calling * free_area_init_nodes() passing in the PFN each zone ends at. At a basic * usage, an architecture is expected to do something like * * unsigned long max_zone_pfns[MAX_NR_ZONES] = {max_dma, max_normal_pfn, * max_highmem_pfn}; * for_each_valid_physical_page_range() * memblock_add_node(base, size, nid) * free_area_init_nodes(max_zone_pfns); * * free_bootmem_with_active_regions() calls free_bootmem_node() for each * registered physical page range. Similarly * sparse_memory_present_with_active_regions() calls memory_present() for * each range when SPARSEMEM is enabled. * * See mm/page_alloc.c for more information on each function exposed by * CONFIG_HAVE_MEMBLOCK_NODE_MAP. */ extern void free_area_init_nodes(unsigned long *max_zone_pfn); unsigned long node_map_pfn_alignment(void); unsigned long __absent_pages_in_range(int nid, unsigned long start_pfn, unsigned long end_pfn); extern unsigned long absent_pages_in_range(unsigned long start_pfn, unsigned long end_pfn); extern void get_pfn_range_for_nid(unsigned int nid, unsigned long *start_pfn, unsigned long *end_pfn); extern unsigned long find_min_pfn_with_active_regions(void); extern void free_bootmem_with_active_regions(int nid, unsigned long max_low_pfn); extern void sparse_memory_present_with_active_regions(int nid); #endif /* CONFIG_HAVE_MEMBLOCK_NODE_MAP */ #if !defined(CONFIG_HAVE_MEMBLOCK_NODE_MAP) && \ !defined(CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID) static inline int __early_pfn_to_nid(unsigned long pfn, struct mminit_pfnnid_cache *state) { return 0; } #else /* please see mm/page_alloc.c */ extern int __meminit early_pfn_to_nid(unsigned long pfn); /* there is a per-arch backend function. */ extern int __meminit __early_pfn_to_nid(unsigned long pfn, struct mminit_pfnnid_cache *state); #endif extern void set_dma_reserve(unsigned long new_dma_reserve); extern void memmap_init_zone(unsigned long, int, unsigned long, unsigned long, enum memmap_context); extern void setup_per_zone_wmarks(void); extern int __meminit init_per_zone_wmark_min(void); extern void mem_init(void); extern void __init mmap_init(void); extern void show_mem(unsigned int flags); extern long si_mem_available(void); extern void si_meminfo(struct sysinfo * val); extern void si_meminfo_node(struct sysinfo *val, int nid); extern __printf(3, 4) void warn_alloc_failed(gfp_t gfp_mask, unsigned int order, const char *fmt, ...); extern void setup_per_cpu_pageset(void); extern void zone_pcp_update(struct zone *zone); extern void zone_pcp_reset(struct zone *zone); /* page_alloc.c */ extern int min_free_kbytes; /* nommu.c */ extern atomic_long_t mmap_pages_allocated; extern int nommu_shrink_inode_mappings(struct inode *, size_t, size_t); /* interval_tree.c */ void vma_interval_tree_insert(struct vm_area_struct *node, struct rb_root *root); void vma_interval_tree_insert_after(struct vm_area_struct *node, struct vm_area_struct *prev, struct rb_root *root); void vma_interval_tree_remove(struct vm_area_struct *node, struct rb_root *root); struct vm_area_struct *vma_interval_tree_iter_first(struct rb_root *root, unsigned long start, unsigned long last); struct vm_area_struct *vma_interval_tree_iter_next(struct vm_area_struct *node, unsigned long start, unsigned long last); #define vma_interval_tree_foreach(vma, root, start, last) \ for (vma = vma_interval_tree_iter_first(root, start, last); \ vma; vma = vma_interval_tree_iter_next(vma, start, last)) void anon_vma_interval_tree_insert(struct anon_vma_chain *node, struct rb_root *root); void anon_vma_interval_tree_remove(struct anon_vma_chain *node, struct rb_root *root); struct anon_vma_chain *anon_vma_interval_tree_iter_first( struct rb_root *root, unsigned long start, unsigned long last); struct anon_vma_chain *anon_vma_interval_tree_iter_next( struct anon_vma_chain *node, unsigned long start, unsigned long last); #ifdef CONFIG_DEBUG_VM_RB void anon_vma_interval_tree_verify(struct anon_vma_chain *node); #endif #define anon_vma_interval_tree_foreach(avc, root, start, last) \ for (avc = anon_vma_interval_tree_iter_first(root, start, last); \ avc; avc = anon_vma_interval_tree_iter_next(avc, start, last)) /* mmap.c */ extern int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin); extern int vma_adjust(struct vm_area_struct *vma, unsigned long start, unsigned long end, pgoff_t pgoff, struct vm_area_struct *insert); extern struct vm_area_struct *vma_merge(struct mm_struct *, struct vm_area_struct *prev, unsigned long addr, unsigned long end, unsigned long vm_flags, struct anon_vma *, struct file *, pgoff_t, struct mempolicy *, struct vm_userfaultfd_ctx); extern struct anon_vma *find_mergeable_anon_vma(struct vm_area_struct *); extern int split_vma(struct mm_struct *, struct vm_area_struct *, unsigned long addr, int new_below); extern int insert_vm_struct(struct mm_struct *, struct vm_area_struct *); extern void __vma_link_rb(struct mm_struct *, struct vm_area_struct *, struct rb_node **, struct rb_node *); extern void unlink_file_vma(struct vm_area_struct *); extern struct vm_area_struct *copy_vma(struct vm_area_struct **, unsigned long addr, unsigned long len, pgoff_t pgoff, bool *need_rmap_locks); extern void exit_mmap(struct mm_struct *); static inline int check_data_rlimit(unsigned long rlim, unsigned long new, unsigned long start, unsigned long end_data, unsigned long start_data) { if (rlim < RLIM_INFINITY) { if (((new - start) + (end_data - start_data)) > rlim) return -ENOSPC; } return 0; } extern int mm_take_all_locks(struct mm_struct *mm); extern void mm_drop_all_locks(struct mm_struct *mm); extern void set_mm_exe_file(struct mm_struct *mm, struct file *new_exe_file); extern struct file *get_mm_exe_file(struct mm_struct *mm); extern struct file *get_task_exe_file(struct task_struct *task); extern int may_expand_vm(struct mm_struct *mm, unsigned long npages); extern struct vm_area_struct *_install_special_mapping(struct mm_struct *mm, unsigned long addr, unsigned long len, unsigned long flags, const struct vm_special_mapping *spec); /* This is an obsolete alternative to _install_special_mapping. */ extern int install_special_mapping(struct mm_struct *mm, unsigned long addr, unsigned long len, unsigned long flags, struct page **pages); extern unsigned long get_unmapped_area(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); extern unsigned long mmap_region(struct file *file, unsigned long addr, unsigned long len, vm_flags_t vm_flags, unsigned long pgoff); extern unsigned long do_mmap(struct file *file, unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, vm_flags_t vm_flags, unsigned long pgoff, unsigned long *populate); extern int do_munmap(struct mm_struct *, unsigned long, size_t); static inline unsigned long do_mmap_pgoff(struct file *file, unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long pgoff, unsigned long *populate) { return do_mmap(file, addr, len, prot, flags, 0, pgoff, populate); } #ifdef CONFIG_MMU extern int __mm_populate(unsigned long addr, unsigned long len, int ignore_errors); static inline void mm_populate(unsigned long addr, unsigned long len) { /* Ignore errors */ (void) __mm_populate(addr, len, 1); } #else static inline void mm_populate(unsigned long addr, unsigned long len) {} #endif /* These take the mm semaphore themselves */ extern unsigned long vm_brk(unsigned long, unsigned long); extern int vm_munmap(unsigned long, size_t); extern unsigned long vm_mmap(struct file *, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long); struct vm_unmapped_area_info { #define VM_UNMAPPED_AREA_TOPDOWN 1 unsigned long flags; unsigned long length; unsigned long low_limit; unsigned long high_limit; unsigned long align_mask; unsigned long align_offset; }; extern unsigned long unmapped_area(struct vm_unmapped_area_info *info); extern unsigned long unmapped_area_topdown(struct vm_unmapped_area_info *info); /* * Search for an unmapped address range. * * We are looking for a range that: * - does not intersect with any VMA; * - is contained within the [low_limit, high_limit) interval; * - is at least the desired size. * - satisfies (begin_addr & align_mask) == (align_offset & align_mask) */ static inline unsigned long vm_unmapped_area(struct vm_unmapped_area_info *info) { if (info->flags & VM_UNMAPPED_AREA_TOPDOWN) return unmapped_area_topdown(info); else return unmapped_area(info); } /* truncate.c */ extern void truncate_inode_pages(struct address_space *, loff_t); extern void truncate_inode_pages_range(struct address_space *, loff_t lstart, loff_t lend); extern void truncate_inode_pages_final(struct address_space *); /* generic vm_area_ops exported for stackable file systems */ extern int filemap_fault(struct vm_area_struct *, struct vm_fault *); extern void filemap_map_pages(struct vm_area_struct *vma, struct vm_fault *vmf); extern int filemap_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf); /* mm/page-writeback.c */ int write_one_page(struct page *page, int wait); void task_dirty_inc(struct task_struct *tsk); /* readahead.c */ #define VM_MAX_READAHEAD 128 /* kbytes */ #define VM_MIN_READAHEAD 16 /* kbytes (includes current page) */ int force_page_cache_readahead(struct address_space *mapping, struct file *filp, pgoff_t offset, unsigned long nr_to_read); void page_cache_sync_readahead(struct address_space *mapping, struct file_ra_state *ra, struct file *filp, pgoff_t offset, unsigned long size); void page_cache_async_readahead(struct address_space *mapping, struct file_ra_state *ra, struct file *filp, struct page *pg, pgoff_t offset, unsigned long size); extern unsigned long stack_guard_gap; /* Generic expand stack which grows the stack according to GROWS{UP,DOWN} */ extern int expand_stack(struct vm_area_struct *vma, unsigned long address); /* CONFIG_STACK_GROWSUP still needs to to grow downwards at some places */ extern int expand_downwards(struct vm_area_struct *vma, unsigned long address); #if VM_GROWSUP extern int expand_upwards(struct vm_area_struct *vma, unsigned long address); #else #define expand_upwards(vma, address) (0) #endif /* Look up the first VMA which satisfies addr < vm_end, NULL if none. */ extern struct vm_area_struct * find_vma(struct mm_struct * mm, unsigned long addr); extern struct vm_area_struct * find_vma_prev(struct mm_struct * mm, unsigned long addr, struct vm_area_struct **pprev); /* Look up the first VMA which intersects the interval start_addr..end_addr-1, NULL if none. Assume start_addr < end_addr. */ static inline struct vm_area_struct * find_vma_intersection(struct mm_struct * mm, unsigned long start_addr, unsigned long end_addr) { struct vm_area_struct * vma = find_vma(mm,start_addr); if (vma && end_addr <= vma->vm_start) vma = NULL; return vma; } static inline unsigned long vm_start_gap(struct vm_area_struct *vma) { unsigned long vm_start = vma->vm_start; if (vma->vm_flags & VM_GROWSDOWN) { vm_start -= stack_guard_gap; if (vm_start > vma->vm_start) vm_start = 0; } return vm_start; } static inline unsigned long vm_end_gap(struct vm_area_struct *vma) { unsigned long vm_end = vma->vm_end; if (vma->vm_flags & VM_GROWSUP) { vm_end += stack_guard_gap; if (vm_end < vma->vm_end) vm_end = -PAGE_SIZE; } return vm_end; } static inline unsigned long vma_pages(struct vm_area_struct *vma) { return (vma->vm_end - vma->vm_start) >> PAGE_SHIFT; } /* Look up the first VMA which exactly match the interval vm_start ... vm_end */ static inline struct vm_area_struct *find_exact_vma(struct mm_struct *mm, unsigned long vm_start, unsigned long vm_end) { struct vm_area_struct *vma = find_vma(mm, vm_start); if (vma && (vma->vm_start != vm_start || vma->vm_end != vm_end)) vma = NULL; return vma; } #ifdef CONFIG_MMU pgprot_t vm_get_page_prot(unsigned long vm_flags); void vma_set_page_prot(struct vm_area_struct *vma); #else static inline pgprot_t vm_get_page_prot(unsigned long vm_flags) { return __pgprot(0); } static inline void vma_set_page_prot(struct vm_area_struct *vma) { vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); } #endif #ifdef CONFIG_NUMA_BALANCING unsigned long change_prot_numa(struct vm_area_struct *vma, unsigned long start, unsigned long end); #endif struct vm_area_struct *find_extend_vma(struct mm_struct *, unsigned long addr); int remap_pfn_range(struct vm_area_struct *, unsigned long addr, unsigned long pfn, unsigned long size, pgprot_t); int vm_insert_page(struct vm_area_struct *, unsigned long addr, struct page *); int vm_insert_pfn(struct vm_area_struct *vma, unsigned long addr, unsigned long pfn); int vm_insert_mixed(struct vm_area_struct *vma, unsigned long addr, unsigned long pfn); int vm_iomap_memory(struct vm_area_struct *vma, phys_addr_t start, unsigned long len); struct page *follow_page_mask(struct vm_area_struct *vma, unsigned long address, unsigned int foll_flags, unsigned int *page_mask); static inline struct page *follow_page(struct vm_area_struct *vma, unsigned long address, unsigned int foll_flags) { unsigned int unused_page_mask; return follow_page_mask(vma, address, foll_flags, &unused_page_mask); } #define FOLL_WRITE 0x01 /* check pte is writable */ #define FOLL_TOUCH 0x02 /* mark page accessed */ #define FOLL_GET 0x04 /* do get_page on page */ #define FOLL_DUMP 0x08 /* give error on hole if it would be zero */ #define FOLL_FORCE 0x10 /* get_user_pages read/write w/o permission */ #define FOLL_NOWAIT 0x20 /* if a disk transfer is needed, start the IO * and return without waiting upon it */ #define FOLL_POPULATE 0x40 /* fault in page */ #define FOLL_SPLIT 0x80 /* don't return transhuge pages, split them */ #define FOLL_HWPOISON 0x100 /* check page is hwpoisoned */ #define FOLL_NUMA 0x200 /* force NUMA hinting page fault */ #define FOLL_MIGRATION 0x400 /* wait for page to replace migration entry */ #define FOLL_TRIED 0x800 /* a retry, previous pass started an IO */ #define FOLL_MLOCK 0x1000 /* lock present pages */ #define FOLL_COW 0x4000 /* internal GUP flag */ typedef int (*pte_fn_t)(pte_t *pte, pgtable_t token, unsigned long addr, void *data); extern int apply_to_page_range(struct mm_struct *mm, unsigned long address, unsigned long size, pte_fn_t fn, void *data); #ifdef CONFIG_PROC_FS void vm_stat_account(struct mm_struct *, unsigned long, struct file *, long); #else static inline void vm_stat_account(struct mm_struct *mm, unsigned long flags, struct file *file, long pages) { mm->total_vm += pages; } #endif /* CONFIG_PROC_FS */ #ifdef CONFIG_DEBUG_PAGEALLOC extern bool _debug_pagealloc_enabled; extern void __kernel_map_pages(struct page *page, int numpages, int enable); static inline bool debug_pagealloc_enabled(void) { return _debug_pagealloc_enabled; } static inline void kernel_map_pages(struct page *page, int numpages, int enable) { if (!debug_pagealloc_enabled()) return; __kernel_map_pages(page, numpages, enable); } #ifdef CONFIG_HIBERNATION extern bool kernel_page_present(struct page *page); #endif /* CONFIG_HIBERNATION */ #else static inline void kernel_map_pages(struct page *page, int numpages, int enable) {} #ifdef CONFIG_HIBERNATION static inline bool kernel_page_present(struct page *page) { return true; } #endif /* CONFIG_HIBERNATION */ #endif #ifdef __HAVE_ARCH_GATE_AREA extern struct vm_area_struct *get_gate_vma(struct mm_struct *mm); extern int in_gate_area_no_mm(unsigned long addr); extern int in_gate_area(struct mm_struct *mm, unsigned long addr); #else static inline struct vm_area_struct *get_gate_vma(struct mm_struct *mm) { return NULL; } static inline int in_gate_area_no_mm(unsigned long addr) { return 0; } static inline int in_gate_area(struct mm_struct *mm, unsigned long addr) { return 0; } #endif /* __HAVE_ARCH_GATE_AREA */ #ifdef CONFIG_SYSCTL extern int sysctl_drop_caches; int drop_caches_sysctl_handler(struct ctl_table *, int, void __user *, size_t *, loff_t *); #endif void drop_slab(void); void drop_slab_node(int nid); #ifndef CONFIG_MMU #define randomize_va_space 0 #else extern int randomize_va_space; #endif const char * arch_vma_name(struct vm_area_struct *vma); void print_vma_addr(char *prefix, unsigned long rip); void sparse_mem_maps_populate_node(struct page **map_map, unsigned long pnum_begin, unsigned long pnum_end, unsigned long map_count, int nodeid); struct page *sparse_mem_map_populate(unsigned long pnum, int nid); pgd_t *vmemmap_pgd_populate(unsigned long addr, int node); pud_t *vmemmap_pud_populate(pgd_t *pgd, unsigned long addr, int node); pmd_t *vmemmap_pmd_populate(pud_t *pud, unsigned long addr, int node); pte_t *vmemmap_pte_populate(pmd_t *pmd, unsigned long addr, int node); void *vmemmap_alloc_block(unsigned long size, int node); void *vmemmap_alloc_block_buf(unsigned long size, int node); void vmemmap_verify(pte_t *, int, unsigned long, unsigned long); int vmemmap_populate_basepages(unsigned long start, unsigned long end, int node); int vmemmap_populate(unsigned long start, unsigned long end, int node); void vmemmap_populate_print_last(void); #ifdef CONFIG_MEMORY_HOTPLUG void vmemmap_free(unsigned long start, unsigned long end); #endif void register_page_bootmem_memmap(unsigned long section_nr, struct page *map, unsigned long size); enum mf_flags { MF_COUNT_INCREASED = 1 << 0, MF_ACTION_REQUIRED = 1 << 1, MF_MUST_KILL = 1 << 2, MF_SOFT_OFFLINE = 1 << 3, }; extern int memory_failure(unsigned long pfn, int trapno, int flags); extern void memory_failure_queue(unsigned long pfn, int trapno, int flags); extern int unpoison_memory(unsigned long pfn); extern int get_hwpoison_page(struct page *page); extern void put_hwpoison_page(struct page *page); extern int sysctl_memory_failure_early_kill; extern int sysctl_memory_failure_recovery; extern void shake_page(struct page *p, int access); extern atomic_long_t num_poisoned_pages; extern int soft_offline_page(struct page *page, int flags); /* * Error handlers for various types of pages. */ enum mf_result { MF_IGNORED, /* Error: cannot be handled */ MF_FAILED, /* Error: handling failed */ MF_DELAYED, /* Will be handled later */ MF_RECOVERED, /* Successfully recovered */ }; enum mf_action_page_type { MF_MSG_KERNEL, MF_MSG_KERNEL_HIGH_ORDER, MF_MSG_SLAB, MF_MSG_DIFFERENT_COMPOUND, MF_MSG_POISONED_HUGE, MF_MSG_HUGE, MF_MSG_FREE_HUGE, MF_MSG_UNMAP_FAILED, MF_MSG_DIRTY_SWAPCACHE, MF_MSG_CLEAN_SWAPCACHE, MF_MSG_DIRTY_MLOCKED_LRU, MF_MSG_CLEAN_MLOCKED_LRU, MF_MSG_DIRTY_UNEVICTABLE_LRU, MF_MSG_CLEAN_UNEVICTABLE_LRU, MF_MSG_DIRTY_LRU, MF_MSG_CLEAN_LRU, MF_MSG_TRUNCATED_LRU, MF_MSG_BUDDY, MF_MSG_BUDDY_2ND, MF_MSG_UNKNOWN, }; #if defined(CONFIG_TRANSPARENT_HUGEPAGE) || defined(CONFIG_HUGETLBFS) extern void clear_huge_page(struct page *page, unsigned long addr, unsigned int pages_per_huge_page); extern void copy_user_huge_page(struct page *dst, struct page *src, unsigned long addr, struct vm_area_struct *vma, unsigned int pages_per_huge_page); #endif /* CONFIG_TRANSPARENT_HUGEPAGE || CONFIG_HUGETLBFS */ extern struct page_ext_operations debug_guardpage_ops; extern struct page_ext_operations page_poisoning_ops; #ifdef CONFIG_DEBUG_PAGEALLOC extern unsigned int _debug_guardpage_minorder; extern bool _debug_guardpage_enabled; static inline unsigned int debug_guardpage_minorder(void) { return _debug_guardpage_minorder; } static inline bool debug_guardpage_enabled(void) { return _debug_guardpage_enabled; } static inline bool page_is_guard(struct page *page) { struct page_ext *page_ext; if (!debug_guardpage_enabled()) return false; page_ext = lookup_page_ext(page); return test_bit(PAGE_EXT_DEBUG_GUARD, &page_ext->flags); } #else static inline unsigned int debug_guardpage_minorder(void) { return 0; } static inline bool debug_guardpage_enabled(void) { return false; } static inline bool page_is_guard(struct page *page) { return false; } #endif /* CONFIG_DEBUG_PAGEALLOC */ #if MAX_NUMNODES > 1 void __init setup_nr_node_ids(void); #else static inline void setup_nr_node_ids(void) {} #endif #endif /* __KERNEL__ */ #endif /* _LINUX_MM_H */